logo elektroda
logo elektroda
X
logo elektroda

How to connect the RX and TX on the ESP32 to the NEO6M0001 GPS module?

chhriss 1179 14
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18179520
    chhriss
    Level 10  
    Hi, I have been playing around with ESP32 for a while.
    I want to connect NEO6M0001 (GPS module), but it doesn't work.

    The ESP I have is exactly:
    https://ae01.alicdn.com/kf/H1a0237f07f044e30ab81df98b51245c5a.jpg

    I did the connection with the tutorial:
    https://shopofthings.ch/gy-neo6mv2-esp32-gps-beispiel/

    ESP 3.3V > GPS VCC
    ESP GND > GPS GND
    ESP RX > GPS TX
    ESP TX > GPS RX

    Question to which pin to connect RX and TX exactly? Asking for help in pointing out on the schematic of my ESP.

    There is another concern, is there an option that I soldered the goldpins wrong for example? I have medium experience in this, but I don't want to believe that this is the problem :) .

    Thanks in advance for your help!

    PS. when I'm done, I'll be happy to share the code (I'll upload to Guthub) and pictures.
    I will add that I am much stronger in programming than in electronics, hence the request for help :) .
  • ADVERTISEMENT
  • #2 18179647
    Anonymous
    Level 1  
  • Helpful post
    #3 18179689
    khoam
    Level 42  
    chhriss wrote:
    Question to which pin to connect RX and TX exactly? Asking for help in indicating on the schematic of my ESP.
    .
    chhriss wrote:
    I did the connection with the tutorial: https://shopofthings.ch/gy-neo6mv2-esp32-gps-beispiel/
    .
    Where it is used:
    Code: C / C++
    Log in, to see the code
    .
    i.e. GPIO 16 and GPIO17. Pin 16 is not available on your board.

    It seems like a hopeless situation, but in ESP32 you can map the pins assigned to the UART (with some restrictions), so you could use GPIO 13 and 17 for example. Then you would need to change the above line in the program you indicated to:
    Code: C / C++
    Log in, to see the code
    .
    i.e. RX would be GPIO 13 and TX would be GPIO 17 on the ESP32 TTGO.

    https://randomnerdtutorials.com/esp32-pinout-reference-gpios/

    Additionally, there is a slight error in the image you pointed out, below I have included the correct pin designation on this board:

    How to connect the RX and TX on the ESP32 to the NEO6M0001 GPS module? .
  • ADVERTISEMENT
  • #4 18180080
    chhriss
    Level 10  
    Thanks for the suggestions, however, it does not work.
    First of all, the LED on the GPS does not light up at all. I will add that the ESP works :) .
    Shouldn't just connecting to 3V3 and G bring power to the module and thus the led should light up?
    Maybe there is something wrong with the solder after all?
  • #5 18180221
    khoam
    Level 42  
    chhriss wrote:
    Shouldn't just connecting to 3V3 and G bring power to the module and thus the led should light up?
    .
    I am concerned that the current capacity of the 3V3 output from the TTGO is insufficient.
  • #6 18180229
    chhriss
    Level 10  
    khoam wrote:
    I am concerned that the current capacity of the 3V3 output from the TTGO is insufficient.
    .

    5V then?

    Will the configuration then be identical?

    SerialGPS.begin(9600, SERIAL_8N1, 13, 17);
    .

    Does anything need to be changed here?
  • ADVERTISEMENT
  • #7 18180237
    khoam
    Level 42  
    chhriss wrote:
    So 5V?
    .
    Which NEO-6M module do you have specifically? They come in different versions.

    chhriss wrote:
    Would the configuration then be identical?
    .
    As I proposed: SerialGPS.begin(9600, SERIAL_8N1, 13, 17);
  • ADVERTISEMENT
  • #10 18180371
    chhriss
    Level 10  
    khoam wrote:
    Yes, you can power it from 5V. The logic on the UART pins on this module will still be 3V3, so you can safely connect to the ESP32.


    Still coming back to the solders... I know they are far from perfect :) , but have a look please, is this by any chance the reason for not working?

    How to connect the RX and TX on the ESP32 to the NEO6M0001 GPS module? How to connect the RX and TX on the ESP32 to the NEO6M0001 GPS module? How to connect the RX and TX on the ESP32 to the NEO6M0001 GPS module? How to connect the RX and TX on the ESP32 to the NEO6M0001 GPS module? .
  • #11 18180377
    khoam
    Level 42  
    Have you already carried out a test with the NEO-6M module being powered from 5V and on UART pins 13 and 17 on the TTGO?
    As for the solder connections I prefer not to comment :-? .
  • #12 18180384
    chhriss
    Level 10  
    khoam wrote:
    Have you already performed a test with the NEO-6M module powered from 5V and on UART pins 13 and 17 on the TTGO?
    .

    Yes, unfortunately it still doesn't work.

    khoam wrote:
    Which solder connections I prefer not to comment on :-?
    .

    I guess, however, I need to correct the lutes :) , because it appears that this is the reason for not working after all.
  • #13 18180385
    khoam
    Level 42  
    chhriss wrote:
    Yes, unfortunately it still doesn't work.
    .
    And what is the manifestation of this?
  • #14 18180392
    chhriss
    Level 10  
    khoam wrote:
    And what is the manifestation of this?
    .

    The LED on the GPS module is not illuminated.
  • #15 18612500
    MaxKleiner
    Level 12  
    Hello, has anyone managed to upload anything to this ttgo? can I ask for tips and help, thank you sincerely

Topic summary

The discussion revolves around connecting the NEO6M0001 GPS module to an ESP32 microcontroller. The user initially followed a tutorial for wiring, connecting the ESP32's 3.3V to the GPS VCC, GND to GND, RX to TX, and TX to RX. However, the GPS module did not power on, as indicated by the lack of LED illumination. Responses suggested using GPIO pins 13 and 17 for RX and TX respectively, as GPIO 16 is unavailable. There were concerns about the current capacity of the ESP32's 3.3V output, prompting suggestions to power the GPS module with 5V while maintaining 3.3V logic levels on the UART pins. The user also expressed doubts about potential soldering issues affecting functionality. Despite attempts to troubleshoot, the GPS module remained unresponsive.
Summary generated by the language model.
ADVERTISEMENT