Example: Testing LM335 - hgdeoro/py-arduino-proxy GitHub Wiki
PyArduinoProxy now is py-arduino
PyArduinoProxy now is py-arduino
I've renamed the project to py-arduino, please check it out at:
https://github.com/hgdeoro/py-arduino
I didn't like the 'proxy' word in its name, and made big changes, including:
- refactored
low level
code to the newpy_arduino
package - refactores
web application stuff
topy_arduino_web
package - add multiprocess support + background tasks, aka: concurrent access (thanks to uWSGI + PyRO)
- labeling of pins and restricted acces from web (administrable using Django)
- cleaned up old code (like old examples) and an updated README
Old content
Example: Testing LM335
Circuit diagram
Screenshots and code
##Quickly testing a LM335
Check the value returned by analogRead().
Transform the value to a voltage.
Transform the voltage to kelvin degrees.
Transform the kelvin degrees to celsius degrees.
Now, add a second sensor, connected to the analog port 2. Source code example-lm335-4.png