Go to Post Disclaimer: I am not an electrical engineer nor an electrician. I occasionally play one on CD. And when inspecting robots, sort of... - jvriezen [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 08-12-2010, 18:18
jberend jberend is offline
Registered User
FRC #2102
 
Join Date: Dec 2010
Location: San Diego
Posts: 2
jberend is an unknown quantity at this point
testing a microcontroller

Hi - how do you positively test if a vex microntroller is bad? -thanks
  #2   Spotlight this post!  
Unread 08-12-2010, 23:36
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,821
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: testing a microcontroller

Cortex or Pic? EasyC, RobotC, or something else? Knowing that helps... but here's a few things to try:

First, check the battery.

No, really... check the battery. Make sure it is fully charged.

Remove all dongles, sensors and PWM cables from the controller.

For the PIC-based VEX controllers, download the latest master code. Not downloading? Try a different programming cable and/or computer. You may as well try this on the Cortex, too.

Now download the "on line" code that is part of EasyC. This should give you the ability to control each motor/servo output from your computer. Plug a motor or servo into output 1. Can you control it with the slider? Try port 2. Etc.

If this isn't working, take a look at the lights on the "front" of the controller. What do the lights show you?

Now try plugging different sensors in the the digital I/O lines and check to see what the on-line code shows you on the screen.

If the on-line code is working, then your user code should work too. I don't have a tonne of experience with the new Cortex controllers, but I have NEVER seen an old PIC based VEX controller fail. I'm sure that someone, somewhere, has seen this, but I've helped teams at over a dozen events over the past five years, and can say with confidence that the old VEX controllers are tough and reliable.

(Note: Pounding on them with a hammer, swinging them about by cables, or plugging the I/O lines in to 120VAC house current may cause unexpected effects... I've only found them to be tough in normal wear and tear with high school students.)

Jason
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
a problem with Microcontroller colo Technical Discussion 5 23-04-2009 14:03
Selecting a microcontroller Browzilla Electrical 22 03-06-2008 16:35
Dead microcontroller :-( ManicMechanic VEX 2 24-11-2007 22:57
Propeller Microcontroller Adam Y. Electrical 4 20-04-2006 13:27
microcontroller selection¿ Rickertsen2 Programming 11 25-05-2003 10:52


All times are GMT -5. The time now is 21:23.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi