Linksprite Arduino

Linksprite JPEG UART Camera + Arduino

Here is a small piece of code I threw together with help from the original source from Linksprite allowing me to interface with the Colour UART Camera from an Arduino board, over SoftwareSerial.

The reason I went for software serial is that this particular Arduino is to be used as a single node in a larger “internet-of-things” and the hardware serial port is required for communication over the XBee module that will be attached, to other nodes in the network.

Firstly, I’ll start with a diagram of the hardware. In this case I’m using a 3.3V Arduino Pro Mini. The voltage is critical, because the camera will need to run at 5V to be reliable. Fortunately, the Arduino is capable of regulating the voltage to it’s required level if it’s connected up right!

Continue reading

Bits & Niggles: Dialogs

Dialogs are a necessary part of Android development, prompting the user for a Yes/No action is often required by applications of various types.

The Yes/No answer to these dialogs is usually of some importance, for example; “Are you sure you want to erase every single photograph you have ever taken?” and the Answer can often be “No”, because you clicked on something accidentally or because the UI design didn’t make it entirely clear what action you were about to perform, but that’s a story for another day.

Continue reading