AT Tiny Microcontroller With LEDS and RGB

by sister mariaM in Circuits > Microcontrollers

1495 Views, 4 Favorites, 0 Comments

AT Tiny Microcontroller With LEDS and RGB

Copy of Frantic Allis-Lappi.png

The circuit uses an AT TINY microcontroller .It contains a clock at pin 5 which can turn off and on a LED(light emitting diode) or RGB(red ,green blue LED) at a certain frequency . The Arduino provides the 5 volt source .The resistors limit the current to the LEDS and RGBs

Parts Needed

Copy of Frantic Allis-Lappi.png

The parts needed for this circuit are;

AT TINY 45 or 85 microprocessor

19 ;1k resistors (brown,black and red)

27 LEDS ;13 LEDS and 14 RGBs

ARDUINO

Setting Up the Circuit

Copy of Frantic Allis-Lappi.png

Place the AT Tiny on the breadboard .

Place the 19, 1k resistors on the board .Each resistor will connect to pin 5 of the AT Tiny which is the clock input

Connect the LEDS to the other ends of the resistor .The long leg is positive and will go the the 1 k resistor .The short leg is negative and goes to ground on the breadboard .For the RGB the first lead is red .It can be connected to the other end of the resistor .The second lead is the cathode which will go to ground on the breadboard .

The blue color of the RGB is the third lead .It will go to the resistor and the cathode will go to ground .If you want the green color for the RGB it is the 5 lead which goes to the resistor and the cathode (negative) goes to ground .

Next connect pin 8 of AT Tiny to 5 volts on the breadboard(red) and pin 4 to ground .

Then connect the Arduino to 5 volts on the breadboard and ground to ground on the breadboard

Principle of the Circuit ;how It Works .

Copy of Frantic Allis-Lappi.png

The Arduino provides the 5 volt power to the AT Tiny .The AT Tiny has a clock which will turn on and off the LEDs and RGB(a special type of LED with 3 different colors ,red, blue and green).The resistor limits the amount of current going to the LEDS and RGBs The resistors are all in parallel so the voltage delivered to the LEDS and RGB is the same . All the LEDS and RGBs blink.

vimeo.com/277349518

The Circuit Was Made At

0627181437

This circuit was made on Tinkercad and tested on Tinkercad .It works . All the LEDS and RGBs blink

I hope this Instructable helps you understand how the AT Tiny can be used in a simple circuit .

Thank you