Is it advisable to use a separate micro-controller for servo motor controller of a robot rather than using only one micro-controller for the whole system and why?
-
-
Answer:
Yes, most MCU's can not multi task it can run only one program at a time, so if you run a stepperor servo motor from one MCU it will slow down the whole program so, if you have send the command from the main MCU to the other one that is controlling the stepper or servo the main MCU can go on doing other things while the stepper MCU can take its time taking the stepper motor thru its paces If you have to run more than one stepper and using only one MCU, the MCU will have to drive the one stepper with one pulse and then the next stepper, you don't need a large MCU to drive a stepper only 4 bits is needed a 8 pin PIC like the PIC12F675 is all you need, GP0 to GP3 can drive the stepper while the chip can receive commands on GP5 that is a input pin only ,then you still have GP4 spare to drive a LED or a relay or you can use it as a DTR to send an interrupt to the main MCU and tell it that its done with the last command and ready for the next. A string of commands can be received by the 12F675 in serie on one pin and be stored in onboard EEPROM for use as needed
wiki.answers.com Visit the source
Related Q & A:
- How to use a micro sd adapter?Best solution by Yahoo! Answers
- Is it possible to use a game controller as a mouse?Best solution by Yahoo! Answers
- Can I use an Xbox 360 controller on a PC?Best solution by Super User
- Why is it better to buy a snowboard rather then rent?Best solution by Yahoo! Answers
- How can I use a controller with PC games?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.