Lancashire, UK
Offline
Edison Member
Karma: 8
Posts: 1988
|
 |
« Reply #60 on: July 25, 2010, 09:49:06 am » |
C4 in the linked schematic is controlling the auto reset. Without it, it won't auto reset. Or you could try tiepie's solution of putting a larger value capacitor between gnd and reset.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 95
NAM Modular Systems industries
|
 |
« Reply #61 on: July 25, 2010, 02:13:06 pm » |
For the record, the latest versions of the Duemilanove don't have the solder pads with the trace between them. Earlier ones do, the later ones don't. Most compatibles and knock offs have the pads as per the early original boards. In that case ive been ripped off many a time. Why not just re-instate that trace?
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Online
Brattain Member
Karma: 279
Posts: 15317
Measurement changes behavior
|
 |
« Reply #62 on: July 25, 2010, 02:24:54 pm » |
Why not just re-instate that trace? Trust that the trace always exists or the auto-reset would not function. There just may not be an easy to see/roomy enough area to show where to cut. However once the trace is located it can either be cut or the series capacitor can be removed. I think the low ohm resistor temporarily inserted into the shield +5vdc and reset pins is the simplest way to go. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Lancashire, UK
Offline
Edison Member
Karma: 8
Posts: 1988
|
 |
« Reply #63 on: July 25, 2010, 03:54:17 pm » |
I think the low ohm resistor temporarily inserted into the shield +5vdc and reset pins is the simplest way to go. I like tiepie's absorbing the ground pulse from the auto reset capacitor into a much bigger one charged to +5v, seems more refined somehow 
|
|
|
|
|
Logged
|
|
|
|
|
"The old Europe"
Offline
Edison Member
Karma: 0
Posts: 2003
Bootloaders suck!
|
 |
« Reply #64 on: July 25, 2010, 04:23:35 pm » |
It's quite strange that this _regression_ made it to the latest boards.
Granted, a switch/jumper would be much better, but why remove it. It's not like people got confused about it or it added cost to the board.
|
|
|
|
« Last Edit: July 25, 2010, 04:26:06 pm by madworm »
|
Logged
|
• Upload doesn't work? Do a loop-back test. • There's absolutely NO excuse for not having an ISP! • Your AVR needs a brain surgery? Use the online FUSE calculator. • My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets... • Microsoft is not the answer. It is the question, and the answer is NO!
|
|
|
|
SF Bay Area (USA)
Offline
Faraday Member
Karma: 78
Posts: 5454
Strongly opinionated, but not official!
|
 |
« Reply #65 on: July 25, 2010, 11:08:26 pm » |
the latest versions of the Duemilanove don't have the solder pads with the trace between them. Huh. I dislike it when open source hardware published designs get out-of-sync with the versions that are actually shipping (or even non-open-source designs with published schematics.) On the other hand, it's pretty tough to keep in sync (you don't want to publish a new design for every minor manufacturing change), and the Freeduino designs seem to have suffered the same fate, so I guess I'll survive...
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 76
Arduino rocks
|
 |
« Reply #66 on: July 25, 2010, 11:39:18 pm » |
Thanks Lefty,
I will remove the C4 0.1uf ceramic capacitor connected to the reset tack switch.
So removing the C4 is the same as adding a switch with a resistor that is connected to a 9V source in the DTR part?
Regards
|
|
|
|
|
Logged
|
|
|
|
|
Lancashire, UK
Offline
Edison Member
Karma: 8
Posts: 1988
|
 |
« Reply #67 on: July 26, 2010, 08:22:06 am » |
Removing the C4 capacitor completley disables auto reset, not quite sure how the 9v enters into the equation.
The reset on the arduino is activated when the pin is brought LOW (0v) from its normal state held high (5v) by a 10k resistor. What happens with the DTR is that the DTR is usually high (5v) and goes low when the serial port is initialised. This change of state is 'transferred' via C4 to the reset pin which temporarily drops low before being brought high again by the pull up resistor and resetting the Arduino. If C4 isn't there it doesn't happen and the arduino only resets by pressing the button. The workarounds to this autoreset revolve around keeping the reset pin High despite the best efforts of C4 to bring it low when DTR goes low.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 76
Arduino rocks
|
 |
« Reply #68 on: July 26, 2010, 09:04:18 am » |
Thanks Pluggy!
|
|
|
|
|
Logged
|
|
|
|
|
Rome
Offline
God Member
Karma: 1
Posts: 972
Arduino rocks
|
 |
« Reply #69 on: November 07, 2010, 11:41:26 am » |
Don't know if it has already been said in previous page, anyway here it is the solution for Arduino serial controlling from Windows XP in VBA (Visual Basic for Applications):
Connect your source to Microsoft Comm Control (MSCOMM32.OCX) , then:
Dim MSComm1 As Object
Sub ArduinoOpen() Set MSComm1 = CreateObject("MSCOMMLib.MSComm") MSComm1.Settings = "9600,n,8,1" MSComm1.CommPort = 4 MSComm1.InBufferCount = 0 MSComm1.DTREnable = False MSComm1.PortOpen = True If Err Then MsgBox "COM" & MSComm1.CommPort & ": not opened, Sorry!" Exit Sub End If End Sub
Sub ArduinoClose() MSComm1.PortOpen = False Set MSComm1 = Nothing End Sub
Tested on ArduinoUno
|
|
|
|
|
Logged
|
|
|
|
|
|