Topic: Using Python to retrieve data from an Arduino board (sample code for a DHT) (Read 1 time)previous topic - next topic

- On one side, an Arduino Uno board, with a DHT sensor to measure Humidity and Temperature -- ref. https://learn.adafruit.com/dht/overview-- attached the code (.ino) to run on the board side

- On the other side, a computer with a Python script running, to get then to draw the temperature and humidity data-- Personally, I use the "Anaconda" Python redistribution (ref. http://www.continuum.io)-- In addition I installed the "pyserial" package for communicating with the Arduino (ref. http://pyserial.sourceforge.net)-- For drawing the data, I use the matplotlib package (ref. http://matplotlib.org/1.3.1/index.html)-- See screenshot