View Single Post
  #3   Spotlight this post!  
Unread 27-01-2017, 10:56
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,926
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: HC-SR04 Ultrasonic Distance Sensor wiring and programming

LabVIEW has an example of how to use this sensor. It comes in the FRC Update package if you install LabVIEW.
You could use that as a guide and port the example to Java.
Attached Thumbnails
Click image for larger version

Name:	SRF04 Example.jpg
Views:	22
Size:	77.8 KB
ID:	21630  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote