Changes between Version 7 and Version 8 of ControlSystems/Electrical/Training/Arduino/Lesson5


Ignore:
Timestamp:
Oct 20, 2015, 8:35:47 PM (10 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/Electrical/Training/Arduino/Lesson5

    v7 v8  
    1313To see what happens when capacitors are used incorrectly, watch this [https://youtu.be/sW0a9d_vWoc video]
    1414
     15Other problems: The ultrasonic pulses emitted by your sensor will bounce off any objects they encounter, resulting in echoes reaching your sensor from many directions (not just from the objects directly in front of the sensor).  The sensor essentially consists of a speaker that emits the ultrasonic pulses and a microphone that receives the echoes and converts them to electrical signals.  If you want your sensor to be more directional and only hear things directly in front of it, you can use a tube of paper or cardboard in front of your sensor to deflect echoes coming at it from the sides.  Doing this properly can be complex (see an [http://mail.blockyourid.com/~gbpprorg/mil/shotgun/Super_Directional_Microphone.pdf example here] or some other [http://mail.blockyourid.com/~gbpprorg/mil/shotgun/Build_the_Shotgun_Sound_Snooper.pdf retro designs].
     16
    1517**Exercise**: Use your arduino to trigger the ultrasonic module and convert the resulting pulse duration into a distance; change the blink rate of your LED based on the distance to the target (faster=closer).
    1618