Posts Tagged ‘robotc’

How do I make my Dobot Magician talk to a VEX Cortex?

Question:

How do I make my Dobot Magician talk to a VEX Cortex?

Answer:

It’s called handshaking and it is probably one of the more difficult tasks when working with robots and machines. We use an optical isolator so as not to damage any of the equipment with incompatible voltages, so be sure to see the website for the wiring diagrams. Watch this four minute video to see how it’s done!

Continue Reading

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

  Continue Reading

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!   Continue Reading

WORK UNPLUGGED: VEX ROBOT? IT ONLY WORKS WHEN TETHERED!

Question:

How do I get my robot to work when I unplug my cortex from the computer?

Solution:

Just change the setting you see in the picture here, and you will be all set! After you change this it will ask you to power cycle your cortex. Just turn it off and back on again, and it will run your program when it’s unplugged from your computer.

 
unplug_robot
Continue Reading

Get in touch

Jim Hanson

Chris Hurd

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.