Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!

Running LED Bicolor

Running LED Bicolor

This is a good project for beginners. It is easy to build.This running LED light uses seven bicolor led’s red and yellow, they light up in a pattern that can be made within the program code.The program code is written in assembler. Atmel AVR studio is used to write the program.
The project uses the AT1200 but the AT2313 can also be used. As a clock source a 4Mhz ceramic resonator is used, this is cheaper than a crystal. The board has to be powered with 5V DC.

Because each I/O port of the AT2313 can draw 20mA current, each I/O port can drive a LED. The LED’s are connected to the port B and port D of the AT2313. By connecting one end of the LED to port B and the other end of the LED the port D the polarity of the LED can be reversed. By putting a 1 on port B and a 0 on port D, the LED will go red. By putting a 0 on port B and a 1 on port D, the LED will go yellow. Now by writing sequently different bytes to the port B and port D, you can create different patterns in which the LED’s will light up.

Visit Here for more.







 

More Articles to Read

Design for a Wideband, Differential Transimpedance DAC Output
Design for a Wideband, Differential Transimpedance DAC Output
Blinking Christmas Lights
Blinking Christmas Lights
Wrist thrusters let you fly through the water effortlessly
Wrist thrusters let you fly through the water effortlessly
Bertan/Spellman 225-20R HV power supply teardown
Bertan/Spellman 225-20R HV power supply teardown
Blinking Christmas Lights
Blinking Christmas Lights
Adjusting clock with alarm, hygrometer & thermometer on 1.8″ ST7735 display
Adjusting clock with alarm, hygrometer & thermometer on 1.8″ ST7735 display
Adding an “extra sense” with rangefinders
Adding an “extra sense” with rangefinders
This wireless game controller looks like a rug
This wireless game controller looks like a rug
How to run your ESP8266 for years on a battery
How to run your ESP8266 for years on a battery
Calibration of a 3-Phase Energy Meter Board on the ADE7754
Calibration of a 3-Phase Energy Meter Board on the ADE7754
Making beats on a tiny Arduino DJ controller
Making beats on a tiny Arduino DJ controller
Qinsi-QS5100 Sn63Pb37 solder profile
Qinsi-QS5100 Sn63Pb37 solder profile
Water Detection System
Water Detection System
Professional Hi-Fi 15W Tube Amplifier circuit
Professional Hi-Fi 15W Tube Amplifier circuit
This Arduino machine will judge how sick your ollies are
This Arduino machine will judge how sick your ollies are
Turn an old payphone into a boombox for ’90s hits
Turn an old payphone into a boombox for ’90s hits
Big F’n 3D printer build
Big F’n 3D printer build
Temperature alarm for boiling milk
Temperature alarm for boiling milk
QuadBot is a 3D-printable walking robot for everyone
QuadBot is a 3D-printable walking robot for everyone
MicroConverter I2C Compatible Interface
MicroConverter I2C Compatible Interface

Top


Shares