May 21, 2012, 01:59:07 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
International Electronics and Technology Forum
>
Digital Electronics
>
Microcontrollers
>
my microcontroller keeps resetting itself???!?
Pages: [
1
]
« previous
next »
Print
Author
Topic: my microcontroller keeps resetting itself???!? (Read 420 times)
Dauson
Newbie
Posts: 1
my microcontroller keeps resetting itself???!?
«
on:
May 14, 2011, 08:00:13 PM »
ok so i am new to robotics and i am trying to build a snake robot with a parallax mico controller and 12 servos. everything was going great and it was working fine when one day it started like resetting itself in the random parts of the program. i don't know whats wrong with it. i tried replacing the board, rewriting the program in the BASIC Stamp editor, and even installing diodes so that i knew the servos weren't sending a signal back to the board telling it to reset. ( i don't know if that's a thing that happens but i did it just in case.) still no change in the robots behavior. if any one can help or tell me something to try it would be greatly appreciated.
Logged
Mark_J
Newbie
Posts: 22
Re: my microcontroller keeps resetting itself???!?
«
Reply #1 on:
May 14, 2011, 08:16:01 PM »
What changed between the last known good version and now? In the future, archive working versions so that you can go back to a stable version.
What is the power supply like?
Try powering the micro from a different battery than the servos. You will need to have a common ground. My thought is that the initial power required by the servo could cause a momentary voltage drop which resets the micro. Adding several 100 uF of capacitance on the power lines near the micro may help too.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Electrotechlab Primer
-----------------------------
=> About Electrotechlab
=> Electronics News
=> Consumer Electronics and Gadgets
=> General Technology
=> Computers and Internet
-----------------------------
Analog and Mixed Signal
-----------------------------
=> Electricity and Analog Electronics
=> Signal Conversion and Signal Processing
=> Industrial Electronics
-----------------------------
Digital Electronics
-----------------------------
=> Combination Logic Circuits
=> Microcontrollers
=> PLD SPLD GAL CPLD FPGA
-----------------------------
Specialization
-----------------------------
=> Wire Communications
=> Wireless Communication
=> Hi Fidelity Audio and Video
=> Mechatronics and Robotics
=> Amateur Ham Radio
-----------------------------
Electrical Electronics Repair
-----------------------------
=> Test Equipment and Instrumentation
=> General Electrical and Electronics Repair
=> Personal Computer and Peripherals
-----------------------------
Resources
-----------------------------
=> Computer Programming
=> PCB Design
=> Datasheets Manuals Ebooks and Links
=> Electronic Projects Design and Ideas
-----------------------------
General Forum
-----------------------------
=> Anything Under The Sun
=> Arts Culture and Lifestyle
=> Sports Games and Entertainment
=> General Science
=> Health and Medicine
Loading...