sorry for a possible stupid question but i am currently learning to use the esp32 and such electronics. i see all projects power the esp32 trhough the usb. i have an esp32 with mpu6050 connected at the 3v3 power pin. i need to power all it with a 18650 battery. where do i coonect the power of the battery in esp32if the 3v3 pin is taken fro mthe mpu6050?
Hey, great question and it's not stupid at all! When using an 18650 battery to power your ESP32 and MPU6050 setup, you’ll need to consider a few things. Since the 3.3V pin on the ESP32 is already occupied by the MPU6050, you can power the ESP32 using a battery through the 'VIN' pin (also labeled as '5V' on some boards). The 18650 battery outputs around 3.7V, which might not be sufficient for the VIN pin, as the ESP32 generally needs around 5V when powered through VIN. You could use a boost converter to step up the 3.7V from the 18650 to a stable 5V. Connect the output of the boost converter to the VIN pin of the ESP32, and make sure your ground connections are also shared among the ESP32, MPU6050, and the battery. This setup should ensure that both your ESP32 and MPU6050 have the power they need to operate effectively. Make sure to check the current requirements and ensure your power supply can handle the load. Safety first, so double-check all connections and consider adding a fuse and protection circuit for the lithium battery. Hope this helps and happy tinkering!
Thank you for the vid I tried but it is returning the 6 readings as 0.00. For temperature there is a value 16:56:29.096 -> Acceleration X: 0.00, Y: 0.00, Z: 0.00 m/s^2 16:56:29.096 -> Rotation X: 0.00, Y: 0.00, Z: 0.00 rad/s 16:56:29.096 -> Temperature: 36.53 degC It might be silly but any pointers will be appreciated! Thank you!
Hey thanks for the Tutorial! I have to mention that physical connection didnt work for me. Had to connect SCL to D22 and SDA to D21 als Gnd to GND and VCC to 3.3 V. Also I have question, i want to work with two ESP32s and to two MPU6050s simultaneously and send the data via Wifi to the Ard IDE, do you think thats possible?
hmmmm why the IDE? Idk if that is possible but in my experience anything is! You can send data over wifi easily but idk if I would use the IDE to receive it. I would send it to an MQTT channel first and write a script to harvest the respective channels. Shouldnt be too bad. Goodluck, hope you can subscribe my friend
Hello bro I watched this video this is perfect to me I student in university My major is controll engineering My project is Robotic arm with remote hand movement.with esp32 and mpu6050 and 4 servos Can you help me ???
I can help but for these types of requests, you would have to book a consulting slot on my buymecoffee link for a fixed price. Let me know if that interests you
Hi sir Good day i want to learn this stuff from you can you share with me how you did it step by step it is very interesting, stuff you did . Many Thanks, Tan Meow Soon
Hi, this is really a nice video. I am having a bit of trouble making esp32 connect. Every time, I upload code to it, it shows different fatal error every time(I use matchbook air M1), however, I find Arduino boards to be working perfectly well. Did you face this issue at any point while working on this? If so, mind providing ways to resolve?
@@mmshilleh i checked it but i m confused on how to connect scl and sda to esp32 c3 mini 1. Which pin would be preferred to connect to mpu6050 ? In your case can you tell me by stating the function of the pin. Let me check where i could connect it
Hello! Thank you so much for this video, but when I upload the program onto the esp, on the out[ut screen, it just shows "leaving..." and "Hard resetting via RTS pin". I checked the baud and switched the other thing to "No line ending". How do I get the data?
Sometimes, the wrong baud rate or serial communication setting can lead to unreadable output. Confirm that the baud rate in your Serial Monitor matches the baud rate set in your code (commonly 9600 or 115200). Since you've already tried switching to "No line ending", you might also want to experiment with other settings like "Newline" or "Both NL & CR" to see if that changes the output.
hello everything is fine? great explanation! I compiled the program but on my serial monitor it appears Failed to find MPU6050 chip, could you explain to me why? I'm also using a different esp32 model, it has the 2102 chip and has 38 pins in different positions
Hey man sorry to hear, it is either two things. The MPU6050 you are using is flawed or you configured it incorrectly with the board. I believe that board uses a different pin format than the ESP32 I use in the video and a quick Google search shows that. Have you used that board before?