Written by PiBorg in Build, XLoBorg - Build on Oct 18, 2017
So you have just gotten your hands on an XLoBorg, but you want to know what sort of data you can expect to see when using it, how can you tell? Maybe a picture of what the data looks like would help. GraphXLo takes the data from an XLoBorg and draws it on the screen using a Python plotting library, matplotlib. There are some options to configure...
Written by PiBorg in Build, XLoBorg - Build on Oct 18, 2017
Want to do something fun with your Raspberry Pi? Why not use an XLoBorg to turn it into a drum kit! XLoDrum takes the data from an XLoBorg and uses X, Y, and Z movements to represent different drum noises There are some options you can configure from lines 9 to 18: ...Sample are the files that will be played for each...
Written by PiBorg in Build, XLoBorg - Build on Oct 18, 2017
We were placing shelves in the office today and decided the trusty spirit level was a bit old fashioned, why not use a Raspberry Pi and XLoBorg instead. We came up with XLoLevel, a script to turn your Raspberry Pi into a digital spirit level There are some options you can configure from lines 5 to 10: filterLength is the amount of readings to average...
Written by PiBorg in Build, XLoBorg - Build on Oct 17, 2017
Installation issues Permission denied, file not found, 404 or similar: There are a few possible causes of this: Out of disk space: We have occasionally seen this with people who have smaller SD cards, check by using df If the Use% column reads 99 or 100% on rootfs you probably need to remove some files to free up space Unable to find file / 404: Most likely the...
Written by PiBorg in Build, XLoBorg - Build on Oct 17, 2017
XLoBorg - Accelerometer and Magnetometer (which can provide compass functionality) board for your Raspberry Pi Accelerometer - Freescale MMA8452Q 3-Axis, 12-bit/8-bit Digital Accelerometer datasheet here Magnetometer - Freescale MAG3110 3-Axis magnetometer XLoBorg accelerometer and magnetometer schematic...
Written by PiBorg in Build, XLoBorg - Build on Oct 17, 2017
Main examples Please note that this installation expects you to be connected to the internet, it will download i2c-tools and python-smbus for using the I²C bus from Python and the command line. You may need to enable I2C first, to do this: Enter the following command in a terminal: sudo raspi-config Move down to option 8 Advanced Options and press ENTER Move down to option A7 I2C and press ENTER Make...
Written by PiBorg in Build, XLoBorg - Build on Oct 17, 2017
Main Examples Download instructions here. There are some example scripts using the XLoBorg library, provided both as a guide and an easy way to access the XLoBorg directly from the terminal. Full example of how to talk to XLoBorg from Python: ./XLoBorg.py This is also the main library used by the other examples Get the accelerometer forces: ./ReadAccelerometer.py Get the magnetometer raw flux readings: ./ReadCompassRaw.py Get the magnetometer...
Written by PiBorg in Build, XLoBorg - Build on Oct 17, 2017
Measure movement such as bumps and shocks and determine direction from your Raspberry Pi with the XLoBorg add on board by PiBorg. Features a 3 Axis Accelerometer and 3 Axis Magnetometer Great for Robotics projects such as UAV's, cars, navigation and just about anything! Example software such as Python for the Raspberry Pi here Datasheet, schematic and additional info here Uses only the...