View Single Post
Old 04-18-14, 08:34 PM   #1692
cbearden
Helper EcoRenovator
 
Join Date: Aug 2011
Location: AR
Posts: 39
Thanks: 11
Thanked 4 Times in 2 Posts
Default arduino logger

Quote:
Originally Posted by AC_Hacker View Post
I am interested in your Arduino logger setup, too. Be sure to include hardware & sketch info on that part.
Best,

-AC_Hacker
Thanks for all of the suggestions and feedback. Heres a quick pic of the arduino setup. And my sketch that I'm using. It basically has 3 parts to it:
A. setup ethernet connection
B. setup/get temp data from ds18b20 sensor
C. push temp data out to my linux server running emoncms

emoncms is simply a LAMP (Linux, Apache, mysql, php) server setup that stores given data to it, and helps you to easily generate graphs and whatnot from the given data.
I knew I could never put together something like this from scratch, so when I found this open source software I was pretty excited.

The part in my sketch that has the xxxxxxxxxx in it, you'll need to replace with your own apikey that you'll get if you setup your software.
Also, be sure to replace with your own IP address and change the MAC address as you see fit.
I found a typical wiring layout (also attached) for an arduino to a Dallas DS18B20 temp sensor, in case anyone needs more info on hooking this up.
Attached Images
  
Attached Files
File Type: txt arduinogshptemp.txt (6.8 KB, 618 views)
cbearden is offline   Reply With Quote
The Following 3 Users Say Thank You to cbearden For This Useful Post:
AC_Hacker (04-19-14), buffalobillpatrick (06-10-14), jeff5may (06-10-14)