#1 2015-08-21 09:03:27

skoti
Member
Registered: 2015-08-21
Posts: 1

RX Igate using LibAPRS, arduino tnc and ESP8266

Hi.
I want to connect esp8266 module to arduino TNC get raw packets from radio and put to aprs server.
Do i need to take care about packet filtering, duplicates or aprs server will do this?

Offline

#2 2015-08-21 21:04:23

PA3BAS
Member
Registered: 2014-12-01
Posts: 20

Re: RX Igate using LibAPRS, arduino tnc and ESP8266

I am thinking anout someting more daring. Is it possible to create an igate and modem in one esp8266? You need one with a lot of i/o, but i think it can be done, especially if you take into consideration thatban esp8266 has a faster cpu and more memory as an ordinary arduino.

Last edited by PA3BAS (2015-08-21 21:04:45)

Offline

#3 2015-08-22 16:14:45

jkarras
Member
Registered: 2015-08-22
Posts: 1

Re: RX Igate using LibAPRS, arduino tnc and ESP8266

skoti wrote:

Do i need to take care about packet filtering, duplicates or aprs server will do this?

APRS servers take care of the duplicate filtering.

Offline

#4 2017-02-14 02:44:40

whemming
Member
Registered: 2016-12-04
Posts: 28

Re: RX Igate using LibAPRS, arduino tnc and ESP8266

I know this is old, but I have so far successfully modified LibAPRS to work on the esp8266 natively for decode only so far.  I am using an external ADC MCP3008.  I am currently working on the transmit using an external DAC MCP4725.  I have no doubt I will get it working.

I modified the Decode to use a 12k sampling rate vs 9.6k.  This gives a 10 bit resolution vs 8bit. The DAC will transmit with a matching 10 bit sample.

Once I get the transmit working I will publish the code on git-hub along with a schematic.

W4WHL

Offline

#5 2017-02-16 04:13:57

whemming
Member
Registered: 2016-12-04
Posts: 28

Re: RX Igate using LibAPRS, arduino tnc and ESP8266

I was able to get the esp8266 100% working with libaprs for both decode and transmit.  However not with the i2c DAC, as it was too slow.  I am using the same 4 pin resistor DAC as the micromodem.  However this leaves zero available pins for leds, display, etc.  I have an SIP DAC on order to try.  If that works I will free up some pins for a expander or shift register.

I also managed to get KISS working for receive only, will get kiss transmit working soon.

However kiss is not needed for igate/digipeating.  That is a simple task I already have example code running using esp as a two way igate with an arduino as the modem.

What will take awhile is to clean up the code into something presentable.

I will also be working on a port to the new ESP-32 soon.  That should be a fun. i foresee a stand alone TNC/IGATE/digipeater with a web frontend.  Use your tablet or phone browser to configure, send messages, etc.

W4WHL

Offline

#6 2017-02-16 22:11:10

whemming
Member
Registered: 2016-12-04
Posts: 28

Re: RX Igate using LibAPRS, arduino tnc and ESP8266

I got the external SPI DAC working.  So the ESP8266 uses external ADC & DAC.  I also implemented KISS protocol into the ESP8266 Library.

Its a work in progress, but functional.  I have not added wifi/IGATE yet.  And may not smile  Its a trivial matter to set up a TCP connection to APRS.IS and frame up the packets to send.  APRS.IS is all clear text


https://github.com/williamhemmingsen/LibAPRS_ESP



Enjoy

Offline

#7 2017-02-17 21:58:06

whemming
Member
Registered: 2016-12-04
Posts: 28

Re: RX Igate using LibAPRS, arduino tnc and ESP8266

One-way IGATE example added to the ESP8266 Library.

https://github.com/williamhemmingsen/LibAPRS_ESP

Regards,

W4WHL

Offline

Board footer

Powered by FluxBB