Before I completely give up my small project as I'm pretty desperate right now, I would like to give it a try and ask you
- a NodeMCU (this one: https://www.reichelt.de/nodemcu-esp8266 ... D_BwE&&r=1)
a relay (this one: https://www.makershop.de/module/relais/4-kanal-relais/)
and I would like to use this box (https://www.solarversand.de/akkubox-12v-7ah/) as a power supply.
PowerSupply provides 6 VDC/ max. 0,7 A (4,2 W). Based on different boards it seems to be possible to safely connect the 6V to the Vin of the NodeMCU. If I do so, the NodeMCU boots, but as soon as I connect to its AccessPoint it restarts immediately. So I thought (based on this video https://www.youtube.com/watch?v=wf_msvWv1jk) I can connect Battery+ to a 440µF capacitor (I currently have only this one) and then to Vin of NodeMCU. Then the NodeMCU works much more stable.
But when I connect
- VCC of the relay to NodeMCU 3V3
IN1 to D7
Gnd to Gnd
For me it looks like the power supply is not stable enough, because as soon as I replace the PowerSupply with a simple USB PowerBank or with USB of my PC everything works fine.
So my question is how to improve the overall stability when connected to the 6V PowerSupply (as this one gets charged by solar panels)?
Already tried to use the external power supply method for the relay (in my case the same which is powering the NodeMCU but with 6V reduced to 5V by using a voltage divider see option 3: https://www.kollino.de/arduino/4-8-kana ... anleitung/ but it didn't improve the stability).
Is there e.g. a simple breakout board available which I can use between the PowerSupply and the NodeMCU?