Communicating with an Arduino on a Pi

Yesterday I wrote about how I managed to get an “Arduino” (or at least the AVR ATMega328 chip which powers one) attached to and programmed by my Raspberry Pi. However exciting a blinking LED may be, though, it’s not much use if the only way to change its behaviour is to completely re-program the chip. …

Continue reading ‘Communicating with an Arduino on a Pi’ »

Detective work on PiFace Control and Display

Having wasted all my free time yesterday on trying to find out how the PiFace CAD is interfaced to the Raspberry Pi, I thought I’d take a different approach today. When I was last working with SPI, I used my trusty Saleae Logic analyser to find out what was happening, so I thought I’d connect …

Continue reading ‘Detective work on PiFace Control and Display’ »

Another try at reading a MCP3002 ADC with Bus Pirate

A few months ago I got somewhat stuck trying to understand how to “join the dots” between the Bus Pirate and a MCP3002 SPI analogue to digital converter (ADC) chip. Finally I abandoned the effort and moved on to other things. More recently, however, I have succeeded in sending data to a MAX7219 LED matrix …

Continue reading ‘Another try at reading a MCP3002 ADC with Bus Pirate’ »

My new favourite Raspberry Pi accessory

The day after we got back from our holiday travels, I popped in to a nearby Aldi store. Every week they have “special buys”, and sometimes they can be bargains. What tempted me in was the idea of a relatively low-cost battery-operated LED light, with an infra-red remote control. I bought one, but I haven’t …

Continue reading ‘My new favourite Raspberry Pi accessory’ »

Not just Raspberry Pi – playing with an Arduino

I have had an Arduino board sitting in one of my electronics boxes for months. While chatting with an ex colleague yesterday evening, it occurred to me that I had never actually done anything with it. Although it may seem that Arduino and Raspberry Pi are in some sense competitors, I’m seeing more and more …

Continue reading ‘Not just Raspberry Pi – playing with an Arduino’ »

Controlling a Slice of Pi/O with Python

I recently got a comment on my article from 1st February about Soldering a Slice of Pi/O asking for some help in programming it in Python. This reminded me that I have not got very far with this little board beyond checking that the Raspberry Pi could see it. So I decided to see what …

Continue reading ‘Controlling a Slice of Pi/O with Python’ »