Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 226
Posts: 14091
Lua rocks!
|
 |
« Reply #30 on: January 30, 2013, 03:16:59 pm » |
Did you put the pull-up resistors on them?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 20
|
 |
« Reply #31 on: January 31, 2013, 11:08:52 pm » |
Is this really necessary ? See the pictures, SNR > 200.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 226
Posts: 14091
Lua rocks!
|
 |
« Reply #32 on: February 01, 2013, 04:15:04 pm » |
We are running out of other options, that's why I suggest it.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #33 on: February 02, 2013, 09:38:59 am » |
Hey I have the same exact issue with my mega2560. But mine is a genuine arduino I bought. It works perfectly but if I open serial monitor it take about 10 secs to start running again. BUT if I open the serial monitor I can press the reset on the mega and it will start right away?
|
|
|
|
« Last Edit: February 02, 2013, 10:49:12 am by PavelK »
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 20
|
 |
« Reply #34 on: February 03, 2013, 10:40:05 am » |
PavelK, this exactly the same problem for me. I'm glad to know it's not a problem with my board  ! On my board, if I reset the board while serial monitor is open, it starts immediately. You can try.
|
|
|
|
« Last Edit: February 03, 2013, 11:09:48 am by gabidanpremier »
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 226
Posts: 14091
Lua rocks!
|
 |
« Reply #35 on: February 03, 2013, 02:54:54 pm » |
See reply #30.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #36 on: February 03, 2013, 05:48:15 pm » |
See reply #30.
I don't understand why I need the phillip resistors one either Tx or Rx pins. I will try that. Also I'm kinda new to arduinos. How do I edit the fuses? Btw my brother had a mega2560 and has same problem. It's not really a big problem just wondering why it does that.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 226
Posts: 14091
Lua rocks!
|
 |
« Reply #37 on: February 03, 2013, 07:30:27 pm » |
How do I edit the fuses? Cautiously. If you change the wrong things you may brick the processor. Make sure you understand what you are doing. Preferably key in your existing fuse values into a calculator, and then just change one bit. http://www.engbedded.com/fusecalcIf you have an external programmer you can change them with avrdude (like an USBtinyISP programmer for example).
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 20
|
 |
« Reply #38 on: February 03, 2013, 11:56:41 pm » |
PavelK, if you've never changed the fuses settings on your Mega2560, I don't think there is a reason why you would do it now.
If you just want to solve the 10 sec issue, you wont solve anything by playing with the fuses settings.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 226
Posts: 14091
Lua rocks!
|
 |
« Reply #39 on: February 04, 2013, 12:15:29 am » |
I agree. I don't know of any "wait 10 seconds before doing anything" fuse.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #40 on: February 05, 2013, 10:25:43 pm » |
PavelK, if you've never changed the fuses settings on your Mega2560, I don't think there is a reason why you would do it now.
If you just want to solve the 10 sec issue, you wont solve anything by playing with the fuses settings.
So what will solve the problem?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 226
Posts: 14091
Lua rocks!
|
 |
« Reply #41 on: February 05, 2013, 10:33:20 pm » |
I got an idea from another thread, where the serial port was interfering with the clock.
Try changing the low fuse to indicate a "full swing oscillator with fast rising power" (low fuse: 0xC6).
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 20
|
 |
« Reply #42 on: February 06, 2013, 06:18:49 pm » |
I tried your suggestion, but the 9.5 seconds delay is still there.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 282
Posts: 15442
Measurement changes behavior
|
 |
« Reply #43 on: February 06, 2013, 06:20:57 pm » |
I would put a digital volt meter on the reset pin (and ground) and see what voltage you read there during this 9.5 second nothing happening time.
Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 226
Posts: 14091
Lua rocks!
|
 |
« Reply #44 on: February 06, 2013, 06:45:31 pm » |
Reply #21 appears to indicate that reset goes low only briefly.
However apart from the presence of the capacitor which is charged when RTS goes low, I can't see any reason why the two different reset methods should behave differently.
|
|
|
|
|
Logged
|
|
|
|
|
|