Ultrasonic Sensors and Interfacing with Evive

ultrasonic sensor with evive n.w
1 / 17
Embed
Share

Learn about ultrasonic sensors, how they work, and how to connect them to Evive for distance measurement projects. Explore the circuit diagrams and activities to display distance data using PictoBlox software.

  • Ultrasonic Sensors
  • Evive
  • Distance Measurement
  • PictoBlox
  • Circuit Diagrams

Uploaded on | 1 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Ultrasonic Sensor with evive

  2. What is Ultrasonic Sensor? 2

  3. Ultrasonic Sensor An ultrasonic sensor is a device that detects an object and measures the distance to it. It measures the distance by emitting ultrasound and receiving the wave that the object reflects. 3

  4. Ultrasonic Sensor By recording the time elapsed between the sound wave being generated and the sound wave bouncing back, it is possible to calculate the distance between the sensor and the object. 4

  5. Distance Calculation Formula The distance can be calculated with the following formula: Distance L = 1/2 T C Where Lis the distance, Tis the time between the emission and reception, and Cis the sonic speed. (The value is multiplied by 1/2 because T is the time for go- and-return distance.) 5

  6. Connecting Ultrasonic Sensor to evive 6

  7. Ultrasonic Sensor The HC-SR04 Ultrasonic Module has 4 pins: VCC Trig Echo Ground (GND) The Ground (GND) and the VCC pins of the module must be connected to the Ground and the 5V pins oneviverespectively and the Trig and Echo pins to any 2Digital I/O pins. 7

  8. Circuit Diagram Connect the Trig Pin of Ultrasonic sensor to digital pin 2. Connect the Echo Pin of Ultrasonic sensor to digital pin 3. 8

  9. Activity 1: Displaying the distance on the evive 9

  10. Interfacing evive with PictoBlox Connect evive to your laptop/PC and open PictoBlox. In PictoBlox, go to the menu and click on the Boards Select the evive. 10

  11. Interfacing evive with PictoBlox Once you ve selected the board, click on the Connect tab and connect the board. 11

  12. Blocks Get ultrasonic sensor distance (cm) trig () echo () blockis a reporter block available in sensors extension. The block reports the distance of the nearest object from an ultrasonic sensor. It returns distance in cm. The trigger pin and echo pin are connected to a digital pin of evive which can be selected from the drop-down menu. 12

  13. PictoBlox Program In this program we are displaying the distance in cm on the evive display. Run the script. 13

  14. Activity 2: Distance Alarm System 14

  15. Distance Alarm System In this Distance Alarm System, we will notify the user the distance of the object by changing the sound. This can be used by blind people or by someone who is parking the car. When the distance gets closer to 150 cm, evive buzzer will make a low pitch sound. When the distance is between 100 to 150 cm, it will increase the pitch. When the distance is between 50 to 100 cm, it will increase the pitch even more. When the distance is less than 50, it will have maximum pitch. Try to code this yourself first. 15

  16. Distance Alarm System 16

  17. 17

More Related Content