Hello guys, if you noticed the occasional spikes in this video I just verified that that is due to the loose dupont jumper wires. Cheers, George Bantique
Hello man great video, am trying to follow your example here to make the ultrasonic sensor change its state from free to occupied . my Qn is when you declare this line ultrasonic = hcsr04.HCSR04(trigger_pin=13, echo_pin=12, echo_timeout_us=1000000) any advise on how i can go about that thanks
I don't have an HC-12 but after reading this www.allaboutcircuits.com/projects/understanding-and-implementing-the-hc-12-wireless-transceiver-module/ it seems it is using a serial UART communication. You can look for my MicroPython videos regarding UART and you should be able to make some progress in using tthe HC-12. Cheers.
Sir, I am using the same 'ultrasonic_distance.cm' but I am getting a value like -0.0343. And strangely, it remains the same even though I changed the object distance. I thought there might be something wrong with the sensor and tried using it with Arduino but it was working fine. I am getting expected results and infact I was able to even perform intruder alert. I request you to let me know what could be the possible mistake.
I am not sure what could be wrong with your setup. I would suggest to try to re-assemble again the circuit. Notice also that Arduino Uno uses 5V while ESP32 uses 3.3V. That could be the difference.
@@TechToTinker Yes, thank you, I've done that but the error is the same... I mean, if i put an object in a know measure, the printed measure is the same: 0
@@jeremiaspinedaramos3435 that's weird. Can you try the following: 1. Make sure that the VCC of ultrasonic sensor is around 5V. 2 Share your code, there might be something.
@@TechToTinker Thank you so much for the help, the problem is solve, I had powered with 3v3 pin instead of vin pin ... I had to saw how you powered the sensor
@@TechToTinker thanks.. I want to do automatic stair case with esp32 and ws2812b using Two ultra sonic... Do you have an idea about this...? Could you vouch me?
Hello guys, if you noticed the occasional spikes in this video I just verified that that is due to the loose dupont jumper wires.
Cheers,
George Bantique
Hi! I´m loving your lessons! Your didactic is very clear and simple! Congratulations!
Really coming along great! I hope you make 100 of these.
thanks @Kevin, we will see what we can.
super straight forward and easy tutorial thank you for sharing
Salamat sa mga video mo, very helpful.
Walang anuman @Sonny Cruz. Im glad of help :) Thank you.
Thank you this tutorial is very helpfull .
@Jan Ibrahim, I am glad that it helps you. Thanks.
Bom dia! Parabéns pelo vídeo!!! Abraços...
Thank you @Professor Marcos
@@TechToTinker you are welcome!!! De nada!!! Abraços...
Thanks for. Good walk thru. Could use some help adding OSC to this.
Glad it was helpful! Thank you.
Hello man great video, am trying to follow your example here to make the ultrasonic sensor change its state from free to occupied . my Qn is when you declare this line
ultrasonic = hcsr04.HCSR04(trigger_pin=13, echo_pin=12, echo_timeout_us=1000000)
any advise on how i can go about that thanks
I do not understand what you intend to do. Can you explain it further?
How can i use hc-12 with arduino using python language?.
I don't have an HC-12 but after reading this www.allaboutcircuits.com/projects/understanding-and-implementing-the-hc-12-wireless-transceiver-module/ it seems it is using a serial UART communication. You can look for my MicroPython videos regarding UART and you should be able to make some progress in using tthe HC-12.
Cheers.
Sir, I am using the same 'ultrasonic_distance.cm' but I am getting a value like -0.0343. And strangely, it remains the same even though I changed the object distance. I thought there might be something wrong with the sensor and tried using it with Arduino but it was working fine. I am getting expected results and infact I was able to even perform intruder alert. I request you to let me know what could be the possible mistake.
I am not sure what could be wrong with your setup. I would suggest to try to re-assemble again the circuit. Notice also that Arduino Uno uses 5V while ESP32 uses 3.3V. That could be the difference.
can we connect database in micropython
Definitely yes, I will try to create this for future uploads.
I Have a measurement error, in cm the measurement is 0.3436426 and when i put the sensor in mm the measurement is 0, how can i solve this?
Hi @Jeremias Pineda Ramos, have you tried multiplying cm to 10? Such as mm = cm x 10.
@@TechToTinker Yes, thank you, I've done that but the error is the same... I mean, if i put an object in a know measure, the printed measure is the same: 0
@@jeremiaspinedaramos3435 that's weird. Can you try the following:
1. Make sure that the VCC of ultrasonic sensor is around 5V.
2 Share your code, there might be something.
@@TechToTinker Thank you so much for the help, the problem is solve, I had powered with 3v3 pin instead of vin pin ... I had to saw how you powered the sensor
Sr04 needs 5v and esp32 3.3v soo how does it even work?
@Boopesh kumar, you may have your 5V voltage from the VIN pin. VIN pin is connected to USB power.
@@TechToTinker thanks.. I want to do automatic stair case with esp32 and ws2812b using Two ultra sonic... Do you have an idea about this...? Could you vouch me?