logo elektroda
logo elektroda
X
logo elektroda

How to Power ESP8266 (3.3V) from Mains for WiFi Roller Shutter Control with Manual Switch

dawciomental 5298 9
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 15841875
    dawciomental
    Level 9  
    Hello!
    The tiresome wait at the pressed switch to close or open a roller shutter has prompted me to take the plunge to improve this activity. I wanted to connect my external roller shutters using the ESP-8266 Wifi module so that they can be controlled from the network (e.g. smartphone). I'm leaving the question of programming the module to myself, but as a novice 'electromaniac' I'm encountering the problem of connecting this so that it works. The biggest problem is powering the module (with 3.3V consumption and logic) using standard socket current. I'm green when it comes to transformers, rectifier diodes etc, so I'd really appreciate some help in constructing a suitable circuit to connect the cables in the box to the ESP. Just to add, the switch is to stay in place and also operate normally. There are 3 cables in the can: phase up, phase down and ground.
    Thank you in advance :D
  • ADVERTISEMENT
  • #2 15846030
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #3 15846499
    dawciomental
    Level 9  
    I have just found my mistake.
    I looked more carefully into the box and found that the situation is completely different.
    The switch has 1 phase and two N's (up and down respectively) and deeper down I have another free neutral and even earth wire. Hence it follows that to the free N and L from the switch I can connect the power supply without the consequences of moving the roller shutter. If I am thinking wrong, please correct me.
    I think I will organise a 5v power supply and simply use a stabiliser/inverter for 3v3.
  • #4 15854589
    Anonymous
    Level 1  
  • #5 15854633
    dawciomental
    Level 9  
    As I said I'm quite green in these matters, hence my question: what if not a stabiliser? What other options do I have? I should also add that I will most likely buy 5V relays, also I will still need this 5V.
  • ADVERTISEMENT
  • #6 15854635
    janek1815
    Level 38  
    dawciomental wrote:
    I am green when it comes to transformers, rectifier diodes etc


    That's what you don't know and you're taking control with a WiFi module. Think straight away about how you will control the roller shutter motors with these 3V.
  • #7 15854697
    dawciomental
    Level 9  
    I was thinking of giving 3.3V as a gate in a transistor that would open 5V to a relay that would open 230V again.
  • ADVERTISEMENT
  • #9 16062399
    dawciomental
    Level 9  
    Indeed, I threw myself in at the deep end - my exuberant ambition. I took the idea as a pretty good way to learn electronics, programming etc. The more I get into it, the more I see that I can't cope with it for now....
    I didn't want to buy a ready-made solution because: a) as above, b) I don't have that kind of budget.
  • Helpful post
    #10 16062402
    Marek J.
    VIP Meritorious for electroda.pl
    No problem. However, should you decide to do so, you can count on help with connection and configuration.
    Regards.
ADVERTISEMENT