Programmable AC Voltage Dimmer

Model : MOD-00120

Supplier : Techshop Bangladesh

TechshopBD, Bangladesh


1 - 9

10 - 99
BDT253.24Save BDT 8.86

100 +
BDT249.70Save BDT 12.40

Red Out of Stock

You may also be interested in

Arduino compatible AC voltage dimmer

This is an Arduino compatible AC voltage dimmer. Microcontrollers also can be used instead of Arduino. With this dimmer, you can control the speed of AC fan & brightness of light (only incandescent light). Check out the example code given in the documents section to understand its use.

This module cannot be used with energy saving bulbs, only incandescent bulbs. This module is very hard to control with Raspberry Pi, you need to know interrupt handling and timer ISR. It would be better if you could use this one:

Digital AC Voltage Dimmer

This module has a built-in microcontroller under it and takes care of Interrupts, Timer ISR etc. You just have to give 0V and 5V 100ms pulses to +/- pins to increase or decrease load voltage.



NB: This device does NOT support tube, fluorescent or energy saving bulbs.

Login to post comments.
Pronabsaha137 | Oct 24,2016 at 05:17 PM
will it be possible to control ac fan too? Is heat sink required with this module?
A.R | Oct 25,2016 at 11:19 AM
You can. Heat sink is not needed for fan-light. For bigger loads it may need.
Mahfuzdot | Nov 17,2016 at 12:14 PM
please create a Ir remote control arduino program for this. I really need this...
Mahfuzdot | Nov 17,2016 at 01:02 PM
Please make a remote control sketch for this module...
A.R | Nov 17,2016 at 02:45 PM
Hello, sorry it's not possible for us to give code on demand. We give one sample code so that people get the idea and do projects by themselves.
Mahfuzdot | Nov 17,2016 at 09:54 PM
It's not demand just a request....
Mahfuzdot | Nov 17,2016 at 09:55 PM
I buy 2pice of this module an I am stuck please create a code for me...
Mahfuzdot | Nov 19,2016 at 01:14 PM
Please reply....
A.R | Nov 20,2016 at 02:37 AM
Sorry we cannot do that now as we said earlier.
anon | Nov 24,2016 at 12:54 PM
There is some thing I do not understand, I need only PWM pin from Arduino, but what will another pin, and I get some code from stack over flow, this codes are very friendly, and I want to use that codes,:

intledPin = 3;
void setup()
Serial.println("Serial connection started, waiting for instructions…n0 = Offn1 = 25%n2 =50%n3 = 75%n4 = 100%");

void loop ()
if (Serial.available()) {
char ser =; //read serial as a character

//NOTE because the serial is read as “char” and not “int”, the read value must be compared to character numbers
//hence the quotes around the numbers in the case statement

switch (ser)
case '0':
analogWrite(ledPin, 0);

case '1':
analogWrite(ledPin, 64);

case '2':
analogWrite(ledPin, 128);

case '3':
analogWrite(ledPin, 192);

case '4':
analogWrite(ledPin, 255);
Serial.println("Invalid entry");

A.R | Nov 26,2016 at 11:15 AM
Due to our company policy we cannot review any code. Hope you understand our policy. Sorry.
anon | Nov 26,2016 at 11:30 AM
Dear sir,
I can not understand why I use, pin nunber 2, can any you tell me. Thank You.
Seyamico | Jan 1,2017 at 10:15 AM
Which Triac/Mosfet/Optocoupler Is Used For Dimming Purpose?
S.m.islam | Mar 11,2017 at 06:09 PM
sob set kore program upload deyer por dimmer a ekta sound hocce.Ate kono problem hobe.
Techshopbd | May 21,2017 at 04:53 PM
কোন সমস্যা হবে না। ঐ শব্দটি স্নাবার সার্কিট থেকে আসছে ,যেটি মডিউলটিকে
দীর্ঘস্থায়ী করতে সাহায্য করবে।
Falibuzzkonik | May 21,2017 at 02:45 PM
দয়া করে কি , আপনি Blynk APPS সাপোর্টেড একটা কোড দিবেন, আমি অলরেডি ২টা কিনেছি, যদি আপনি এই রকম একটা কোড সেটাপ করে দিতে পারতেন, তাহলে আমি আরো ১০/১২টা কিনতাম, এই হোম সেটাপ টা আমাদের পরিচিত অনেকেই করতে চাইতেছে, তাই কোড টা দিলে ভালো হতো
Techshopbd | May 21,2017 at 05:14 PM
দুঃখিত বর্তমানে আপনাদের জন্য এমন কোন কোড দিতে পারছি না। Blynk এর জন্য আমার মনে হয় এই মডিউলটি ব্যাবহার করলে বেশি সুবিধা পেতেন...

"Just pressing big yellow buttons you can increase and decrease input voltage. If you don’t want your hands dirty and prefer to press buttons "electronically" then hook an Arduino with it. Setting + pin to Low and – pin to High for at least 100 millisecond. Then you’ll have the ++ button pressed. Do the opposite to press - - button."
Faisalbinfarooq | Jun 12,2017 at 12:06 AM
This product does not work , It does not even power up
A.R | Jun 12,2017 at 10:07 AM
We sell our modules tested. So, if you are confident that there is no mistake from your side, please send it back with a copy of your invoice. We must check it first to give you a solution. But it is our humble request to check and double check before sending.
Abushuvom | Aug 12,2017 at 08:12 PM
The power LED isn't lighting after connecting to _5v and GND. Is my module faulty?
Faisalbinfarooq | Aug 13,2017 at 09:40 PM
Yes Same Here . Adriano does not detect the device
Fahim08buet | Aug 16,2017 at 11:02 AM
Mr. Faisal,
Same goes for you. Follow the reply i've given to Mr. Shuvom.
Fahim08buet | Aug 16,2017 at 11:00 AM
Hello Mr, Shuvom, Sorry for your inconvenience.

That LED is not power LED. That's brightness LED. After Connecting 5V,GND, RLY, O-X and 220V AC and uploading proper code to arduino, that LED will light up with dimmed intensity.

Try that. If that doesn't work feel free to comment here or come to our office. We'll have a chat.
Robinabdullah | Jul 27,2017 at 01:25 AM
is it compatible with raspberri pi ??
A.R | Jul 27,2017 at 04:06 PM
Yes but you have to program it by yourself.
Abushuvom | Aug 18,2017 at 12:25 AM
Although I can dim AC lamps with this module and the code provided, however, I can't control FAN speed with this. FAN rotates very slowly with whatever dimming value provided. Is anyone successfully tested controlling FAN with this?
Fahim08buet | Aug 20,2017 at 11:17 AM
We have tested this module on AC ceiling fans and it works fine. I added snubber circuit to it, just to make it work with inductive loads like "FAN". So it should work fine if you connect it properly.
Abushuvom | Aug 20,2017 at 10:10 PM
Yeah it works fine with some tuning on the code. The dimming value range varies depending on the type of load. Thanks
Robinabdullah | Oct 20,2017 at 07:15 PM
There are 4 pins in this module which are named GND, RLY, O-X, 5V
I need to know the use of RLY pin and O-X pin.
Robinabdullah | Oct 20,2017 at 07:39 PM
can i use pwm signal for controlling fan speed ?
Techshopbd | Oct 22,2017 at 04:27 PM
O-X pin gives input to Arduino and depending on those inputs RLY pin turn on and off you load for very small time. O-X is for zero cross detection and RLY stands for relay. PWM won't work. We need interrupt. Proper way is to use the device is using the demo code. There's a demo code in "Documents" section ( Open that example code and read commented lines at the beginning of the code. You'll find every instruction to run this device. Using the code above, you can control speed of AC fan.
Robinabdullah | Oct 22,2017 at 11:13 PM
i need the code for raspberry pi.
A.R | Oct 24,2017 at 09:37 AM
Sorry we do not supply code on demand.
Rayhan.buet.eee.15 | Nov 13,2017 at 10:30 AM
can i use it with esp8266 or NodeMCU?
K1ng4400 | Dec 30,2017 at 02:16 PM
i got the same question
Fahim08buet | Dec 31,2017 at 03:30 PM
Yes you can. But this device is designed to work with 5V unlike some ESP or Nodes. So take care of voltage conversion.
K1ng4400 | Jan 1,2018 at 07:25 AM
can it completely turn off the output power?
F4him123 | Jan 6,2018 at 08:49 PM
Will it work if I do not connect a relay on relay pin?
Falibuzzkonik | Mar 11,2018 at 09:24 PM
এটা কি ঠিক হলো। আমার আগের ভার্শনে ডিমারের সাথে হিট সিংক নেই । কিন্ত এখনের ভার্শনের সাথে দেওয়া হয়। এখন আমার টা কি চেঞ্জ করে দেওয়া হবে নাহ। কষ্ট পেলাম
A.R | Mar 12,2018 at 09:42 AM
ভার্শন চেঞ্জের সাথে সাথে কিছু কিছু পরিবর্তন প্রোডাক্টে আসবে সেটাই স্বাভাবিক। এখন এটা চলছে পরবর্তীতে হয়তো আর এন্ড ডি টিম আরও কিছু পরিবর্তন আনবে। এটার বর্তমান ডিজাইনে শুধু হিট সিংকই যুক্ত হয়নি, ডিজাইনেও আরো কিছু পরিবর্তন এসেছে, দামটাও একটু বেড়েছে। এটা আমাদের অন্যান্য অনেক প্রডাক্টের ক্ষেত্রেই সত্যি।
K1ng4400 | Mar 13,2018 at 02:34 AM
will it work with nodemcuu? 3.3 volt
A.R | Mar 13,2018 at 09:42 AM
You have to use logic level converter in between.
Monzur0010 | Jun 25,2018 at 12:56 AM
Response Time is very High... OLED gone slow, IR not working... Ki jinish bhai eta?

dimtime = 65 * dimming; // For 60Hz =>65
delayMicroseconds(dimtime + CORRECTION); // Wait till firing the TRIAC

Reduce this [dimtime] otherwise It can work. Very Sad...
Fahim08buet | Jun 26,2018 at 10:02 AM
Our original code was:

int dimtime = (95*dimming); // For 60Hz =>65
delayMicroseconds(dimtime+CORRECTION); // Wait till firing the TRIAC

NOT 65 we used 95. We've tested this code numerous times, and it works perfectly. We used a macro called CORRECTION on the latest code. Sometimes the value of the resistors can be on the worst possible poles, which will affect the dimming code. So we enabled our user to tweak CORRECTION value and fine tune their device.
Monzur0010 | Jun 26,2018 at 08:55 PM
95 use korle to aro beshi time lage but.. prb hosse OLED hang hoye jay... IR theke wrong value ase.. but only the device is working good... amar mone hoy na keu shudhu dimmer use korbe with Arduino... PIN to aro khali thake r IR sara Dimmer diye lav ki? jodi button e press korte hoy? So think about it... OLED te Level show korte hobe + IR diye jano Speed komano barano jay... keu nischoy Serial Monitor diye value diye FAN ba Light Dimming korbe na...?
Techshopbd | Jun 27,2018 at 09:44 AM
জনাব মনজুর,
আমাদের ওয়েবসাইটে সংযুক্ত কোডটি শুধুমাত্র একটি ডেমো কোড। যদি আপনি সত্যিকার অর্থেই অনেক গুলো ডিভাই কানেক্ট করতে চান যেগুলোর প্রতিনিয়ত রিফ্রেশ করতে হয় তাহলে ডিলে ব্যবহার করা যাবে না এটাই স্বাভাবিক, কারণ ডিলে দেয়া কালীন সময়ে মাইক্রোকন্ট্রোলার কোন কাজ না করে বসে থাকে।
এক্ষেত্রে মাক্রোকন্ট্রোলারের টাইমার ফেচারগুলোকে ব্যবহার করতে হবে। তাছাড়া beginner দের জন্য আমি আরেকটি মড্যুল তৈরি করেছিঃ।

এটার নিচে একটি ছোট্ট মাইক্রো কন্ট্রোলার আছে। এই মডুইলটির (+)/(-) পিনকে আপনি শুধু ১০০ মিলি সেকেন্ডের একটা LOW pulse দিলেই মডিউলটি আউটপুট ভোল্টেজ আপ/ডাউন করবে।
Razib3242 | Jan 26,2021 at 06:29 PM
ভাই একটা ভিডিও টিউটোরিয়াল দিলে ভালো হতো আপনাদের এই মডিউলের ব্যবহার বুঝতে ও কোড করায়।
Almamun3248 | Jan 28,2021 at 12:07 PM
প্রিয় গ্রাহক, আমরা চেষ্টা করবো। আপনি চাইলে আমাদের ওয়েবসাইটে লাইভ চ্যাটে টেকনিক্যাল টীমের সাথে সরাসরি যোগাযোগ করতে পারেন।
[email protected] | Apr 9,2021 at 06:52 PM
কয়টা ডিভাইস কন্ট্রোল করা যাবে?
[email protected] | Feb 12,2022 at 10:11 PM
Please code and user apps link

Copyright © 2012-13 Techshop Bangladesh. All rights reserved.