I was able to get Matthias’s section switches to communicate over WiFi on ESP32. I was wanting to use “zone” on switch inputs. The inputs came in as sections. It also seems the inputs need external pull-up resistors. They weren’t stable. Could someone help me with this please? TYIA
may you put a circuit diagram of what you have build? I didn’t understand the question.
The Main and the rate switch is a (on)/0/(on) toggle switch witch 0V/1,375V/3,3V to the ESP. The Auto/Man and the section switches are on/off switches to GND or 3,3V with internal or external pullup or pulldown. Software would support both
Can supply diagram later. Currently only have toggle switches for main and sections 1-6 tied to inputs on PDF. Other terminal of switch all tied together with one wire to gnd of esp32. Software was copied from all separate files on Brian’s pcb and firmware GitHub under MTZ. I only altered WiFi sign in info. I don’t remember if there was any other setup code on ino I altered. Definitely a lot of different files or tabs to make it compile. I would like to have 1 esp for 6 zones in tractor. Another esp on planter for 12 sections to control. Prefer Ethernet cable for comms. I’m sure WiFi will work fine. I just would rather have rj45 connectors and cables if not much with involved to do that.
Thanks
I just noticed you said the different voltages for auto an main. I didn’t do that. I just left input open, or connected to gnd with switches. I suppose you use resistors for voltage dividers?
ESP_32_Section_Conrol.zip (30.0 KB)
I didn’t get a chance to draw circuit diagram. I made notes on the diagram I used.
The stability with inputs was my fault. I must need glasses. Thought I tied to GND it was CND instead.
