Shop OBEX P1 Docs P2 Docs Learn Events
incorporating sensors into a BS1/First Step Mini-Sumo — Parallax Forums

incorporating sensors into a BS1/First Step Mini-Sumo

ArchiverArchiver Posts: 46,084
edited 2002-11-19 00:01 in General Discussion
> >
> > Recently, my 12 year old son and I bought several distance
> > and line sensors to add to our bots. They arrived fast and in
fine
> > shape but there was nothing with them to tell us how to
incorporate
> > them into our bots and programs. Unfortunately, we're kinda
> ignorant
> > when it comes to electronics and programs, etc and we wonder if
> > someone(or two or three,etc) on this board might help us out so
> that
> > we can put them to use. We do have a working mini-sumo with a
> single
> > line sensor unit properly connected which we built and a program
> > which we know how to tweak but did not write, so we know a
little.
> > We've searched the Internet high and low as well as some books
and
> > manuals we've accumulated but can't find the "how to's" which are
> our
> > questions. Could you please help or direct us to the answers?
> >
> > Our mini-sumo robots use the Parallax PIC16c56 xp/t basic
> > stamp 1 chip. The chip is part of the first step kit from
> lynxmotion
> > which is the brain of our mini-sumo's and we want to add some ir
> > distance sensors and some new line sensors to our bots. We have
the
> > following ir distance sensors: 2 Sharp gp2y0a02yk, 2 sharp
gp2b02,
> > and 2 sharp gp2d12. For line sensors we have 4 Fairchild qrb1134
ir
> > photoreflectors. Our desire is to put 2 of the distance sensors
on
> > each bot to enable them to see other bots, and to put 2 line
> sensors
> > on each bot. Now for the "how to" questions: Does the bs1 chip
have
> > enough pins and capacity to handle 4 sensors-2 distance and 2
line?
> I
> > think so but I don't now how to connect the 2 line sensors so
they
> > get power as it seems there is only one pin set for this. But if
> not,
> > what do you do, because I have read of mini-sumo's using bs1
chips
> > that have 4 or even more sensors? And how do you connect the ir
> > distance sensors so they get power? And do you have to add in
> diodes
> > and resistors or other things, and if so what specifically? Then
> how
> > do you incorporate these into the program. Is the answer
different
> > for each type of ir sensor?
> >
> > I know this might be asking a lot, but any help anyone can
> > give would be much appreciated. I would be happy to call anyone
at
> > their convenience on my nickel. I find talking generally works
> better
> > than e-mail for this kind of stuff. I would be surprised if my
> > questions have begged a number of other questions that you need
> the
> > answers to before you can respond.
> >
> > Thanks a lot for your help. kbf
Sign In or Register to comment.