happy halloween badge
This is a halloween badge since halloween is near let's enjoy the party with a flashing RGB led badge .
Keep in mind if you are using 9v battery then add the resistors and if 3v battery then solder the pads of a resistor connected and skip the resistance in the circuit. Do this for all the resistors.
SORRY FOR THE LATE POST but designing the board took a little bit of time.
now let us have a look at what is ATTINY85 module:
The high-performance, low-power Microchip 8-bit AVR RISC-based microcontroller combines 8KB ISP flash memory, 512B EEPROM, 512-Byte SRAM, 6 general purpose I/O lines, 32 general purpose working registers, one 8-bit timer/counter with compare modes, one 8-bit high speed timer/counter, USI, internal and external Interrupts, 4-channel 10-bit A/D converter, programmable watchdog timer with internal oscillator, three software selectable power saving modes, and debugWIRE for on-chip debugging. The device achieves a throughput of 20 MIPS at 20 MHz and operates between 2.7-5.5 volts.
By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching 1 MIPS per MHz, balancing power consumption and processing speed.
and let's have a look at RGB now:
RGB (red, green, and blue) refers to a system for representing the colors to be used on a computer display. Red, green, and blue can be combined in various proportions to obtain any color in the visible spectrum. Levels of R, G, and B can each range from 0 to 100 percent of full intensity. Each level is represented by the range of decimal numbers from 0 to 255 (256 levels for each color), equivalent to the range of binary numbers from 00000000 to 11111111, or hexadecimal 00 to FF. The total number of available colors is 256 x 256 x 256, or 16,777,216 possible colors.
now let us have a look at our next component i.e CR2032 coin battery 3v:
- High voltage (3V)
- Very low self-discharge; long shelf life: up to 10 years
- A full line up for use in a wide variety of applications
- No mercury added
- High leak protection
- Usefull in a wide range of temperatures (-30°C to +60°C)
- Very high weight-to-power ratio
Applications
Lithium Coin CR2032 has certain achievements for devices where traditional batteries cannot be used. This battery can be used for memory back-up, digital watches, car keys, laser pens, fitness appliances and medical devices such as tensiometers and clinical thermometers.
you guys are thinking why am i describing the components , it's because i don't want to confuse you in the parts and with the details you can make many badges just changing the board outline. the description given is very precise and convenient.
now let us have a look towards the code. the coding of the attiny85 can be done using a simple arduino uno with the below mentioned connections:
Uploading program to ATtiny85
Now back to Arduino IDE. Select ATtiny under Tools -> Board. Then select ATtiny85 under Tools -> Processor. And select 8 MHz (internal) under Tools -> Clock.
Then make sure Arduino as ISP is selected under Tools -> Programmer
By default the ATtiny85 runs at 1MHz. To make it to run at 8MHz select Tools -> Burn Bootloader.
You will get the above message if burning bootloader was successful.
Now open the Blink example from arduino examples and change the pin number from 13 to 0 and upload.
You can see the above message if everything was successful. Now we have upload the blink program to ATtiny85 and now lets test it out.
Testing ATtiny85 Blink
Now its time to test. Remove all connections from Arduino and take a power source. Here I will use a button cell to power ATtiny85.
that's all for this project . i think all the queries are cleared here if i missed anything then do comment , i would be there to help you.
thanks to the pcbway community and arduino community for all they have done.
happy halloween badge
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(2)
- 2 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
10design
-
10usability
-
10creativity
-
10content
-
9design
-
8usability
-
10creativity
-
10content
More by Praddy
- SIMPLE ARDUINO BOARD This is an arduino uno board but i have added some extra components and changed some of thhe compone...
- MERRY CHRISTMAS SANTA BADGE since christmas near around two months remaining. lets celebrate christmas with flashing rgb eyes of...
- happy halloween badge This is a halloween badge since halloween is near let's enjoy the party with a flashing RGB led bad...
- ARDUINO MANUAL CNC MACHINE PCB the manual cnc machine is the cnc machine which not only work on code but also can be controlled wit...
-
-
-
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
154 1 1 -
-