Arduino serial communication finally working

After several attempts ( blogged here, here, and here ) at getting an Atmel AVR chip on a daughter board to communicate with a Raspberry Pi, I am now excited to report that I have it working. I turned out here were several things wrong: I needed to stop the Raspberry Pi serial port console …

Continue reading ‘Arduino serial communication finally working’ »

Efficient software PWM with bit-angle modulation

It is a few months now since I last had a play with pulse-width modulation (PWM). At the time I was concerned by the amount of processing power used by the simplistic approach I had implemented, so I abandoned the exercise. Luckily, there are more efficient ways to do software PWM. One of the most …

Continue reading ‘Efficient software PWM with bit-angle modulation’ »

Serial port shenanigans

Before I left for our holiday travels, I ordered a couple of extra toys for my Raspberry Pi, both from UK dealer Proto-PIC.co.uk The first was a “prototyping plate” from Aadafruit which brings out the on-board connections to a circuit board and some screw connectors for solderless cabling. This one is “some assembly required”, so …

Continue reading ‘Serial port shenanigans’ »