Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
SRF05 Sonar Code — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
Robotics
SRF05 Sonar Code
AIman
Posts:
531
2006-09-12 21:24
edited 2006-09-13 17:00
in
Robotics
I am looking for code for the SRF 05 Sonar Range Finder. Does anyone know how to code it in? I don't mean code in the entire program, I mean get the distance and/or
·
object edge
·
data from the sonar.
Any help would be greatly appreciated.
Comments
scary_bot
Posts:
32
2006-09-13 09:02
edited 2006-09-13 09:02
Are you wanting to use it on one, or two pin mode? In two pin mode it is the same as the srf04, of wich there is an article in nuts and bolts.
Tronic (Greece)
Posts:
130
2006-09-13 11:29
edited 2006-09-13 11:29
I use the following code in my srf05 sonar in single pin mode:
Thanos
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greekbotics: Greek Robotics Forum
(Translate it using
Babelfish
)
bs2
bs2
SRF05 sonar.bs2
356B
SRF05 sonar.bs2
356B
AIman
Posts:
531
2006-09-13 17:00
edited 2006-09-13 17:00
Thanks Tronic. Thats exactly what I was looking for down to the single pin option.
·········
·
Sign In
or
Register
to comment.
Comments
Thanos
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greekbotics: Greek Robotics Forum
(Translate it using Babelfish)
········· ·