Introduction: Sensors - GalileoHome
This instructable belongs to a huge project. This is just one part of it. In case you found this page first, please visit the main project https://www.instructables.com/id/GalileoHome/
This sub project uses an Intel Galileo Development Board to measure temperature and brightness and sends the average measured values of a predefined period of time to the MQTT broker. The information are used to display in the front end apps and to trigger (user defined) events.
All you need for this project:
- Intel Galileo Development Board
- 2 Resistors
One resistor should have a color coding similar to that of the NTC-Thermistor, the other depends on the Photoresistor you are using.
Step 1: Mount Sensors
Mount the sensors according to the connection scheme. The pink wire represents the NTC-Thermistor (the tool didn't know that component).
The resistor for the NTC-Thermistor should have a similar color coding as the NTC-Thermistor itself to get the best results.
Step 2: Load Sketch
Start the Galileo (using the image from the main project), connect it to the internet and load the sensor sketch on it.
To get sensor values that are near the reality you have to adapt the tables inside the function "getTemp" and the calculations inside the function "getBrightness". Do that after any soldering because the resistors and especially the termistor are sensitive and can change their behavior.