BreadDuino - Arduino on a breadboard

I just finished this tutorial, and it works like a charm.. :smiley:
http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard

now I would like to know if it is possible to use an FTDI cable to upload sketchs to the BreadDuino

this is the cable I have:

yup, its possible

I`ve found that a cap close to the chips 7 & 8 helps too.

Without it any relays etc would make it freeze.

do you know where and how should I connect the cable?

in the link you posted there is the answer to your last question:

Now, let's get the USB to serial breakout board talking with your new Arduino setup. Connect the RX (pin 2) of your Atmega chip to pin 10 of the USB to serial board, and connect the TX (pin 3) of your Atmega chip to pin 14 of the USB to serial board.

to know which are the RX/TX pins for the FTDI cable, check its datasheet:

http://www.ftdichip.com/Products/EvaluationKits/FT232RModules.htm

hope this helps,

C

I guess this is it :slight_smile:
Thank you cerocca!!

The ITP tutorial don´t show how to power the thingy, is it ok the way I am doing here? like, directly from the battery?
or should I pass the power from the batery through the voltage regulator and then to the circuit?

The way you have it hooked up should have destroyed the chip! The 9 volt battery should go to the input of the voltage regulator only. The output of the regulator keeps the voltage at 5vdc and that is what should be wired to the chip's power input pins.

Lefty

The way you have it hooked up should have destroyed the chip!

good to know that :wink: thanks!

is the rest of the setup safe to use? or should I add anything else?

What I did is to put the 5v reg on a separate mini bread broad and as stated before, put a extra 100u cap close to the chip pins 7 & 8.

The extra bits you need are when or if you need to reprogram your chip.

tomorrow I will add the extra bits to reprogram the chip

the cap like this I suppose:

thnks :slight_smile:

foto updated

The link below might be of interest:
Burning the bootloader without an external AVR-Writer

Quote:
Now, let's get the USB to serial breakout board talking with your new Arduino setup. Connect the RX (pin 2) of your Atmega chip to pin 10 of the USB to serial board, and connect the TX (pin 3) of your Atmega chip to pin 14 of the USB to serial board.

I connected the FTDI cable RX / TX to the Atmega RX / TX and I tried to upload the code without success.. the chip is already booloaded. Is there any more trick here?

(stupid things, but always worth to check)

  1. did you connect GND line?
  2. are you sure that the TX/RX lines are not swapped?

hope this helps

C

I will double check again..

stupid question:
the Rx on the Arduino goes to the Rx or to the Tx on the cable?

stupid question:
the Rx on the Arduino goes to the Rx or to the Tx on the cable?

That's not a stupid question and it's a common mix up. Tx to Rx and Rx to Tx is the correct way. This is a easy to make mistake until one understands that a output pin(s) has to drive and input pin(s), any other combination and nothing interesting can happen. :wink:

Lefty