Shop OBEX P1 Docs P2 Docs Learn Events
Need some help With Bs2 OEM/Sumo Bot — Parallax Forums

Need some help With Bs2 OEM/Sumo Bot

Kd7laxKd7lax Posts: 42
edited 2005-08-24 22:30 in BASIC Stamp
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 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- Devoted to ham radio

Comments

  • dandreaedandreae Posts: 1,375
    edited 2005-08-13 13:59
    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
    Http://www.parallax.com



    Post Edited (Dave Andreae (Parallax)) : 8/13/2005 1:58:38 PM GMT
  • Kd7laxKd7lax Posts: 42
    edited 2005-08-13 19:13
    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- Devoted to ham radio
  • dandreaedandreae Posts: 1,375
    edited 2005-08-13 23:12
    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
    Http://www.parallax.com

    ·
  • Kd7laxKd7lax Posts: 42
    edited 2005-08-14 23:07
    I am using a home built chassis ( aluminum ) ... doesn't look perty but it works [noparse]:)[/noparse]

    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 [noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Visit my website @ www.kd7lax.com- Devoted to ham radio
  • Kd7laxKd7lax Posts: 42
    edited 2005-08-16 01:24
    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- Devoted to ham radio
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-08-16 03:10
    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
  • Kd7laxKd7lax Posts: 42
    edited 2005-08-24 20:22
    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- Devoted to ham radio

    Post Edited (Kd7lax) : 8/24/2005 8:44:37 PM GMT
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-08-24 22:21
    Have you checked out our Sumo Manual?· It could give you some pointers with that.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2005-08-24 22:30
    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
Sign In or Register to comment.