Go Down

Topic: Standalone Arduino Problems (Read 1 time) previous topic - next topic

Dudekiller

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

nkcelectronics

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.

Dudekiller

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

Grumpy_Mike

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.

nkcelectronics

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?

Grumpy_Mike

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.

retrolefty

#6
Mar 23, 2009, 05:54 pm Last Edit: Mar 23, 2009, 05:57 pm by retrolefty Reason: 1
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.  ;)

Lefty

spiffed

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.
iDuino - MaxSerial - [url=http://spi

Ocon

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


Go Up