PDA

View Full Version : Need some help With Bs2 OEM/Sumo Bot



Kd7lax
08-13-2005, 12:46 PM
Hi guys!
well I am now making a board to hold my bs2 and press buttons/connectors for servo's and battery etc. I am using Proto Board to do this, but I am having some trubble deciding what I/0 pins to use with what.. because I think I am going to have to use some ones mini sumo bot program ( because the guy who was going to help me program mine decided to make something eles with his bs2 oem) so if I use a premade program .. all of the pin configurations will be messed up.. and I just don't know what to do.

It's like I need some one to tell me what I/0 pins to use with what... and then give me a program to match http://forums.parallax.com/images/smilies/tongue.gif ... I think I am in over my head with out my programmer but I still want to finish building my mini-sumo.

If some one could help me out that would be great!

thanks guys!
_Mike_kd7lax

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit my website @ www.kd7lax.com (http://www.kd7lax.com)- Devoted to ham radio

dandreae
08-13-2005, 09:59 PM
I think it would be best to take this project one step at a time.· Go ahead and make a list of the components and devices·that you have.· Then figure out what type of functions that you want your robot to perform and list here in the forums.· This will help us to decide what I/O pins to use for each device.· There are plenty of sample codes that are already written for most devices, such as servos, infrared detection and so forth.

Dave


▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae

Tech Support
dandreae@parallax.com (mailto:dandreae@parallax.com)
http://www.parallax.com



Post Edited (Dave Andreae (Parallax)) : 8/13/2005 1:58:38 PM GMT

Kd7lax
08-14-2005, 03:13 AM
Ok,
I have the fallowing:
(2) QTI sensors ( they will be looking for the white line around the edge of the sumo Ring)
(2) Infared transmitters and Recievers ( to locate the other robot)
(2) Servo's
(1) Push botton ( for the 5 seconde Delay and power up)

Hmm thats all I can think of that runs off of the I/O pins.

As far as functions that i want it to preform:

To sence the white line on the sumo-bot ring and move away when it does.
Sence the other robot and rush forward when it does.
And when it does not sence a robot it will move in some sort of pattern on the sumo ring. (Eg, when ever it hits a white edge it takes a right turn.)

I think thats what I need it to do .

Let me know what you guys think !
-Kd7lax

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit my website @ www.kd7lax.com (http://www.kd7lax.com)- Devoted to ham radio

dandreae
08-14-2005, 07:12 AM
Your list of components is just like our Sumo-Bot.· I suggest you download the Sumo-Bot text from this link:· http://www.parallax.com/detail.asp?product_id=27400·.· This will be very similar to what you are doing, the major difference is the board that you are using.· What type of chassis are you using?

Dave

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae

Tech Support
dandreae@parallax.com (mailto:dandreae@parallax.com)
http://www.parallax.com

·

Kd7lax
08-15-2005, 07:07 AM
I am using a home built chassis ( aluminum ) ... doesn't look perty but it works :)

Hmm ok I will try that manual..
Also I am going to buy the sumo bot tires... I was going to build my own but it looks like it will save me some trubble to buy them :)

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit my website @ www.kd7lax.com (http://www.kd7lax.com)- Devoted to ham radio

Kd7lax
08-16-2005, 09:24 AM
OK I am a bit confused about the QTI sensors?
The "b" connects to the Vss The "r" connects to pin 9 and the "W" connects to pin 10, but what If I have 2 Qti sensors? do they both use the same I/0 pins? or are they seperate?
IF seperate what pins should I hook the seconde one up to?
thanks
Mike

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit my website @ www.kd7lax.com (http://www.kd7lax.com)- Devoted to ham radio

Chris Savage
08-16-2005, 11:10 AM
Hello,

·· You can connect the R and W pins to different I/O pins for additional sensors.· The B lines all go to Vss.



▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com (mailto:csavage@parallax.com)

Kd7lax
08-25-2005, 04:22 AM
OK,
so now how do I hook up my IR Emmiters and detectors?
Also where should my QTI sensors be? on the scoop or before it?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit my website @ www.kd7lax.com (http://www.kd7lax.com)- Devoted to ham radio

Post Edited (Kd7lax) : 8/24/2005 8:44:37 PM GMT

Chris Savage
08-25-2005, 06:21 AM
Have you checked out our Sumo Manual?· It could give you some pointers with that.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com (mailto:csavage@parallax.com)

Ryan Clarke
08-25-2005, 06:30 AM
The further out from the scoop your QTIs are the more a 'tilt' on bots hitting/pushing will effect their ability to sense (and save the robot)-

Putting them 'under' the scoop accomplishes two things:

1. it casts a 'shadow' over their area, making them function better
2. puts them closer to the wheel so that tilts aren't so disruptive to their reading (lifting up)

Ryan

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ryan Clarke

Parallax Tech Support
rclarke@parallax.com (mailto:rclarke@parallax.com)