en:thermophile
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:thermophile [2015/02/22 23:01] – created kakl | en:thermophile [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | ||
- | |||
====== Infrared thermometer ====== | ====== Infrared thermometer ====== | ||
This is a thermopile sensor for contact-less measurement of temperature. | This is a thermopile sensor for contact-less measurement of temperature. | ||
- | There is some sample code for usage with pymplab | + | {{: |
+ | |||
+ | There is a sample code for usage with [[https:// | ||
from pymlab import config | from pymlab import config | ||
+ | | ||
#### Sensor Configuration ########################################### | #### Sensor Configuration ########################################### | ||
cfg = config.Config( | cfg = config.Config( | ||
Line 16: | Line 16: | ||
| | ||
bus = [ | bus = [ | ||
- | | + | |
" | " | ||
" | " | ||
Line 23: | Line 23: | ||
{" | {" | ||
], | ], | ||
- | | + | }, |
], | ], | ||
) | ) | ||
+ | | ||
cfg.initialize() | cfg.initialize() | ||
sensor = cfg.get_device(" | sensor = cfg.get_device(" | ||
Line 33: | Line 33: | ||
while True: | while True: | ||
print "Ta ", sensor.getTambient(), | print "Ta ", sensor.getTambient(), | ||
- | |||
en/thermophile.1424646102.txt.gz · Last modified: 2015/02/22 23:01 (external edit)