Tuesday, 7 July 2015

Analog reader

An one day project to create an analog reader for some scientific instruments. Objective of the project is to make an interface between any analog sensors to a computer. Her we choose the following ingredients;

-Arduino Uno to read analog signals and send messages to a computer through a serial port
-pyserial to get the serial input to python environment
-Bokeh to visualise the analog signal in real-time

What we have done!
1. Make sure the Arduino IDE and driver are already installed
2. Python2.7 and pyserial must be installed. Here we use Anaconda and pyserial need to be installed by "$conda install pyserial" on Windows and "pip install pyserial" on Unix.
3. Install Bokeh
4. Then we made a simple implementation for communication between Uno and PC by using the codes here.