Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Below is the pins and wiring information for the project in Episode 10: https://youtu.be/vgxr-AFEN24
- ---------------------------------------------------------------------------------------------------------
- Mains wires:
- Using a chocolate block connecter, put the live, earth and neutral in seperate terminals.
- For the wiring of the extension leads coming off the relays, combine the Neutral wires, and wire it into the neutral terminal on the chocolate block. Do the same for the earth wires, connecting them on the terminal which has the earth coming in from the mains. Connect the two common connecters on each of the relays (C) together. Then connect that to the live terminal on the chocolate block connector.
- For the AC-DC converter, attach the live and neutral wires to their respective terminals on the chocolate block connecter (make sure you are connecting the AC side of the AC-DC converter
- Extension leads:
- As above, connect neutral and earth wires to the relevant terminals of the chocolate block connecter. The live wire from each of the extension leads goes into the Normal Open (NO) terminal of each relay you will be using
- AC-DC converter: https://www.banggood.com/custlink/KGGGMOkSlM
- Input (AC Mains voltage 110v/220v) - (A1)
- + to live
- - to neutral
- Output (DC 5V, up to 3A) - (A2)
- + to positive/live
- - to negative/ground
- I split these two to multiple outputs for powering various components
- ESP32: https://geni.us/esp32 or https://www.banggood.com/custlink/3mGvbiz2M4
- 5V or VIN pin: (A2) 5V positive/live
- Gnd: (A2) negative/ground
- 3.3V: DHT22 Positive
- Gnd: DHT22 Gnd
- IO33: DHT22 Signal
- IO21: BME280 SDL (Check with your ESP32 Pin diagram to confirm)
- IO22: BME280 SCL
- IO17: Relay1 Signal
- IO18: Relay2 Signal
- BME280 x2: (wired together) https://geni.us/bme280
- Vin: (A2) 5V positive/live
- Gnd: (A2) negative/ground
- SDL: ESP32 IO21
- SCL: ESP32 IO22
- Relay: https://geni.us/4chrelay
- + : (A2) 5V positive/live
- - : (A2) negative/ground
- S1: IO17
- S2: IO18
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement