[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 1014: Undefined array key 3
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4130: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3009)
RobotWars101 • Object Detection Circuit
Page 1 of 1

Object Detection Circuit

Posted: Wed May 18, 2011 12:16 pm
by alasdair
Hi

I am looking for a simple object detection circuit for a micromouse. It will have two wheels constantly going forwards, but I will have a sensor sticking out the side to sense if there is a wall (it will automatically be able to turn right due to the body shape) but it will need to have a sensor on the left (if there is a left turn).

Can anyone help me with this?

I will expand later but I g2g as I am at school (lunch is ending!!!)

Re: Object Detection Circuit

Posted: Wed May 18, 2011 3:01 pm
by Andrew_Hibberd
The simplest idea is a feeler that bends when you hit the wall. If this bends into a pin you can use that as an input to turn you. Or you could use a micro-switch with a longer arm on it.

If you want something more advanced a short range IR sensor would work. You can do very complicated things but are probably not necessary.

Re: Object Detection Circuit

Posted: Wed May 18, 2011 3:21 pm
by alasdair
That sounds like a good plan.

How would I design the pcb? It basically needs to have the left and right motor going constantly forward (with the right motor going slightly faster(a variable resistor will sort that))
and a push to break microswitch, which when broken needs to make the left motor go backwards.

Any ideas? I dont think it needs a picaxe or anything of the sort.

Re: Object Detection Circuit

Posted: Wed May 18, 2011 5:23 pm
by daliad100
You could have a pair of micro switches rigged as an h bridge for the left motor set up to reverse when the switches are pressed.

Alternatively there is a circuit that allows motor reversal and speed control just using a potentiometer which you could reconfigure for this purpose. I'll see if I can make something work and post a circuit diagram if you want.

Re: Object Detection Circuit

Posted: Thu May 19, 2011 7:52 am
by Andrew_Hibberd
If you are looking for really simple stuff you can use a micro switch and a double pole double throw relay. When the micro switch presses it can be used to reverse the direction of one motor. A while a go I build a sumo bot from just relays, it was a nightmare and didn't work on the day and no circuit board needed.