I tested eighthave's motor circuit with a Freeduino, which is a Diecimila compatible board, and it doesn't reset. Freeduino has the same FT232RL powered all time, like the Diecimila. So maybe you have a faulty Diecimila??
QuoteSet up a test LED to watch for resets, and watch it carefully.Hmmm, it may be you are blinking your eyes... Seriously, I tested with a scope. As I said before, there is some fluctuation that causes some LEDs to dim, but it is within a tolerable range and the atmega168 doesn't reset.
Set up a test LED to watch for resets, and watch it carefully.
Just for comparison purposes, my FT232 loses power when I hook up a 220uf capacitor to 5v and GND and the ATmega168 also loses power.How can I tell? The RX and TX lights flash as the computer talks to it and the pin 13 LED also goes through the boot loader routine.So it appears relatively easy to reset the Arduino with power fluctuations.
@eighthave,did you try any of the suggestions that people made in this thread, e.g. adding a capacitor? D
Quote@eighthave,did you try any of the suggestions that people made in this thread, e.g. adding a capacitor? DYes, adding filter caps definitely helps. I am not troubleshooting this circuit though, what I am trying to do it map out the difference in behavior between my Diecimila and my Arduino and NG. I think it would be useful to find the exact mechanism that is causing the reset to see if there is something that can be done to make the Arduinos less sensitive to noise.This stuff can really stump newbies since it's quite unpredictable. Also, I plan on writing an Arduino-focused tutorial about dealing with noise.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16