NodeMCU ESP8266 Smart Home Personal Project
- Guidelines:
- Alexa for turning on/off the room light and Computer
- Smart outlet for room light
- Relays to control power source
- Smart servo to turn on computer
- ESP8266 for connection to Alexa
- Parts:
- NodeMCU ESP8266
- Relays
- Metal gear standard servo motor
- Plastic project boxes
- Outlet extension cord
- Links:
- Documentation
- Product links
- Info:
- NodeMCU ESP8266 1.Pinout
- Relays
- Specifications
- Designs:
- Smart light outlet
- Relay control
- IN to D7
- DC+ to Vin
- DC- to GND
- Relay power
- NO to power source
- COM to ground
- Relay control
- Smart computer switch
- Servo pins:
- PWM signal to D1
- Power to Vin
- Ground to GND
- Servo pins:
- Issues:
- High pitch whine from PWM signal due to 8-bit MCU with 8-bit PWM signal generating a human audible sound through the wire as an antenna. Solved by setting delays into the code, changing the minimal interval to 15000, and changing the PWM frequency to 30000 instead of 1000 so the frequency will be out of the human hearing range