MATLAB Maker Community

92 views (last 30 days)

Build a Line Following Robot with Arduino and Simulink

By Hans Scharler on 12 Jun 2018
Latest activity Reply by Hans Scharler on 12 Jun 2018

This project shows how to create a line follower algorithm in Simulink and how to run it on an Arduino Robot. Simulink Support Package for Arduino Hardware enables you to create and run Simulink models on an Arduino. This Robot has two Leonardo (ATmega32u4) based boards: Arduino Robot Motor Board and Arduino Robot Control Board. The Arduino Robot Control Board has peripherals such as Analog Input Pins, Digital Input/ Output Pins, PWM, Keypad, Potentiometer (POT), Compass, Buzzer, etc. The Arduino Robot Motor Board has peripherals such as Analog Input Pins, Digital Input/ Output Pins, PWM, Motor Driver, Motors, Wheels, Trimming Potentiometer (TRIM), IR sensors, etc.

This project shows how to create a Simulink model to run a line follower algorithm on the Arduino Robot Motor board by accessing the IR sensors and motors. You will learn how to access the peripherals of the Arduino Robot Motor Board using blocks from the Simulink library and the standard Arduino library from the Simulink Support Package for Arduino Hardware. Discuss your Arduino projects here.

Reply  
By Hans Scharler on 12 Jun 2018

The line following robot was a hit at this year's Maker Faire!

 
Reply