HOW DO I HANDSHAKE A LYNXMOTION AL5D ARM WITH A VEX CORTEX?

HOW DO I HANDSHAKE A LYNXMOTION AL5D ARM WITH A VEX CORTEX?

Question:

How do I make my Lynxmotion Robotic Arm talk to a VEX Cortex?

Solution:

The actual wiring is easy, and so is the programming. Let me break the answer up into sections:

Question:

How do I receive a signal on a Cortex from the SSC-32 (Lynx Robot) in RobotC?

Answer:

One way to do it is shown in the example below. A machine is waiting for a signal from the robot. The €œwhile€ statement in the program below is not necessary, just an added bonus as a start switch. NOTE THE COMMENTS BELOW FOR HOW THE WIRING GOES!

1

Question:

How do I send a signal from the Cortex to the SSC-32 in RobotC? 

Answer:

It is definitely best to set a to either 1 or 0 and make it a Digital Output!  Any other way and the signal will be backwards. Notice that you can check the value of the signal in the debugger window.  Notice that there is only one =. This sets the value. == means compare…..

REAL2

Question:

How do I make it talk back and forth?

Answer:

See the picture below. Please read the comments too!

Real3

 102 total views,  2 views today

CHRIS HURD

JIM HANSON



Chris and Jim CIM
© Copyright 2020
Developed by phan1221

Visits: 3,999,007