Real-time Sensor Feedback from a VEX EDR into MATLAB Arrays and Structures
A VEX EDR has on-board sensors such as gyro, line followers, sonar, and motor encoders. The zip file contains functions and descriptions to obtain these values and others as well as control motors on the EDR via a wireless serial link. General MATLAB functions allow direct access to a COM serial port (USB). The XBee RF transceiver plugs into a SparkFun Explorer USB and mates with a MATLAB computer USB port. The XBee on the EDR mounts on the Sparkfun Explorer Regulated which takes 5 volts from the UART port on the VEX EDR computer. XBee signal lines go to the UART port as well. See YouTube videos https://youtu.be/hLEtjr_sIIw and https://youtu.be/EVJgdpTDZ-Y
Cite As
Edward Belcher (2024). Real-time Sensor Feedback from a VEX EDR into MATLAB Arrays and Structures (https://www.mathworks.com/matlabcentral/fileexchange/59471-real-time-sensor-feedback-from-a-vex-edr-into-matlab-arrays-and-structures), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Communities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |