Pages: [1]   Go Down
Author Topic: Standalone Arduino Problems  (Read 944 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 18
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey! I created my own standalone arduino board, but I'm having problems uploading the code using this device (http://www.sparkfun.com/commerce/product_info.php?products_id=718). I was following this website's diagram on wiring the serial connector to arduino (http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard). Can anyone please help?

PS. I'm using this version of AVR (http://www.sparkfun.com/commerce/product_info.php?products_id=8846)

THX
Logged

USA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 452
Freeduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I guess you are missing the auto-reset wire... from the FTDI chip, DTR output, add a 0.1uF ceramic capacitor to reset pin 1 on the ATmega168.
Logged

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

questions

1) do I connect the .01uf capacitor to vin or gnd of the power supply?


2) Also, I tried connecting a servo the standalone board, but it didn't work. I tested my old arduino board and it worked fine. Could it be my power supply? Do I need to replace the 10uf and 100uf capacitors in my power supply with something much powerful? Here's the schematics.
http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=57
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 509
Posts: 31487
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
do I connect the .01uf capacitor to vin or gnd of the power supply?

No it's a 0.1uF capacitor and goes from the reset to the RTS line of the serial port. That way when it connects it resets. Otherwise you have to press the reset just after you send the upload command.
Logged

USA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 452
Freeduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
No it's a 0.1uF capacitor and goes from the reset to the RTS line of the serial port. That way when it connects it resets. Otherwise you have to press the reset just after you send the upload command.
Grumpy_Mike, you mean DTR, right?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 509
Posts: 31487
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
you mean DTR, right?

Well to tell the truth I just use both the DTR and the RTS (two capacitors) because the schematics showed them as resistors to the reset lines and I knew that at least one had to be a capacitor.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16525
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been curious of that also, that is does the Arduino IDE generate pulses on both the DTR and RTS lines when it wishes to reset the target board?

 I have a RS-232 Aduino clone that uses a MAX232 level converter/inverter and it only wires up the DTR and of course the auto reset works fine. Been to lazy to change the wiring to just the RTS line to see for myself.  smiley-wink

Lefty
« Last Edit: March 23, 2009, 11:57:23 am by retrolefty » Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 205
Don't Panic
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Both the RTS and DTR lines are asserted by the IDE to cause a reset. The DTR line is asserted (pulled low by the FT232) when opening the terminal by any application (unless you take great pains not to).
I honestly can't remember how or why RTS is set, but it is. I recall some trickery with Windows to set RTS on close.

The FTDI cables that are ever-present only provide the RTS line.
Logged

iDuino - MaxSerial - [url=http://spi

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

I use RTS and connect it to reset pin (pin 1 of ATmega168) via 0.1 uf capasitor.

Logged


Pages: [1]   Go Up
Jump to: