Blueprint

PID Line Follower Robot

PID Line Follower Robot is a project with the objective to understand the line follower concept and PID system. It’s an affordable version of a competitive robot, and v0; the next version will have better components and a PCB design.

Created by RoboHub RoboHub

Tier 2

105 views

5 followers

Timeline

worldoflos2.0 worldoflos2.0 gave kudos to PID Line Follower Robot ago

awesome project !

CAN CAN ⚡🚀 approved PID Line Follower Robot ago

Tickets awarded: 375 tickets

Tier: 2

CAN CAN ⚡🚀 submitted PID Line Follower Robot for review ago

RoboHub RoboHub submitted PID Line Follower Robot for review ago

technical_. technical_. requested changes for PID Line Follower Robot ago

Rename your images. We should not be trying to go through every single image file, trying to figure out what each image is.

RoboHub RoboHub submitted PID Line Follower Robot for review ago

RoboHub RoboHub added to the journal ago

Circuit diagram

I made a circuit diagram for the project. At first, I spent time looking for editors that could help me, and I found some like Tinkercad, but I didn’t find everything I needed. This is why I made it using Photoshop, and next time I will do it with KiCad as a PCB schematic.
Circuit diagram

technical_. technical_. requested changes for PID Line Follower Robot ago

Cool project, but make sure to include a circuit diagram/schematic in your repo. You can either draw it with paper or use an online editor!

RoboHub RoboHub submitted PID Line Follower Robot for review ago

Jay Jay 🚀 requested changes for PID Line Follower Robot ago

This is amazing work I like :) thank you for added photos

RoboHub RoboHub submitted PID Line Follower Robot for review ago

Kai Pereira Kai Pereira 🚀 requested changes for PID Line Follower Robot ago

Please replace all your use of AI in the readme, and add some real photo's of your project. Feel free to use my README format: https://github.com/KaiPereira/Cheetah-MX4-Mini

RoboHub RoboHub submitted PID Line Follower Robot for review ago

RoboHub RoboHub added to the journal ago

Project Completed!

Today I finished the entire line-follower PID robot project.
I started by completing the PID code and doing several tests on a small maquette, fixing conditions and improving the logic step by step.
Then I upgraded the robot by adding Wi-Fi control, which allowed me to change PID values live from a website without needing to re-upload code every time.
A friend helped me make the web interface look nicer.
Test
e784b582-8a0f-45d3-a56a-40c67cfbd684
{E63CA688-48E1-4CCD-8186-648663711028}

RoboHub RoboHub added to the journal ago

Full Board Soldering+New 3D Model

Today I finished soldering the whole board: the motors, the TB6612FNG driver, and the L7805 regulator.
After that, I tested everything with a motor test code, made a few adjustments, and confirmed that the full board is working as expected.
I also created a new 3D model, cut it to be compatible with the BFD-1000, and assembled the new version.
Then I spent some time adjusting the leveling of the line sensors to make sure the robot reads the line correctly.
To verify the system, I wrote a Bluetooth control code to drive the robot manually and ensure the motors + driver are fully working.
The next step is to write the final PID line-following code for smooth and stable motion.
5562393c-81c9-4ac4-81d2-6645e74e5eff
91e5619f-f241-466d-bc85-fe74e6d3bd5d
b005e480-9caa-4929-82fe-6bf18c532cd6314ee7e9-e2c3-470f-afe7-d1aa61988d41
{8EE49D31-0FA8-4DDD-9549-9236D85A650A}

RoboHub RoboHub added to the journal ago

BFD-1000 Soldering and Testing

Today I started soldering the new board.
I didn’t finish everything yet I only soldered the BFD-1000 module pins.
This time I learned from my previous mistakes, so I decided to test all the sensors before soldering the full board.

Surprisingly, everything worked super well all the sensors are working perfectly and are ready to be used.
The next step will be to finish soldering the entire board and bring the new 3D model to life.
2acf4957-dcae-44c1-afdf-7964abe50abb998227fb-6f2a-42d6-bb61-3794fb786d87

{3020FE48-D0D7-4E40-82B5-0DD504D91152}

RoboHub RoboHub added to the journal ago

QTR Testing and Problems Found

During the last four days, I spent all my time trying to get the QTR sensors to work.
I tested everything using a calibration code and even changed the plate level of the QTR during testing, which helped a bit, but the readings were still unstable.
After many trials, I found that some pins on the QTR sensor and the board were damaged, which caused major signal problems.
Because of that, I’ve decided to replace the QTR sensors with BFD-1000 modules.
This means I’ll need to update my 3D model, adjust the code, and resolder a new board for the new sensors.

245848cd-aa1a-4533-9b5a-98509c06daa58657a45b-9495-46db-8a2a-7735b4af5f6f
9925b78a-51ba-4237-970f-c0037875342b
{2F77CB7B-FFCD-4B57-91C7-A8CAACA83E8E}

RoboHub RoboHub added to the journal ago

Assembly and Motor Testing

Today, I completed the assembly of the whole robot and spent a great deal of time leveling it, since the wheel diameter, bille libre, and line sensor were not all at the same level. I had to adjust them carefully to everything level out.
Once I was done, I began testing the motors and the TB6612FNG driver. It was my first time using PWM and the enable pins of the TB6612 driver and encountered many small issues, but I got everything worked out as it moved along.
I tested out the motors with the Bluetooth control code and were able to get the motors and TB6612FNG supplier to work properly.
I am still working on getting the QTR sensor to work, so next step is to tackle this.
d8344871-03e9-4145-8de2-d1c7d5ed39c5
ed9c623a-0ca6-4158-a70d-18cbd5404c14
60292b5f-90e8-4e43-bcf8-5e8e3fc0513c

RoboHub RoboHub added to the journal ago

New Prototype Board

Today I built a new prototype and soldered my new board with the ESP32.
It was one of my longest and hardest soldering sessions so far.
The process was quite complex.I had to resolder some parts after realizing I mixed up analog and digital pins for the sensors.
I haven’t tested it with power yet, but I checked continuity with a multimeter, and everything seems connected correctly.
05e07714-f974-4fa2-b5d2-2a651cbbcf54

eb5f2644-13bf-48ca-8c5d-612c822482d7

RoboHub RoboHub added to the journal ago

My previous work from the Summer of Making.

This is some of my previous work from the Summer of Making.
I am posting this so as not to count as Blue Print working hours.
What I worked on back then included 3D modeling of the components of the robot as well as the construction of the prototype board using Raspberry Pi Pico. However, the project had not been completed.
Open-Source PID Line Follower (2)

707e0b68-b6ef-40ca-9609-a6343efdecb8

RoboHub RoboHub started PID Line Follower Robot ago