Hackaday.io Hackaday.io
Projects
Discover Contests Courses Stack
More
Courses Tutorials Events Hackerspaces Hackaday.com Tindie Marketplace
Sign up Log in
Close
0%
0%

MQTT WiFi controlled mains halogen dimmer

MQTT WiFi controlled mains halogen dimmer that can be controlled by rotary controller or from home automation (OpenHab) by PIC and ESP8266

marc-spoorendonkMarc Spoorendonk
Following Follow project
Liked Like project

Become a Hackaday.io member

Not a member? You should Sign up.

Already have an account? Log in.

Sign up with Github
Sign up with Twitter
OR
Forgot your password?

Just one more thing

To make the experience fit your profile, pick a username and tell us what interests you.

Pick an awesome username
hackaday.io/
Your profile's URL: hackaday.io/username. Max 25 alphanumeric characters.
Pick a few interests
Projects that share your interests
People that share your interests

We found and based on your interests.

Choose more interests.

OK, I'm done! Skip
Join this project
Similar projects worth following
1.5k views
0 comments
845 followers
1 likes
  • Description
  • Details
  • Files 0
  • Components 4
    • View all
  • Logs 3
    • View all
  • Instructions 0
  • Discussion 0
View Gallery
1.5k
0
845
1

Team (1)

  • marc-spoorendonkMarc Spoorendonk

Join this project's team
hardware
ongoing project
pic ESP8266 mqtt openhab

This project was created on 01/06/2016 and last updated 2 years ago.

Description

MQTT WiFi controlled mains halogen dimmer that can be controlled by rotary controller or from home automation (OpenHab) by PIC and ESP8266. The 300W halogen lamp is dimmed on the primary side of a round (conventional) transformer. The dimming electronics are decoupled from the mains for easy debugging. The zerocross signal is taken from the secondary side of a small transformer that also supplies the circuit with about 3.7V (old phone charger).

Components

  • 1 × ESP8266 wifi tranceiver
  • 1 × PIC16F628A Microprocessors, Microcontrollers, DSPs / ARM, RISC-Based Microcontrollers
  • 1 × MOC3032 optocoupler Opto and Fiber Optic Semiconductors and ICs / Optocouplers and Optoisolators
  • 1 × Triac Discrete Semiconductors / Thyristors (DIACs, SIDACs, TRIACs, SCRs)

Project Logs
Collapse

  • Mains part built. Now testing.

    Marc Spoorendonk • 02/10/2016 at 22:22 • 0 comments

    The mains part with the triac is now built on perfboard. Works fine. A small reallife test showed that it also works on the 300W halogen transformer. Had to pull an extra nullwire as it wasn't present at this location.

  • Learning Fritzing

    Marc Spoorendonk • 02/07/2016 at 19:57 • 0 comments

    Learning how to use Fritzing in order to create a small perfboard to test the high-voltage part on the 300W halogen lamp.

  • ESP8266 blinking

    Marc Spoorendonk • 01/06/2016 at 20:55 • 0 comments

    Got the ESP-102 to work with Arduino IDE. Now make it speak to the PIC at 9600 baud.

View all 3 project logs

Enjoy this project?

Share

Discussions

Log In/Sign up to comment

Become a Hackaday.io Member

Create an account to leave a comment. Already have an account? Log In.

Sign up with Github
Sign up with X
OR

Similar Projects

ESP8266 NodeMCU baseboard for adding some physical control to your home automation projects
Project Owner Contributor

MQTT NOAH Baseboard

dewetDewet

Simple and cheap configurable ESP32 based controller for wired sensors and relays
Project Owner Contributor

Chipperb

jason-kJason K

Control the intensity of the dimmable lighting appliances via a trailing edge dimmer.
Project Owner Contributor

Multichannel Wireless Light Dimmer

abhishekkonaleabhishek.konale

The 2017 Hackaday Prize
Use DFRobots 4 Channel relay shield and control up to 4 appliances using just a infrared remote controller.
Project Owner Contributor

IR Home Automation on DFRobot's Relay Shield

naman-chauhanNaman Chauhan

Does this project spark your interest?

Become a member to follow this project and never miss any updates

Going up?

About Us Contact Hackaday.io Give Feedback Terms of Use Privacy Policy Hackaday API

© 2025 Hackaday

Yes, delete it Cancel

Report project as inappropriate

You are about to report the project "MQTT WiFi controlled mains halogen dimmer", please tell us the reason.

Send message

Your application has been submitted.

Remove Member

Are you sure you want to remove yourself as a member for this project?

Project owner will be notified upon removal.