Cubecell HTCC-AB01 + GPS using HTCC-AB02S low power code

Hello guys,

I have already some cubecells HTCC-AB01 version.

I would like to now if I can use the example code provided by you guys to use with HTCC-AB02S in the HTCC-AB01.

LoRaWan_OnBoardGPS_Air530

My plan is just change the code as follow:

GPS.begin();

to something like

GPS.begin(TXpin,RXpin);
//where txpin in this case is pin 15 from cubecell HTCC-AB01 and RXpin is 14

Following this information:

And of course connect an gps module on this RX,TX pins.

Could it be done? I will really apreciate if someone just tell me if is possible or if there is any restriction.

Many thanks!

Hi, have you already tried the example code from Heltec? https://github.com/HelTecAutomation/CubeCell-Arduino/blob/master/libraries/Basics/examples/serial/softwareSerial/TinyGPS/TinyGPS.ino

It works with my AB01 AND Ab02 boards with this softwareSerial definitions:
//softSerial GPSserial(GPIO5 /TX pin -> to GPS-RX/, GPIO6 /RX pin - to GPS-TX/); // AB02
softSerial GPSserial(GPIO2 /TX pin -> to GPS-RX/, GPIO3 /RX pin - to GPS-TX/); // AB01

1 Like

Hello @Adlerkiez-IoT many thanks, I ll try to adapt this code with lorawan code.

I was not aware of this sofSerial lib! =)

Thanks!