Pages: 1 [2]   Go Down
Author Topic: The 0.1uF capacitors when using FTDI programmer  (Read 3103 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 2
Posts: 338
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great ! How about CTS? What's that ?
Logged

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

Great ! How about CTS? What's that ?

Not required in this application and can be left disconnected.

Lefty
Logged

Offline Offline
Sr. Member
****
Karma: 2
Posts: 338
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

When will CTS being used ?
Logged

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

If the PC com link was set-up with the 'hardware handshacking' enabled, the CTS (clear to send) would be how the device would tell the PC it was ready to receive data if any is waiting to be sent. The comm port as used by arduino (and most all PC serial applications) use the 'no handshake' option choice to run the link at. There is also a 'software handshake' option where the two sides of a comm link send the ascii Xon and Xoff control characters to tell the other side to stop or start sending data. That is also not used in most PC applications. But both options are available for interfacing with such thing a older modems and other data communication devices.

Lefty

« Last Edit: February 01, 2013, 09:14:01 pm by retrolefty » Logged

vermont
Offline Offline
Sr. Member
****
Karma: 8
Posts: 316
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Great ! How about CTS? What's that ?

cts, dsr, ri, etc are inputs to the pc and therefor can never be used as arduino control bits.
Logged

Offline Offline
Sr. Member
****
Karma: 2
Posts: 338
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

But the timing has to be right, hold down the reset, select the program from the IDE, when it says loading, count one two three, and release the reset.
I have tried this ! It's really do work well ! But the timing really have to be correct. Have to release the RESET button once the IDE shows 'uploading..'

Thanks ! Finally I understand why is there a cap there- to bring the RESET High and LOW. smiley

When I want to upload a new sketch, the we should RESET our microcontroller so that the previous sketch is deleted and pull the RESET HIGH to allow the new program to load into ?

Am I correct ?

Thanks !
Logged

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

Quote
Thanks ! Finally I understand why is there a cap there- to bring the RESET High and LOW.

Well actually that should read 'to bring the reset Low then High'.  smiley-wink

Lefty
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 504
Posts: 19106
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Resetting the processor does not delete the old sketch.
Logged


Pages: 1 [2]   Go Up
Jump to: