Tuesday, December 27, 2016

Getting my Raspberry Pi mobile

In order to start using my sensors on the move I need to solve two mobility problems:
  • Provide a mobile power source (it's currently powered from mains)
  • Securing the sensor in the Raspberry Pi's case so that it's always in the same orientation to the case.

Mobile Power


I hunted around my office and found one of those cell phone emergency re-chargers that I had been given at a conference.  The unit was a good sized one and should be able to run the Pi for a few hours.  It's a RedFuel SL5.


The power unit comes with a cable that has a regular USB connector on one end, and a D port on the other end.  It charges by plugging the USB end of the cable into a transformer, and the D connector into the port on the right of the above picture.  When it's fully charged, the cable is turned around so that the USB end is plugged into the RedFuel power unit and the D connector is plugged into the Raspberry Pi's power port.

Securing the Sensor

To get consistent readings it will be important that the MiniMu-9 card is secured to the Raspberry Pi with a consistent orientation in all three dimensions.  The MiniMu-9 board is not easily secured to the Raspberry Pi.  I considered using an stand-off connector, but all four holes on the Raspberry Pi are used to secure it to its case.  I decided to glue the cable connectors (not the board!) to the inside of the removable roof of the Rapsberry Pi.  The cable coil away nicely inside the case.  Here's the whole installation:






























No comments:

Post a Comment