Home > Programming > microcontroller kits

microcontroller kits

microcontroller kits
Why does my vex programming kit work fine when 4 motors are hooked up to the microcontroller but not with 5?

I am programming a car using the vex programming kit. When I have the car running with 4 motors the programming works great, without any problem. However, when I add a 5th motor into the micro controller, the program doesn’t always work properly. I am pretty sure the program is correct because sometimes when the 5th motor is hooked the programming work great without any problem, other times when the 5th motor is hooked up the program doesn’t run properly ( as soon as the car is turned on the motors go on off on of on off etc.), the program doesn’t run properly.

Any help would be great!!!

Things to investigate are:

1.) The fifth motor is changing the impedance seen by the controller on a pin that has a multiple function. Don’t know how you’d correct that, since I don’t have schematics.

2.) There is a problem with the unit’s power supply being run at the higher draw and the microcontroller’s requirements aren’t always met with clean power. If they are using the same supply, separate them.

3.) Something in the code needs to be changed to accomadate the fifth motor and the conditions it creates. Here again, I don’t know the fix.

Keep pluggin’ at it!

PIC Microcontroller Kits – Electronic LED die from www.electronworks.co.uk

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
Categories: Programming Tags:
  1. No comments yet.
  1. No trackbacks yet.