Это видео недоступно.
Сожалеем об этом.
Reprogramming an (Elegoo) Tumbller
HTML-код
- Опубликовано: 19 июн 2022
- In this I go over how my custom balance code compares to the original Elegoo tumbler and how to change out the code for yourself.
I had many small issues doing this, as there are many mistakes that can be set you back a lot.
For instance I put a Serial.print() in the balance loop, then your loop delay is 17 ms instead of 5 and then you got to re tune your PID all over again.
Link to the custom code is here:
github.com/wil...
and the original is here:
github.com/ele...
MY LINKS:
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Instagram: / williamsokol12
Twitter: / ballybots
GitHub: github.com/wil...
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
My elegoo tumbller stopped working when I tried to change the speed. Think you could help me?
Worst case you should be able to reflash the original code back onto it.
Idk what line of code you changed the speed on but I would recommend making the speed slower over faster if you want to change speed. If the speed is too high, it might go to angle too steep to recover from or get a brownout on the board.
Hope this helps!
I was thinking to add a rpi5 to it, with mic and camera to instruct the bot and let it see. For example say to it 'go towards that chair'. Then I thought I might just use and android phone attached to it. Do you think it's possible via BT?
I think if the camera is, mic and speech to text is all done in the phone, then you should definitely be able to stream the controls via Bluetooth. My biggest concern is mic quality from a distance and you also are looking at more complex convolution networks to have something like: 'go towards that chair' work
how do you connect the tumbller to the code?
On the tumbler there is an Arduino nano, you can connect either plug in a mini or micro USB connector to it and then open the Arduino program to flash the nano.
In the Arduino program you should be able to see connected it from the Tools->Port->COM(X) option
Sir I have code issue
Hello i'm trying to print the value of the accelerometer/gyroscope in the monitor but i have a mistake because i have this mistake when i try to code in Tumbller.ino :
C:\Users\ezech\OneDrive\Bureau\Tumbllertest\Tumbllertest.ino:20:9: error: redefinition of 'MPU6050 mpu'
MPU6050 mpu ;
^~~
In file included from C:\Users\ezech\OneDrive\Bureau\Tumbllertest\Tumbllertest.ino:13:0:
C:\Users\ezech\OneDrive\Bureau\Tumbllertest\BalanceCar.h:15:9: note: 'MPU6050 mpu' previously declared here
MPU6050 mpu;
^~~
exit status 1
Compilation error: redefinition of 'MPU6050 mpu'
Thx you