create account

Undusting Bebot: My Decade Old Line Follower Robot Project by thecuriousfool

View this thread on: hive.blogpeakd.comecency.com
· @thecuriousfool ·
$2.85
Undusting Bebot: My Decade Old Line Follower Robot Project
![bebot - thumbnail.png](https://files.peakd.com/file/peakd-hive/thecuriousfool/23uQxo5aeH8EprNcrMnA1ojwtVNNHyJVhyoQqxabXhVyac9WRbLHgqggm2yR93YdDyqJ8.png)

Almost ten years ago, back when I was still teaching basic electronics. I wanted to show one of my student an actual application of what I’ve been learning. So, I need to come up with an idea that could capture his interest to yearn for more advanced topics.

My student at that time is a high school science teacher. He wants to advance his electronics knowledge that is why he came to me.

We need a project that would not only capture his interest but his students as well. I am sure that if we successfully make it that he will most probably teach it also to his students.

The first thing that came into my mind at that time was a LINE FOLLOWER ROBOT.
I decided on building one without using any microcontroller.
There would be no pre-assembled sensors nor motor driver modules.

<hr>

#### Side Note: What is a Line Follower Robot?
A line follower robot is a type of robot that is specifically designed to follow a printed track.

Below is a video that I've found on Line Followers in action. The line followers in the video uses programmable microcontrollers and modules.

https://www.youtube.com/watch?v=VF5w7Ct5s8Q&ab_channel=PololuPeople

<hr>

Circuit design is a little too advance for him so I handled it.
I used discrete components so that I can discuss how it works as a continuation of our previous topics.

What I want him to design and build is the Logic Unit (AI) of our line follower using basic Logic Gates.

I am aiming for simple functionality (AI) just to make him appreciate what we had learned.

<hr>

## <center>Design Overview</center>

![design overview.png](https://files.peakd.com/file/peakd-hive/thecuriousfool/242Dfk2x8xEd8wFmGGoyGzeT1ThfpY6N3MsgSDtCMHbiPLzqVEjEZbWjhcScQjcXUZFY4.png)

<hr>

#### Motors

There would be three DC motors, two for the thrust and one for steering.
The thrust motors will be responsible in moving the line follower forward and backwards.
The steering motor will function to direct in which direction the car should move.

<hr>

#### Motor Controllers

This will be the bridge between the logic unit and motors. The motor controllers will control in which the motors will turn. One controller for steering and one controller for the thrust motors.

<hr>

#### Sensors

The sensors will be used to detect the lines. They will serve as the “eyes” of the line follower. The output of the sensors would then be fed to the logic unit for processing and interpretation.

<hr>

#### Logic Unit

The brain of the line follower. It will analyze inputs being “seen” by the sensors, process it and decides in which directions the motors should move.

<hr>

## <center>The Actual Hardware</center>

![hardware.png](https://files.peakd.com/file/peakd-hive/thecuriousfool/23w2jHKLZhrUbQWxNMYMrXaqfe7Sbuu31q1pkmP6mgs9WPHJ8eas4HncHzWoxnSGVMbBf.png)

#### The Main Body and the Motors.

There is no nearby electronic store, at that time, that sells parts for line follower parts so I have to repurpose an old RC car. I removed the built-in circuits and all other parts except for the motors, wheels and the main body.

#### The Motor Drivers

The motor drivers or controllers are made with a simple H-Bridge circuit.
It’s been too long since I made my calculations so I cannot give you the exact schematic diagram and parts list. Here is a rough draft of what I can remember:

![h-bridge diagram.png](https://files.peakd.com/file/peakd-hive/thecuriousfool/23tHdQDGmbXYy9pPoJZ1iQStS7Hh4n89B6a5QgLAPFtywBSJLTC5wAv8nRji6gYGABSz7.png)

![hardware - motor driver.png](https://files.peakd.com/file/peakd-hive/thecuriousfool/23w2gcASUnJSGJEqVAvfHBikeFV2a9JTTxJsfDrvwHnDKifND586SX8SzHp4q7SNoCMZp.png)


The motor drivers controls the direction in which the motors would spin. This can be easily achieved by changing the direction of the current.

#### The Line Sensors

I used a simple IR RX/TX pair. I could have used an ordinary LED/photo-resistor pair but I am worried of external light interference. It might be too sensitive to the environment and artificial lightings.

![ir sensor diagram.png](https://files.peakd.com/file/peakd-hive/thecuriousfool/23tHdQDcLkYXc9dWtvPQg8jNfZzh2QyeAY7bQwZHZ89Qj5T4kcyJV2ANfZNBBqdGuP7BC.png)

![hardware - sensor system 1.png](https://files.peakd.com/file/peakd-hive/thecuriousfool/23tmDZT4KScKEg6yMvcbm4B5Y6A3RraPWfBbDsmmd5mxf9mEiJ3qmyoW1u6QJeWdJncKE.png)

![hardware - sensor system 2.png](https://files.peakd.com/file/peakd-hive/thecuriousfool/23tbnbBLCRsA621qdLWEtyTS52NVCLEcxqWrC8uxkcPRbdDjhkPJaGHtSoBBwSqvjjCSk.png)

The output of the IR receiver is being fed into a differential amplifier. The sensitivity of the sensor is controlled by a potentiometer. This also useful in calibrating the sensors to deal with different environments.

I made eight pairs of this sensors. The two or four pair of sensors in the middle be used to monitor if the robot is in line with the track. The outer sensors will function to determine in which direction the robot should steer to when it is out of the line.

#### The Batteries
One of the challenges in making this project is the space for the batteries. I planned on using AA batteries as it is what I have readily available at that time.

#### The Logic Unit

This is the part that I wanted my student to design himself using logic gates. Unfortunately, due to unforeseen events, my student, although he is very interested to continue, was not able to do so.

I did not try to finish the project hoping that my student will one day return and continue the project. Years passed and I also forgot about the project until I came across the STEM community.

There it is, that is the story of the unfinished line follower that I’ve kept for so long. 😁

<hr>

Thank you for taking the time to read my post.

This is my very post on the STEM community so I am very interested on your thoughts.

Simple automation using Arduino was once one of my previous side hustles. I've been helping a lot college students in making their electronic projects/thesis using Arduino

Again, thank you and more power!
HIVE On!
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 120 others
properties (23)
authorthecuriousfool
permlinkundusting-bebot-my-decade-old-line-follower-robot-project
categoryhive-196387
json_metadata"{"app":"peakd/2022.04.6","format":"markdown","description":"Let me introduce to the story of an old unfinished Line Follower Robot of mine that I kept for almost ten years.","tags":["stem","engineering","diy","robotics","mancave","pob","vyb","neoxian","hive-engine"],"users":[],"image":["https://files.peakd.com/file/peakd-hive/thecuriousfool/23uQxo5aeH8EprNcrMnA1ojwtVNNHyJVhyoQqxabXhVyac9WRbLHgqggm2yR93YdDyqJ8.png","https://files.peakd.com/file/peakd-hive/thecuriousfool/242Dfk2x8xEd8wFmGGoyGzeT1ThfpY6N3MsgSDtCMHbiPLzqVEjEZbWjhcScQjcXUZFY4.png","https://files.peakd.com/file/peakd-hive/thecuriousfool/23w2jHKLZhrUbQWxNMYMrXaqfe7Sbuu31q1pkmP6mgs9WPHJ8eas4HncHzWoxnSGVMbBf.png","https://files.peakd.com/file/peakd-hive/thecuriousfool/23tHdQDGmbXYy9pPoJZ1iQStS7Hh4n89B6a5QgLAPFtywBSJLTC5wAv8nRji6gYGABSz7.png","https://files.peakd.com/file/peakd-hive/thecuriousfool/23w2gcASUnJSGJEqVAvfHBikeFV2a9JTTxJsfDrvwHnDKifND586SX8SzHp4q7SNoCMZp.png","https://files.peakd.com/file/peakd-hive/thecuriousfool/23tHdQDcLkYXc9dWtvPQg8jNfZzh2QyeAY7bQwZHZ89Qj5T4kcyJV2ANfZNBBqdGuP7BC.png","https://files.peakd.com/file/peakd-hive/thecuriousfool/23tmDZT4KScKEg6yMvcbm4B5Y6A3RraPWfBbDsmmd5mxf9mEiJ3qmyoW1u6QJeWdJncKE.png","https://files.peakd.com/file/peakd-hive/thecuriousfool/23tbnbBLCRsA621qdLWEtyTS52NVCLEcxqWrC8uxkcPRbdDjhkPJaGHtSoBBwSqvjjCSk.png"]}"
created2022-04-29 16:15:36
last_update2022-04-29 16:15:36
depth0
children8
last_payout2022-05-06 16:15:36
cashout_time1969-12-31 23:59:59
total_payout_value1.448 HBD
curator_payout_value1.400 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6,180
author_reputation22,355,706,722,182
root_title"Undusting Bebot: My Decade Old Line Follower Robot Project"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,754,521
net_rshares2,888,357,174,437
author_curate_reward""
vote details (184)
@hivebuzz ·
Congratulations @thecuriousfool! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@thecuriousfool/comments.png?202204282328"></td><td>You made more than 600 comments.<br>Your next target is to reach 700 comments.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@thecuriousfool) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


**Check out the last post from @hivebuzz:**
<table><tr><td><a href="/hive-122221/@hivebuzz/pud-202205"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg"></a></td><td><a href="/hive-122221/@hivebuzz/pud-202205">Hive Power Up Day - May 1st 2022</a></td></tr></table>

###### Support the HiveBuzz project. [Vote](https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22199%22%5D&approve=true) for [our proposal](https://peakd.com/me/proposals/199)!
properties (22)
authorhivebuzz
permlinknotify-thecuriousfool-20220429t163208
categoryhive-196387
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2022-04-29 16:32:09
last_update2022-04-29 16:32:09
depth1
children0
last_payout2022-05-06 16:32:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,177
author_reputation367,962,672,824,617
root_title"Undusting Bebot: My Decade Old Line Follower Robot Project"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,754,901
net_rshares0
@pizzabot · (edited)
RE: Undusting Bebot: My Decade Old Line Follower Robot Project
<center>PIZZA! PIZZA! 


PIZZA Holders sent <strong>$PIZZA</strong> tips in this post's comments:
thecuriousfool tipped wwwiebe (x1)
@thecuriousfool<sub>(2/10)</sub> tipped @sports.guy55 (x1)


<sub>Join us in <a href="https://discord.gg/hivepizza">Discord</a>!</sub></center>
properties (22)
authorpizzabot
permlinkre-undusting-bebot-my-decade-old-line-follower-robot-project-20220430t151834z
categoryhive-196387
json_metadata"{"app": "beem/0.24.26"}"
created2022-04-30 15:18:36
last_update2022-05-03 09:15:15
depth1
children0
last_payout2022-05-07 15:18:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length276
author_reputation6,176,617,389,928
root_title"Undusting Bebot: My Decade Old Line Follower Robot Project"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,781,079
net_rshares0
@sports.guy55 ·
I like how you said "back when i was teaching basic electronics" even though for most people, including me, this is well beyond my realm of understanding.  Nicely done!  
properties (22)
authorsports.guy55
permlinkre-thecuriousfool-rbaq4l
categoryhive-196387
json_metadata{"tags":["hive-196387"],"app":"peakd/2022.04.6"}
created2022-05-03 07:29:18
last_update2022-05-03 07:29:18
depth1
children3
last_payout2022-05-10 07:29:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length170
author_reputation742,914,175,442,499
root_title"Undusting Bebot: My Decade Old Line Follower Robot Project"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,862,761
net_rshares0
@thecuriousfool ·
From my experience, it all depends on our interest. We tend easily understand things we are interested in as compared to others things that we are not.

Thank you for stopping by. 🙂
Enjoy a piece of !PIZZA
properties (22)
authorthecuriousfool
permlinkre-sportsguy55-rbauyh
categoryhive-196387
json_metadata{"tags":["hive-196387"],"app":"peakd/2022.04.6"}
created2022-05-03 09:14:18
last_update2022-05-03 09:14:18
depth2
children2
last_payout2022-05-10 09:14:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length205
author_reputation22,355,706,722,182
root_title"Undusting Bebot: My Decade Old Line Follower Robot Project"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,864,409
net_rshares0
@sports.guy55 ·
I wish i had taken the time to learn things like that when I was younger.  I guess it is never too late to start though.  
properties (22)
authorsports.guy55
permlinkre-thecuriousfool-rbc628
categoryhive-196387
json_metadata{"tags":["hive-196387"],"app":"peakd/2022.04.6"}
created2022-05-04 02:11:06
last_update2022-05-04 02:11:06
depth3
children1
last_payout2022-05-11 02:11:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length122
author_reputation742,914,175,442,499
root_title"Undusting Bebot: My Decade Old Line Follower Robot Project"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,887,167
net_rshares0
@wwwiebe ·
That's pretty awesome. I like how you repurposed an RC car for it; those are some of the best toys for makers and such.

I like to tinker with such things when time permits, but not down to this level, which is admirable. I will use pre-designed parts and typically use either a raspberry-pi or micro controller (Arduino like) to do the thinking for me. I've also got a roving robot sitting for over a year now that I want to get back to, when time permits. I'll need to see if I can find it and if I remember what I've done with it.
properties (22)
authorwwwiebe
permlinkre-thecuriousfool-rb5nng
categoryhive-196387
json_metadata{"tags":["hive-196387"],"app":"peakd/2022.04.6"}
created2022-04-30 13:47:42
last_update2022-04-30 13:47:42
depth1
children1
last_payout2022-05-07 13:47:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length533
author_reputation318,663,954,734,459
root_title"Undusting Bebot: My Decade Old Line Follower Robot Project"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,778,814
net_rshares0
@thecuriousfool ·
I am actually thinking of finishing this project using an Arduino. That is, as you've said, if time permits.

I would also love to see your roving robot. Share a few photos of it when you find it. 🙂

!PIZZA
properties (22)
authorthecuriousfool
permlinkre-wwwiebe-rb5rrv
categoryhive-196387
json_metadata{"tags":["hive-196387"],"app":"peakd/2022.04.6"}
created2022-04-30 15:17:27
last_update2022-04-30 15:17:27
depth2
children0
last_payout2022-05-07 15:17:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length206
author_reputation22,355,706,722,182
root_title"Undusting Bebot: My Decade Old Line Follower Robot Project"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id112,781,057
net_rshares0