Shop OBEX P1 Docs P2 Docs Learn Events
Arduino`s with hcsr04 amateur — Parallax Forums

Arduino`s with hcsr04 amateur

RafalRafal Posts: 2
edited 2012-03-13 03:59 in General Discussion
Hello All

I would like to program an Arduino board.I have the hcsr04 distatnce sensor
mounted on servo 180 degree . I would like to build sonar which will looking for
free area to drive the car`s model . The drive will support by two servo`s hacked on 360 degree.I need
that solve to school project.


I Can show which i have ,but I need Yout help,please.

I`m sorry for not posted on right topic

B/R

Rafal from Poland

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2012-03-12 09:39
    This is a support forum for Parallax products. Neither the HCSR04 distance sensor nor the Arduino are Parallax products, so we can't help you much. Parallax's PING))) distance sensor is similar, but not at all the same as the HCSR04. You might be able to get some ideas from looking at the documentation for the PING. There is a sample program called Roaming with the PING and that may be useful. These examples are programmed in Parallax Basic for the Stamps or in Spin for the Propeller. Neither are at all like the Arduino's C, but the programs should be fairly easy to understand. You might also look on the Arduino forums. There's quite a bit of information on using the PING with the Arduino.
  • Martin_HMartin_H Posts: 4,051
    edited 2012-03-12 09:50
    Read this article which contains a section on the Arduino: http://letsmakerobots.com/node/30209
  • RafalRafal Posts: 2
    edited 2012-03-13 03:59
    Thanks for fast reply .I try do that from yesterday and maybe i have what I need . I have to add additional pin at InPin HCSR04 , the PING )) sensor have only one.

    B/R
    Rafal
Sign In or Register to comment.