logo elektroda
logo elektroda
X
logo elektroda

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

dawciomental 5622 9
Best answers LABEL_AI_GENERATED

How can I power an ESP8266 from mains inside a roller-shutter switch box while keeping the manual switch functional?

Use the free live and neutral in the box to feed a small mains power supply, rather than trying to power the ESP from the shutter control wires [#15846499] From that supply, generate the 3.3 V needed by the ESP8266; one suggested approach was to use a 5 V supply and then a 3.3 V regulator if you also need 5 V for relays [#15846499] The stabilizer idea was considered acceptable, but it was noted that there is little point unless another 5 V rail is needed [#15854589]
AI summary based on the discussion. May contain errors.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • Request for isolated ESP8266 mains supply and switch wiring

    #1 15841875
    dawciomental
    Level 9  
    Posts: 8
    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  
    Posts: 8
    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  
  • ADVERTISEMENT
  • #5 15854633
    dawciomental
    Level 9  
    Posts: 8
    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.
  • #6 15854635
    janek1815
    Level 38  
    Posts: 4513
    Help: 372
    Rate: 1064
    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  
    Posts: 8
    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.
  • #8 16062375
    Marek J.
    VIP Meritorious for electroda.pl
    Posts: 2368
    Help: 526
    Rate: 951
    Why did you insist on something that, with (no offence) your knowledge and skills, is rather doomed to failure? Isn't it better to use ready-made solutions?
    https://botland.com.pl/inteligentne-sterownik...ik-rolet-230v-wifi-aplikacja-android-ios.html
    http://sensosystem.pl/1_2_0_22_Roleta-WiFi-sterownik-do-rolet-aplikacja-na-Android.html
    etc...
  • ADVERTISEMENT
  • #9 16062399
    dawciomental
    Level 9  
    Posts: 8
    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
    Posts: 2368
    Help: 526
    Rate: 951
    No problem. However, should you decide to do so, you can count on help with connection and configuration.
    Regards.
ADVERTISEMENT