User Tools

Site Tools


oak:tutorials:ultrasonic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
oak:tutorials:ultrasonic [2016/07/29 20:34]
pfeerick typo
oak:tutorials:ultrasonic [2017/01/10 00:04] (current)
Rover#18 [Components] cross-referencing to tutorial for HC-SR04
Line 5: Line 5:
 {{http://​digistump.com/​wiki/​_media/​oak/​tutorials/​us-100_ultrasonic_2.png?​500}} {{http://​digistump.com/​wiki/​_media/​oak/​tutorials/​us-100_ultrasonic_2.png?​500}}
  
-In this lesson, we will connect an ultrasonic sensor to the Oak. An ultrasonic sensor, using the properties of sound, not only detects an object, but also how far away the object is. The sensor generates a high frequency sound, then listens for an echo received back to the sensor. The time interval from send to receive allows you to calculate the distance.+In this lesson, we will connect an ultrasonic sensor to the Oak. An ultrasonic sensor, using the properties of sound, not only detects an object, but also detects ​how far away the object is. The sensor generates a high frequency sound, then listens for an echo received back to the sensor. The time interval from send to receive allows you to calculate the distance.
  
 ===== Components ===== ===== Components =====
Line 16: Line 16:
  
  
-**Note:** The HC-SR04 sensor is __**NOT**__ being used in this tutorial as it uses 5v. Instead a US-100 sensor, which operates from 3v - 5v is used. +**Note:** The HC-SR04 sensor is __**NOT**__ being used in this tutorial as it uses 5v. Instead a US-100 sensor, which operates from 3v - 5v is used.  However, two methods for connecting the more common HC-SR04 range sensor are provided in a separate tutorial, [[https://​digistump.com/​wiki/​oak/​tutorials/​ultrasonic_2|here]].
  
 Particle.publish will be used to send the sensor data to the cloud. To view the data, you will need your free Particle account. You most likely created one when you first set up your Oak. If you don't have one already get yours here: [[https://​build.particle.io/​signup]]. Particle.publish will be used to send the sensor data to the cloud. To view the data, you will need your free Particle account. You most likely created one when you first set up your Oak. If you don't have one already get yours here: [[https://​build.particle.io/​signup]].
oak/tutorials/ultrasonic.1469849659.txt.gz · Last modified: 2016/07/29 20:34 by pfeerick