Some programming help welcomed!

Hi, I’m a newcomer with the imp (such an amazing device!) I am experienced with some Arduino programming and would very much appreciate some help. Could someone write a general purpose type template program to read 3 or 4 analog inputs to the imp and have the agent post the data to xively. The hardware could be adapted to a number of sensors generating voltages in the range of 0-3.3V or even more with a voltage divider.

Thanks!

Hi and welcome to the forums,

this could help you http://electricimp.com/docs/examples/analogin-therm/

or take a look at all these beautiful examples at https://github.com/electricimp/reference/tree/master/hardware

We also have a guide about porting Arduino code, which may be useful :slight_smile:

http://electricimp.com/docs/resources/arduinoport/

Thanks beardedinventor, this is very informative.

Hi ssylca,

Here’s a quick guide about sending an analog input to the cloud, in this case Ubidots:

http://ubidots.com/docs/devices/electricimp.html

Here other guides that might be useful:

http://blog.ubidots.com/electric-imp-tutorial
http://blog.ubidots.com/electric-imp-temperature-monitor-control