VEX Encoder Doesn’t Work!

Question:

I can’t seem to get my encoder to work no matter what I do!  It will only ever return a value of 0 or 1, and only for a moment. What’s up?

Answer:

Well, did you restart your software and hardware? Then check this out!  I’ll bet you have another analog sensor plugged into your cortex, like the sonar…. Found this after searching the web…. If using another analog sensor, the Quad Encoder MUST be plugged into a higher number port. Really? Yup. See the snip below. Spent at least a day on this then found the documentation on line, switched the ports with the sonar sensor so that the encoder was on 8 & 9, and the sonar on 4 & 5, and viola! Success!  Try it! Also… we NEVER got the error as shown below… It just didn’t work. Download the whole VEX pdf here: Quadrature+Encoders

 

 927 total views

The VEX Testbed is boring….

Question:

The VEX Testbed is boring; do you know of another way to make learning RobotC programming more appealing to high school students?

Answer:

Well, in my classroom we build clawbots, then add all of the sensors to them. we then get to program the sensors on a real, mobile robot!  Kids love it and the culminating activity is a game where they get to drive the robots around; just like a real VEX competition.  In the meantime, they are learning how to program inputs and outputs, the difference between analog and digital, and the how closed and open loop systems work.

reddownloadClawbot TestBed

In the zipped folder above you will find the following documents:

  1. Clawbot Sensor Install: This document shows you how to install the sensors on the clawbot to complete some activities.
  2. Clawbot Checklist: This is a document that the students do screen captures of their RobotC programs on so that you can keep track of their progress as they go.
  3.  Cortex Wiring Diagram: An example of the Cortex wiring. I like to use a template in my class so each robot is the same; it makes troubleshooting easier. It looks like this:

If you make any changes for the better, please share them back with us so we can pass them along. Thanks for making it better!

 

 2,260 total views,  2 views today

WHAT ARE THE VALUES FOR ALL OF THE VEX SENSORS?

Question:

How do I know what all the values are of all the different sensors? It can be overwhelming! This post is ARCHIVED, meaning links may or may not work, and it may not scale well on a mobile device as it was written a while ago.

Solution:

Lucky for us, our friend Dan Keith from Williamston High School in Michigan put together this comprehensive cheat sheet. It tells you wether the sesnor is digital or analog, what ports they need to be plugged into, and what the values need to be.  Don’t thank us, thank Dan. Thanks Dan!

reddownload

Download here

VEXcheatSHEET

 

 

 

 1,500 total views