Hotboards_Temp

Ambient temperature sensor with the Microchip MCP9808

Hello World

Import programHotboards_temp_reading_temperature

Read the temperaure in celsius degrees each two seconds and display the value on the serial port.

Library

Import programHotboards_temp_reading_temperature

Read the temperaure in celsius degrees each two seconds and display the value on the serial port.

Datasheet

http://hotboards.org/images/store/temp/Schematic.pdf

Notes

You can buy this component at:http://hotboards.mitiendanube.com/productos/temperatura/

And also check our tutorial at Hotboards blog (only in spanish) : http://hotboards.org/index.php/es/blog/30-spanish/blog/boards/152-temperatura-con-arm-mbed

More example programs

Import programHotboards_temp_fahrenheit

Read the temperaure in celsius and then convert to Fahrenheit degrees, and also display the value on the serial port.

Import programHotboards_temp_alarms

Set upper and lower alarms and trhoug pin PB_13 monitor the ALERT signal, turn on/0ff a led when the temperature is below or above the alarm values.


You need to log in to post a discussion