Raspberry Pi Line Following Robot with Maker Line

Let's try to build line following robot using Raspberry Pi.

Introduction

Maker Line sensor is designed for line following robot application. It works at 3.3V and 5V make it suitable to be used with Arduino boards, Raspberry Pi, ESP32 and micro:bit. This tutorial is using Raspberry Pi board and python code. Before we start, I recommend you to understand the basic of line following robot. You can refer to this tutorial:

Video

This video is about Raspberry Pi line following robot with Maker Line sensor.

Hardware Preparation

This is the list of items used in the video.

Sample Program

This is the python code for Raspberry Pi line following robot with Maker Line. You may need to adjust the speed (try and error) based on your hardware.

Thank You

References:

  1. Python GPIO library – pigpio
  2. Library to control GPIO on Raspberry Pi – gpiozero
  3. Maker Line Datasheet

Thanks for reading this tutorial. If you have any technical inquiry, please post at Cytron Technical Forum.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Control Stepper Motor 28BYJ-48 Using TTGO T-Display ESP32
Smart Dustbin
Interface LSM9DS1 9DOF IMU With TTGO T-Display ESP32
Send and Receive SMS Using TTGO ESP32 SIM800L
Getting Started With ProjekIoT.com Using Raspberry Pi
Scroll to Top