Arduino Mini Pro and ultrasonic distance sensor

I’ve not blogged here for a few days. Unfortunately my “real job” got very busy. In the meanwhile I received another package of bits I had ordered from China weeks ago and mostly forgotten about ;) Among other things in this package were some clone Arduino Mini Pro boards. These little boards have a SMD …

Continue reading ‘Arduino Mini Pro and ultrasonic distance sensor’ »

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’ »

More serial port foolishness

So I’m still banging my head against the difficulty of making a simple serial connection between my Raspberry Pi and an ATMega chip on a daughter board. And I still have not got it working properly. Overnight it occurred to me that I ought to have turned off the serial port login on the Raspberry …

Continue reading ‘More serial port foolishness’ »

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’ »

Pirates and SPIs

“Pirates and SPIs” sounds like a cheesy adventure story, but I’m afraid it’s more likely to be a serial than an exciting drama. A few days ago I had a delivery of some components I had ordered, including a MCP3002 analogue to digital converter. The data sheet for this device claims that it can do …

Continue reading ‘Pirates and SPIs’ »