Category Archives: Tutorial
Here’s my latest DIY project, a smartphone based on a Raspberry Pi. It’s called – wait for it – the PiPhone. It makes use an Adafruit touchscreen interface and a Sim900 GSM/GPRS module to make phone calls. It’s more of a proof of concept to see what could be done with a relatively small form factor with off-the-shelf (cheap) components. I don’t expect everyone to be rushing out to build this one, but I had great fun in doing it, as it builds quite nicely on my previous projects, especially the Lapse Pi, a touchscreen time-lapse controller, and uses most of the same hardware.
So here’s my latest Raspberry Pi project. It uses the PiTFT Mini Kit, which is a 320×240 2.8″ TFT display and Touchscreen from Adafruit Industries that fits neatly onto my Raspberry Pi, to control a user interface to drive the back-end time-lapse script I showed you in a previous blog article.
(DISCLAIMER: Not meant as a security solution or a lesson in good dog behavior. It’s an experimental proof of concept to play with the application of embedded computing to solve particular use cases)
Sleep deprivation has been driving me mad recently. And it’s all down to a new member of the family (kind of), our new dog. She barks at night when she’s left out. She barks early in the morning when she’s left in. So once I recognized the patterns of her barking, I realized that all I needed was something that would let her out when she needed to go for a pee, usually around 6:30 in the morning. I could do this with a timer switch and a door strike, but where’s the fun in that.
I’ve recently had the need to solder some small components at home, but don’t have a microscope, or even a decent magnifying glass. But then I thought that I’d a rather expensive DSLR and a pretty good macro lens, along with some extension tubes (allows closer focussing). Now I know that the camera has a Live-View facility (it’s a Canon 5D Mark III), but would the display be output easily to a monitor? Well, in the box that came with the camera, I found a cable which had a composite connector and some kind of A/V connector for the camera, so I set it up as shown in the pictures, a switched on the camera. The menu was displayed on the monitor, as hoped. Once I’d enabled live view and adjusted the settings so the exposure was OK, I zoomed into the display, first x5 and then x10. Each time the live view display was replicated on the monitor.
Here’s how to add a 9-pin serial port to your Raspberry Pi, and it’ll only take you 10 mins. Well, maybe a couple of weeks to wait for the part to arrive from Hong Kong, but once it arrives, it’s only 10 minutes! 😉
Here’s the part you’ll need. It’s an RS232 to TTL converter module containing a MAX3232 chip. The MAX3232 is important, as the older MAX232 won’t handle the 3.3v levels of the Pi, whereas the Max3232 will. It comes with a 4-way cable for connecting the module to the GPIO of your Pi. If you search on eBay for “RS232 Serial Port To TTL Converter Module MAX3232″ you should find several. The one I got cost me €3 with free shipping from Hong Kong.
Here’s another in the series of articles of photographic uses for the Raspberry Pi SBC (Single Board Computer). This time, it’s re-purposing an old flatbed scanner as a macro rail for focus stacking images in macro photography.