not sure if anyone gives a damn but if you're stoned like me during the covid times then you can stream all of the new series on instaflixxer. Been binge watching with my brother recently :)
very beautifully you described all....make another video where sensor plays a music, any speech which is stored in some hard ware like sd card adopter ...tnx. so much sir
I have a question. Sometimes the buzzer will stop for a few seconds have passed, or ir might take a few seconds to start after placing a book in front, and then it will continue the way it is supposed to. Do you know why this could be?
i tried replicating your project but the timer doesnt work. also i wonder how you established communication without stating the baud rate. interesting code. wish it wasnt faulty. i would much appreciate if you uploaded a new one
Can i use a buzzer that connects to the I/O pin of the module? Im making an ultrasonic sensor headband for blind people for our research and im struggling
read this:- roboticaenconce.cl/assets/codigos/05-hardware.pdf shows why u have to multiply by 0.0133, as the speed of sound is 340m/sec now convert that to cms which is 0.0340cm/sec which is 0.0133inch/sec see rest in the link
#include SoftwareSerial mySerial(9, 10); int trigPin = 11; // Trigger int echoPin = 12; // Echo int data = 0; long duration, cm;
void setup() { //Serial Port begin mySerial.begin(9600); Serial.begin (9600); //Define inputs and outputs pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT); }
void loop() { // The sensor is triggered by a HIGH pulse of 10 or more microseconds. // Give a short LOW pulse beforehand to ensure a clean HIGH pulse: data = cm;
// Read the signal from the sensor: a HIGH pulse whose // duration is the time (in microseconds) from the sending // of the ping to the reception of its echo off of an object. pinMode(echoPin, INPUT); duration = pulseIn(echoPin, HIGH);
// Convert the time into a distance cm = (duration/2) / 29.1; // Divide by 29.1 or multiply by 0.0343 // Divide by 74 or multiply by 0.0135
SendMessage(); Serial.print("LOW FUEL LEVEL SBI"); delay(1000); } else { Serial.print("FUEL LEVEL NORMAL"); delay(1000); } void SendMessage() { Serial.println("I am in send"); mySerial.println("AT+CMGF=1"); //Sets the GSM Module in Text Mode delay(1000); // Delay of 1000 milli seconds or 1 second mySerial.println("AT+CMGS=\"+918195979999\" "); // Replace x with mobile number delay(1000); mySerial.println("LOW FUEL LEVEL SBI PAY ATTENTION");// The SMS text you want to send delay(100); mySerial.println(data); mySerial.println((char)26);// ASCII code of CTRL+Z delay(600000); } } sir i am faceing problem in complieing this code please guide me sir .
Sweeeeeeeeeeeeeeet! These are sweet projects!
I loved the sarcasm in the beginning :D
not sure if anyone gives a damn but if you're stoned like me during the covid times then you can stream all of the new series on instaflixxer. Been binge watching with my brother recently :)
@Eddie Jairo yup, been using InstaFlixxer for since november myself :D
@Eddie Jairo yea, been watching on InstaFlixxer for months myself =)
Tha will be 1 thing i do when my arduino arrives
very beautifully you described all....make another video where sensor plays a music, any speech which is stored in some hard ware like sd card adopter ...tnx. so much sir
You're a Godsend omg. Thank you very much for your help😭
Good idea man
The question isn't related to this video.
Is it worth paying for a Micromasters Program on edx?
What are your thoughts?
Thanks Eli, keep up the vids. Wish you could get more views asap
eli how to stop its continuos beeping sound
Thank u
Great video :D
I need help I did everything and the project isn't working
would it be possible to make the buzzer bluetooth?
Could you please explain the math behind the distanceInch part?
I have a question. Sometimes the buzzer will stop for a few seconds have passed, or ir might take a few seconds to start after placing a book in front, and then it will continue the way it is supposed to. Do you know why this could be?
i tried replicating your project but the timer doesnt work. also i wonder how you established communication without stating the baud rate. interesting code. wish it wasnt faulty. i would much appreciate if you uploaded a new one
almost 1M subs and just 1400 views?
Do you think the blue colored ultrasonic sensor can differentiate between slopes and walls?
Can i use a buzzer that connects to the I/O pin of the module?
Im making an ultrasonic sensor headband for blind people for our research and im struggling
What is the shortest distance you can this method can detect?
Hey, Which numbers can I plug into Long, Float and Int, I'm getting error messages when I plug in numbers.
is it possible that we can save like a log for an object's distance data ?
how can i change the frequency and volume of the buzzer? at the moment it very loud and i would like to make it so only the dog can hear it.
Can we use an Arduino mini for this project??
i'm using you beep beep beep BEEP boop boop voice as my ring tone.
Can I do with Arduino Leonardo? Thanks you
Code wont verify
False. Not all buzzers are the same. There are passive and active buzzers. Passive buzzers need a waveform to buzz. Active ones work on DC.
Only 7,741 views, CZcams is definitely tucking you away back in the corner
Does the code work also for esp32?
I need help, I’m new to Arduino and it keeps saying that ‘duration’ was not declared in this scope. How do I fix it
Take a look at the code here: www.elithecomputerguy.com/2019/06/hc-sr04-ultrasonic-distance-sensor-audio-alert-with-arduino/
sia guyyy
Can i do this with arduino uno?
that's what I used: www.elithecomputerguy.com/2019/06/hc-sr04-ultrasonic-distance-sensor-audio-alert-with-arduino/
read this:- roboticaenconce.cl/assets/codigos/05-hardware.pdf
shows why u have to multiply by 0.0133, as the speed of sound is 340m/sec now convert that to cms which is 0.0340cm/sec which is 0.0133inch/sec
see rest in the link
#include
SoftwareSerial mySerial(9, 10);
int trigPin = 11; // Trigger
int echoPin = 12; // Echo
int data = 0;
long duration, cm;
void setup() {
//Serial Port begin
mySerial.begin(9600);
Serial.begin (9600);
//Define inputs and outputs
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
}
void loop() {
// The sensor is triggered by a HIGH pulse of 10 or more microseconds.
// Give a short LOW pulse beforehand to ensure a clean HIGH pulse:
data = cm;
digitalWrite(trigPin, LOW);
delayMicroseconds(5);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
// Read the signal from the sensor: a HIGH pulse whose
// duration is the time (in microseconds) from the sending
// of the ping to the reception of its echo off of an object.
pinMode(echoPin, INPUT);
duration = pulseIn(echoPin, HIGH);
// Convert the time into a distance
cm = (duration/2) / 29.1; // Divide by 29.1 or multiply by 0.0343
// Divide by 74 or multiply by 0.0135
Serial.print(cm);
Serial.print("cm");
Serial.println();
delay(250);
if (data > 5) //
{
SendMessage();
Serial.print("LOW FUEL LEVEL SBI");
delay(1000);
}
else
{
Serial.print("FUEL LEVEL NORMAL");
delay(1000);
}
void SendMessage()
{
Serial.println("I am in send");
mySerial.println("AT+CMGF=1"); //Sets the GSM Module in Text Mode
delay(1000); // Delay of 1000 milli seconds or 1 second
mySerial.println("AT+CMGS=\"+918195979999\"
"); // Replace x with mobile number
delay(1000);
mySerial.println("LOW FUEL LEVEL SBI PAY ATTENTION");// The SMS text you want to send
delay(100);
mySerial.println(data);
mySerial.println((char)26);// ASCII code of CTRL+Z
delay(600000);
}
}
sir i am faceing problem in complieing this code please guide me sir .