Pages: [1]   Go Down
Author Topic: Could not get iDuino working  (Read 4051 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 42
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 547
Posts: 27363
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?

Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 42
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 547
Posts: 27363
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 547
Posts: 27363
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 42
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 547
Posts: 27363
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Don't know what to tell you then.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 42
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 547
Posts: 27363
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Washington
Online Online
God Member
*****
Karma: 38
Posts: 805
Firefox & Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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).
Logged

Avoid throwing electronics out as you or someone else might need them for parts or use.
Solid state rectifiers are the only REAL rectifiers.
Resistors for LEDS!

0
Offline Offline
Newbie
*
Karma: 0
Posts: 42
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Reid
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 547
Posts: 27363
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 42
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: