Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
LinkBack Thread Tools Display Modes
Old 30th July 2004, 02:35 AM   (permalink)
Default micromouse sensor

I'm design micromouse sensors (topdown), as the maze is in black lines on white background (not walls).
Currently my circuit is very simple.
However, as my friend suggests I should filter out ambient light, and have no clue about it.

How should I do that filtering?
Attached Images
File Type: jpg simple-sensor.jpg (12.3 KB, 693 views)
banh is offline  
Old 30th July 2004, 03:15 AM   (permalink)
Default

turn off infrered led

take your reading

turn on infrered

take reading2

reading2 - reading = no ambient
spindrah is offline  
Old 30th July 2004, 06:52 AM   (permalink)
Default

Quote:
Originally Posted by spindrah
turn off infrered led

take your reading

turn on infrered

take reading2

reading2 - reading = no ambient
Unfortunately that wouldn't work, the circuit only provides a high or low logic output.

You could try fitting an IR filter over the phototransistor, this will reduce visible light interference. But the best way is to modulate the IR LED, and detect the modulation after the phototransistor - which is how remote controls work, to avoid interference from ambient light.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 30th July 2004, 07:06 AM   (permalink)
Default

ok i didn't realy look at it

i was thinking of reading the photo trans with an A2D pin from the pic

if you are useing a pic that is an easy way to do it

thats what i use on my balanceing bot, to get the distance from the floor
but its also vary sensitive to color change
spindrah is offline  
Old 30th July 2004, 07:13 AM   (permalink)
Default

some suggest pulsing the infrared transmitter ( to save the power instead of always transmitting). Every time we enable the transmitter, wait for a while and read in from the receiver side. At the receiver put a high pass filter to filter out ambient light. I'm not sure how this works, and how to implement it.. Is it that for high pass filter just put a RC circuit ?
banh is offline  
Old 31st July 2004, 02:09 PM   (permalink)
Default

Quote:
some suggest pulsing the infrared transmitter ( to save the power instead of always transmitting).
No, pulsing transmitter is not only to save pwr. It's to make a frequency filter. If you transmit all the time, and outdoor, you may get noises from sunlight, or other IR sources, heats... You transmit at high frequency, you will recieve the right signal. They used to use about 40KHz for IR tx and rx.
falleafd is offline  
Old 1st August 2004, 06:11 AM   (permalink)
Default

thanks
banh is offline  
Old 27th August 2004, 11:08 AM   (permalink)
Default

My connection is the same as above, but at the transmitter side, instead of connecting to GND, i connect to clock.
At the other side, I measure voltage before going through filter.
However as clock frequency increases, p-p voltage measured decreases, and only reach max 5V when about 1Khz clock. Waveform at receiver also is not square.
Any thing wrong with my circuit?
banh is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 11:03 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker