Levitating a Ping Pong Ball Using Arduino and Simulink

版本 1.0.0.1 (751.7 KB) 作者: Brian McKay
Learn how to use Simulink to make an Arduino based fan that levitates a ball at a specified height.
1.4K 次下载
更新时间 2016/9/13

查看许可证

Learn how to use Simulink to make an Arduino based blower fan that levitates a ping pong ball at a specified height. An ultrasonic sensor measures the height of the ball and a PID controller adjusts the fan speed to maintain the desired height.
Hardware Used:
Arduino Mega 7.4V Li-po Battery
IRLZ14 MOSFET 1k Ohm Resistor
Fan Blower USB A to B Cable
Ping Pong Ball Tube (3D Printed or Homemade)
Sharp Infrared Sensor GP2Y0A21YK (will need a 3 pin JST connector)

https://www.youtube.com/watch?v=dXYT1-Ft_l4

引用格式

Brian McKay (2024). Levitating a Ping Pong Ball Using Arduino and Simulink (https://www.mathworks.com/matlabcentral/fileexchange/58427-levitating-a-ping-pong-ball-using-arduino-and-simulink), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
社区

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.1

Updated license
Adding the YouTube link to the description

1.0.0.0