Week 08
Embedded Programming
|
This week, I learned how to program an ATTiny44 using the Arduino programming environment.
|
This is the RGB LED that I used. Originally, I was using the wrong pin configuration (I had the anode and G swapped).
The example used for my board design:
here
LED I'm using(FKB) specs:
here
I used the “High-tech Low-tech” page for learning how to program the ATtiny44 using Arduino 1.0.5: found
here
Other problems I ran into:
- setting the button resistor value to high
- I had to resolder/hack the RGB led to get it to work because I had the anode and G pins swapped (I looked up the data sheet)
- I had the wrong resistor on the VCC pin (1k rather than 10k)
- my cable was broken (even though I’m certain I pressed down hard enough)
- When programming, I found that if the delay was set too low that it would blink way too fast.
- To create a PNG, all I had to do was turn off most of the layers and save as a monochrome PNG with a decent resolution (I used 2,000dpi).