- 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. matplotlib: python plotting — Matplotlib 1.3.1 documentation)
-- See screenshot
Updated version: now the Python code send parameters to the Arduino program to modify the sampling rate parameter, and to start/stop the logging of data.
My next step: wrapping up the command communication in a utility class (Python and Arduino side). Same to receiving data among a period of time.
alina:
Updated version: now the Python code send parameters to the Arduino program to modify the sampling rate parameter, and to start/stop the logging of data.
My next step: wrapping up the command communication in a utility class (Python and Arduino side). Same to receiving data among a period of time.
AL.
Thank you very much for your code. I get the error :