Could not get iDuino working

It has been a long time ago to use it. The last time I use it was two years ago. Now I would like to use it again. I could not get the blink program working on iDuino. I am using it with my laptop with win7. I have reinstall the FTDI driver several times. Seems the driver is working because I check the device from control panel. When I disconnect the cable from iDuino and the device icon disappeared. When I reconnect it and it shows up again. I am using Arduino 0022 software. I select board as "Arduino Diecimila, Duemilanove, or Nano w/ ATmega168". The serial port is com6. That is only on show up and it has checkmark on it.

Here is the error message I tried to upload:
Binary sketch size: 1018 bytes (of a 14336 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

The blink program:
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.

This example code is in the public domain.
*/

void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(13, OUTPUT);
}

void loop() {
digitalWrite(13, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(13, LOW); // set the LED off
delay(1000); // wait for a second
}

What did I do wrong? Do you think this board is defective? If it is then what kind of board should I get.

Reid

Okay, found this on google
http://spiffie.org/kits/iduino/

Hadn't seen this before.
Do you get any lights turning on or anything? Can you measure 5V on the VCC pins?

Yes, the yellow led comes on. When I upload the program and the red LED did few small short blink. It is hard to see it. I had to put my hand cover the red LED to see if it blink or not.

Reid

Can you try uploading again? As soon as the IDE shows the upload size, press the reset button for a second and then let go, see if that will get the bootoader synced up with the PC.

One other thing - is the atmega chip hot to the touch when powered? If so, that's a good sign the chip was damaged at some point.

Found the schematic
http://spiffie.org/kits/iduino/iduino-schematic-2_1.pdf
Are you powering from USB connector or from one of the power connectors?
If from the USB, are you seeing a good 5V when measured with a multimeter?

There is 5 v on it. The atmel chip is not hot at all. I did follow what you said that I need to wait for IDE to upload size then press the reset button for few seconds and then let go. It did not work. Here is same error codes.
Binary sketch size: 1018 bytes (of a 14336 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Reid

Don't know what to tell you then.

Crossroad,

Thank you for trying to help me. I guess I will go ahead buy a new one. I was not sure what kind should I get and where is good place to buy them?

Reid

www.gravitech.us has the best prices I've seen for Arduino brand.
I have a duemilanove for development and I build promini's into my projects.
Had I known of ardweenys, RBBBs, iduino's when I purchased them (I bought about 20 and an FTDI-Basic for programming), I would have gone with those to save another $6-7 per box that I made.

Before declaring it toast...
Try the loop back test.
Wire pin 1 & 0 together.
Choose the correct serial port in the Arduino IDE
Open the serial monitor
Hold down the reset button while you type anything in the serial monitor and press enter.
If you see what you typed, the FTDI chip is still good.
If the FTDI chip works ok, you could replace the atmega and upgrade it to a 328 (more memory) for about $5 (make sure you get one with a bootloader).

I don't quite understand this. Which pin 1 and 0?

Reid

Pins 0 & 1 on J1, which may be marked D0 & D1 on the board.
These are the serial Rx & Tx pins.
These are ATMega168 pins 2 & 3.

I pull ic (atmel) out and use the volt meter to make sure I got the right one then I put it back and follow up to test it. It works. So I use blink program and now it is working. Yeah! Now I can use it with LED displays. Thank you for your help.

Reid