We use the Atlas Scientific probes to measure all kinds of things. One of the setups is using Raspberry PI and Plotly and is based on this instructables post. After the read-more I have distilled the essential steps!
Boot up and log into your PI.
Start by disabling the getty on the serial line, by commenting out the T0:23 line at the end of inittab:
#Spawn a getty on Raspberry Pi serial line #T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
Install some core modules:
sudo apt-get install python-serial git-core python-pip sudo pip install rpi.gpio plotly
Then reboot the machine.
Grab the atlas scientific python library, (git clone https://github.com/plotly/atlas-scientific.git) and edit atlas-pi.py to include your API key, streaming token, and username from plotly.
Wire up the pi to the BNC connector
- Connect Ground on the Atlas stamp to Ground on the Pi Cobbler
- Connect VCC on the Atlas stamp to 5V on the Pi Cobbler
- Connect RX on the Atlas circuit to TX on the Pi Cobbler
- Connect TX on the Atlas circuit to RX on the Pi Cobbler
You should be good to go now.
Note that Rob’s image: RaspberryPiAtlasScientific20140531.img has all of this already done!