Working with RaspiBo
The “automatic road sampler” system is one of the most interesting, innovative, and challenging aspects of our project.
Thanks to the fundamental contribution of RaspiBo, we’ve developed a system that can automatically take a picture every 500 meters along the entire route of the journey.
The images are geo-referenced and will compose an interactive map of the entire route, as well as video sequences in the form that we called “space Lapse” to mark the differences with the classic time-lapse.
A time-lapse video sequence is composed of frames taken at a fixed time distance, such as 1 second, united to compose a video whose effect is “accelerated” (for example a flower that unfolds in seconds).
In our case the fixed parameter is the distance so that all images will be equally spaced from each other, thus creating a sort of “street view” effect when composed on map.
How does Our Automatic Road Sampler work?
Disclosure: Some of our articles contain affiliate links. This comes at no additional cost for you and helps us keep this website up and running. (as Amazon Associates we earn commission from qualifying purchases)
After a prolonged analysis of the various possibilities, we chose to use, for this version of the system, an action cam GoPro Hero1. Almost all models of GoPro have a connector with a 30-pin bus, this is used for instance to attach the LCD unit or other accessories.
Each of the 30 pins has a different function (audio output, video output, power supply…), this allocation lends itself to the countless delicious possibility of “hacking”, unofficial usages, of which you can find on the net lots of tasty examples.
Among these, there is one pin (n°12), which closed to ground, turn on, or off the camera. GoPro cameras have a very useful feature called OneButtonMode, in this mode the machine is activated immediately when turned on, taking photos or filming, depending on how we decided to set it.
In this way, it is sufficient to send the ignition signal and the cam will immediately take a picture, then going off automatically by sending a new signal to pin 12. Fatherhood of this system is not ours, we report the source, where you can find many other interesting “hacks” for GoPro and other devices.
Who sends these on and off signals is a circuit (a trigger), composed of a magnetic sensor applied to the bicycle fork, whose task is to detect the passage of a magnet placed between the spokes (as a classic cycle speedometer), and a chip, that counts the steps of the magnet up to the number that corresponds to 500 meters of the road (about 235 steps with a 26″ wheel), and then sending the signal that closes the pin 12 to ground, turning on the GoPro that, thanks to the OneButtonMode, immediately takes a picture.
Then the chip sends a signal to turn off the cam after a pre-set time, so that the cam remains off when not necessary, with a huge battery save (essential for the success of the project).
For those who wish to deepen the argument, this is the link to the wiki of the project (in Italian), and this is a little explanatory video.
During the journey, a GPS receiver, in our case a Garmin Oregon 400t, continuously records the location referenced by date and time. This is a basic function of each GPS logger, to record the path that has been traveled.
Through Viking, an open-source software, we can import a GPS track (the format of these files is GPX), which will be displayed within the software on OpenStreetMap maps.
Thanks to Viking we can assign GPS coordinates to any picture, on the basis of the intersection of time and date meta-data in the photos with those of the GPX track. The result is the photos arranged on a map at the exact point where they were taken.
To share it all online now use to EveryTrail, although in the long term, we would like to develop our own platform, where to create an open community for sharing photos taken with this system.
Automatic Road Sampler – 2nd test
USB dynamo charger first prototype
Hub Dynamo battery charger. To be sure to never run out of energy, we have developed this simple circuit, which is designed to rectify and stabilize the output voltage of the archaic Sturmey Archer Dynohub (1936), giving an output voltage of 5V, through a USB port.
With this system, we are able to charge a USB battery simply by pedaling. The battery can thus go to increase the charge of the GoPro, offering, in addition, the possibility of charging mobile phones and other devices in case of emergency. Diagram and description of the circuit are also available on the Cycloscope wiki.
Stay in touch while we get lost! Follow us on Social Media