Postingan

Color sensor using arduino and TCS230

Gambar
Color sensor using TCS230 and RGB LED. Parts list: Arduino board https://goo.gl/XR3mXG RGB LED https://goo.gl/SPCY5o Resistor 100 ohm (Resistor kit https://goo.gl/p4JvQY ) Color sensor TCS230 https://goo.gl/xC9xhU Breadboard https://goo.gl/rGuHzY Connecting Wires https://goo.gl/BVC3pM   Please subscribe to my YouTube channel here:  https://www.youtube.com/c/EngMousaalkaabi?sub_confirmation=1 /* // TCS230 color recognition sensor // Sensor connection pins to Arduino are shown in comments Color Sensor      Arduino -----------      --------  VCC               5V  GND               GND  s0                8  s1                9...

How to coding arduino RFID module

Gambar
RFID can use in many area such as security systems, door key, etc. Any RFID card have special ID so you must set your Arduino board to identify that ID for work only on your card. You have to follow this steps: 1-Connect your RFID module to Arduino board as follow 2-upload the programming code to Arduino board. 3-open "serial monitor" then put your card near RFID module. 4-you must add the number(ID) that shown in serial monitor to the code and upload the code again. 5-Now when you put your card near RFID module the output be turn on and after 5 seconds the output turn off automatically.(this time can change by change the number that written after "delay" in programming code).  // the sensor communicates using SPI, so include the library: #include <SPI.h> #define uchar unsigned char #define uint unsigned int //?????? #define MAX_LEN 16 ///////////////////////////////////////////////////////////////////// //set the pin //////////////////////////////////////////...

Simplest ceiling fan electronic regulator(Dimmer)

Gambar
This circuit is simplest electronic regulator that can use for fan, lamps or any other dimmable electric devices. It is similar to commercial electronic fan regulators. The triac don't need to heatsink because the ceiling fan consume low power(lower than 100W). Parts list: Triac BT136 Potentiometer 500k (with switch) Diac DB3 Capacitor 0.1uF 400v(3pcs) Resistor 10k Resistor 15K Resistor 100R Coil 40uH NOTE: Don't touch the circuit when it connected to electric line

Turn ON-OFF electric appliance using Arduino bluetooth HC-06

Gambar
You can run some electric appliances (AC load) or some LED lamps(DC load) by Bluetooth from your mobile using Arduino. Parts list: Arduino board https://goo.gl/XR3mXG Resistor 100 ohm(12pcs) (Resistor kit https://goo.gl/p4JvQY ) Relay module 8 channel https://goo.gl/G5Uf3S LED (12pcs) https://goo.gl/SPCY5o Bluetooth module HC-06 https://goo.gl/hQfuXz Adapter 9v 1A https://goo.gl/xL3ZCi Breadboard https://goo.gl/rGuHzY Connecting Wires https://goo.gl/BVC3pM   IMPORTANT NOTES: 1-RX pin of bluetooth module connected to TX of arduino board and the TX pin of bluetooth module connected to RX of arduino board. 2-You must use 9v adapter rather than 9v battery when you use relay channel module because the battery become empty quickly. 3-When you want upload the programming code to arduino board, first remove the RX and TX pins. 4-Old versions of arduino program can't used for this project so you have to install   new version of arduino program from arduino site for free . Mobile and ...

Simplest 220v motion light switch

Gambar
This circuit is a motion switch that can run 110/220v AC lamp up to 10A. the circuit based on PIR motion sensor module HC-SR501, however you can use any other type but must pays attention to pin configuration(Vout in some modules is the first pin). motion sensor module is very cheap, i bought  it from Aliexpress by only 0.96$ with free shipping. When you buy a PIR motion module usually it not contain LDR so if you want use it for  running the lamp by motion just in dark so you have to add the LDR to that, that is very easy as you can see in the picture there are LDR interface under PIR plastic cover. After making the circuit put it in a plastic box such as ceiling fan regulator box for electrical insulation. Parts list: PIR motion sensor HC-SR501 Transistor 2N2222 12v relay Diode 1N4007 Zener diode 12v 1W Diode bridge 1A Capacitor 220uF 25v Capacitor 330nF 400v Resistor 1k Resistor 270 ohm 2W NOTES: 1-Don't touch the circuit when it connected to electric line. 2-Even after p...

LED chaser with 12 LEDs using arduino

Gambar
LED chaser with 12 LEDs using arduino. Parts list: Arduino Board https://goo.gl/XR3mXG LEDs (12pcs) https://goo.gl/SPCY5o Resistor 100 ohm(12pcs) (Resistor kit https://goo.gl/p4JvQY ) Connecting Wires https://goo.gl/BVC3pM Breadboard https://goo.gl/rGuHzY     Please subscribe to my YouTube channel here:  https://www.youtube.com/c/EngMousaalkaabi?sub_confirmation=1 void setup(){   pinMode(2, OUTPUT);   pinMode(3, OUTPUT);   pinMode(4, OUTPUT);   pinMode(5, OUTPUT);   pinMode(6, OUTPUT);   pinMode(7, OUTPUT);   pinMode(8, OUTPUT);   pinMode(9, OUTPUT);   pinMode(10, OUTPUT);   pinMode(11, OUTPUT);   pinMode(12, OUTPUT);   pinMode(13, OUTPUT); } void loop(){     digitalWrite(4, HIGH);   delay(100);   digitalWrite(4, LOW);   delay(100);   digitalWrite(4, HIGH);   delay(100);   digitalWrite(4, LOW);   delay(100);   digitalWrite(8, HIGH);   delay(100);   digi...