Svbtle

 

Svbtle

Arduino Yún Temperature & Humidity (4 of 4)

In the final tutorial of the project, we’re going to write an HTML+JS client that will request temperature and humidity values from the Arduino datastore and then render those values to gauges created with D3.js.

To complete part four, you first must have successfully completed parts one, two and three.

Client

<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Temp + Humidty</title> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <div id="humidity-container"></div> <div id="temperature-container"></div> <script...

Continue reading