Just built my first board, the emonTx.
I have it connected up with USB power and USB data connection via the FDTI plug.
Arduino software seems to be running properly on my PC (Old Dell running Ubuntu 10.4)
Tools>Serial Port sees the board as /dev/ttyUSB0 when the board is connected and doesn't see anything when it's not.
When I try to upload the blinkwithoutdelay sketch I receive the following error:
avrdude: stk500_recv(): programmer is not responding.
I've read the troubleshooting guide at Arduino home but can't find anything there to help.
Where should I next look?
Have you selected 'Uno' under tools>board?
After more reading of the Arduino support boards, should the green led be lit when power is applied to the board?
The blue led on the FTDI plug lights up when it's plugged in but the green led on the emonTx board does not?
No the green LED should not Light. Try checking that the emonTx is getting power, instructions towards the end of the build guide: http://ichilton.github.com/openenergymonitor/emontx/build_guide.html. This is a new build guide that is still in the making.
I've checked the voltage between the 3V and GND sockets in the line of sockets between the FTDI connecter and the chrystal.
The voltage is measured at 3.87V.
Is that out of range?
This is a bit high, I think it's because you're powering the emonTx from both the FTDI and mini-usb. Best to only power it either or. Try powering it with only the FTDI and measure the voltage again. Although I don't think this is the problem, it should still work.
Have you got a normal Arduino? Can you program this via your computer?
If I just use the FTDI connector with the connector board the same way up as the emonTx board, the voltage measured between the 3.3V hold and the GND hole is .438V. If I put the connector board the other way up, it gets 3.3V.
Either way the software does the same thing and gives the same error.
Here's a picture of the correct orientation of the FTDI connector, the ground pin label on the FTDI and the emontx will be aligned.
What operating system are you using?
As for another Arduino board I have the emonBase and the emonGLCD to build.
Any recommendations as to which I should try first?
That's the way that I have it. That gives me 3.3V
When you ask for the O/S, I assume you mean my PC?
It's running Ubuntu 10.4.
I used the guide at http://www.pluggy.me.uk/arduino-ubuntu/ to set it up.
The guide you followed is using an old version of Arduino IDE. You need Arduino 1.0. Download from here: http://arduino.cc/en/Main/Software.
Try following the guides to setting up with Ubuntu on the Arduino website: http://www.arduino.cc/playground/Learning/Linux.
I'm using Ubuntu 11.10, no setup was needed at all. I just downloaded Arduino 1.0, marked the filed 'arduino' as executable then double clicked to run it.
Similar problems here.
Everything plugged together properly. Voltages seem just fine. Blue LED on the FTDI card.
I know the drivers work (I'm on a Mac) because my Jeelink works fine, and that has an internal USB to FTDI interface.
I'm not the neatest solderer in the world but I've checked all of the connections with a magnifying glass, as well as zooming in with a camera, and they look fine.
But I'm getting:
Using Port : /dev/tty.SLAB_USBtoUART
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: Send: 0  
avrdude: Send: 0  
avrdude: Send: 0  
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
Anyone have any ideas where to look?
Just re-checked VCC - it's a nice 3.3V when the board is powered via the USB connection, but it's 3.98V when powered via the FTDI card.
Does this mean I've messed up somewhere?
5V is 5V in both cases.
SOLVED - It wasn't my soldering, it was whoever soldered the FTDI board! There was a solder splash shorting out a couple of the pins on the reverse side of the FTDI connector.
Hopefully this will help anyone else that comes across a similar problem.
Incidentally, I think that photo of the FTDI attached (above) would be a useful addition to the build guide. I know that GND has to be aligned on both, but it's not easy to see which pin in GND on a fully populated eMonTX. That photo would have saved me 15 minutes of searching!
It is quite hard to see which is the GND end - I looked at the underside of the pcb to see where the ground plane connects, then put a spot of paint on the end of the header.
For what it's worth, I've made up a short ribbon cable to put between the FTDI and the target board. That way, it will be much harder to damage the connectors and/or the pcb if subjected to mishandling.
Open-source tools for energy monitoring and analysis. This project uses the GNU General Public Licence