- Fri Nov 11, 2016 3:27 am
#57963
Hi
Thanks for your answers. Really appreciate it.
I will remove the pullups from D4, D5 and move them to GPIO0 and GPIO2.
Is there a way to protect the GPIOs against over voltage/current ? I recently had the problem that GPIO13 died with 2 temp sensors (5 meters away) on it. I think maybe some statics killed the port, because on GPIO14 the temp sensors work fine, and until now they worked well on 13 too.
My project with this board and the app is based on 2 Outputs, either to relay or to a servo, depending on how it is configured. So, for now, I dont need additional pins other than: 4,5 -> relays, 12,14 -> servo, 13 temp.
Current I'm using it for:
1 Unit switching 2 electric fences
1 Unit switching my Sauna ON/OFF with 2 temp sensors
1 Unit switching my pool pump and water pump
1 Unit switching 2 valves for outside water with one temp sensor
One more question I came across:
The Songle 3V relay needs a current of about 120mA. The BC337 has a hFe of about >100. So I need a transistor base current of 1.2mA. Therefore I would need a 2k7 resistor at the base. In my case I would get about 12mA out of the GPIO with my 220R, isn't a little bit too high ?
Should I change the 220R base resistor ?? To maybe 1k ?
I forgot to say, that I only use the programming pins once for initial programming, all further updates are done OTA.
I added the pullup to GPIO15 and removed the stepdown converter, I decided to use only 3.3V parts (relay and AC/DC Converter).
I also added a 10k pullup to the reset pin to be sure ...
My updated version:
PowerCtrl_Schematic.jpg
thanks for your help
regards
Erich
You do not have the required permissions to view the files attached to this post.