User Tools

Site Tools


workshops:arduino_for_the_curious:stage_5

Differences

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

Link to this comparison view

Last revisionBoth sides next revision
workshops:arduino_for_the_curious:stage_5 [2017-04-05 12:52] – external edit 127.0.0.1workshops:arduino_for_the_curious:stage_5 [2017-04-10 11:29] Simon
Line 9: Line 9:
 {{workshops:ultrasound-theory.png}} {{workshops:ultrasound-theory.png}}
  
-The distance can be calculate using the simple physics formula+The distance can be calculated using the simple physics formula:
  
-Distance = Speed of Sound in Air x Time      +''Distance = Speed of Sound in Air x Time''
  
 As the ultrasound travels from the transmitter to the object and back again the result needs to be divided by 2. As the ultrasound travels from the transmitter to the object and back again the result needs to be divided by 2.
Line 42: Line 42:
   *  Upload the Sketch to your Arduino and open the serial console, you should see a distance measurement output every second.        *  Upload the Sketch to your Arduino and open the serial console, you should see a distance measurement output every second.     
  
-| {{workshops:challenge_yourself.jpg?200x0}}| **Intermediate****(1)** Make a parking guide that switches on a LED when a object gets closer than 10cm to the sensor.**(2)** Change the parking guide to change the tone of the buzzer based on the distance from an object.**Harder****(3)** Build a water depth gauge that will sound an alarm when the water reaches over 90% of the container capacity. |+| {{workshops:challenge_yourself.jpg?200x0}}| **Intermediate** \\ **(1)** Make a parking guide that switches on a LED when a object gets closer than 10cm to the sensor. \\ **(2)** Change the parking guide to change the tone of the buzzer based on the distance from an object. \\ \\ **Harder** \\ **(3)** Build a water depth gauge that will sound an alarm when the water reaches over 90% of the container capacity. |
  
  
workshops/arduino_for_the_curious/stage_5.txt · Last modified: 2017-04-10 11:31 by Simon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki