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 Tutorail

Dot Matrix Clock With NTP Server Using ESP32
Safe Box Using I2C LCD and 4×4 Keypad On Arduino.
Send Sensor’s Data to ThingSpeak Using Raspberry Pi
Getting Started with Raspberry Pi 4B-1GB Beginner Set
5 Major Upgrades on Raspberry Pi 4 Model B
Scroll to Top