en:thermophile
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | en:thermophile [2015/02/22 23:09] – kakl | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Infrared thermometer ====== | ||
+ | |||
+ | This is a thermopile sensor for contact-less measurement of temperature. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | There is some sample code for usage with pymplab Python library and [[en: | ||
+ | |||
+ | from pymlab import config | ||
+ | | ||
+ | #### Sensor Configuration ########################################### | ||
+ | cfg = config.Config( | ||
+ | i2c = { | ||
+ | " | ||
+ | }, | ||
+ | | ||
+ | bus = [ | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | | ||
+ | " | ||
+ | {" | ||
+ | ], | ||
+ | }, | ||
+ | ], | ||
+ | ) | ||
+ | | ||
+ | cfg.initialize() | ||
+ | sensor = cfg.get_device(" | ||
+ | | ||
+ | #### Measurement #################################################### | ||
+ | while True: | ||
+ | print "Ta ", sensor.getTambient(), | ||
+ | |||
en/thermophile.txt · Last modified: 2015/02/22 23:11 (external edit)