Josh
Published © GPL3+

Smarter Smart Home

Take smart home projects to the next level with novel lighting control techniques.

IntermediateFull instructions provided5 days2,910
Smarter Smart Home

Things used in this project

Hardware components

Wemos D1 Mini
Espressif Wemos D1 Mini
Control the Light Bulb relay.
×1
Relay (generic)
High voltage switch.
×1
Wire Cable - By the Foot
OpenBuilds Wire Cable - By the Foot
Wiring cable to connect relay and wemos.
×1
5v step down voltage converter
Step down voltage converter to power wemos from lamp.
×1
Light bulb casing
Casing to hold all the electronics.
×1
light bulb
A light bulb for the casing.
×1
Wemos D1 Mini
Espressif Wemos D1 Mini
Wemos for the LDR circuit.
×1
light dependent resistor
LDR to measure light values.
×1
Resistor 10k ohm
Resistor 10k ohm
Part of LDR circuit.
×1
LDR casing
3D printed casing for the LDR circuit.
×1
Raspberry Pi 3 Model B
Raspberry Pi 3 Model B
Acts as the hub for the control of the light bulb.
×1
Micro-USB to USB Cable (Generic)
Micro-USB to USB Cable (Generic)
1 to power Raspberry Pi, 1 to power Wemos.
×2
light bulb base and metal adapter
The base needs to be removed from one of these for use, or buy it separately. Also the metal top needs removing and inserting into the 3D printed top.
×1

Software apps and online services

Arduino IDE
Arduino IDE
Used for coding the two Wemos
vim
Any Linux editor, this is my preferred.

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Used to create the cases
Soldering iron (generic)
Soldering iron (generic)
Used to solder all the circuits

Story

Read more

Custom parts and enclosures

Top for light bulb

This needs 3D printing

LDR case base

This needs 3D printing

LDR case top

This needs 3D printing

Body for an LED bulb

This needs 3D printing.

Top for an LED bulb

This needs 3D printing

Body for Llight bulb

This needs 3D printing

Schematics

PCB design to use an alternative LED bulb.

Create this PCB board and solder relevant components to use instead of a light bulb.

light bulb schematic

schematic of the light bulb wirings

LDR schematic

LDR circuit schematic

Code

Smart Home Server and Arduino Code

All the code in the Rasp-Pi-Server branch is to be used on the Raspberry Pi as the server. All the code in the Arduino branch is to be used for the light bulb, LDR, and optional motion sensor

Credits

Josh

Josh

1 project • 0 followers

Comments