Shop OBEX P1 Docs P2 Docs Learn Events
Ping kit for Stingray — Parallax Forums

Ping kit for Stingray

sailman58sailman58 Posts: 162
edited 2010-01-29 06:28 in Robotics
Parallax has come out with what I believe is the first sensor kit for the Stingray. Every now and then it appears on the Parallax home page, but then disappears. If you look hard, you can find it by searching for Stingray ping. The best part of the kit is that it includes all of the hardware needed to place a Ping on each of the front three panels.

Way to go Parallax!

Ron

Comments

  • dandreaedandreae Posts: 1,375
    edited 2009-12-15 16:12
    Here is a link for the Ping kit regarding the Stingray:

    http://www.parallax.com/Store/Robots/AllRobots/tabid/755/ProductID/620/List/0/Default.aspx?SortField=ProductName,ProductName

    Dave



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

    Parallax Tech Support·
  • HenrymouHenrymou Posts: 128
    edited 2009-12-15 20:36
    Yeah I wish I had that much money haha
  • ercoerco Posts: 20,256
    edited 2009-12-15 22:39
    Guess that makes it the "Ping-Ray" kit...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."
  • WhitWhit Posts: 4,191
    edited 2009-12-16 19:20
    erco said...
    Guess that makes it the "Ping-Ray" kit...
    OUCH! smilewinkgrin.gif Painfully bad...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • wyzard28wyzard28 Posts: 24
    edited 2010-01-27 16:28
    Has anyone gotten the sample code to work on their Stingray? Half the demo code is extraneous and the other half needs a thorough de-confusing (for example using statements like
    IFNOT Speed & $80_00_00_00 when it could be written IMHO much more understandably as: If Speed >= 0.) Anyway, when I ran this on my Stingray, I pointed it down a wide hall, and all I
    got was a counterclockwise (widdershins?) circle until I lost patience and shut 'er off. I have a feeling some of the control values need tweeking...I will persist.
  • Roy ElthamRoy Eltham Posts: 3,000
    edited 2010-01-27 16:47
    I had this same problem when I first tried the demo code for the Pings for Stingray. I had one of my motors connections reversed, once I fixed that the code worked as is from the website.

    Also, I think it might be written the way it is to be a little faster?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Check out the Propeller Wiki·and contribute if you can.
  • WhitWhit Posts: 4,191
    edited 2010-01-29 01:24
    Roy Eltham said...
    I had this same problem when I first tried the demo code for the Pings for Stingray. I had one of my motors connections reversed, once I fixed that the code worked as is from the website.
    Roy,

    You may want to check your wiring. I had the same problem. I checked it out with Chirs Savage who said the code was written for an earlier version of the Stingray where the Left Motor wiring was reversed.

    The Left Motor spins backward in this version of the code when it should be spinning forward. Changing the wiring on the Left Motor will fix the Stingray with this code only. To share future code with others, you may encounter new problems if you reversed the wiring on your Left Motor.

    If you check the function of your motors with the code in the Stingray documentation and the wiring diagram, I think you will find that it works correctly as printed.

    The error is in the Ping))) for Stingray code as currently written. Chris said he thought a fix was coming. I meant to post this but I have been pretty busy. I haven't gotten into the code myself for try and fix it yet, or I would give you some suggestions.

    Let me know what you find out...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney

    Post Edited (Whit) : 1/29/2010 1:30:31 AM GMT
  • Roy ElthamRoy Eltham Posts: 3,000
    edited 2010-01-29 04:44
    Whit: I did really have my motor wired backwards when I first built it. I was in a hurry to make it go! [noparse]:)[/noparse] After it went, but only in circles, I checked everything, and used the motor test code to verify the wheels were turning in the correct directions based on the truth table in the documentation. After that the ping demo software from the site worked correctly. I think the demo software on the site for the Ping))) kit may have been updated to be correct for the final Stingray setup.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Check out the Propeller Wiki·and contribute if you can.
  • WhitWhit Posts: 4,191
    edited 2010-01-29 06:28
    Thanks Roy! I will try it again.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Whit+


    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
Sign In or Register to comment.