Thanks for the video, it is very informative. I tried it with just a couple of LEDs, just to see if the BLE end-to-end works and it does light up the LEDs as expected. I just wanted to made a note that one should enter the commands "up", "down", etc. in addition to the symbol "", etc. when editing the control. One more thing, the motors (in my case the LEDs) stay ON only for 500 ms (or whatever it's set to) but stops even when you continue to press the button, so you have to repeatedly tap it to make the motors run continuously ... Have you thought of a way to make it run for as long as the button is pressed? Thanks.
Hi, First off, thank you very much for always sharing everything about esp32 Thanks a ton.. I would be soon uploading some tutorial videos too on my new youtube channel and i never forgot to thank you for teaching me about esp32. Keep up the best work sir. Cheers
Thank you, and please mention that most of the work is done by espressif (github.com/espressif/esp-idf/graphs/contributors and github.com/espressif/arduino-esp32/graphs/contributors) and for the BLE Library the tribute goes to Neil Kolban (and the member of his crew github.com/nkolban/esp32-snippets/graphs/contributors)!
Sorry but the items on aliexpress are rapidly changing so just give you my search term. Maybe filter for you price range like $17- $20 (today my Kit is about $17.28 free shipping).
Pcbreflux, thanks for interesting video and channel. Can you make video about power consumption when ESP32 using as bluetooth client (interesting how long it works as sensor on battary)? I will be very appritiated to you.
If you are looking for a tutorial that covers the Nordic UART Service using linux and eclipse watch ESP32 Video #39 (Bluetooth Server Tutorial and Code Walk) ruclips.net/video/FvIywveUVZw/видео.html (you can copy the code for the motors to the eclipse example if you like).
I got this one to work. I can't believe how easy it was after I watched this video. I used a Tamiya track and wheel set. Now my problem is batteries. I already have 18650 battery and I attached it to the 3v3 pin as I have seen on your other video, bluetooth is working but the motor is not. Any insights?
If your board have a voltage regulator like the ams1117 (3.3V) then you can use the 18650 on the input (5v but with the 18650 this could be up to 4.2V) for the esp32 and the motors. max rating for the Vss on the L298 is 7V so dont use two 18650 in series. Better is maybe a powerbank with a 5V boost circuit on a USB port or a small cheap 5V boost module like this m.aliexpress.com/item/32836773353.html
Let me see if i get this correctly, I'll use one 18650 connected to a 5v boost circuit board. So I got a 5v power supply. Should I connect that connect that to the pin you describe on the 1:00 minute mark of this video?
Michael Nonan On my boards this 5V is connected to the USB micro connector and also to the input to the voltage regulator. So in my case yes this is how I would wire this but not 100% sure about your board. And don't use the USB plug at the same time. Don't know if your 18650 have a protection circuit? So maybe using battery below a voltage could decrease the lifetime and also the voltage regulator have a min input voltage to provide the 3.3V for the ESP32. So it may not work below a certain voltage, could be even 4.2V is not enough. Actually I don't find the cutoff voltage in the datasheet for the ams1117 3.3V.
Found the reading for the AMS1117: "Operates Down to 1V Dropout" ... so with just 4.2V on your 18650 is not enough with this regulator to power up the ESP32 on 3.3V. You need more voltage or a different regulator like a "low dropout regulator" or LDO.
Vs is used as the power supply (can be used up to 50V but we need only ~5V for the small DC motors) and Vss as Logic Supply Voltage (Up to 7V) just connected to 5V (or use 4.5V from three or 6V from four AA Batteries). Sure the ESP32 have a logic level at 3.3V but the high/low thresholds are enough for the L298.
Yes, you are right: The Supply Voltage powers the ESP32 (Vin to the AMS1117 3.3V Regulator and then to the ESP32) and also the L298/Motors + L298/Logic.
After rethinking your question I hope to understand the confusion: If you use the USB Port as the 5V source the 5V are connected to Vin, so in this case Vin acts as an "output" and can be used to power Vs and Vss.
@@pcbreflux thank you so much :D ...Another Question Please . and i'm really sorry :D , i knew that the maximum current can that esp32s can pinout provide is 40 ma and the dc motor you're using it is consume 150 ma current how could it be possible as a noobie question :D
Hi guys, Thank you sir for your very effective video, But i have very little problem:When i connect to esp32 and nrf-toolbox gives error connection state change(133). can you help me this problem thank you
Hi PCBreflux, I sent you a message in RUclips where I suggest some Important Electronics Projects, so you can check the received messages in your channel on RUclips, Thank You.
Thank you! Very interesting. I will try repeat soon.
You make it look so easy.,
Cool stuff thank you
Thanks for the video, it is very informative. I tried it with just a couple of LEDs, just to see if the
BLE end-to-end works and it does light up the LEDs as expected. I just wanted to made a note that one should enter the commands "up", "down", etc. in addition to the symbol "", etc. when editing the control. One more thing, the motors (in my case the LEDs) stay ON only for 500 ms (or whatever it's set to) but stops even when you continue to press the button, so you have to repeatedly tap it to make the motors run continuously ... Have you thought of a way to make it run for as long as the button is pressed? Thanks.
Does BTLE use some ports? I cant seem to make it work while in my board =/
Greate. Thank you
Hi,
First off, thank you very much for always sharing everything about esp32
Thanks a ton.. I would be soon uploading some tutorial videos too on my new youtube channel and i never forgot to thank you for teaching me about esp32. Keep up the best work sir.
Cheers
Thank you, and please mention that most of the work is done by espressif (github.com/espressif/esp-idf/graphs/contributors and github.com/espressif/arduino-esp32/graphs/contributors) and for the BLE Library the tribute goes to Neil Kolban (and the member of his crew github.com/nkolban/esp32-snippets/graphs/contributors)!
pcbreflux okay ill add that too.. Thank you
Hi, from the diagram and demo it would appear that you have no problem powering the motors over USB. Is this true?
Hi, my Kit include a Batteryholder for 3x AA-Batteries so the design is made for
The aliexpress link doesn't seem to bring up an exact item?
Sorry but the items on aliexpress are rapidly changing so just give you my search term. Maybe filter for you price range like $17- $20 (today my Kit is about $17.28 free shipping).
Pcbreflux, thanks for interesting video and channel. Can you make video about power consumption when ESP32 using as bluetooth client (interesting how long it works as sensor on battary)? I will be very appritiated to you.
Mr. Denis Sure, working on this topic ... involving beacons and deep sleep.
great work sir,
can you make a tutorial same as this that uses linux and eclipse editor
If you are looking for a tutorial that covers the Nordic UART Service using linux and eclipse watch ESP32 Video #39 (Bluetooth Server Tutorial and Code Walk) ruclips.net/video/FvIywveUVZw/видео.html (you can copy the code for the motors to the eclipse example if you like).
that what i'm looking for thank sir
I got this one to work. I can't believe how easy it was after I watched this video. I used a Tamiya track and wheel set. Now my problem is batteries. I already have 18650 battery and I attached it to the 3v3 pin as I have seen on your other video, bluetooth is working but the motor is not. Any insights?
If your board have a voltage regulator like the ams1117 (3.3V) then you can use the 18650 on the input (5v but with the 18650 this could be up to 4.2V) for the esp32 and the motors. max rating for the Vss on the L298 is 7V so dont use two 18650 in series. Better is maybe a powerbank with a 5V boost circuit on a USB port or a small cheap 5V boost module like this m.aliexpress.com/item/32836773353.html
Let me see if i get this correctly, I'll use one 18650 connected to a 5v boost circuit board. So I got a 5v power supply. Should I connect that connect that to the pin you describe on the 1:00 minute mark of this video?
Michael Nonan On my boards this 5V is connected to the USB micro connector and also to the input to the voltage regulator. So in my case yes this is how I would wire this but not 100% sure about your board. And don't use the USB plug at the same time. Don't know if your 18650 have a protection circuit? So maybe using battery below a voltage could decrease the lifetime and also the voltage regulator have a min input voltage to provide the 3.3V for the ESP32. So it may not work below a certain voltage, could be even 4.2V is not enough. Actually I don't find the cutoff voltage in the datasheet for the ams1117 3.3V.
Found the reading for the AMS1117: "Operates Down to 1V Dropout" ... so with just 4.2V on your 18650 is not enough with this regulator to power up the ESP32 on 3.3V. You need more voltage or a different regulator like a "low dropout regulator" or LDO.
this is my first time to see the Vs and the 5v connected together can you tell me why did you do this ??? because i can't understand it , thank you :D
Vs is used as the power supply (can be used up to 50V but we need only ~5V for the small DC motors) and Vss as Logic Supply Voltage (Up to 7V) just connected to 5V (or use 4.5V from three or 6V from four AA Batteries). Sure the ESP32 have a logic level at 3.3V but the high/low thresholds are enough for the L298.
I'm really thanks for reply But you connected. Both of them to Vin of esp32 and Vin working as input not as output then where the volt come from
Yes, you are right: The Supply Voltage powers the ESP32 (Vin to the AMS1117 3.3V Regulator and then to the ESP32) and also the L298/Motors + L298/Logic.
After rethinking your question I hope to understand the confusion: If you use the USB Port as the 5V source the 5V are connected to Vin, so in this case Vin acts as an "output" and can be used to power Vs and Vss.
@@pcbreflux thank you so much :D ...Another Question Please . and i'm really sorry :D , i knew that the maximum current can that esp32s can pinout provide is 40 ma and the dc motor you're using it is consume 150 ma current how could it be possible as a noobie question :D
can you make more tutorials on ble using Arduino IDE
Sure, next video could be (can not promise) to include BLE in the Li-Ion Battery Monitor project with Arduino. Thanks and have a great day
Hi i am getting this error please help: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
btw when I plug in the esp-32 the second motor starts spinning. stopping, spinning stopping and so on
On the first glance it seams a port problem with arduino and the ESP32. Can you check and set the Tools->Port menu?
The motors should not spinning and stopping, just do nothing without a bluetooth connection. Maybe (just a guess) this is the blink sketch?
Hi guys,
Thank you sir for your very effective video,
But i have very little problem:When i connect to esp32 and nrf-toolbox gives error connection state change(133).
can you help me this problem
thank you
Hi PCBreflux, I sent you a message in RUclips where I suggest some Important Electronics Projects, so you can check the received messages in your channel on RUclips, Thank You.
Hi, can you send me an email (see canal description) messages are not supported on mobile and I am not a my desk now Thanks.
Hi I can't find your Email Address, and this is my Email :
moussaoui.ayman@gmail.com
Hi I cant find your Email Adresse, so this is my Email: moussaoui.ayman@gmail.com
ещё 1 клоун с машинкой под названием робот ))