OpenSprinkler › Forums › Hardware Questions › OS_3.2 connector purpose
- This topic has 3 replies, 2 voices, and was last updated 2 years, 4 months ago by Ray.
-
AuthorPosts
-
July 31, 2019 at 4:15 am #61952
jellymonk69ParticipantHi I’m looking at the pcb layout for OS_3.2 Main Controller and I am not sure of the purpose of this connection with the package ID “GOLDFINGER”. Is this a male card-edge connection for serial communication?
Attachments:
July 31, 2019 at 11:08 am #61955
RayKeymasterThat’s for the factory to program the initial firmware. There is no built-in USB serial chip on the controller so the initial firmware needs to be programmed in through that header. After that, subsequent firmware updates can be done over the air.
If you have a serial adapter yourself you can obviously solder pins onto the connector in order to check serial output etc. The pins are clearly marked (TX, 5V, GPIO0 on the front side and RST, GND, RX on the back side). GPIO0 and RST are optional — you don’t need to connect them, they are meant to trigger the firmware upload mode, and their usage is compatible with nodemcu.
May 12, 2022 at 4:24 pm #72727
HiltbrandHomeParticipantI am waiting for my board and parts to arrive to build a new OS 3.2, but I’m trying to wrap my head around how I will need to program this. I have a USB to serial module, so is it just a matter of soldering wires to the board and connecting them to the USB to TTL module (aka – No resistors/capacitors required), and then flashing the firmware from the arduino IDE? Or can I just follow the instructions for using node-mcu flasher found here:
connecting to the board using the usb to serial adapter? Thank you so much.
Edit: After studying the schematic, it looks like I can just use dupont connectors to connect to the JCON0 headers as well. Is that correct?
May 15, 2022 at 11:17 am #72748
RayKeymasterGenerally you can update firmware by using over the air firmware update, so there is no need to connect anything to the board. However, if you have to use your usb-serial connector, then as I said above, you can solder pins onto the serial pins. The connector we use is a 2×3 goldfinger connector. But you can certainly just solder pins onto the connector pads. On the front side, the pads are TX (i.e. ESP8266’s TX), +5V, GPIO0, on the back side are RESET, GND, and RX.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Hardware Questions › OS_3.2 connector purpose