31.07.2015 Views

A-Teachers-Guide-to-the-Intel-Galileo-Final

A-Teachers-Guide-to-the-Intel-Galileo-Final

A-Teachers-Guide-to-the-Intel-Galileo-Final

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A TEACHER’S GUIDE TO THE INTEL® GALILEO | 56Displaying temperature data on a WebServerusing Google ChartsOverviewIn this activity we connect a temperature sensor <strong>to</strong> <strong>the</strong> Arduino and continually write <strong>the</strong>current temperature <strong>to</strong> a file on <strong>the</strong> <strong>Galileo</strong>. We <strong>the</strong>n run a python program on <strong>the</strong> <strong>Galileo</strong> <strong>to</strong>read <strong>the</strong> temperature on this file and display it on a web server using <strong>the</strong> Google Charts API.When <strong>the</strong> user refreshes <strong>the</strong> browser on <strong>the</strong> web server <strong>the</strong> current temperature is retrievedand displayed. This activity requires soldering so will not be suitable for younger students.Materials»»1 x <strong>Intel</strong>® <strong>Galileo</strong> Gen 2 board»»1 x 12V Power supply»»1 x Micro USB lead»»1 x Breadboard»»5 x Jumper leads (M-M)»»1 x Temperature Sensor TMP102»»1 x Soldering Iron + solderWiring

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!