Sphero MATLAB Interface

This interface enables MATLAB to connect and control the robot, Sphero through Bluetooth.
682 Downloads
Updated 2 Sep 2015

View License

This simple interface offers basic control over Sphero. For more comprehensive features and control, please refer to Mark's interface:
http://www.mathworks.com/matlabcentral/fileexchange/52746-sphero-api-matlab-sdk
This interface is made possible utilizing the Instrument Control Toolbox (R2011b or higher). This interface consists of 2 files. Sphero.m is the source code, and sphero_workfile.m provides working examples to the source code. This application also allows MATLAB to send commands and receive feedback (position and velocity) from Sphero.

Sphero API 1.50 is the API provided by Orbotix. It is also available at http://orbotixinc.github.io/Sphero-Docs/docs/sphero-api/packet-structures.html. This work was done as part of the NSF Research Experience for Undergraduates (REU) and the IEEE Robotics and Automation Society (RAS) project at the ARMLAB (Automation, Robotics and Mechatronics Lab) http://mechatronics.eng.buffalo.edu/ at University at Buffalo http://www.mae.buffalo.edu/.

Author:
Yi Jui Lee (yijuilee@buffalo.edu)
Mark Tomaszewski (marktoma@buffalo.edu)

Cite As

Yi Jui Lee (2024). Sphero MATLAB Interface (https://www.mathworks.com/matlabcentral/fileexchange/48359-sphero-matlab-interface), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Robotics System Toolbox in Help Center and MATLAB Answers
Acknowledgements

Inspired: Sphero API MATLAB SDK

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.16.0.0

Updated description formatting.
Contact Information.
Included external link to Mark's interface.
Description.
1.16
- Added new features and functions to get feedback from Sphero.
- Removed GUI and callback functions.
- Included examples to utilize the interface.
- Fixed bugs in several functions.

1.15.0.0

Fixed link causing issues with embedding.

1.14.0.0

Edited minor issues with link.

1.13.0.0

Added Youtube link

1.12.0.0

Updated description.

1.11.0.0

Updated description.

1.10.0.0

Updated author and website link.

1.9.0.0

Updated description.

1.8.0.0

Fixed audio in video.

1.7.0.0

Updated description

1.6.0.0

Updated description

1.5.0.0

Added Sphero's API (provided by Orbotix).

1.4.0.0

Fixed redundant components in code.

1.3.0.0

Fixed issues with video.

1.2.0.0

Updated title.

1.1.0.0

Added video for Sphero-MATLAB interface demo.

1.0.0.0