Gh 311 Ultrasonic Distance Measurement Sensor Module
Rs. 832.00 Rs. 999.00
- Product Code: SEN-ULTRA
- SKU -
- Availability: In Stock
- Price in reward points: 12
- For Bulk Order 9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
SPECIFICATIONS: | |
Voltage | 6-12V(DC) |
Current | max 2mA |
Output Signal | 0-5V (Output high when obstacle in range) |
Sensory Angle | max 15 degree |
Sensory Distance | 20mm - 5000mm |
Frequency | 40Khz. |
Pin | 3pin |
Probe- Main Technical Parameters: | |
Center resonant frequency | 40kHz ± 2kHz |
Static capacitance | 3300P ± 300P |
Resonant impedance | 120Ω ± 20Ω |
Frequency bandwidth (-3dB) | Δf-3dB ≥ 2kHz |
Operation voltage | 300 ~ 500VP-P |
Limit voltage | ≤ 1000VP-P |
Transmitting beam angle | 6O degrees |
Operation temperature | -40 ~ +80 ℃ |
Protection class | IP65 |
Module Performance: | |
Voltage | DC5V; |
Static current | Less than 2mA; |
Output signal | Electric frequency signal, high level 5V, low level 0V; |
Sensor angle | Not more than 15 degrees; |
Detection distance | 2cm-500cm |
High precision | Up to 0.3cm |
OVERVIEW: | |
Voltage | 6-12V(DC) |
Current | max 2mA |
Output Signal | 0-5V (Output high when obstacle in range) |
Sensory Angle | max 15 degree |
Sensory Distance | 20mm - 5000mm |
Frequency | 40Khz. |
Pin | 3pin |
Probe- Main Technical Parameters: | |
Center resonant frequency | 40kHz ± 2kHz |
Static capacitance | 3300P ± 300P |
Resonant impedance | 120Ω ± 20Ω |
Frequency bandwidth (-3dB) | Δf-3dB ≥ 2kHz |
Operation voltage | 300 ~ 500VP-P |
Limit voltage | ≤ 1000VP-P |
Transmitting beam angle | 6O degrees |
Operation temperature | -40 ~ +80 ℃ |
Protection class | IP65 |
Module Performance: | |
Voltage | DC5V; |
Static current | Less than 2mA; |
Output signal | Electric frequency signal, high level 5V, low level 0V; |
Sensor angle | Not more than 15 degrees; |
Detection distance | 2cm-500cm |
High precision | Up to 0.3cm |
PACKAGE INCLUDES:
1 PCS x Gh 311 Ultrasonic Distance Measurement Sensor Module
//SOURCE CODE TAKEN FROM BELOW LINK
//https://www.instructables.com/simple-robot-1/
//this is a code for controlling a simple robot using an arduino and a motor driver.
//created by robobot3112
const int loopPeriod = 20;
unsigned long loopdelay = 0;
const int sensor = 12; // ARDUINO OUTPUT PIN FOR SENSOR INPUT/OUTPUT
const int p1 = 8; // ARDUINO OUTPUT PIN FOR MOTOR INPUTS
const int p2 = 7; // ARDUINO OUTPUT PIN FOR MOTOR INPUTS
const int p3 = 4; // ARDUINO OUTPUT PIN FOR MOTOR INPUTS
const int p4 = 2; // ARDUINO OUTPUT PIN FOR MOTOR INPUTS int ultraDistance;
int ultraDuration;
void setup()
{
Serial.begin(9600);
pinMode(p1 , OUTPUT);
pinMode(p2 , OUTPUT);
pinMode(p3 , OUTPUT);
pinMode(p4 , OUTPUT); }
void loop()
{
if(millis() - loopdelay >= loopPeriod)
{
readUltrasonicSensors();
motorstate();
loopdelay = millis();
}
}
void readUltrasonicSensors()
{
pinMode(sensor , OUTPUT);
digitalWrite(sensor , LOW);
delay(2);
digitalWrite(sensor , HIGH);
delayMicroseconds(10);
digitalWrite(sensor , LOW);
pinMode(sensor , INPUT);
ultraDuration = pulseIn(sensor , HIGH);
ultraDistance = (ultraDuration/2)/29;
}
void motorstate() // MOTOR CONTROL FUNCTION
{
if((ultraDistance > 15)||(ultraDistance < 0))
{
digitalWrite(p3 , HIGH);
digitalWrite(p1 , HIGH);
digitalWrite(p2 , LOW);
digitalWrite(p4 ,LOW); }
else
{
digitalWrite(p1 , HIGH);
digitalWrite(p2 , LOW);
digitalWrite(p3 , HIGH);
digitalWrite(p4 , LOW);
}
}
15 days