LEAP#255 ATtiny PWM
PWM with ATtiny is not simply a subset of how things work on the ATmega328. It offers some different capabilities. This is my summary of hardware PWM control with a range of examples of controlling duty cycle and frequency with the ATtiny85. As always, all notes, schematics and code are in the Little Electronics & Arduino Projects repo on GitHub
read more and comment..
LEAP#254 AVR Hardware PWM
Arduino provides great out-of-the-box PWM capability, but not a simple way to modify the PWM frequency. To do that you need to work directly with the processor registers. This is my summary of hardware PWM control with a range of examples of controlling duty cycle and frequency with the Arduino UNO/ATmega328. As always, all notes, schematics and code are in the Little Electronics & Arduino Projects repo on GitHub
read more and comment..
LEAP#253 ATtiny Programming Shield
I covered programming an ATtiny with the Arduino ISP in the ProgrammingWithArduinoISP project. Since I’ve been programming a few more ATtiny processors, and simplify the processing of programming an ATtiny with ArduinoISP, I wired up a strip of protoboard to serve as a custom programming shield. As always, all notes, schematics and code are in the Little Electronics & Arduino Projects repo on GitHub
read more and comment..
LEAP#252 Message Waiting
This is a variation of a bi-polar LED flasher circuit that uses two single LEDs. Since that’s not very interesting, I free-wired it with surface mount components to make a little “message waiting!” indicator. Putting a card in the slot turns on the LED flasher. As always, all notes, schematics and code are in the Little Electronics & Arduino Projects repo on GitHub
read more and comment..