Hi, thank you for the assistance and availability of the technicians (@george). I’m still experimenting with the bluetooth connection (classic) esp32 wroom module connected via rx and px pins.
Through the serial monitor of the Android Serial Bluetooth app I see that the data is transmitted but the nmea strings are “infested” with special characters and do not have the correct format.
I think that’s why the gnss master app tells me it’s not receiving nmea! I attach a screenshot and the sketch set to esp32.
I tried several changes to the sketch but I didn’t solve it. maybe the problem is something else.
Does anyone already have experience with this and can help me?
Have a good day everyone
Esp32_gps.pdf (355.0 KB)
Hi @falajons
- Some garbled information exists in the received NMEA information. Is LC29HEA opening RTCM data or Binary data?
- If outputted through UART, can it be outputted normally?
Thanks George but I don’t understand exactly what you’re asking or what I should do.
- question: how do I determine whether it is opening RTCM data or binary data??;
- I really don’t understand the second question (I apologize).
At the moment I have suspended experiments with bluetooth modules or esp32 modules because I have the sensation of having problems with the uart port as I described in my last message.
thanks again
Hi @falajons
- In the “Binary data” window of the QGNSS tool, if the output is RTCM information, then RTCM is turned on. If the “Binary data” output is not RTCM, then it is Binary data.
- If the output directly through the serial port is normal, then it means that there is a problem with your main control processing.
Hello @falajons
I’m also experimenting with the ESP32 WROOM. I have connected to my LC29HEA board. Exactly the same way you have it. When I first started with setting this up I found that that Serial connection speed was incorrect as stated on most forums. I have to use 460800 baudrate. In any case, I can’t get my bluetooth to power on so I can use it on my Android. Iam using ESP32 Xbee firmware. Which firmware are you using on your ESP32?
Hi XAVIER, sorry for the delay. For the Bluetooth connection between GPS and mobile phone, some participants in this forum helped me and in particular @splee who programmed an optimized sketch for me: I thank them all again because, not being a programmer, I would never have been able to solve it.
I attach the sketch for esp32 that I use with my LC29HEA and LG290P GPSs.
If necessary, modify the pins used as tx and rx and the baud rate as appropriate.
Greetings
AF
BT_BLE_Bridge_SP_optimized.txt (7.0 KB)
Thank you! I’ll give it a try and back to you.
Thank you!
I decided to go a slight different route. I’m using a USB C to UART cable. It works great with many apps.
On another note, I haven’t been able to find the best recommended config settings to perform accurate GCP’s for drone mapping. Would you happen to know any you can recommend. I have very little knowledge of this field and just learning all this. Your help is appreciated.
Hi Xavier, I don’t understand what your problems are in using the Quectel GPS device? If I’m not mistaken, LC29HEA and LG290P come already set up as rovers. To have centimeter precision in measuring GCPs you only need to use, in addition to the GPS card, software capable of managing ntrip corrections (I use gnss /sw maps).
I live in an Italian region where the position correction service is free.
To achieve high precision, however, it is necessary to operate within 10 km of the fixed bases of the correction service. Personally, I use GPS to locate or detect plots with respect to the cadastral maps that I import into QGIS (I am a technician who deals with agriculture).
I know little about the issues applied to drones and GCPs.
Greetings
AF
No worries! I’ll get this figured out. I work in the IT field and I deal with much more complicated issues. I find this technology fascinating. I myself grew up around farms in New Mexico and somewhat knowledgeable on agriculture. My older brother manages +800 acres pecan farm. I was trying to convince him of starting a drone spraying business to offer crop dusting to farms in the valley and throughout the state but apparently it hasn’t worked out well for a few farmers that attempted it. I don’t know what that means, but I’m still looking into it. Anyway, as always, your help is greatly appreciated!
I’m interested in something similar. I need to feed RTCM correction stream to LC29HEA rover (via USB-C or UART) and then pipe the resulting RTK fixed NMEA sentences from the LC29HEA module to a tablet running QField for mobile surveying work. How to do that is the question. The dev board I bought has uart pins and USB-C port. Not sure if I can use both at the same time. I know I could accomplish everything using a laptop but want to avoid a bulky rover station.
I haven’t yet found a discussion thread that even mentions QField.
Esprtk firmware looks promising since it does all the necessary routing of information but I’m not sure if they work with Quectel modules.
This ESP32 Bluetooth solution looks promising since QField can use that connection method for position info. But how then to feed rtcm messages to the LC29H?
Using esp32 with ble & bt you need a ntrip_client that talks in bt as
# Lefebure or GNSS Master for android
but for ios many client are proprietary branded Imho need a client like NTRIP Master
since QGIS and Qfield do not had a built in NTRIP client.But can try to send corrections by android app and
at the same time surveying on ios tablet.
Regards
Seems like SW Maps has the capability to connect to NTRIP and pass the RTCM messages to a Bluetooth connected ESP32 that is wired to the LC29H via UART pins. Going to pursue that solution first. I tried with a Fire Tablet connected via USB-C but it didn’t like it and wouldn’t power the device. I think regular Android tablet might work.
Hello,
thank you very much for sharing the code with us. I flasehd the code to an ESP32 DevKit Board an it works. But one thing is strange - after some seconds (30 or so) SW Maps looses the BLE connection. Is it possible or maybe smarter to use “normal” Bluetooth with an iPhone?
best regards
Florian