Lego Mindstorms EV3 bike project

Model based control of a Lego Mindstorms EV3 bike
1.4K Downloads
Updated 21 Dec 2016

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

The design of a self-stabilized bike has been developed using model based control and the Matlab/Simulink support to the Lego Mindstorms EV3 hardware.
The control system allows the bike to self-balance exploiting measures of the lean angle rate from the gyro sensor.
The vehicle maintains a straight trajectory until it stops after a given elapsed time or when the ultrasonic sensor detects an obstacle.
Building instruction are included. The bike has been realized using a standard Lego Mindstorms EV3 "education kit" except for the wheels which have the following Lego product codes: 290301 (RIM) + 290226 (TYRE)
https://youtu.be/2YtpPu-SI5M

Cite As

Michele Basso (2024). Lego Mindstorms EV3 bike project (https://www.mathworks.com/matlabcentral/fileexchange/58231-lego-mindstorms-ev3-bike-project), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Fixed a typo in the project title

1.1.0.0

Picture update

1.0.0.0