Advertisement
chillichump

Beginners Guide to Automation Episode 10

Apr 8th, 2020
1,055
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. Below is the pins and wiring information for the project in Episode 10: https://youtu.be/vgxr-AFEN24
  2. ---------------------------------------------------------------------------------------------------------
  3.  
  4. Mains wires:
  5. Using a chocolate block connecter, put the live, earth and neutral in seperate terminals.
  6. 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.
  7.  
  8. 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
  9.  
  10. Extension leads:
  11. 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
  12.  
  13.  
  14. AC-DC converter: https://www.banggood.com/custlink/KGGGMOkSlM
  15. Input (AC Mains voltage 110v/220v) - (A1)
  16. + to live
  17. - to neutral
  18.  
  19. Output (DC 5V, up to 3A) - (A2)
  20. + to positive/live
  21. - to negative/ground
  22. I split these two to multiple outputs for powering various components
  23.  
  24. ESP32: https://geni.us/esp32 or https://www.banggood.com/custlink/3mGvbiz2M4
  25. 5V or VIN pin: (A2) 5V positive/live
  26. Gnd: (A2) negative/ground
  27. 3.3V: DHT22 Positive
  28. Gnd: DHT22 Gnd
  29. IO33: DHT22 Signal
  30. IO21: BME280 SDL (Check with your ESP32 Pin diagram to confirm)
  31. IO22: BME280 SCL
  32. IO17: Relay1 Signal
  33. IO18: Relay2 Signal
  34.  
  35. BME280 x2: (wired together) https://geni.us/bme280
  36. Vin: (A2) 5V positive/live
  37. Gnd: (A2) negative/ground
  38. SDL: ESP32 IO21
  39. SCL: ESP32 IO22
  40.  
  41. Relay: https://geni.us/4chrelay
  42. + : (A2) 5V positive/live
  43. - : (A2) negative/ground
  44. S1: IO17
  45. S2: IO18
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement