| Electronics > Beginners |
| Switchable high and low digital pin wiring |
| (1/1) |
| Duchy:
A few months ago i made a very simple board housing 2 VND5025 load drivers in my offroad buggy, switching lights. and all worked well. I have very little idea as to what im doing, very new to arduino and electronics but now i want to make another, this time be able to talk to my link ecu (to turn on fans automatically via temp condition), which grounds its pins, Wanting to keep a simple design and have more circuits whats the best way to have 1 wire in than can either be connected to 12v switch like currently with voltage divider or set as digital low and shot the pin to gnd Ive attached a diagram of what i use for input now, but i want to combine the 2 so depending on where the wire in plug goes ( 12v switch or ecu ) i can change it in code. I hope this makes some form of sense |
| Navigation |
| Message Index |