paranz
Technical People
Nuclear Reactor
   
Pogi/Ganda Points: 167
Offline
Gender: 
Posts: 4511
1/4W resistor specialist
|
 |
« Reply #20 on: July 18, 2008, 11:12:32 PM » |
|
Since there are 3 IR transmitter/sensor pairs, we need to use 3 op-amps, 1 for each pair. The most practical is to use an LM324 chip, it has 4 op-amps in a 14-pin DIP package. This is a common chip, available in your local electronics store. Here is the pinout: 
|
|
|
|
|
Logged
|
|
|
|
|
The Philippine Electronics and Technology Forum
|
 |
« Reply #20 on: July 18, 2008, 11:12:32 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
paranz
Technical People
Nuclear Reactor
   
Pogi/Ganda Points: 167
Offline
Gender: 
Posts: 4511
1/4W resistor specialist
|
 |
« Reply #21 on: July 18, 2008, 11:24:12 PM » |
|
Correction to the Figure in Reply # 19" V R3 = (3.8V + 1.5V) / 2 = 2.65V 
|
|
|
|
|
Logged
|
|
|
|
paranz
Technical People
Nuclear Reactor
   
Pogi/Ganda Points: 167
Offline
Gender: 
Posts: 4511
1/4W resistor specialist
|
 |
« Reply #22 on: July 18, 2008, 11:52:56 PM » |
|
Here is the complete sensor circuit  LEFT, MIDDLE, and RIGHT output pins can now be connected to the MCU input pins. You will need 3 MCU input pins. If you have junk opto-mechanical mouse as your source for the IR transmitter/sensor, then you can build this sensor circuit for less than P50. 
|
|
|
|
|
Logged
|
|
|
|
|
|
|
aze
|
 |
« Reply #24 on: July 19, 2008, 08:25:05 AM » |
|
wow sir completo.. thanks po tlga.. gagawin ko na ung sensor.. parang drim come tru.. ehehehe
|
|
|
|
|
Logged
|
|
|
|
paranz
Technical People
Nuclear Reactor
   
Pogi/Ganda Points: 167
Offline
Gender: 
Posts: 4511
1/4W resistor specialist
|
 |
« Reply #25 on: July 19, 2008, 11:41:15 AM » |
|
wow sir completo.. thanks po tlga.. gagawin ko na ung sensor.. parang drim come tru.. ehehehe
your welcome. Post mo naman mga pics pagnabuo mo na 
|
|
|
|
|
Logged
|
|
|
|
|
Lenjei
|
 |
« Reply #26 on: July 19, 2008, 12:33:50 PM » |
|
cge na po help us... hehe
ay sorry po.. nag logout na kasi ko yesterday.. 
|
|
|
|
|
Logged
|
|
|
|
paranz
Technical People
Nuclear Reactor
   
Pogi/Ganda Points: 167
Offline
Gender: 
Posts: 4511
1/4W resistor specialist
|
 |
« Reply #27 on: July 19, 2008, 08:40:00 PM » |
|
may kamahalan din kasi ang sensor na ito. Mas ok pa rin ang IR sensor kasi hindi masyado apektado sa ambient light. Tapos flat ang package nito kaya madaling idikit sa ilalim ng RC car. Mighty bond lang ang gamit or glue ok na
|
|
|
|
|
Logged
|
|
|
|
paranz
Technical People
Nuclear Reactor
   
Pogi/Ganda Points: 167
Offline
Gender: 
Posts: 4511
1/4W resistor specialist
|
 |
« Reply #28 on: July 19, 2008, 09:21:51 PM » |
|
ito ang IR LED and IR sensor sa ilalim ng toy car..  0.5 inch ang separation distance between pairs
|
|
|
|
|
Logged
|
|
|
|
|
Cute_Worm_1983
|
 |
« Reply #29 on: July 20, 2008, 12:38:16 PM » |
|
hehe optical mouse lang pala ok na! thanks sir paranz.
|
|
|
|
|
Logged
|
I love electronicslab.ph
|
|
|
|
aze
|
 |
« Reply #30 on: July 20, 2008, 03:12:53 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
1110000
Gas Turbine

Pogi/Ganda Points: 28
Offline
Gender: 
Posts: 2059
6 yrs ng napa2Xso sa soldern iron at di pa titigil
|
 |
« Reply #31 on: July 20, 2008, 03:26:09 PM » |
|
ang galing kita sa camera mo yung liwanag ng IR led
|
|
|
|
|
Logged
|
E153C51513
|
|
|
1110000
Gas Turbine

Pogi/Ganda Points: 28
Offline
Gender: 
Posts: 2059
6 yrs ng napa2Xso sa soldern iron at di pa titigil
|
 |
« Reply #32 on: July 20, 2008, 03:28:55 PM » |
|
Here is the complete sensor circuit  LEFT, MIDDLE, and RIGHT output pins can now be connected to the MCU input pins. You will need 3 MCU input pins. If you have junk opto-mechanical mouse as your source for the IR transmitter/sensor, then you can build this sensor circuit for less than P50.  expresspcb? 
|
|
|
|
|
Logged
|
E153C51513
|
|
|
|
aze
|
 |
« Reply #33 on: July 20, 2008, 03:33:06 PM » |
|
ang galing kita sa camera mo yung liwanag ng IR led
ou nga po eh... ngulat nga ako hehehe ktang kta ung IR hehehe
|
|
|
|
|
Logged
|
|
|
|
Ate Shey
Administrator
Diesel Generator
   
Pogi/Ganda Points: 138
Offline
Gender: 
Posts: 1984
"E tangi ana koe Hine e hine, E hine e Hoki maira"
|
 |
« Reply #34 on: July 20, 2008, 03:39:30 PM » |
|
sensitive kasi sa infrared ang mga webcams.. by the way you can also use "prepackaged" reflective object sensors from Optek available in RS, Farnell, try niyo din magtanong sa E-Gizmo kung available sa kanila.. magkasama na kasi yung phototransistor at light emitter in one package.. OPB706A  OPB745 
|
|
|
|
|
Logged
|
- Oh Lordy, troubles so hard. Don't nobody know my troubles but God
|
|
|
rdpzycho
Technical People
Solar Power Satellite
   
Pogi/Ganda Points: 466
Offline
Gender: 
Posts: 9160
Perfection is an Illusion
|
 |
« Reply #35 on: July 20, 2008, 04:39:31 PM » |
|
OT: meron din bang distance sensing ang optek? hindi ko maalala sino manufacturer nung distance sensing na balak kong gamitin dati, pero parang ganyan din ang package.
|
|
|
|
|
Logged
|
"Keep on starting, and finishing will take care of itself."
- Neil Fiore
|
|
|
1110000
Gas Turbine

Pogi/Ganda Points: 28
Offline
Gender: 
Posts: 2059
6 yrs ng napa2Xso sa soldern iron at di pa titigil
|
 |
« Reply #36 on: July 20, 2008, 04:58:38 PM » |
|
kung 2 motor 3 wheeled mobot pwedeng walang uC no? 
|
|
|
|
|
Logged
|
E153C51513
|
|
|
Ate Shey
Administrator
Diesel Generator
   
Pogi/Ganda Points: 138
Offline
Gender: 
Posts: 1984
"E tangi ana koe Hine e hine, E hine e Hoki maira"
|
 |
« Reply #37 on: July 20, 2008, 05:04:05 PM » |
|
OT: meron din bang distance sensing ang optek? hindi ko maalala sino manufacturer nung distance sensing na balak kong gamitin dati, pero parang ganyan din ang package.
i am not sure kung meron ang Optek but I think meron ang Vishay ng long range photoreflective switch..
|
|
|
|
|
Logged
|
- Oh Lordy, troubles so hard. Don't nobody know my troubles but God
|
|
|
rdpzycho
Technical People
Solar Power Satellite
   
Pogi/Ganda Points: 466
Offline
Gender: 
Posts: 9160
Perfection is an Illusion
|
 |
« Reply #38 on: July 20, 2008, 05:07:48 PM » |
|
yung nakita ko kasi dati analog ang output. sharp ata or hitachi, hindi ko na maalala. gagamitin ko sana para sa sensing ng layo ng material sa mill para makapag-adjust yung head. pero hindi na natuloy yung project kaya nakalimutan ko na.  @nucleus: yup pwedeng walang MCU. unang mobot ko puro logic gates lang, hindi line following kundi pag bumangga iikot lang. na-corny-han nga ako nung natapos na.  ang maganda lang sa may MCU pwede mong i-optimize yung pag-follow sa line para mabilis matapos ang track.
|
|
|
|
|
Logged
|
"Keep on starting, and finishing will take care of itself."
- Neil Fiore
|
|
|
1110000
Gas Turbine

Pogi/Ganda Points: 28
Offline
Gender: 
Posts: 2059
6 yrs ng napa2Xso sa soldern iron at di pa titigil
|
 |
« Reply #39 on: July 20, 2008, 05:13:47 PM » |
|
logic gates? hehehehe di ba op amp lang yung naiisip ko ganito dalawa yung motor sa likod sa bawat motor isang gulong na tapos yung nasa harap permanent lang na gulong di naliliko bale ang magpapaliko sa kanya pag nag iba ang direction nung isang motor  kung ganun isang lm324 na lang at mga transistors resitors caps na lang ang kailangan  okay ba yun?
|
|
|
|
|
Logged
|
E153C51513
|
|
|
|
The Philippine Electronics and Technology Forum
|
|
|
|
|
|
Logged
|
|
|
|
|