Monday, September 2, 2013

Electric Imp solar powered temperature logger.

The Electric imp is a small chip for connecting things to the internet. Programming the imp is done through their cloud IDE using squirrel.


The first hack I did with the imp was a solar powered temperature logger using a TMP36 sensor and send the data to ThingSpeak

Hardware

Parts

Optional 


Connect the pin9 on the imp to the middle pin on the TMP36 sensor.


Code

To calculate the temperature from the voltage is Temp °C = (voltage - 0.5) * 100 and to transform the analog value from pin9 to voltage is V = supplyVoltage * hardware.pin9.read() / 65535.0.


ThingSpeak graph




Happy hacking
Marcus




8 comments:

  1. Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. Zonnepanelen kopen

    ReplyDelete
  2. Great survey, I'm sure you're getting a great response. Installateur zonnepanelen

    ReplyDelete
  3. Great article Lot's of information to Read...Great Man Keep Posting and update to People..Thanks SEO

    ReplyDelete
  4. Great article Lot's of information to Read...Great Man Keep Posting and update to People..Thanks Erotische massage

    ReplyDelete
  5. Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading. Warmtepomp

    ReplyDelete
  6. This is my first time i visit here and I found so many interesting stuff in your blog especially it's discussion, thank you. Zoekmachine optimalisatie

    ReplyDelete
  7. In the event that you are introducing solar panels to create a sustainable power source in your home, at that point you presumably need to make this solar panel setup as subtle as could be expected under the circumstances. Zonnepanelen

    ReplyDelete
  8. Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post. Zonnepanelen kopen

    ReplyDelete