Autonomous 4-Wheel Robot Light Tracker - Arduino Mega 2560

버전 1.6.0.1 (413 KB) 작성자: Dan Lluch
Simulate and deploy a Run on Target Hardware Arduino algorithm that tracks light and detects bumps.
다운로드 수: 3.7K
업데이트 날짜: 2016/9/1

라이선스 보기

A sample model that implements light following and bump detection algorithms on a 4-wheel autonomous vehicle with an Arduino Mega 2560 onboard. The light following algorithm is based on two light sensors mounted in the front of the vehicle that when a difference is sensed, the vehicle turns towards the brighter side. Also implemented is that the vehicle drives faster when the light is dim (proxy for ‘far’), and slower when it is bright (proxy for ‘close’). Bump logic is done with left/right bump sensors, and the vehicle backs up and then turns away from the object it struck.
The model is created in a way to allow for simulation and code generation. Numerous test scenerios are implemented with a Signal Builder block to test aspects of algorithms prior to trying on the final platform.
External mode can be toggled to allow for monitoring of signals and tuning of parameters, and the model currently implements the back_time parameter as tunable when an object is struck.
The ZIP file includes the listing of hardware used, wiring schematics. It is encouraged to continue to expand on more complicated and robust algorithms, new sensors/actuators, etc.

For more information, please refer to:
- Simulink Targets: http://www.mathworks.com/discovery/simulink-embedded-hardware.html
- Arduino Support from Simulink: http://www.mathworks.com/hardware-support/arduino-simulink.html
- Support Package for Arduino Mega: http://www.mathworks.com/matlabcentral/fileexchange/35641

Facecast was on June 7, recorded video can be located here - http://www.facebook.com/MATLAB/app_142371818162 (Arduino Support from Simulink video)

인용 양식

Dan Lluch (2024). Autonomous 4-Wheel Robot Light Tracker - Arduino Mega 2560 (https://www.mathworks.com/matlabcentral/fileexchange/36938-autonomous-4-wheel-robot-light-tracker-arduino-mega-2560), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2012a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
도움

도움 받은 파일: Simulink Support Package for Arduino Hardware

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.6.0.1

Updated license

1.6.0.0

adding Support Packages for Arduino as acknowledgements on this entry.

1.3.0.0

added link to recorded facecast in description

1.2.0.0

- updated picture for file view of model, and included Simulink Web View files

1.1.0.0

update ZIP file

1.0.0.0