I need your help please
Maxoupic
Posts: 4
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'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
I am not sure which microcrontroller you are using, but there are a lot of resources on the lower right of the product page:
We can go from there.
Jim
EDIT:I am not familiar with FLOWCODE.
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 ?
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.
And if I use C code in flowcode, does it work ?
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.
Jim
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.