Ultrasonic sensor

 An ultrasonic sensor measures distance by emitting ultrasonic sound waves and then detecting the reflected sound (echo) when it bounces back from an object.


"This is an ultrasonic sensor module. If we talk about its pins, there are four pins here. You can see two connections that look like speakers, but they are not actually speakers. These are ultrasonic sensors that work based on sound waves.

If you know how a whale or a bat operates, they have eyes, but they cannot see clearly. So, they emit a sound. After sending out this sound signal, it reflects back from whatever object is in front of them, and the sound returns to them. Their ears detect this returning sound and help them understand the distance and position of objects around them. This is how they navigate and fly or swim.

The ultrasonic sensor module works on this very same principle. Our submarines use this technology, and whales operate in a similar way. They rely on sound waves to detect objects around them based on distance."

"यह एक अल्ट्रासोनिक सेंसर मॉड्यूल है। अगर हम इसके पिन्स की बात करें, तो यहाँ चार पिन होते हैं। आप देख सकते हैं कि इसमें दो कनेक्शन स्पीकर जैसे दिखते हैं, लेकिन ये स्पीकर नहीं हैं। ये अल्ट्रासोनिक सेंसर हैं, जो साउंड वेव्स पर काम करते हैं।

अगर आपको पता हो कि व्हेल मछली या चमगादड़ कैसे काम करते हैं, तो उनकी आँखें होती हैं, लेकिन वे सही से देख नहीं पाते। इसलिए, वे एक आवाज निकालते हैं। उस आवाज का सिग्नल जब फेंकते हैं और जितनी दूरी पर कोई चीज होती है, वह आवाज टकराकर उनके पास वापस आती है। उनके कान उस आवाज को सुनकर यह समझ जाते हैं कि कितनी दूरी पर और कितने अंतराल पर कोई चीज है। इसी तरीके से वे उड़ने या तैरने का काम करते हैं।

अल्ट्रासोनिक सेंसर मॉड्यूल भी इसी तकनीक पर काम करता है। हमारी पनडुब्बियाँ भी इसी आधार पर चलती हैं, और व्हेल मछली भी इसी प्रकार से काम करती है। वे साउंड वेव्स के माध्यम से वस्तुओं की दूरी और स्थान का पता लगाते हैं।"

Explanation of 4 pins in an ultrasonic sensor:

  • VCC: This is the 5-volt pin, where we supply 5V to power the sensor.
  • GND: At the end, we have the GND pin, which is used for the negative connection (ground).
  • Trig (Trigger Pin): This is our output pin. We send an output signal through this pin to trigger the sensor, which emits an ultrasonic sound wave.
  • Echo: This is the input pin. It is responsible for receiving the signal that was reflected back from the object. The transmitter sends out the sound signal, and when it hits an object, the receiver captures the reflected signal. The time difference between sending and receiving the signal is used to calculate the distance.

How It Works: When the trigger pin sends out the ultrasonic wave, the signal travels, hits an object, and returns to the receiver. The sensor calculates the time taken for the signal to return, and using this time, it determines the distance to the object.

This technology is simple but powerful, as it allows the sensor to detect objects even without visual input. It’s widely used in applications like robotics, parking sensors, and obstacle detection.

अल्ट्रासोनिक सेंसर के 4 पिन्स:

  • VCC: यह 5 वोल्ट पिन है, जिसमें सेंसर को चलाने के लिए 5 वोल्ट सप्लाई किया जाता है।
  • GND: आखिरी में GND पिन होती है, जो निगेटिव कनेक्शन (ग्राउंड) के लिए होती है।
  • Trig (ट्रिगर पिन): यह हमारी आउटपुट पिन है। इस पिन से हम एक आउटपुट सिग्नल भेजते हैं, जो सेंसर को ट्रिगर करता है और वह अल्ट्रासोनिक साउंड वेव छोड़ता है।
  • Echo (इको): यह हमारी इनपुट पिन है। यह उस सिग्नल को रिसीव करने का काम करती है जो वस्तु से टकराकर वापस आता है। ट्रांसमीटर साउंड सिग्नल छोड़ता है और जब वह किसी वस्तु से टकराकर वापस आता है तो रिसीवर उसे पकड़ लेता है। ट्रांसमीटर द्वारा सिग्नल छोड़ने और रिसीवर द्वारा उसे प्राप्त करने के बीच जो समय का अंतर होता है, उसी से दूरी की गणना की जाती है।

कैसे काम करता है: जब ट्रिगर पिन अल्ट्रासोनिक वेव छोड़ती है, तो सिग्नल चलता है, किसी वस्तु से टकराता है और फिर रिसीवर के पास वापस आता है। सेंसर उस समय को मापता है जो सिग्नल को वापस आने में लगता है, और उसी से वस्तु की दूरी का पता लगाया जाता है।

यह तकनीक सरल होने के बावजूद बहुत प्रभावी है, क्योंकि यह सेंसर बिना दृश्य इनपुट के भी वस्तुओं का पता लगा सकता है। इसका उपयोग रोबोटिक्स, पार्किंग सेंसर, और बाधा का पता लगाने जैसे क्षेत्रों में किया जाता है।

Comments

Popular posts from this blog

Trading Live Advance Chart Source code HTML CSS & JS

How to show live Cryptocurrency Price In your website Using HTML CSS, AND JavaScript

Learn Python 2024 by gaurav tripathi