I needed a case for the RaspberryPi. The good thing about the RPi being a business card-sized computer is that it fits nicely in a plastic box from old business cards. If you look on Ebay, you can buy 20 of them for £5 including delivery. The boxes make fantastic custom RPi cases! I didn’t […]
Python
An example of how to merge the first page of multiple PDF.
import os indir = ‘c:\\datafilepath\\’ for filename in os.listdir(indir): if filename.startswith(“xyz_”): newname = filename.replace(“xyz_”,”abc_”) try: os.rename(indir + filename, indir + newname) print “[NEW]”, filename, “–>”, newname except: print “[OLD]”, filename, “–>”, newname
I had a productive couple of days. Arkadian AV-1 is now operational as a remote control vehicle. Arduino I’m using the StandardFirmata library on the Arduino Mega 2560, with no modifications whatsoever. It was by far the easiest way to get RaspberryPi to control the 4 motors, receive feedback from the 4 sensors (on order […]
Today I worked on a few necessary but rather boring parts of the construction. I got the Sparkfun compass module from Proto-Pic and spent a few hours setting it up and calibrating it. I used the HMC5883L Arduino library example to generate the following: 1 2 3 4 5 6 7 8 9 10 11 […]
29 Aug 2011 Omnima UK sell a tiny little board for less than £40, that runs on openWRT Linux and has ethernet, WiFi and a USB port. It seems to be a great base for simple projects, when we need more power than one arduino. Link to product I’ve ordered one to try something I […]