A project thermostat


I would like to make a thermostat allowing me to send the tempertaure a heating sytem http request
and to modify the temperature set on smartphone
is it possible to do this with electric imp


Of course. But the imp is just one of many parts that you need.

The thermometer chips of choice seem to be from Maxim. The DS1721 and DS18B20 are well stocked.

These IC’s have a settable temperature threshold that raises a pin, which could wake the Imp, saving the Imp from having to routinely wake and poll the thermometer. I guess two temp chips could be used then the Imp could be woken if the temp drops above or below set temperatures.

I messed around with a PT100 (just because I had one) but a thermometer IC on a bus is sooo much easier.


I am looking to build a similar project in open source project NEST .
( http://blog.spark.io/2014/01/17/open-source-thermostat/ )
may not be as successful unless this project have been Relaise with electric imp

So I try to retrieve the value of temperature ,
then display on a display
then send http every x minutes

is this the right way?

the material to be used is the HIH6100 Series sensor

and the display is http://www.adafruit.com/products/870

who support me on this project?
to have exempel in connection i2 c on temperature sensor

electric imp he is capable of storing a web page with javascript ?

There is Honneywell HIH6100 sample code in our GitHub library: details here

Our intern, Juan, actually built an Internet Connected Thermostat monitor last summer. His take on the thermostat was a bit different. Why would have you have one piece of hardware that’s responsible for sensing temperature, controlling the furnace, and acting an interface for the user.

He split it into three components - cheap battery-powered temperature sensors you can put in any room (and that are cleverly disguised as books - and could be disguised as other objects), the furnace controller, and an app that acts as the interface.

You can read more about the project here: http://blog.electricimp.com/post/93415866380/shel-f-the-smartest-smart-comfort-control-system
And find all of the code, etc here: https://github.com/electricimp/examples/tree/master/Shelf

electric imp he is capable of storing a web page with javascript ?

Why would have you have one piece of hardware that's responsible for sensing temperature, controlling the furnace, and acting an interface for the user.
I wish visualier temperature directly , the idea of a vintage display pleases me well

the choice of the desired temperature can be done either by an application or by a potentiometer , or by a gyroscopic system

contact on the boiler could be done with a relay or an http request to a home automation controller

Sorry, that comment was meant to be less about “why would you want a thermostat on your wall” (because I understand wanting to have a pretty display on the wall) and more about “why would you have three pieces of hardware that are kind of cobbled together and mostly do what you want, when you could have a couple pieces that talk to each other and do exactly what you want.”

Not quite certain I understand your question about javascript…

I wanted to know if he was possible to store an html web page supporting the javacript in order to create a web interface and adjust the temperature as This

Yes! The http.onrequest() function can be used both to process API style requests, and to serve up (usually) simple webpages. The agent for ISS-Overhead project is a decent example:


ok I did not know what electrical imp integrated web server not
I discover electric imp

I also information about spark

can you give me the advantages compared to electric imp spark ?

Here’s a thread that discusses the two platforms:


Can you help me find a sensor for me to change the setpoint of the thermostat
I thought a gyroscope that would increase tempretaure when you turn right and down when turning left

What do you think

An accelerometer would likely be a better choice than a gyro. You could also look at something like rotary encoder?

I’m not great at recommending parts… much more software focused than hardware.

As Matt says, an accelerometer is what you want. Gravity is always down, so you can see the difference in X/Y axes (assuming accel is mounted vertically) and use this to calculate the angle.

A gyro gives you relative change in orientation, and unless you’re using military or space grade parts, they drift like you wouldn’t believe. Stick with accel for a fixed reference.

The accel used on the nora reference design is cheap and works well.