Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Manufacturing process

V4 Speed Line‑Follower Robot – Advanced Arduino Nano System

Components and supplies

V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
JLCPCB Customized PCB
×1
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
Arduino Nano R3
×1
Mini H Bridge L298N (MX1508)
×1
6V Mini Motor Metal Gearbox
×1
CNY70
×8
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
Linear Regulator (7805)
×1
Electrolitic Capacitor
×1
1206 SMD Blue LED
×4
1206 SMD Green LED
×1
1206 SMD Resistor (220 ohms)
×8
1206 SMD Resistor (10k ohms)
×11
1206 SMD Resistor (330 ohms)
×5
40 Pin Header Male
×1
40n Pin Header Female
×2
DIP switch 2 circuits
×1
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
SparkFun Pushbutton switch 12mm
×1
1206 SMD Capacitor (0.1 uF)
×3
Ball Caster with 3/8
×1
RD-34 Wheels
×2
14500 3.7V Battery
×2
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
Battery Holder, AA x 2
×1

Necessary tools and machines

V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
Soldering iron (generic)
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
Solder Wire, Lead Free
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
Helping Hand Tool, with Magnifying Glass
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
Multitool, Screwdriver

Apps and online services

V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
Arduino IDE

About this project

This is my second Line Follower Robot (Version 4). Unlike the previous one, I have made the design of the printed circuit using EasyEDA. This printed circuit acts as the chassis of the robot. The PCB manufacturing has been carried out by JLCPCB and I must say that they exceeded my expectations with impressive quality and shipment in record time.

The following video shows the final result of the prototype in which I have included the 3D models designed in TinkerCAD.

V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System

In the following video I show the tests carried out with the Mini Motor Driver (MX1508).

In the next video I show the tests with the 8 CNY70 sensors. These sensors are measured analogically, through ports A0 to A7 of the Arduino Nano. I use an initial algorithm to calibrate the sensors by normalizing the range from 0 to 1000, where 0 represents the white background and 1000 the black line. Upon completing the calibration, it enters the loop and starts the reading cycle, calculating the position from 0 to 7000, which represents the left sensor to the right sensor respectively. This position value is used to calculate the proportional error P. The range of P is -3500 (left) to 3500 (right), with 0 being the center value. The algorithm memorizes the value of the position of the last sensor (left or right) that detected the black line, this with the purpose of using this data for braking actions and line recovery.

The final test with the circuit 95% mounted, is shown in the following video. A last amperage test having a maximum consumption of 200mA.

This is the latest version of the robot's printed circuit, ready to be manufactured on JLCPCB.

This is the unboxing.

V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System

In the final stretch and already with the total of pieces, I show the assembly of my first Speed Follower Robot.

Finally and with a lot of effort I already have the fully built prototype, I show below how to load the code (Code Load Mode), how you can test the sensors and of course the tests on the track. Very happy with the operation, the test code manages to control the code very well. I have used a PID (Full) algorithm to smooth the corrections and regain the course of the line. Since everything can be improved, I will continue to play with the code to achieve a more efficient version.

V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System
V4 Speed Line‑Follower Robot – Advanced Arduino Nano System

As a complement, I did the simulation of this robot in the Webots application. It is still in the process of improvement but I share this video so that you can appreciate a way to perform mechanical and logical tests (Code) to control a robot in a virtual environment and that helps to understand the operation of a physically built robot.






Code

Code to control the Speed Line Follower Robot V4
https://github.com/DrakerDG/Speed-Line-Follower-Robot/commit/12a807aed92c570dce12452064a5d6fe5053cb71

Schematics


Manufacturing process

  1. EMAR Mini: A Compact, Open‑Source Emergency Assistance Robot
  2. Wittmann Battenfeld Launches the WX153: Advanced Robot Line for High‑Force Injection Molding Automation
  3. FANUC Expands SCARA Robot Line: Six Models, 3–20 kg Payloads, 400–1100 mm Reach
  4. Industrial Line‑Following Robot for Material Transport
  5. Create an Autonomous Line-Following Robot with Arduino UNO
  6. AI-Powered Line-Following Robot Built on Arduino Nano
  7. PID-Controlled Line-Following Robot Kit – Arduino UNO, IR Sensors, Durable Chassis
  8. Build a Line-Following Robot with PID Control and Android Integration
  9. Build the Simplest Arduino Line‑Following Robot with SparkFun L298
  10. High‑Speed Precision Slitting Lines: How They Work and Why They're Essential