can u update code? ledcSetup and ledcAttachPin are no longer used so the code gives an error.
@bakiyagzcelik6627Күн бұрын
for old version.
@ReMRCКүн бұрын
@@bakiyagzcelik6627 Use ESP32 2.0.17
@Michael._.173 күн бұрын
wowo
@iplaymytele3 күн бұрын
Very Very Cool Excellent work…….! I can hear your clock in the background ….🎶❤️🎶 I have 4 Old German ( wall clocks ) Weight Driven Chimers 🕰️ That a doctor friend of mine gave me years ago…. They were all four completely in pieces …🙄 I mean everything….! it would take me two or three days to decipher what pieces went with which Clock , before I could start attempting to repair and reassemble them… “ Even the wood clock cases, and the glass to each clock had fallen apart over the years….! 🤔 All Four are hanging in different rooms in my house…! And all keep perfect time……👍🏻 ( Did you restore and repair your clock or did you buy it working? )….👍🏻
@seyhanyilmaz99114 күн бұрын
Cool and nice job. Congratulations. I read that you are planning to do something similar and better. I am looking forward to it. It would be nice if it had object tracking features with the raspberry pi and camera. Are you thinking of creating a community by opening a Discord channel?
@ReMRCКүн бұрын
I don't plan to use object tracking features. Opening a Discord channel is also not in the near plans.
@TechPlayerBu8 күн бұрын
cool
@Mitty.pen-rose11 күн бұрын
Isn’t this impossible?
@push_back2.08211 күн бұрын
This is so cool
@svenschlenker710611 күн бұрын
RESPECT, great job, thank you so much for sharing! My cube is workig perfect. Did somebody manage to ammend to code to get the cube turning?
@ducdao563713 күн бұрын
Hi, I am a student, I have a project and a need your help. Can I get your email?
@Knightfire6613 күн бұрын
why 3 wheels and not 2? whats the advantage? I think 2 wheels would be enough. each for one axis
@ReMRC12 күн бұрын
Yes. kzbin.info/www/bejne/rImrnYpoiJdnfbM
@samofficial1514 күн бұрын
Hey if you tighten a rope with the standing corner and just hang this.. Is the cube still balence itself or just moves clockwise or anticlockwise.. Can you please check this
@ReMRC14 күн бұрын
Hanged cannot balance - there is no point in that.
@Knightfire6618 күн бұрын
link to project?
@ReMRC18 күн бұрын
Only video. I already took it apart. I'll try to make a similar one, but better.
@Knightfire6618 күн бұрын
is it possible to add an other gyro wheel for the other axis? a horizontal one?
@ReMRC18 күн бұрын
Yes. kzbin.info/www/bejne/d4fCmKOAhc2jY9U But this is not a gyro wheel, this is a reaction wheel.
@amelliamendel222719 күн бұрын
Is it's weight limit proportional to the distance from center of the wheels, like if the reaction wheels were further out it could balance more weight or am I misunderstanding?
@ReMRC16 күн бұрын
It's all related, total weight and distance of weight from the wheel center.
@miguelangelpachas19 күн бұрын
Hello, it is an impressive work, I would like to invite you to participate in a funded project here in Amazonas Peru, please could you provide me with your email?
@charlesairlie412022 күн бұрын
Great Project- thank you. I am working through the build of your "better" version of the cube as a volunteer with a local charity - which includes a small 3D printer group. With regard to the schematic, we were wondering whether you had given any consideration to any extra safety features - such as a physical or automatic timeout switch between the battery and the PCB to prevent unforeseen damage to the circuitry. Do you have any advice on this possible danger? Many thanks
@ReMRC22 күн бұрын
I not use physical or automatic timeout switch...
@markthomason724722 күн бұрын
Still can't get beeper to work. Running version 2.3.3 of Arduino IDE. What library version for FastLED and Wire.h
@ReMRC22 күн бұрын
Last version.
@SunriseSearcher25 күн бұрын
Can you explain this part a bit? How do you determine the value? battVoltage((double)analogRead(VBAT) / 204); // value 204 must be selected by measuring battery voltage!
@ReMRC25 күн бұрын
This requires a regulated power supply. The buzzer should start beeping when the battery voltage is below 9.5 V. This value must be changed if the beeping starts at a different voltage.
@infinityrift_26 күн бұрын
Hello, I have a question, could the Nidec 24h be used to replace the GM3506? If so, would gears be needed? due to torque. Nicee proyect
@ReMRC25 күн бұрын
It's possible, but such motors aren't really suitable for this robot.
@infinityrift_24 күн бұрын
@@ReMRC Vere que puedo hacer ;)
@wagon705226 күн бұрын
I just got mine working and its awesome, its still a bit jittery and my reaction wheels arent heavy enough for now but it works pretty well, awesome project!
@yunqingjia229726 күн бұрын
Hi! Thank you so much for making this and posting the project! I'm trying to replicate this for a school project and we have a specific microcontroller that we need to use (mspm0g3507) and I don't have a bluetooth module. And I have a few questions I was wondering if you can maybe help answer... I know you mentioned in another video that the wires generate interference with the IMU and the I2C communication. Is there a way to do it without the bluetooth? Also, I was wondering if it would be ok to calibrate the accelerometer at the beginning of the program, similar to the gyroscope calibration, and just set calibrated to true after, or if there is a specific reason that tuning needs to be called at the beginning of the control loop each time? Also, I noticed that in tuning, an offset value was added accel_z to account for gravity. This makes sense for balancing on the vertex, since the IMU is positioned such that the z axis is aligned with gravity. But for the edge case, I imagine that a portion of the acceleration due to gravity would get projected onto the x-axis in the IMU frame, so should the offsets be a little bit different? Or does that not affect the measurement? Thanks again in advance!
@AManAPlanACanalPanama28 күн бұрын
is this cube able to walk?
@AManAPlanACanalPanama28 күн бұрын
Is it able to walk as the original?
@ReMRC28 күн бұрын
No.
@surge_iv681029 күн бұрын
I found myself in a bit of a time crunch and can’t get the Nidec servos in time, any recommendations for alternatives instead of the Nidec motors?
@ReMRC28 күн бұрын
There are no alternatives.
@ahmedhatem2284Ай бұрын
great project . i am builiding it for my research project in college I may try different control techniques I just have small question what the lego number for the rear wheel?
@ReMRCАй бұрын
Tire 6261718 - 88516.
@tonysfunАй бұрын
I have all the parts printed, the 3 motors arrived with the Arduino NANO, and I have the rest of the parts also. My problem is the wiring the motors! I purchased the exact same motors as you did, but in schema you show only 8 connections, but the motor has 12 wires! The wires 1+2 is +12V, wires 3+4 are ground - no problem here, BUT as per your schema it can't work, because the PWM is the last wire, Start/Stop is next to the last wire! Please, can you let me know where these wires should be connected at? The only part that is missing for me is the wiring. I started watching and following the other video, I didn't know that you are the original designer until just few minutes ago. ( Here is the other guys video: kzbin.info/www/bejne/rGTCZYOCqJmVqZI&ab_channel=MirkoPavleski ). He just copy your stuff and didn't give you credit for your work! Thank you in advance for your help.
@ReMRCАй бұрын
12 PIN motor is not the same as an 8 PIN. I don't have a 12 PIN motor and can't say anything more about it.
@tonysfunАй бұрын
@@ReMRC I found wiring for the 12 wires: 1+2 is +12V, wires 3+4 are ground, wires 5-8 are Feedback on four lines, wire 9 is Direction, 10 is brake, 11-Start/Stop, and 12-PWM. So, the wires 5-8 are not needed, right? In that case I just need to know what wires goes where. Also, do you have schema for the HC06 so I can adjust/calibrate it wirelessly? Sorry to bug you so much, but I would love to finish your idea right here and demo it in the MakersClub here in Lincoln, Nebraska. Thank you so much!
@ReMRCАй бұрын
@@tonysfun Judging by the description, these motors differ not only in that one has 12 PIN and the other has 8 PIN.
@nuwave5749Ай бұрын
Appreciate the added innovation in your design. Unfortunately I am getting the dreaded "angles are wrong!" during calibration. I am using the ESP32 build with Bluetooth. Some of the values I am getting are: X138.78, Y93.49 X140.23, Y94.16 X135.72, Y93.48 Any suggestions on how to resolve? Thank you.
@ReMRCАй бұрын
Are you trying an old cube with new software?
@nuwave5749Ай бұрын
@@ReMRC Ah, new cube but old software. I loaded in the new software and rolled back the ESP32 by Espressif to 2.10.17 to compile and everything works nicely. The responses and controls are tight. Nice work! And yes, the battery alarm works :)
@quoctruongngo5560Ай бұрын
Very cool project! 👌👌👌👌
@RetardEngineeringАй бұрын
seems fake
@SWARAJSINGH2008Ай бұрын
Excellent 👏👏👏❤❤
@edricj2514Ай бұрын
Whether can we use current FOS library version?? Or other version?? Could suggest me the FOS version sir?
@davidstern5374Ай бұрын
Great project! Thank you! Merci! Only problem I had was that I bought the Nidec motors with 12 pins. No matter what I did, I could not get any encoder outputs, even after a week of messing around with my scope and power supplies. So I reordered the 8-pin motors and everything works. Haven't yet tried tuning. Thanks again...
@burakaydn2315Ай бұрын
❤❤
@ajh1635Ай бұрын
Hello, I'm a student interested in your project. Could you tell me how you connected the line? Did you connect it with the line in the Arduino kit?
@ReMRCАй бұрын
What does "the line" mean?
@ajh163527 күн бұрын
@ReMRC jumper wire
@SunriseSearcherАй бұрын
I have an issue. I used the motor test script and everything is working. I am a bit confused with the calibrating though. When I send c+ I get a message to place the cube in vortex and then c-. All good. Then it says to place it in the edge. I do and send c-. After that is said: Edge OK and calibrating off. Shouldn't it ask be for the other edges as well? Do I have to do the c+ again from the beginning for the oher edges (Vertex and edge)? It never starts to balance though? Any pointers?
@SunriseSearcherАй бұрын
Fixed it. However, it's not balancing. It tries to...but it falls down. Any pointers?
@ReMRCАй бұрын
@@SunriseSearcher Show me the video
@SunriseSearcherАй бұрын
@@ReMRC kzbin.infoGX8A25D0K1Y?si=OE7juHFJdcPu-AYQ I had better tries....but this is the latest one where it doesn't even try to balance.
@SunriseSearcherАй бұрын
@@ReMRC kzbin.infouGW5epB65Rs A better try
@SunriseSearcherАй бұрын
kzbin.infouGW5epB65Rs
@gamerjosh7471Ай бұрын
Also, Please what screws did you use. I realized you fitted a nut-like structure before inserting the screws. What are they?
@ReMRCАй бұрын
For wheels? M4 10-12mm.
@gamerjosh7471Ай бұрын
is 3.7V 1000 mAh battery enought to drive the three 12V battery? Asking because I want to know.
@ReMRCАй бұрын
Please clarify the question. I didn't understand.
@EleMent-xn6fcАй бұрын
Awesome project. I built your previous cube (worked great) but seem to be struggling on this one. I built two separate boards with the ESP32, LM7805 and BC588 (PNP) components that exhibit the same behavior. The motor test checks out okay but the for the cube balancing function it just beeps a steady tone and nothing happens. I checked the wiring connections for both boards several times. Any thoughts for troubleshooting (maybe it’s not setup correctly)?
@ReMRCАй бұрын
Unfortunately, I don't know what the problem is. But more than one has already tried the new version - it works.
@burda788videogames9Ай бұрын
The BC588 needs 5V to close the circuit, i had the same problem. I connected a 3.3v buzzer directly to the esp32 output pin and it works.
@ReMRCАй бұрын
Beeps a steady tone because you use BC588. Did I mention PNP anywhere? cdn.shopify.com/s/files/1/0841/0673/9987/files/arduino-buzzer-circuit_480x480.png?v=1705320093
@EleMent-xn6fcАй бұрын
@@ReMRCah, yes mis-read the schematics. I swapped out the BC588 with a PNP transistor, everything works correctly now. Thank you!
@EleMent-xn6fcАй бұрын
I mean NPN :)
@vikchoАй бұрын
How did u connected this?
@ReMRCАй бұрын
What are you about?
@vikchoАй бұрын
@@ReMRCsorry for my bad english, i want to do the same on the same kind of servo, but i cant find info on how to wire or power it up. I only found your video. Can u please share something on wiring? Or diagram? 🙏
@ReMRCАй бұрын
@@vikcho Three pins. GND, +12V, and 0-12V for control.
@edricj2514Ай бұрын
Can I get the final working code???
@ReMRCАй бұрын
The final code is on my github.
@edricj2514Ай бұрын
But the code shows many errors sir
@edricj2514Ай бұрын
The code which I took from your github shows many errors while compiling the code sir. 😢
@ReMRCАй бұрын
@@edricj2514 There are no errors in the code, but it is possible that you are trying too difficult a project for yourself.
@LweirdayАй бұрын
where did you place the 3 MPU6050?
@ReMRCАй бұрын
Why 3? There is only one.
@edricj2514Ай бұрын
Can I get the circuit diagram for this sir?? It is not available in the source sir!
@ReMRCАй бұрын
I don't have any circuit, because I don't need it.
@markthomason7247Ай бұрын
Making progress.Reinstalled Arduino IDE and all libraries and now get this when i verify: C:\Users\Mark\Desktop\esp32_cube_enc\esp32_cube_enc.ino: In function 'void setup()': C:\Users\Mark\Desktop\esp32_cube_enc\esp32_cube_enc.ino:55:3: error: 'ledcSetup' was not declared in this scope 55 | ledcSetup(PWM1_CH, BASE_FREQ, TIMER_BIT); | ^~~~~~~~~ C:\Users\Mark\Desktop\esp32_cube_enc\esp32_cube_enc.ino:56:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'? 56 | ledcAttachPin(PWM1, PWM1_CH); | ^~~~~~~~~~~~~ | ledcAttach exit status 1 Compilation error: 'ledcSetup' was not declared in this scope
@ReMRCАй бұрын
Probably ESP32 library version 3.0. Version 2 (2.0.17) is required.
@markthomason7247Ай бұрын
@@ReMRC I think that fixed my problem. Uploaded to esp32 board with no errors. Will solder the project board up this week. Thank you so much for your help.
@markthomason7247Ай бұрын
Up and balancing. Thank you for your patience and assistance. Beeper is not working but I should be able to track that down on my own.
@robotics26Ай бұрын
Can u share which control logic did u use for balancing? PID?LQR or ML?
@ReMRCАй бұрын
LQR
@aladinmoviesАй бұрын
Nice work, excited
@kumarmanhas4778Ай бұрын
Hey can I get your email id
@yxhankunАй бұрын
esp32?
@ReMRCАй бұрын
Yes
@IMakeRobotsАй бұрын
How are you controlling the wheel torque? Is it closed loop velocity control or are you using current sensing. I am also using simple foc mini and same motors but my motors lift arround 100g only 😭
@ReMRCАй бұрын
Lift? Are you talking about the motors I use for balancing? These motors work with simple foc. However, the motors for the legs are completely different.
@IMakeRobotsАй бұрын
@ReMRC yes motor for balancing. I have the same motors and simple foc mini driver. I am trying to balance but it looks like they cannot generate enough torque to balance the 500g load. I was curious how did you mange to do the balancing on such a big body. Are you using current contol to generate torque or its just closed loop velocity control.
@ReMRCАй бұрын
@@IMakeRobots Strange, there is no need for high torque here... I don't use current control. The reason lies somewhere else...
@MirkoPavleskiMKАй бұрын
All your projects are wonderful. I have recreated several and they work flawlessly. You deserve many many more subs and I hope you get them in the near future. I congratulate you