My OpenEnergyMonitor journey has been smooth and trouble free so far, until last night!
I Have 3 emonTHs, so I need to change the ID of 2 of then. I have never programmed an ardunio before (by I have written code in other languages for the web etc) , so all of this is new to me. I will admit I have found it quite hard to 'find a way in' through all the terminology and process etc, but I'm getting there.
I decided to download the files I need rather than go down the full github client route as I thought this would be easier for this small job.
So far I have (successfully)..
- installed the arduino IDE
- installed the USB drivers
- downloaded the libraries in the list
- recompiled the voltage and current example with success as in the installation notes
- attached a emonTH and found it on COM3
Now I need to update the emonTH code and recompile so I can activate my other 2 temperature sensors. I've had a go and failed, and I don't really understand why.
If I try to recompile it throws many errors saying items are not defined etc. (I'm not at home at the moment and will post a screenshot later).
The odd thing is the example worked, but the emonTH doesn't. Can anyone thing of anything obvious I have done wrong?
Re: arduino FAIL! : FIXED
Can't see anything obviously wrong from what you've posted, assuming you didn't try uploading "voltage and current example" and are using an emonTH sketch.
if you post some details about the errors, the exact sketch you are using, what platform you're working from and what instructions you followed etc it shouldn't be too difficult to get you up and running.
Paul
Re: arduino FAIL! : FIXED
No, I didn't do that! I just followed the instructions here : http://openenergymonitor.org/emon/buildingblocks/installing-arduino-libr... and tried a compile to check it was working.
I decided to remove everything and start again.
Now the EmonTH sketch compiles. Back to the instructions to find what to do next!
Re: arduino FAIL! : FIXED
This is all done now. I successfully modified the sketch, recompiled and uploaded. I now have a working emonTH in the airing cupboard monitoring the water cylinder. :-)