License

Public Domain

Tags
Recommend Projects

WemosD1 ESP8266 temperatures/humidity 12V relays for home assistant for example

1 year ago 617
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments

Description

I have this PCB working with home assistant.(you can make it running using other soft: Nodered/ Arduino IDE/ micropython...what you wish)

Home assistant: https://www.home-assistant.io/getting-started/

I have made some modifications to get 2 more temperatures readings from 18B20 waterproof sensors besides the DHT22 shield on the ESP8266.

This PCB is working with home assistant to get temperatures, humidity, state of relays and activate relays to turn on 12V leds in my case through WIFI connection.

In summary: Home assistant is running in a raspberry pi4B, connected to my Wifi network.

This PCB is connected to my wifi network using the ESP8266 on this board.

I can access home assistant using my phone connected to the same wifi network to get informations (relay states/ temperatures/ humidity) and send actions (turn on off the 12V bulbs)

Below in the attachements, you can find the yaml script which should help you to make this board running if you use home assistant, after having installed ESPHOME in home assistant. https://esphome.io/

Then if you wish, you can run as I did Nodered, to turn on off automatically the 12V leds according to the sun position using the node "SUN".

https://flows.nodered.org/node/node-red-contrib-sun-position

Update: Using a Wemos D1 mini Pro (instead of a Standard Wemos D1 mini), same pinout, with external antenna, improved the signal by almost +8dB. To use the external antenna, follow this instruction, as you will have to deroute the zero ohm link resistor: https://hackaday.io/project/165061-solar-powered-wifi-weather-station-v20/log/162011-adding-an-external-antenna

Documents

Sheet_1

Sheet_2

PCB_2020-06-29_19-46-15

BOM

ID Name Designator Footprint Quantity
1 1.2KΩ R7 1206 1
2 300Ω R10 1206 1
3 4.7K R2 R1206 1
4 20mm_PCB_Fuse_Holder F1 20X5MM_FUSE_HOLDER_22MM_CENTRES 1
5 7805 U2 TO-220-3_L10.0-W4.5-P2.54-L 1
6 TERMINAL_BLOCK_1X2_P5.08 CN3,CN4,CN5,CN1,CN2 TERMINAL_BLOCK_1X2_P5.08MM 5
7 HSMG-C150 LED5,LED4,LED1,LED3 LED1206-R-RD 4
8 100nF C1,C2 1206 2
9 Header-Male-2.54_1x3 H1,H2 HDR-TH_3P-P2.54-V 2
10 100nF C5 C0805 1
11 0.33uF C3 C0805 1
12 PHOENIX J1 PHOENIX PKG 1
13 10K R1,R3,R4,R5 R1206 4
14 200Ω R6,R8 1206 2
15 WEMOS D1 with DHT22 shield, connected to raspberry pi running Home.assistant U1 WEMOS D1 1
16 74HC14 U3 DIL14 1
17 AQZ102 U6,U5 RELAY-TH_AQZ102 2

Attachments

Filename Download
esp8266_shed yaml Easyeda.txt

Members

Success
The owner does not allow comments in this project now

Comments (0)

goToTop
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow