Introduction: AT Tiny Microcontroller With LEDS and RGB
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
Step 1: Parts Needed
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
Step 2: Setting Up the Circuit
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
Step 3: Principle of the Circuit ;how It Works .
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.
Step 4: The Circuit Was Made At
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 .