spleenware / ripple

Arduino Firmware for Ripple LoRa mesh
Other
262 stars 33 forks source link

TTGO GPS tracker support #36

Closed Gavsv8 closed 3 years ago

Gavsv8 commented 3 years ago

Hi, Love the project. I have the TTGO V2 1.6 versions (https://a.aliexpress.com/_mrWdNrt) and have been trying the various firmware targets for messenger and tactical and can't really get what I need which I believe is the GPS tracker option. I want to use one as a base unit connected to an Android phone and then track the rest which will be on UAVs' with L80- M39 GPS units connected to TX1/RX1. Am I correct in thinking I can't do this until the GPS tracker is available for the TTGO? Is there a plan to add this please?

spleenware commented 3 years ago

I have compiled a test version for you, and uploaded it here. File name is: RippleTrackerV5-TTGOV2.bin

The only caveat is that to configure the device over USB, with the Commander app, you will need to wire up a push button onto PIN 34, with a 10K pull-up resistor. See this article for an example of wiring up a push button (it has 3, you just need the one on pin 34): https://www.hackster.io/scottpowell69/lora-tracker-pager-device-36bdb3

Have a read of this issue, which explains why there is the need for the push button, and the configuration: https://github.com/spleenware/ripple/issues/29

Gavsv8 commented 3 years ago

Great thanks I'll try it now

Gavsv8 commented 3 years ago

Hi, The firmware flashed okay No oled display though. I could not connect until I connected the 3 inputs to the 10K pull up resistors connected to 3.3V. I am not able to connect if I ground pin 34 on power up and get TimeoutExeption:null. If the 3 button inputs are only connected to the the 10K pull up resistors I can connect and the program button is available and seems to program ok. Once power cycled I cannot seem to connect in the commander app and it mentioned unsupported firmware version.

No oled display in any mode.

Gavsv8 commented 3 years ago

I configured two TTGO with the special tracker firmware and also flashed a third with the v3 ripple ttgo and configured this as a repeater to see if it would work. In commander repeater is connected but nothing on map apart from the andriod location. I can't tell if gps is working on the other units as there is no oled. I'm in Perth working nightshift so doing some weird hours at the moment. Can try some more stuff tomorrow night, Cheers.

spleenware commented 3 years ago

Ah, I got the button wiring around the wrong way. To configure the tracker, ie. to have USB OTG work, just wire PIN 34 to a 10K resistor and the resistor to 3.3V pin. (ie. pull it 'high'). Then once configured, remove that wiring, and connect PIN 34 to a GND pin (ie. pull low). From this point on, the RX/TX pins should be wired to the GPS receiver.

On Mon, Mar 29, 2021 at 1:47 AM Gozzo @.***> wrote:

Hi, The firmware flashed okay No oled display though. I could not connect until I connected the 3 inputs to the 10K pull up resistors connected to 3.3V. I am not able to connect if I ground pin 34 on power up and get TimeoutExeption:null. If the 3 button inputs are only connected to the the 10K pull up resistors I can connect and the program button is available and seems to program ok. Once power cycled I cannot seem to connect in the commander app and it mentioned unsupported firmware version.

No oled display in any mode.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/spleenware/ripple/issues/36#issuecomment-808906902, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIVWJI6TSE6SF6SODOSJ43TF46P7ANCNFSM4Z57MDRQ .

spleenware commented 3 years ago

The 'Home' TTGO device, that you connect to Commander app to monitor the trackers, should be flashed with one of these two firmwares:

RippleV3-USB-TTGOV2.bin -OR- RippleV3-Bluetooth-TTGOV2.bin

ie, the 'Pager/Messenger' firmware.

On Mon, Mar 29, 2021 at 2:49 AM Gozzo @.***> wrote:

I configured two TTGO with the special tracker firmware and also flashed a third with the v3 ripple ttgo and configured this as a repeater to see if it would work. In commander repeater is connected but nothing on map apart from the andriod location. I can't tell if gps is working on the other units as there is no oled. I'm in Perth working nightshift so doing some weird hours at the moment. Can try some more stuff tomorrow night, Cheers.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/spleenware/ripple/issues/36#issuecomment-808915093, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIVWJNEXVF5SYU2XKZMUV3TF5F2FANCNFSM4Z57MDRQ .

Gavsv8 commented 3 years ago

Yep thanks that's all good now. I can see the remote units RSSI etc and they respond to tracking mode changes. I'm not getting any location details just 0.0, 0.0 (1,0,0) but I'm thinking it maybe an issue with the Quectel L80-M39 GPS units and will try a BN180/220 instead.

Gavsv8 commented 3 years ago

Hi, It's all working fine now I have changed the GPS to a ublox M8N (matek m8Q). Thanks for the work on the new firmware.

spleenware commented 3 years ago

Ah, cool. Glad it's working now.

On Fri, 2 Apr 2021, 2:05 pm Gozzo, @.***> wrote:

Hi, It's all working fine now I have changed the GPS to a ublox M8N (matek m8Q). Thanks for the work on the new firmware.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/spleenware/ripple/issues/36#issuecomment-812291703, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIVWJLAXCS6Q6JSDOUISITTGUX6TANCNFSM4Z57MDRQ .