PeterBrain / http-arduino-enc28J60-lamp

HomeKit support for your not so smart lamp

Repository from Github https://github.comPeterBrain/http-arduino-enc28J60-lampRepository from Github https://github.comPeterBrain/http-arduino-enc28J60-lamp

Homebridge Arduino ENC28J60 Lamp

Added HomeKit support to my selfmade LED roomlamp using Raspberry, Arduino and ENC28J60 Module. The lamp is dimmable, sends its status, can be turned on and off with a physical switch and can be controlled via a webbrowser.

As from now, this project is not actively maintained anymore. Nevertheless, feel free to contact me.

Special thanks to:

Homebridge

Soon the configurationfile of homebridge will appear.

Arduino

I just uploaded my latest Arduino project. It has some bugs though. :(

Pin connection Diagramm for ENC28J60 CS - Pin 10 SI - Pin 11 SO - Pin 12 SCK - Pin 13 GND - GND VCC - 3.3V

Breadboard testing with LED: LED+ (with 270Ω Resistor) - Digital 9 //I didn't calculate the resistor value, but the led is still fine LED- - GND

Physical switch - Digital 8 (Don't directly connect ~230/110V to arduino... doesn't smell that good. Use a relay to galvanically insulate the circuits)

Hardware

Don't be afraid, it isn't that much hardware. More precisely, just one electronic component is needed to make it work... for testing purpose on the actual lamp. The one component is a MOSFET and is needed to handle the high current, that my lamp is consuming. On a breadboard one simple LED and a resistor wired to arduino is enough for testing.

If anyone of you has got some superior skills and knows a more efficient way to code, you are welcome to create an issue

About

HomeKit support for your not so smart lamp


Languages

Language:C++ 100.0%