Add an output device to a micro controller board you've designed and program it to do something. There are many Output Devices such as :
LCD : (liquid crystal display) is the technology used for displays in notebook and other smaller computers. Like light-emitting diode (LED) and gas-plasma technologies, LCDs allow displays to be much thinner than cathode ray tube (CRT) technology. It's pins are connected to Ground, VCC, Contrast, Register Select, Read/Write, Enable, Data bit 1, Data bit 2, Data bit 3, Data bit 4, Data bit 5, Data bit 6, Data bit 7.
I planned to add a RGB LED light as an output. The RGB color model is an additive color model in which red, green and blue light are added together in various ways to reproduce a broad array of colors. The name of the model comes from the initials of the three additive primary colors, red, green and blue.
Design :
I am using Attiny 45 , I connected in my RGB LED : Red color to pin PB1 (1) and Green color to pin PB0 (0) and Blue color to pin PB2 (2).
Above is the Attiny45 diagram and the pin numbers.
I designed my board and this is the Schematic view of my RGB LED board , which I referred from Niel’s page.
In this design I used 5 Volt IC because I’m using a battery power connection.
Manual rooting is very complicated thats why I used Auto-rooting , there is some limitations in auto-rooting we cannot get our desired design.
When I auto root , some traces are too close to each other. Then I moved the traces and made some of the traces wider. And increased some of the traces width.
And this is after I manually fixed some of the routes.
This my final board after I soldered and programmed and worked.
And this iimage is showing how its connected to the battery and working perfectly , I really had fun after it worked its pretty cool.
Programming :
Below is the code I used to program my board. Generally , as seen under the void loop I made new colors other than red , green and blue by mixing two different colors together to get a new color. I mixed red with green to get yellow , blue with red to get purple and green with blue to get aqua. So I defined each of the six colors to blink or turn on for 1000 miliseconds then turn the next color on until all the six colors are turned on one after another , it will do the same again because of the loop.