Has anyone tried RAK811 on mbed? https://os.mbed.com/
In MBED release 5.8.2 RAK811 support was added.
But maybe that is for a separate thread, will add one when I have time to look at this.
Anybody tried using the board without an external active GPS antenna? I did, and got no GPS fix at all.
My goal for today is to design a 3D printed case for the tracker, holding an 18650 battery and the tracker together. I dropped my tracker and bent the antenna’s SMA connector. Gotta protect the poor thing if I’m going out and about with it!
I have created code to bridge GPS serial and USB serial.
Idea is to set GPS to low power mode to send data only every few minutes not every sec.
GPS > USB is working nicely
I still do not know how GPS config message ends so I send byte by byte.
I do not see any change when I send config to GPS
Rak831? The lorawan gateway module? Why would you want to set the gps to low power for a gateway?
Or did you make a mistake in the numbers and are you referring to the rak811 (the subject of this thread)?
Progress. I have a 3D printed part that holds the battery and board together reasonably securely.
I have figured out how to talk to the software over the serial port.
My thought is to use one of the GPIO pins to put it into serializing mode.
That would let you enter the id and key of your application.
It will be stored in the EEPROM, along with other things like the delay between transmissions, and whether you wanted to upload the accelerometer data and/or battery data.
That, plus an integration with ttnmapper would let you do mapping without having to compile any code.
I could make binaries for any of the regions. That could probably also be turned into a run-time selection, but it would also make the code larger. I haven’t checked to see how close we are to filling up the code space.
I dont use GPS module (not soldered).
I removed power LED, software disabled LED1 & LED2. Now current consumption of board is:
Hold the RESET button - 39.5 mA;
Wait mode - 6.5 mA;
Transmit of packet - 68.8 mA;
Two short strange consumption after transmit - 22.2 mA.
Now drop of voltage is 70 mV per one day (18650). I would very much like to get values in microamperes in sleep mode.
I did as you wrote, but I can not put the device into sleep mode.
Are you able to share your code? Or working example, please.
After seriously read the discussion by this thread and rak forum, we collect the suggestion and decide to optimize the rak811 tracker design as following:
The R1/C1 pin of GPS power switch chip U5 needs to be connected to a pull-up circuit。
Power indicator LED1 light removed. Reserve charge indicator, and two GPIO control status indicators.
The EXTINT0 and ANTON pin of the GPS module needs to be connected to GPIO to facilitate wake-up in low power mode.
CP2102 chip removed, add a serial adapter board accessories。
Add GPIO to detect the power supply type of the device, battery-powered or USB-powered. It can be detected using the power chip PG pin and CHG pin.
Directs one UART interface for users to expand to other devices。