The new Raspberry Pi B Model B+ is here - Pick one up in the store and check our detailed guide!

July 22, 2009 AT 1:00 am

Arduino code for Currentcost/XPORT/Pachube

John’s Arduino code for Currentcost/XPORT/Pachube….

The code I have been developing for my Current Cost meter updating to Pachube via Arduino with XPORT is ready for sharing.

You can download the code from this link.
Current cost sensors are

0) Main electricity sensor – clamp on incoming live cable
1) Gas pulse sensor – see entry below
2) light sensor – photo resistor (about 2M ohms dark to 100 ohms bright light) as sensor across the channel inputs on the Current Cost dev board.

Current Cost sensors are read by Arduino, displayed on 4×20 lcd module and uploaded to Pachube via Adafruit XPort shield every 15 minutes.

Related

“D is for Diode” – Circuit Playground Episode 4 is out now! CLICK HERE TO WATCH!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!



No Comments

No comments yet.

Sorry, the comment form is closed at this time.