Hi everyone,
I'm working on a project where I want to use an ATmega328 microcontroller with a NEO-M8N GPS module. My goal is to receive GPS data and process it via the serial port.
I've created a circuit schematic, but before I proceed, I'd really appreciate it if you could take a look and let me know if there are any mistakes or things I should improve.
I'm especially looking for feedback on the connections, power supply voltages, and UART communication.
The schematic is attached.
Any suggestions or corrections are more than welcome. Thanks in advance!
Also, I won’t be using a passive antenna or the USB/SCL/SDA pins. Is this setup sufficient?
You're absolutely right, including the entire project in the schematic definitely makes things clearer. Thanks for pointing that out. Regarding the Arduino pin naming — I appreciate the feedback. I'm curious, could you clarify what kind of naming you would recommend or find less confusing? I'd like to understand and improve for next time. Thanks again!
I’m still gaining experience with GPS modules, so I wasn’t entirely confident about how everything should be wired. My main goal was to check whether the GPS connections were correct. That’s why I asked — just to make sure I’m not missing anything obvious.
The difference in naming is subtle but can be important to avoid confusion. Unfortunately my reference to pin names did not help because they are not actually pin names. My bad
On your schematic what we see are net names and are, as such unambiguous and perfectly acceptable.
The problem comes if you use the same naming convention for pins in your sketch, which we have not seen, as from the perspective of the Arduino the Tx pin is transmitting to the Rx pin of the GPS and vice versa
In the code I would name the pins something like TX_GPS for the pin that transmits to the GPS and RX_GPS for the pin that receives data from the GPS. That reflects what the Arduino is doing and what the pins re used for
Of course, you could name them anything you like and it would still work if they are connected correctly