Post Top Ad

Tuesday, June 11, 2024

on video How to Create a Very Simple Light Dimmer and AC Motor Circuit


 How to Create a Very Simple Light Dimmer and AC Motor Circuit

Very Simple AC Motor and Light Dimmer Circuit | DIY Project Guide

Hello, in today's video we are going to show you step by step how to build a very simple AC motor and light dimmer circuit. This simple but effective circuit allows you to control the brightness of your lights or the speed of your motors in your home. This is a perfect DIY project for anyone interested in electronics!

Hi every one, here Chris, and I want to show you how I made my own Arduino AC dimmer that can control AC loads such as motors and lights easily. It has the power to handle 1200+ Watts and It's a very nice project for home automation and home automation because the microcontroller I used is the ESP8266 that has WiFi capabilities and the code could be adapted with few changes.


Here I leave you a tutorial with all the information so you can make your own version.If you are a visual learner I know that a video worth more than 1000 words, so here is a Tutorial video.

This project may seem difficult or very complex, but it is definitely not completely, since you will have all the guidance for the construction, it was difficult for me to design it to make life a little easier for you. Any conceptual doubt, you are free to ask it without problems.


You should have an understanding of:

3D Printing (Optional for the case).

Arduino programming (I give you the code).

Soldering through hole components.

The Electronics discrete components as resistors and transistors will be attached in a BOM file in the PCB Step.


Here is the list of what you will need for the whole process:

-10kohm Potentiometer.

-2 Double Terminal blocks.

-AC motor of your preference (single phase).

-Dimmable Lightbulb.

-Small 5 volt cellphone power supply.

-Measuring tools: multimeters, clamp meters (optional).

-Micro USB SMD connector.

-1.3 inch OLED Display.

Wire.

Here is the Circuit Diagram of our project:


It has all the internal connections of the circuit that will allow us to create the PCB design later.


I also attached the PDF of the Schematics so you can see it better.

For the implementation of a good project we need a reliable assembly for the circuit that makes it up, and there is no better way to do it than with a good PCB.


Here you can download the Gerber, BOM and Pick & Place Files, the ones you need to order your PCB on your PCB manufacturing company.

Here you have the STL files for the 3D parts of the project.


Housing.

Cover

Potentiometer Knob and nut.

Button cap.

Motor holder.

1- To program the ESP-12s we need to connect it directly to our PC through the USB cable, open the Code "ACControl", install the libraries that I also attached and click on upload.


If the current measurements are wrong on your display, or you want to improve them, you can tune experimentally this parameters in the code:


float Sensitivity = 0.066; //sensitivity of the 30Amps sensor (see datasheet of ACS712 if use 20A or 5A version).

float intercept = 35952.685; // Change this until you got closer as possible to the real current.

float slope = 273; // Change this until you got closer as possible to the real current.

float testFrequency = 60; // frequency of your circuit (Hz)

float windowLength = 40.0 / testFrequency; // num of cycles that will be tested.

Follow these few steps carefully:


Insert the OLED Display into the case slot.

Wire the Display and make the connections are right between the PCB and OLED (Pinout may vary).

Connect the motor or light wires (Black and Red) to the output terminal block, it doesn't matter the polarity.

Get an AC Cable, findout the Line and Neutral wires, and connect them respectively in the power terminal block (INPORTANT).

If you are in this step, you are already enjoying the successfull end of the project:


Make Shure the potentiometer is on it's min position.

Turn on the system.

Click on the push button to enable the dimming function.

Turn the potentiometer, gradually and the motor should start.

You must see in the display the motor current.

If you click on the push button again the motor will turn off.

This isn't a simple dimmer, it has some interesting functions and let's try them.


Press the push button for +3 seconds.

The display should show up “Max Amps”.

Turn the potentiometer to set up the max amps setpoint.

Click on the push button again and you should be in the start screen again.

Now, if you simulate an overload of your motor, it should turn off when the current exceeds the setpoint.

This type of dimmer is perfect and IDEAL for controlling resistive loads, so in this case we will enjoy a better and more linear control of the brightness of the lightbulb.


 How to Create a Very Simple Light Dimmer and AC Motor Circuit

Very Simple AC Motor and Light Dimmer Circuit | DIY Project Guide

Hello, in today's video we are going to show you step by step how to build a very simple AC motor and light dimmer circuit. This simple but effective circuit allows you to control the brightness of your lights or the speed of your motors in your home. This is a perfect DIY project for anyone interested in electronics!

Hi every one, here Chris, and I want to show you how I made my own Arduino AC dimmer that can control AC loads such as motors and lights easily. It has the power to handle 1200+ Watts and It's a very nice project for home automation and home automation because the microcontroller I used is the ESP8266 that has WiFi capabilities and the code could be adapted with few changes.


Here I leave you a tutorial with all the information so you can make your own version.If you are a visual learner I know that a video worth more than 1000 words, so here is a Tutorial video.

This project may seem difficult or very complex, but it is definitely not completely, since you will have all the guidance for the construction, it was difficult for me to design it to make life a little easier for you. Any conceptual doubt, you are free to ask it without problems.


You should have an understanding of:

3D Printing (Optional for the case).

Arduino programming (I give you the code).

Soldering through hole components.

The Electronics discrete components as resistors and transistors will be attached in a BOM file in the PCB Step.


Here is the list of what you will need for the whole process:

-10kohm Potentiometer.

-2 Double Terminal blocks.

-AC motor of your preference (single phase).

-Dimmable Lightbulb.

-Small 5 volt cellphone power supply.

-Measuring tools: multimeters, clamp meters (optional).

-Micro USB SMD connector.

-1.3 inch OLED Display.

Wire.

Here is the Circuit Diagram of our project:


It has all the internal connections of the circuit that will allow us to create the PCB design later.


I also attached the PDF of the Schematics so you can see it better.

For the implementation of a good project we need a reliable assembly for the circuit that makes it up, and there is no better way to do it than with a good PCB.


Here you can download the Gerber, BOM and Pick & Place Files, the ones you need to order your PCB on your PCB manufacturing company.

Here you have the STL files for the 3D parts of the project.


Housing.

Cover

Potentiometer Knob and nut.

Button cap.

Motor holder.

1- To program the ESP-12s we need to connect it directly to our PC through the USB cable, open the Code "ACControl", install the libraries that I also attached and click on upload.


If the current measurements are wrong on your display, or you want to improve them, you can tune experimentally this parameters in the code:


float Sensitivity = 0.066; //sensitivity of the 30Amps sensor (see datasheet of ACS712 if use 20A or 5A version).

float intercept = 35952.685; // Change this until you got closer as possible to the real current.

float slope = 273; // Change this until you got closer as possible to the real current.

float testFrequency = 60; // frequency of your circuit (Hz)

float windowLength = 40.0 / testFrequency; // num of cycles that will be tested.

Follow these few steps carefully:


Insert the OLED Display into the case slot.

Wire the Display and make the connections are right between the PCB and OLED (Pinout may vary).

Connect the motor or light wires (Black and Red) to the output terminal block, it doesn't matter the polarity.

Get an AC Cable, findout the Line and Neutral wires, and connect them respectively in the power terminal block (INPORTANT).

If you are in this step, you are already enjoying the successfull end of the project:


Make Shure the potentiometer is on it's min position.

Turn on the system.

Click on the push button to enable the dimming function.

Turn the potentiometer, gradually and the motor should start.

You must see in the display the motor current.

If you click on the push button again the motor will turn off.

This isn't a simple dimmer, it has some interesting functions and let's try them.


Press the push button for +3 seconds.

The display should show up “Max Amps”.

Turn the potentiometer to set up the max amps setpoint.

Click on the push button again and you should be in the start screen again.

Now, if you simulate an overload of your motor, it should turn off when the current exceeds the setpoint.

This type of dimmer is perfect and IDEAL for controlling resistive loads, so in this case we will enjoy a better and more linear control of the brightness of the lightbulb.

No comments:

Post a Comment

Post Top Ad

Pages