Skip to content

6. Lolin D1 Mini Prototype

jslawinsk edited this page Jun 15, 2021 · 24 revisions

D1MiniLCD

Adding Headers

Solder stack-able headers to the D1 Mini.

D1Mini D1Mini D1Mini D1Mini D1Mini

Shield Construction

Wemos Prototype Board Headers and Power Bus

Added stack-able headers to the prototype board. A row of headers was added to be inline with the 5V Pin. A row of headers was also added to be inline with the ground pin.

D1Mini

The ground and 5V pins were soldered together with a wire to create separate 5V power and ground buses

D1Mini

Temperature Interface

The screw terminal pins were too large for the Wemos D1 Mini Prototype board. I filed them down using a file.

D1Mini

There is a 4.7k 1/2 Watt 5% Resistor inline from Power to the yellow Temperature data wire connected to pin D4. A wire to ground is also connected to the middle pin.

D1Mini

The wire from the resistor was used to connect power to one of the terminal connector pins, the continue to the data pin.

D1Mini

Rotary Encoder

There is a 10K 1/4W 5% Resistor for KY-040 SW Pin for hardware de-bouncing connected inline between power and pin D6. Pin D5 is connected to CLK on KY-040, pin D0 is connected to DT on KY-040. Power and ground are also connected to the KY-040.

D1Mini D1Mini

LCD Display

SDA Pin connected to D2, SCL is connected to D1. Power and ground pins are also connected. All connections are made with jumper wires.

Relay Switch

IN1 on the relay switch is connected to Arduino PIN D7 for heat. IN2 on the relay switch is connected to Arduino PIN D8 for cool. Power and ground are also connected. All connections are made with jumper wires.

WARNING: When connecting to mains voltage, you really need to know what you are doing, otherwise you may shock yourself. This is a serious topic, and we want you to be safe. If you’re not 100% sure what you are doing, do yourself a favor and don’t touch anything. Ask someone who knows!

Build

Project Enclosure

Used a 3D Printer to print ESP8266 BrewPi Box - US Outlet by Thorrak, thank you to Thorrak.

https://www.thingiverse.com/thing:2874176

D1Mini D1Mini

Lolin D1 Mini Enclosure

Used a 3D Printer to print Wemos (Lolin) ESP8266 D1 Mini Case by 310weber, thank you 310weber. The Lolin D1 Mini holes are too small for M2 standoff screws. I will use double sided sticky tape to secure the case inside the enclosure.

https://www.thingiverse.com/thing:4086481

D1Mini D1Mini

Arrange Components to verify Positioning

D1Mini D1Mini

Drilled a hole for the rotary encoder.

D1Mini D1Mini

Initial Wiring and Testing

Initial Testing with all components installed except external power and voltage converter wiring.

D1Mini D1Mini

Adding Power To outlet and Voyage Regulator

D1Mini

Final Assembly and Test

D1Mini

Clone this wiki locally