3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Mousebot Revisited

Step 5Layout the design and install the relay

Layout the design and install the relay
«
  • DSCN1279.JPG
  • DSCN1311.JPG
  • DSCN1316.JPG
  • DSCN1323.JPG
  • DSCN0011.JPG
There are quite a few good component layouts for the mousebot. The best layout is probably the one picture on the top of page 100 of vol 2. However this alternate setup pictured below works better on certain mice. I chose to use the standard layout. The circuitry of the mouse will be free formed since there is not much extra room for a pc board.

Once we know where everything will go its time to get to the real work. Set down the relay and solder wires in an X connecting pins 8 to 11 and 6 to 9. (see pin labels on second image)

Then connect pins 1 and 8 with a wire along the side and add stranded wire to leads 8 and 9.

Solder the collector of the transistor (right pin looking at the flat side) to pin 16 and clip the lead short. Then connect the wire we soldered to pin 9 to the emitter (left pin looking at the flat side) leaving a little bit of slack.

Now glue the relay into the case. I have added two clipped leads to act as positive and negative voltage rails which will get rid of some clutter in the motor area. Use your razor knife to strip the shielding from the wire connecting pin 9 and the emitter and solder it to the - voltage rail. Then connect pin 8 to the + voltage rail.
« Previous StepDownload PDFView All StepsNext Step »
21 comments
Jun 8, 2010. 1:23 AMdany_11 says:
this instructable is very cool..i want to try this one..but i have a problem. i had only found a 6v relay and it only has 5 pins..PLEASE I NEED HELP
Jul 22, 2010. 8:56 AMhenrybot says:
the relay is for the backing-up movement of the mouse when it bumps to something so you can use that 5 pin relay for one motor only so instead of the robot backing up, it will just spins 'coz only one motor will reverse, here is my modified diagram of the mousebot. (and the corrected circuitry). i hope this will help you a lot.. Goodluck
Apr 24, 2012. 9:53 AMmr.future11 says:
well i did hav dpdt relay rather than spdt so was wondering how to connect 5 pronge. thank u very much for this.
Jan 21, 2011. 3:15 PMthe science girl says:
can i use a 12vdc relay, or can i use two relays?
Feb 18, 2011. 5:03 PMchristinb says:
The number on the relay is telling you how many volts are required to trigger the switch by sending the voltage through a coil between two pins. If your robot uses a 9VDC battery, then you will need a relay that can be triggered by about 5 or 6 VDC. A standard 9V battery won't trigger a 12VDC relay.

You want one Double Pole Double Throw (DPDT) relay rated for 5VDC or two Single Pole Double Through (SPDT) relays rated for 5VDC.


You can purchase and appropriate 5V DPDT relay from Solarbotics or just read more about how they work on their site. http://solarbotics.com/products/re1/

Hope this helps.


Sincerely,
Christin Boyd
http://robotfun.wordpress.com
Jan 21, 2011. 3:53 PMthe science girl says:
can i use a 6 notch relay? will that change anything?
Oct 9, 2010. 10:23 AMn410gangwar says:
if we dont have an old mouse can i use infrared LEDs instead of what found in mouse ?
Jan 12, 2010. 6:25 AMmagiccowy says:
M-jake seems to have abandoned this instructable can anyone help with which pins are which on the LM386 and the relay Thanks =)
Feb 3, 2010. 6:30 AMahlexys says:
there should be a notch that shows the front of the chip, pin one is to the left of that on the lm386. the relay should have numbers on the underside indicating pin numbers. (well, at least the ones ive seen have.) :
Feb 7, 2010. 1:49 AMmagiccowy says:
Thank you very much
Jan 28, 2010. 1:58 AMmagiccowy says:
sorry for the amount of comments but i add as i find if anyone needs the info pin 1 and 8 are closest to the semicircular mark on one side
Dec 29, 2009. 8:18 AMdany_11 says:

i don't found relay 5 volts
please help me what shal Ido?
 

Aug 6, 2009. 8:41 PMUnreal X says:
one question...is there a wheel in the back or something i skimmed tro this first so i didnt c
Aug 1, 2008. 1:49 PMpobturtle says:
what are those mettle things next to the + and the - sign connected to?
Jun 2, 2009. 9:47 AMArgurios19 says:
positive and negative voltage rails
Feb 23, 2009. 5:25 PMDidrtan says:
Does anyone know if a 5vDC relay will work it has four pins in back and one infront so its basicly all you need as far as pins go any help?
Jan 8, 2009. 6:39 AMvengeance89 says:
this instructable is very cool..i want to try this one..but i have a problem. i had only found a 6v relay and it only has 5 pins..PLEASE I NEED HELP
Jul 11, 2008. 7:03 AMslowslow325 says:
Can I use a 5v SPDT relay?
Oct 20, 2006. 5:22 PMDragos says:
well...it has been usefull. thanks. but, the problem is that there are electronics but not what i need..AUDIO AMP 1X0.33W 6V 0.2%.......AUDIO-AMP 4-12V 0,5W DIP8...
Oct 18, 2006. 11:18 PMkohlious says:
is this something helpful? remember i can't read the language, so don't make fun of me if it's something completely unrelated... : )
http://www.vitacom.ro
Oct 12, 2006. 2:19 PMDragos says:
ok, but i can't find it in some stereos or anything like that because i am from romania and it would take some time to get here
Oct 10, 2006. 4:18 PMkohlious says:
the site said two weeks for delivery but i swear it was at my house in like 4 days.
Oct 9, 2006. 5:17 AMDragos says:
where i can find the relay and the LM386 op-amp.
May 27, 2006. 9:12 PMrobotix says:
Oh I see it's the LM386 op-amp.
May 27, 2006. 9:10 PMrobotix says:
Where did the chip come from?

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
37
Followers
5
Author:m_jake