Shop OBEX P1 Docs P2 Docs Learn Events
I need your help please — Parallax Forums

I need your help please

MaxoupicMaxoupic Posts: 4
edited 2012-03-29 18:00 in Accessories
Hi,

I'm a french student and I need your help.
I want to know if I can program my PING)) Sensor with FLOWCODE ?
If I can, can you help me in order to do it ?

Thanx

Comments

  • PublisonPublison Posts: 12,366
    edited 2012-03-29 13:04
    Maxoupic wrote: »
    Hi,

    I'm a french student and I need your help.
    I want to know if I can program my PING)) Sensor with FLOWCODE ?
    If I can, can you help me in order to do it ?

    Thanx

    I am not sure which microcrontroller you are using, but there are a lot of resources on the lower right of the product page:

    PING Resourses.JPG


    We can go from there.

    Jim


    EDIT:I am not familiar with FLOWCODE.
    512 x 384 - 26K
  • MaxoupicMaxoupic Posts: 4
    edited 2012-03-29 13:10
    I use an ECIO 28P from Matrix multimedia : http://www.matrixmultimedia.com/product.php?Prod=ECIO28P&PHPSESSID=
    But I can't open the resource! What software should I use?

    Sorry for my bad english ! :( But I hope you understand it !

    EDIT : I've find the software but I want to use FLOWCODE !

    I am currently developing a line follower robot able to stop when an obstruction is less than 50 cm of him.
    For the detection of the obstacle, I use the PING)) Parallax.

    EDIT 2 : Is it possible to adapt a bs2 program on FLOWCODE ?
  • Mike GreenMike Green Posts: 23,101
    edited 2012-03-29 13:35
    We can't help you with the ECHO 28P or with FLOWCODE. Sorry.

    The PING))) is easy to use with almost any microcontroller that can generate +5V pulses on the order of 5-10us then measure the width of pulses on the order of 100us to 20ms on the same I/O pin. I'm sure the ECHO can do that, but I wouldn't be able to tell you how to do it. The PING))) documentation has a good description of how to use the PING))).

    There's plenty of sample code available on Parallax's website for using the PING))) with any of their microcontrollers like the Stamps or the Propeller and there's sample code for the Arduino available on the Arduino website. This website also has sample code for the Stamp, Propeller, and Arduino.
  • MaxoupicMaxoupic Posts: 4
    edited 2012-03-29 13:40
    So if I understand, if I succeed to do a 5-10us pulse and read the width of pulses with FLOWCODE,I can use the PING)) ??

    And if I use C code in flowcode, does it work ?
  • PublisonPublison Posts: 12,366
    edited 2012-03-29 13:50
    Maxoupic wrote: »
    I use an ECIO 28P from Matrix multimedia : http://www.matrixmultimedia.com/product.php?Prod=ECIO28P&PHPSESSID=
    But I can't open the resource! What software should I use?

    Sorry for my bad english ! :( But I hope you understand it !

    EDIT : I've find the software but I want to use FLOWCODE !

    I am currently developing a line follower robot able to stop when an obstruction is less than 50 cm of him.
    For the detection of the obstacle, I use the PING)) Parallax.

    EDIT 2 : Is it possible to adapt a bs2 program on FLOWCODE ?

    I do not think you will find many people on these Parallax forums familiar with FLOWCODE, as it, and the ECIO are not Parallax products.

    This timing diagram should get you started.

    PING Timing.JPG


    Jim
    1024 x 768 - 109K
  • MaxoupicMaxoupic Posts: 4
    edited 2012-03-29 13:55
    Ok, i will try ! Thanx for help but if someone can more help me, I ok !!
  • prof_brainoprof_braino Posts: 4,313
    edited 2012-03-29 18:00
    Can you switch to a different micro controller?

    The Propeller QuickStart board is about the same price as the one you linked.
    The Quickstart can use all the Prop example code, and lots of folks here will be able to help you then.
Sign In or Register to comment.