This is the final AVRDUDE flash of the Lunchbeat by Buranelectrix. Weโve got everything connected, with the Lunchbeat getting its power from the PICkit 2 rather than a battery. Hopefully itโs all going to behave!
We also reminisce about how good SuperNick (Nick) is at holding down buttons while flashing things. Whether thatโs entirely necessary throughout the flashโฆ I canโt remember. Still, the PICkit 2 is doing its thing, and after a little waiting weโre all done!
As it turns out, I was doing it wrong before. I hadnโt set the fuses to use the external 16 MHz crystal, so the ATmega328P was still running from its internal clock. That lovely crystal sitting on the board was effectively just decoration! Whoops!
With the clock settings sorted out, the sound playback is much better. Iโve made a little tune to demonstrate it, and the Lunchbeat is finally doing something a bit closer to what itโs supposed to do. Just sit back and listen. They sure can be catchy!
Weโve actually got three of these machines assembled, and this particular Lunchbeat belongs to SuperNick (Nick). There are still a couple of little things to tidy up, including the battery holder and the on/off switch arrangement, but the important part is working.
You can even connect multiple Lunchbeats together if youโve got two or more. Just think of the possibilities! Thatโs what happens when I hack about with things beyond my understanding. Quite a fun little project, and one more video to come.
Sources
Related Posts
- Lunchbeat / PICkit 2 - PCB Arrival (Part 1)
- Lunchbeat / PICkit 2 - Programming the PIC18F2550 (Part 2)
- Lunchbeat / PICkit 2 - Update (Part 3)
- Lunchbeat / PICkit 2 - LEDs (Part 4)
- Lunchbeat / PICkit 2 - Programming 101 (Part 5)
- Lunchbeat / PICkit 2 - Programming 102 (Part 6)
- Lunchbeat / PICkit 2 - Sound Demo Int. Clock (Part 7)
- Lunchbeat / PICkit 2 - Resistor Upgrade (Part 9)