The Philippine Electronics and Technology Forum
February 09, 2012, 04:44:31 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  

Pages: [1] 2 3 ... 30   Go Down
  Print  
Author Topic: line follower mobot  (Read 47304 times)
aze
Size C Battery
*****

Pogi/Ganda Points: 14
Offline Offline

Gender: Male
Posts: 181



« on: July 18, 2008, 05:17:51 PM »

gud day po...
sir eto na po..  Smiley panu po mg umpisa?
Logged
The Philippine Electronics and Technology Forum
« on: July 18, 2008, 05:17:51 PM »

 Logged
maldihtah13
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 110
Offline Offline

Gender: Female
Posts: 4446


Everyday is a learning process so try to learn ;D


« Reply #1 on: July 18, 2008, 05:32:14 PM »

Simulan natin sa sensor. Paano gagamitin ung mga ir reciever at emmiter ng mouse.
Logged
Lenjei
Size D Battery
******

Pogi/Ganda Points: 9
Offline Offline

Gender: Female
Posts: 385

im back..


« Reply #2 on: July 18, 2008, 05:36:58 PM »

wat do you mean pong line follower mobot??

last sem po gumawa kame ng photobot, following black line.. hehe...
Logged
maldihtah13
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 110
Offline Offline

Gender: Female
Posts: 4446


Everyday is a learning process so try to learn ;D


« Reply #3 on: July 18, 2008, 05:43:42 PM »

wat do you mean pong line follower mobot??

last sem po gumawa kame ng photobot, following black line.. hehe...

un na nga un give us more details that may help us.
Logged
aze
Size C Battery
*****

Pogi/Ganda Points: 14
Offline Offline

Gender: Male
Posts: 181



« Reply #4 on: July 18, 2008, 05:46:07 PM »

ocge po. meron na po akng sensor nung sa mouse. anu po ang gagawin para mgwork po un? katulad po ba din kng paanu mg work ang LDR?
Logged
aze
Size C Battery
*****

Pogi/Ganda Points: 14
Offline Offline

Gender: Male
Posts: 181



« Reply #5 on: July 18, 2008, 06:22:13 PM »

wat do you mean pong line follower mobot??

last sem po gumawa kame ng photobot, following black line.. hehe...

cge na po help us... hehe
Logged
tiktak
Gas Turbine
**

Pogi/Ganda Points: 171
Offline Offline

Gender: Male
Posts: 2498



WWW
« Reply #6 on: July 18, 2008, 06:31:49 PM »

check mo tong link na ito http://www.electronicslab.ph/forum/index.php?topic=558.0 andiyan ung circuit nung line follower namin using sensor ng mouse.
Logged

Bakit andaming hindi marunong gumamit ng search?Huh
aze
Size C Battery
*****

Pogi/Ganda Points: 14
Offline Offline

Gender: Male
Posts: 181



« Reply #7 on: July 18, 2008, 06:57:11 PM »

ang gamit ba nung LM324 na ic sir para ma amplify ung signal nang sensor?
naguguluhan po ako sa sensor ng mouse. anu po ba ung color na madetect nya para mg on ung sensor?
black po ba o white? ganu po ba kalayo ung maximum na layo nung sensor sa surface ng kulay para madetect nya ung color? kc ung sa mouse ang lapit lang po. hehehe xenxa na po kng dmi akng tanung....
Logged
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #8 on: July 18, 2008, 07:03:40 PM »

The LM324 is used as a comparator, para malinis na 0-5V ang output ng sensor circuit...

The infrared sensor actually detects the white surface, and it will output near 5V (if using 5v supply) and near 0V if the surface is black
Logged
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #9 on: July 18, 2008, 07:09:02 PM »

eto po yung equivalent circuit ng IR sensor sa opto-mechanical mouse





It's merely 2 diodes back to back.  Wink



Logged
aze
Size C Battery
*****

Pogi/Ganda Points: 14
Offline Offline

Gender: Male
Posts: 181



« Reply #10 on: July 18, 2008, 07:12:33 PM »

The LM324 is used as a comparator, para malinis na 0-5V ang output ng sensor circuit...

The infrared sensor actually detects the white surface, and it will output near 5V (if using 5v supply) and near 0V if the surface is black

ahhhh... thanks sir... un pla un... hehehe
kya lng wla pa akng LM324 hehe bibili pa po ako.
Logged
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #11 on: July 18, 2008, 07:28:46 PM »

here is the schematic of the IR LED and IR sensor..






The IR LED is forward biased and emits an IR signal.

The IR sensor detects the IR signal and it will be forward biased also, and a (approximately) +5V signal appears at Vout. If there is no IR signal detected, the IR sensor outputs 0V.




Logged
maldihtah13
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 110
Offline Offline

Gender: Female
Posts: 4446


Everyday is a learning process so try to learn ;D


« Reply #12 on: July 18, 2008, 08:15:20 PM »

nice info. prang gusto ko tuloy gumawa ng encoder using mga lumang mouse sa bahay
Logged
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #13 on: July 18, 2008, 09:01:25 PM »

nice info. prang gusto ko tuloy gumawa ng encoder using mga lumang mouse sa bahay

ginamit ko rin yung transmitter/sensor pair for a simple tachometer
Logged
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #14 on: July 18, 2008, 09:38:06 PM »


as used in the line following mobot, ito po ang setup ng IR LED/sensor  pair.





If the surface is white, the IR signal is reflected by the surface to the sensor and the sensor will detect the signal (output a 5V at Vout)




Logged
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #15 on: July 18, 2008, 09:41:22 PM »


If the surface is black, there will be no reflected IR signal. The sensor outputs 0V at Vout





If the surface is greyish, a small amount of IR signal is reflected, and the sensor output a signal less than 5V (say, 2 V)






Logged
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #16 on: July 18, 2008, 09:57:19 PM »


We may need to use 3 transmitter (LED) / sensor pairs to properly detect the orientation of the mobot on top the black line..

here is the improved schematic..





Logged
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #17 on: July 18, 2008, 10:39:16 PM »


consider again the figure below...





The output is 5V if a white surface is detected or 0V if black.

  • VOUT = 5V (white surface)
  • VOUT = 0V (black surface)


Now, you might think of connecting the output directly to the input pin of a microcontroller, since the sensor output is already TTL level, but this is only an ideal output.

In actual operation of the IR transmitter/sensor pair, the output may not be 5/0 V due to improper alignment of the LED and sensor, or maybe due to poor operation of the components themselves.

When you build the circuit, you might get an output of say, 4V (white surface) and 1.5 V (black). Dont panic, that is ok  Cheesy

Unfortunately, you cant feed directly this 4V/1.5 signal to the microcontroller. It's not a "clean" TTL signal.  Sad The microcontroller may detect the 4V as a logic high input, but may have difficulty knowing whether 1.5V is a logic low input.

We need to convert this "unclean" signal to a "clean" TTL 5/0V signal so we need to use a comparator to do that, as shown in the circuit below.






Logged
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #18 on: July 18, 2008, 10:51:07 PM »


The operation of the comparator is quite simple. (A comparator is one of the simplest application of an op-amp)

If the voltage at the noniverting input ( the input pin with (+) label) is higher than the voltage at the inverting input ( pin with the (-) label ), the output of the comparator is +5V.

And if the voltage at the noniverting input is lower than the voltage at the inverting input, the output of the comparator is 0V.


Logged
paranz
Technical People
Nuclear Reactor
*****

Pogi/Ganda Points: 167
Offline Offline

Gender: Male
Posts: 4511


1/4W resistor specialist


« Reply #19 on: July 18, 2008, 11:05:12 PM »


Let's assume that the output of the IR sensor is 3.8V/1.5V, as shown below





We need to convert the sensor output to 5V/0V. To do this adjust the potentiometer (R3) so that the voltage at the inverting pin is between the 2 voltage level, and as in the example above, its 2.65V.

When the sensor output is 3.8V, it is higher than 2.65V and the comparator output is 5V.

When the sensor output is 1.5V, it is lower than 2.65V and the comparator output is 0V.

We now have a "clear" 5/0V signal at the comparator output and can be directly connected to a microcontroller input pin.


Logged
The Philippine Electronics and Technology Forum
   

 Logged
Pages: [1] 2 3 ... 30   Go Up
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
line follower mobot
Personal, Academic and Commercial Electronics Projects
superpink99 18 2866 Last post February 24, 2008, 06:20:16 PM
by mhondyhondy
line follower mobot using Z8
Zilog Microcontrollers
aUdie 1 1217 Last post September 28, 2008, 09:25:16 AM
by paranz
ang aking line follower mobot « 1 2 »
Mechatronics and Robotics
mArKhAo 29 4129 Last post January 23, 2011, 12:21:46 AM
by blitzers00
Line Follower Mobot Using PIC16f84a
PIC Microcontrollers
mini_mouse ^_^ 6 654 Last post August 23, 2010, 02:49:12 PM
by DigitalMind
Cruddy - Line Follower Mobot
PIC Microcontrollers
lloydi12345 17 660 Last post September 05, 2011, 07:56:14 AM
by lloydi12345
Sensor for line follower Mobot
Microcontroller/Microprocessor Unit Projects and Programming
blitzers00 2 691 Last post March 04, 2011, 11:41:38 PM
by miss_kalanchuga
differential line follower mobot?
Absolute Beginner Technical Discussion
Rk17 4 100 Last post September 18, 2011, 10:01:19 PM
by zrehtiek/keitherz
Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!