Grove – Ultrasonic Ranger 超音波測距模組 距離探測傳感器 seeed原廠

-27%

Grove – Ultrasonic Ranger 超音波測距模組 距離探測傳感器 seeed原廠

NT$190 NT$140 未稅

Grove – Ultrasonic Sensor是一個非接觸式的距離探測模塊。他的工作頻率在42KHz,適合用於中距離或近距離的探測。已經附上  Arduino 函數庫。

尚有庫存

貨號: 101020010(D2-18) 分類: , , 標籤: , , ,
  • 商品說明

商品說明

Grove – Ultrasonic Ranger 超音波測距模組 距離探測傳感器

是一種利用超聲波測量距離的超聲波傳感器。它的尺寸可以從3厘米到350厘米,精度可達2毫米。它 是一個完美的ü ltrasonic 用於距離測量,超聲波探測器。
該模塊具有超聲波發射器和超聲波接收器,因此您可以將其視為超聲波收發器。熟悉聲納,當發射器產生的40KHz超聲波遇到物體時,聲波將被發射回去,接收器可以接收反射的超聲波。只需要計算從發射到接收的時間,然後乘以空中聲音的速度(340 m / s)來計算從傳感器到物體的距離。
Grove - Ultrasonic Distance Sensor
與傳統的超聲波模塊HC-SR04相比,Grove – 超聲波距離傳感器集成了單片機,發送信號和接收信號通過時分複用共用一個引腳,因此只佔用一個I / O引腳。另一個區別是HC-SR04僅支持5v電壓,而Grove – 超聲波距離傳感器支持5v和3.3v。我們知道,Raspberry pi I / O僅支持3.3v。因此,Grove – 超聲波距離傳感器可以直接連接到Raspberry Pi的I / O,但HC-SR04需要使用電壓轉換電路。
Grove - 超聲波距離傳感器引腳排列與HC-SR04
Grove – 超聲波距離傳感器與HC-SR04

更重要的是,我們為Arduino,Python和Codecraft提供完整的文檔,以便您可以輕鬆地使用Grove – 超聲波距離傳感器與Arduino和 Raspberry pi。寬電壓範圍,單I / O引腳,即插即用Grove連接器。

規格

  • 3.3v / 5v兼容,寬電壓等級:3.2v~5.2v
  • 工作電流:8毫安
  • 只需要3個引腳,節省了I / O資源
  • 測量範圍寬:3cm~350cm
  • 易於使用:Grove連接器,即插即用
  • 精度: 1厘米

 

硬件概述 

Grove - 超聲波距離傳感器引腳

 

應用示例

這裡我們演示如何使用Grove – Ultrasonic Ranger來獲得距離信息,並打印到Grove – Serial LCD上。

UltrasonicRanger.png

如上圖所示,將Serial LCD連接到D4/D5接口,Ultrasonic Ranger連接到D7口。然後你需要從github上下載我們提供的Ultrasonic Ranger庫文件和用到的1Serial LCD庫文件,對於非Arduino自帶的庫文件,你需要將下載的庫文件安裝到Arduino的Library中,具體安裝步驟請參考wiki首頁的”如何安裝庫文件”課題。安裝完成後,通過路徑:File->Examples->UltrasonicRanger->examples->UltraDisOnSeeedSerialLcd打開代碼並上傳。

/************************************************* **************************/        
// Function: Measure the distance to obstacles in front and display the
// result on seeedstudio serialLcd. Make sure you installed the
// serialLCD, SofewareSerial and Ultrasonic library.        
// Hardware: Grove - Ultrasonic Ranger, Grove - Serial LCD
// Arduino IDE: Arduino-1.0
// Author: LG                
// Date: Jan 17,2013
// Version: v1.0 modified by FrankieChu
// by www.seeedstudio.com

/************************************************* ****************************/


#include <SoftwareSerial.h>
#include <SerialLCD.h>
#include "Ultrasonic.h"

SerialLCD slcd(4,15);
Ultrasonic ultrasonic(7);
void setup()
{
   slcd.begin();
}
void loop()
{
        long RangeInCentimeters;
        RangeInCentimeters = ultrasonic.MeasureInCentimeters();
        delay(150);
        slcd.clear();
        slcd.setCursor(0,0);
        slcd.print("The distance:");
        slcd.setCursor(0,1) ;
        slcd.print(RangeInCentimeters,DEC);
        slcd.setCursor(5,1) ;
        slcd.print("cm");
}

在參考資料部分有這個demo的視頻教程,供你參考。

 

 

出貨清單

  • Grove – Ultrasonic Distance Sensor x1
  • Grove連接線 x1

 

 

Documents

 

 

=========================================================

 

Grove – Ultrasonic Distance Sensor

The Grove – Ultrasonic Distance Sensor is an ultrasonic transducer that utilizes ultrasonic waves to measures distance. It can measure from 3cm to 350cm with the accuracy up to 2mm.  It is a perfect ultrasonic module for distance measurement, proximity sensors, and ultrasonic detector.
This module has an ultrasonic transmitter and an ultrasonic receiver so you can consider it as an ultrasonic transceiver. Familiar with sonar, when the 40KHz ultrasonic wave generated by the transmitter encounters the object, the sound wave will be emitted back, and the receiver can receive the reflected ultrasonic wave. It is only necessary to calculate the time from the transmission to the reception, and then multiply the speed of the sound in the air(340 m/s) to calculate the distance from the sensor to the object.
Compared with traditional ultrasonic modules HC-SR04, the Grove – Ultrasonic Distance Sensor integrates a single-chip microcomputer, and the transmitting signal and the receiving signal share one pin by time division multiplexing, so only one I/O pin is occupied. Another difference is that HC-SR04 only supports 5v voltage, while Grove – Ultrasonic Distance Sensor supports 5v and 3.3v. As we know, the Raspberry pi I/O only supports 3.3v. Therefore, Grove – Ultrasonic Distance Sensor can be directly connected to the I/O of the Raspberry Pi, but HC-SR04 needs to use a voltage conversion circuit.
What’s more, we provide full documents and libraries for Arduino, Python, and Codecraft so that you can use the Grove – Ultrasonic Distance Sensor with Arduino and Raspberry pi easily. Wide voltage range, single I/O pin, plug and play Grove connector, we try our best to make this module easier to use and reduce your work. This is exactly the philosophy of Grove: simple is the best. We hope you like it.

Features

  • 3.3v / 5v compatible, wide voltage level: 3.2v~5.2v
  • Only 3 pins needed, save I/O resources
  • Wide measurement range: 3cm ~ 350cm
  • Easy to use: grove connector, plug and play

Applications

  • Distance measurement
  • Ultrasonic detector
  • Proximity alarm
  • Smart car