I tried to make my self balancing cube better

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น •

  • @christiane321
    @christiane321 5 หลายเดือนก่อน +4

    Cool! very nice improvements. Nice redesign corner fasteners and no need to use tape anymore. I like the reposition of the mpu6050. The new code and firmware is so much smoother and solid. Keep up the good work and Mahalo for sharing Rem!

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      Aloha! Glad you liked it.

  • @alexeysharonov7765
    @alexeysharonov7765 5 หลายเดือนก่อน +3

    Awesome! And thank you for sharing the code. I bought the motors after the first video, but still did not find time to build. This video motivates me to come back to the project.

    • @Vansh-w7m
      @Vansh-w7m 3 หลายเดือนก่อน

      hey, just wanted to know where you got those motors...

    • @ReMRC
      @ReMRC  3 หลายเดือนก่อน

      @@Vansh-w7m What are the problems to buy motors? Ali, ebay.

    • @kkgaming8226
      @kkgaming8226 3 หลายเดือนก่อน

      ​@@ReMRC it is very difficult to get these motors in India, if you could help us find an alternative of these motor, it will be really helpful

    • @kkgaming8226
      @kkgaming8226 3 หลายเดือนก่อน

      ​@@ReMRC Ali express and ebay shows that they don't deliver in india

    • @ReMRC
      @ReMRC  3 หลายเดือนก่อน

      @@kkgaming8226 Unfortunately, I don't know where to get elsewhere. There are no alternatives.

  • @ekpuz
    @ekpuz 3 หลายเดือนก่อน

    Thanks for sharing! I'm looking forward to tackling this when I get some free time. I wish I had studied comments better before I bought motors as I apparently got the wrong model.

  • @davidstern5374
    @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...

  • @svenschlenker7106
    @svenschlenker7106 12 วันที่ผ่านมา +1

    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?

  • @KerneIBit
    @KerneIBit 4 หลายเดือนก่อน +1

    Nice redesign!

  • @YCSRFA
    @YCSRFA 3 หลายเดือนก่อน +1

    Thanks for the great info as always. I've always wondered about something in your videos, can you tell me why there are a few screws missing on the reaction wheel? If it's asymmetrical, does it make it more balanced and faster?

    • @ReMRC
      @ReMRC  3 หลายเดือนก่อน

      No, the bolts are over. :) And seriously, there shouldn't be more than necessary. The total weight of the cube should be as low as possible...

    • @YCSRFA
      @YCSRFA 3 หลายเดือนก่อน

      @@ReMRC oh, thanks!

  • @K1VQsmlyface
    @K1VQsmlyface 5 หลายเดือนก่อน +1

    This looks really cool, could you post links to all the parts you used because I looked on amazon and didn't know which one to use.

    • @K1VQsmlyface
      @K1VQsmlyface 5 หลายเดือนก่อน

      i found everything except for the motors, does anyone know where i could find some.

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      @@K1VQsmlyface aliexpress or ebay.

  • @charlesairlie4120
    @charlesairlie4120 23 วันที่ผ่านมา

    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

    • @ReMRC
      @ReMRC  23 วันที่ผ่านมา

      I not use physical or automatic timeout switch...

  • @rpatrick51
    @rpatrick51 2 หลายเดือนก่อน

    Super travail, je vais essayer. Il n’y aurait pas une liste des vis et leur longueur? Je n’ai rien trouvé. Merci pour ces belles réalisations.

  • @nuwave5749
    @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
      @ReMRC  หลายเดือนก่อน

      Are you trying an old cube with new software?

    • @nuwave5749
      @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 :)

  • @yunqingjia2297
    @yunqingjia2297 27 วันที่ผ่านมา

    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!

  • @gamerjosh7471
    @gamerjosh7471 หลายเดือนก่อน

    Also, Please what screws did you use. I realized you fitted a nut-like structure before inserting the screws. What are they?

    • @ReMRC
      @ReMRC  หลายเดือนก่อน

      For wheels? M4 10-12mm.

  • @noslackyak
    @noslackyak 4 หลายเดือนก่อน

    @ReM-RC, thanks so much for making this project! I have assembled everything and gone through the calibration. However, the motors don't move and the serial monitor is blank. Any advice of where to start troubleshooting? Do I still need to calibrate the voltage and comment out lines of code for the new build?

    • @ReMRC
      @ReMRC  4 หลายเดือนก่อน +1

      Try motors test.

    • @noslackyak
      @noslackyak 3 หลายเดือนก่อน

      @@ReMRC Thanks for the suggestion. The motor test worked. The issue was that my motors were wired backwards, with the opposite pinout. Luckily nothing was fried. My cube is now working! Thanks a bunch :)

  • @valko970
    @valko970 2 หลายเดือนก่อน

    Looks amazing, thank you for the update! I have made the cube as well from your work! Quick question, what is meant by only one side can be on the edge - is this for the calibration only, or in general with new software only one side supports balance?

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      Just to balance better. Of course, I can did this for other edges, but it will be worse.

    • @valko970
      @valko970 2 หลายเดือนก่อน

      @@ReMRC Do you think by adjusting the software, or reducing weight it can stand up on its own - like your self balancing triangle?

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      @@valko970 No, triangle is not the same...

  • @matroosoft4589
    @matroosoft4589 5 หลายเดือนก่อน +1

    Any chance you'll make one that can jump into position? Or would that be to expensive?

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน +2

      This is not easy. Why you can see here: th-cam.com/video/PwZfTrd_3Jg/w-d-xo.html

  • @leonardozio2361
    @leonardozio2361 2 หลายเดือนก่อน

    Hi, very nice project.
    How did you derive the LQR controller? Did you make a mathematical model of the cube to derive the controller?

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      No, I didn't make a mathematical model.

  • @SunriseSearcher
    @SunriseSearcher 26 วันที่ผ่านมา

    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!

    • @ReMRC
      @ReMRC  26 วันที่ผ่านมา +1

      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.

  • @Lweirday
    @Lweirday หลายเดือนก่อน

    where did you place the 3 MPU6050?

    • @ReMRC
      @ReMRC  หลายเดือนก่อน

      Why 3? There is only one.

  • @wagon7052
    @wagon7052 2 หลายเดือนก่อน

    Awesome project, im printing it out right now as im waiting for the motors to arrive, just a quick question, do you think the motors will be powerful enough to make the cube stand up on the edge/corner on its own? Ive seen a video on youtube of a different cube doing that and wanted to try coding it on this one, im just not sure if the motors can handle it

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      No. Why? Watch this th-cam.com/video/PwZfTrd_3Jg/w-d-xo.html

  • @fishsayhelo9872
    @fishsayhelo9872 5 หลายเดือนก่อน +2

    very gud man 👍

  • @samofficial15
    @samofficial15 15 วันที่ผ่านมา

    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

    • @ReMRC
      @ReMRC  15 วันที่ผ่านมา

      Hanged cannot balance - there is no point in that.

  • @infinityrift_
    @infinityrift_ 3 หลายเดือนก่อน

    Could this Nidec motor be used in a self-balanced robot, on two wheels? it would be very good

    • @ReMRC
      @ReMRC  3 หลายเดือนก่อน +1

      Yes, if it can be used for a unicycle, it can also be used for a two-wheeled self-balancing robot. th-cam.com/video/gByWvAQIvNI/w-d-xo.html

  • @fitranurmayadi
    @fitranurmayadi 4 หลายเดือนก่อน

    Great Improvement!! I see the code and it's cool.
    Btw, have a few question, Is it based on PID or LQR or both? Just one, I know it is very efficient optimization.
    And, since this project, I need to know more about the nidec24h motor, I test out a few, like position control, but whenever it reaches the setpoint angle, then if we change the angle a little and hold the motor rotation even in small power, it goes to shutdown. I think this is because of stall current protection. What do you think about this? Thank You.

    • @ReMRC
      @ReMRC  3 หลายเดือนก่อน

      LQR. NIDEC24h has no position or angle control. It works like a DC motor but with a controller and encoder inside. And yes, it has stall current protection.

    • @fitranurmayadi
      @fitranurmayadi 3 หลายเดือนก่อน

      Very enlightening. Thanks for the answer Sir.

  • @nikpolini1056
    @nikpolini1056 3 หลายเดือนก่อน

    HI There, Just wondring it this will work the other way around, with the reaction wheels facing upwards? I am in the proecess of building one. I am making a proper PCB and also connecting the brakes up separatly(D12,D23,D26), hoping to get it to jump up...

  • @EleMent-xn6fc
    @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
      @ReMRC  หลายเดือนก่อน

      Unfortunately, I don't know what the problem is. But more than one has already tried the new version - it works.

    • @burda788videogames9
      @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
      @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
      @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
      @EleMent-xn6fc หลายเดือนก่อน

      I mean NPN :)

  • @nickp7339
    @nickp7339 5 หลายเดือนก่อน

    What did you change to improve the balancing? Is it just the encoders that makes all the difference? Or did you change the balancing algorithm. It looks so much better!

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      Encoders have poor resolution. But it helps a little. However, this complicates the algorithm and requires more changes…

    • @nickp7339
      @nickp7339 5 หลายเดือนก่อน

      @@ReMRC I am using hall sensors instead of encoders. Would the new code improve balancing in this case?

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      @@nickp7339 Hall sensors with these motors?

    • @nickp7339
      @nickp7339 5 หลายเดือนก่อน

      @@ReMRC i used Maxon EC flat motors with hall sensors

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      @@nickp7339 Maxon are very good motors. But very expensive. :) The balancing algorithm needs to know the rotation speed. It doesn't matter what method is used for this.

  • @gamerjosh7471
    @gamerjosh7471 หลายเดือนก่อน

    is 3.7V 1000 mAh battery enought to drive the three 12V battery? Asking because I want to know.

    • @ReMRC
      @ReMRC  หลายเดือนก่อน

      Please clarify the question. I didn't understand.

  • @SunriseSearcher
    @SunriseSearcher 2 หลายเดือนก่อน

    Is there any posibility to share the fritzing file so we can create a PCB?

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      It wouldn't really help to make a PCB.

  • @markthomason7247
    @markthomason7247 23 วันที่ผ่านมา

    Still can't get beeper to work. Running version 2.3.3 of Arduino IDE. What library version for FastLED and Wire.h

    • @ReMRC
      @ReMRC  23 วันที่ผ่านมา

      Last version.

  • @marsoc12
    @marsoc12 2 หลายเดือนก่อน

    Awesome project! Thanks for the plans and the code. I only get stuck during the calibrating procedure: I keep getting told that the angles are wrong, no matter if I'm trying to calibrate the vertex or an edge. I built the arduino version of the cube and uploaded the current arduino code from github. Do you have any advice?

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      When you send c-, it prints the angles. Show me what it prints.

    • @marsoc12
      @marsoc12 2 หลายเดือนก่อน

      @@ReMRC everytime its gives me different values for the offsets and angles. The first offset is usually in the 10s or 100s and the second one always around 300.
      The x angle I can sometimes get below 10, the y angle never.
      Interestingly, sometimes I get the message that edge 3 is successfully calibrated when it's resting on one of the sides.
      I've tested the MPU6050. It's functioning nominally.
      I've tweaked the code to print the angles in the serial monitor but I don't get angles less than 10. I do manage to get both x and y to be at 90 though.

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      @@marsoc12 Are you doing this without bluetooth?

    • @marsoc12
      @marsoc12 2 หลายเดือนก่อน

      @@ReMRC oh wow I can't wait to hear what lead you to that conclusion. Yes, I only had an Arduino laying around without Bluetooth.

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      @@marsoc12 th-cam.com/video/Nkm9PoihZOI/w-d-xo.html

  • @hades9863
    @hades9863 2 หลายเดือนก่อน

    Hi ! Where did you buy the motors ?

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน +1

      Ali, Ebay.

  • @abdulrahmannassar1598
    @abdulrahmannassar1598 2 หลายเดือนก่อน

    hello very nice project i am using it as an engineering project in my university and it blew my professor's mind!! can you tell me please in detail which files do i use from github
    and if there are any contact info for you

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      Everything is written on github. What files etc.

  • @atmankikani9184
    @atmankikani9184 3 หลายเดือนก่อน

    I noticed it is a 30 pin ESP-32 board, which exact module esp32 30 pin board is it since there are multiple available in the market, the pinout in the schematic also doesnt match most of them

    • @ReMRC
      @ReMRC  3 หลายเดือนก่อน

      Doesn't matter. The pins are listed on the module.

  • @mdabdullah6868
    @mdabdullah6868 5 หลายเดือนก่อน +1

    nidec 24h brushless motor are not available in our country😢
    Now what can I do. Is there any alternative way😢❤😊

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      Where not available? Ebay, Aliexpress always help me.

    • @bi0530
      @bi0530 4 หลายเดือนก่อน

      @@ReMRC Do you have a current link on Aliexpress for the motor? It seems it does not come up (at least not the 24H404H160 version.

    • @ReMRC
      @ReMRC  4 หลายเดือนก่อน

      @@bi0530 24H404H160 shows exactly that version.

  • @Vansh-w7m
    @Vansh-w7m 3 หลายเดือนก่อน

    Hi, can someone tell me where can I get Nidec 24H motors or any alternate motors in India

  • @sander368
    @sander368 5 หลายเดือนก่อน

    Great project, I made your previous design and it was working fine, now that I modified the design with the new gyro plate the cube always slowly falls down as if the reaction wheels can't keep up. Same behavior when balancing on the side or on the corner, any idea what could be causing this? Also why did you remove the code to allow it to balance on all sides? Thanks!

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      Maybe the encoders are connected badly? Red connections in the schematic.

    • @sander368
      @sander368 5 หลายเดือนก่อน

      @@ReMRC Ah yes I got the encoder pins for the motors on my pcb design crossed so I just swapped the pins in software and now it works. Amazing upgrade, so much more stable and the wheels sometimes almost stand still. Is there a reason not to implement standing on all three sides of the cube?

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      @@sander368 Look at sensor orientation. :) In the first cube I didn't intend to do balancing on the edges. But I did it, although it works badly, and primarily because of the position of the sensor.

  • @보리-k1j2k
    @보리-k1j2k 4 หลายเดือนก่อน

    Can you upload the process of making the controller? Im begginer

    • @ReMRC
      @ReMRC  4 หลายเดือนก่อน

      This project is too difficult for beginners.

  • @LuisSM
    @LuisSM 4 หลายเดือนก่อน

    Very nice, congratulations!!! I'm trying to build it, but I have the problem to send the commands by bluetooth. Do you use any application?

    • @ReMRC
      @ReMRC  4 หลายเดือนก่อน +1

      Nothing special is needed. Arduino serial monitor or any other program that does the same.

    • @LuisSM
      @LuisSM 4 หลายเดือนก่อน

      @@ReMRC Thanks, that worked, but I don't know how to follow or what to send, only get this message: first you need to calibrate the balancing points...
      How can I balance the points?

    • @ReMRC
      @ReMRC  4 หลายเดือนก่อน +1

      @@LuisSM ??? th-cam.com/video/ZU0oTBRDgOE/w-d-xo.html

    • @LuisSM
      @LuisSM 4 หลายเดือนก่อน

      @@ReMRC I tried that comma d but nothing happened, maybe I didn't do the process properly, tomorrow I will try again. Thanks and sorry for not noticing that part

    • @LuisSM
      @LuisSM 4 หลายเดือนก่อน

      @@ReMRC Thanks!, that works :)

  • @elidelia2653
    @elidelia2653 5 หลายเดือนก่อน

    is there a way to add a way to modify the code to make the cube tip itself up from a flat at rest position to self balance on an edge or corner? Thanks. Great project.

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน +1

      You mean like this? th-cam.com/video/PwZfTrd_3Jg/w-d-xo.html

    • @elidelia2653
      @elidelia2653 5 หลายเดือนก่อน

      @@ReMRC Yes! nice. That is doable in this current build? I'm just waiting on the motors to show up. I will make the new print in the meantime.

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน +1

      @@elidelia2653 No, it's hard to make good brakes that always work the same way. It also requires additional space.

  • @leonardozio2361
    @leonardozio2361 2 หลายเดือนก่อน

    In the function XYZ_to_threeWay, to calculate m1, m2 and M3, why did you use /1.37 and not /1.41 (which is 1/cos(45deg)?

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      Why do you think it is 1/cos(45deg)?

    • @leonardozio2361
      @leonardozio2361 2 หลายเดือนก่อน

      @@ReMRC because 45 degrees is the angle between the z axis of the IMU and the rotation axis of the three motors. I thought this is how you derived the equations present in XYZ_to_threeWay. The other numbers follow this logic, the only one I'm missing is 1.37

  • @alexeysharonov7765
    @alexeysharonov7765 5 หลายเดือนก่อน

    What is your overall preferences for the motors, either those used in this project, or FOC +BLDC in your balancing triangle?

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      Nidec24H is an easy way because there is a controller inside. FOC + BLDC can also be used.

  • @marshallmann7620
    @marshallmann7620 5 หลายเดือนก่อน +1

    this is awesome. you are awesome! xD

  • @ronaldradnus9108
    @ronaldradnus9108 3 หลายเดือนก่อน

    Also, in esp32 docs, they said the ledcSetup is removed....are you using older version of esp..

    • @ReMRC
      @ReMRC  3 หลายเดือนก่อน +1

      As of version 3.0 of ESP32 boards, this function has been changed. Use version 2.0.17.

    • @ronaldradnus9108
      @ronaldradnus9108 3 หลายเดือนก่อน

      @@ReMRC I bought a nidec 24h from eBay which has 12 pins...4 feedback, 2 +12V, 2 Gnd, start/stop, Direction, pwm, brake....can I use this?

    • @ReMRC
      @ReMRC  3 หลายเดือนก่อน +1

      @@ronaldradnus9108 No. I don't know if it would be possible to use such motors after changing the program.

  • @xsh9t608
    @xsh9t608 2 หลายเดือนก่อน

    How did you calculate the weight and radius of the wheels?

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      I did not calculate the weight and radius. And I don't know why I should do it.

    • @xsh9t608
      @xsh9t608 2 หลายเดือนก่อน

      So you didn't calculate these parameters to balance the triangle? For inertia, angular velocity, etc.

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      @@xsh9t608 Yes, I don't need this.

  • @markthomason7247
    @markthomason7247 หลายเดือนก่อน

    Built this with esp32 version. When I upload code I get this error message in line 2414: extended character ' is not vaild in an identifier. Very nice design and build. Would really like to get it working. Would the Arduino version be better? Does the arduino version require the bluetooth module or is there an Arduino with bluetooth?

    • @ReMRC
      @ReMRC  หลายเดือนก่อน

      Line 2414? Which file contains this error? It looks like it's in some kind of library...
      ESP32 version is better.

    • @Sailing-n9v
      @Sailing-n9v หลายเดือนก่อน

      @@ReMRC Thank you so much for your reply. I am in my 70's and my kids send me projects to build to judge if I'm still capable of learning new things and therefore mentally fit and able to live alone. This is probably to advanced for me but I'm determined to show them a working cube. I open esp32_cube_enc.ino in Arduino IDE and it shows 3 tabs for the 3 files in your download folder. When I click verify in returns errors. I can copy the error report but am unsure how to upload it here. Thanks for responding, I have also reached out to the Georgia Tech Invention studio as I live in Atlanta GA. I have printed the parts and assembled them. Everything fit perfectly. My oldest son challenged me to learn Fusion 360 which is truley a new trick for an old dog. Thank you for a intriguing project

    • @ReMRC
      @ReMRC  หลายเดือนก่อน

      @@Sailing-n9v Is there really an error? Not note?

    • @markthomason7247
      @markthomason7247 หลายเดือนก่อน

      @@ReMRC Made progress. Reinstalled Arduino IDE and all libraries and now get this:
      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

    • @markthomason7247
      @markthomason7247 หลายเดือนก่อน

      @@ReMRC Made Progress. Reinstalled Arduino IDE and all librairies 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

  • @warr1orx79
    @warr1orx79 3 หลายเดือนก่อน

    i cant get my hands on a niodec mototrs used....... what happens if i use a normal bldc motor(drone) with an encoder....will it stilll work? please help :3

    • @ReMRC
      @ReMRC  3 หลายเดือนก่อน

      No... :)

  • @dylanthurston
    @dylanthurston 2 หลายเดือนก่อน

    Do you have a source for the lipo batter. 3S1P batteries seem to be in several form factors. I'd love to build this but i'm not sure all of the parts i found will fit.

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      Like this hobbyking.com/en_us/turnigy-nano-tech-plus-500mah-3s-70c-lipo-pack-w-xt30.html

    • @dylanthurston
      @dylanthurston 2 หลายเดือนก่อน

      @@ReMRC Great thanks. Such quick response 🙂
      what are your ideas for a breaking system to jump in position? I saw you had a video 8 months ago but it doesn't look like you've migrated those features into this model. Is it planned? I saw another design online that uses a bicycle style brake(driven by servo) to stop the reaction wheel You could add printed ring to the reaction wheel that could run through the brake, that the brake would trap. I'm not an engineer so i'm sure there are things i'm not considering but it's an idea you might consider.

    • @dylanthurston
      @dylanthurston 2 หลายเดือนก่อน

      @@ReMRC sorry for asking so many questions but does the XT30 plug connect to the motors/mcu and the charger connect to the jst connector or is the jst connector used for both charging and use.

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      @@dylanthurston You can use any plug.

    • @ReMRC
      @ReMRC  2 หลายเดือนก่อน

      @@dylanthurston No, this type of brake is not suitable. The braking must always be the same. Means no slipping (like disc brakes). It is possible, but only as demonstration, it not always works.

  • @MrAlekoy
    @MrAlekoy 4 หลายเดือนก่อน

    How do I know what motor is 1,2 and 3? I see I can change the pin definitions, so I can swap them without having to resolder :)

    • @ReMRC
      @ReMRC  4 หลายเดือนก่อน +1

      Yes. Or watch this th-cam.com/video/Nkm9PoihZOI/w-d-xo.html

    • @MrAlekoy
      @MrAlekoy 4 หลายเดือนก่อน

      @@ReMRC aha, the one video I had not seen :) tnx

  • @hunakaka
    @hunakaka 5 หลายเดือนก่อน

    If I replace triangle and reposition the sensor together with new software only,will there be improvements, or new wheels are mandatory?

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      You can see both cubes with new software at the end of the video.

    • @hunakaka
      @hunakaka 4 หลายเดือนก่อน

      @@ReMRC why didn't you include LEDs in scematic and when do LEDs turn on?

    • @ReMRC
      @ReMRC  4 หลายเดือนก่อน

      @@hunakaka Because the LED connection is very simple. And schematic is completely unnecessary.

  • @hummerman85
    @hummerman85 5 หลายเดือนก่อน

    I must be missing something, how do you attach the motor to the balancing wheel?

    • @ReMRC
      @ReMRC  4 หลายเดือนก่อน

      How? th-cam.com/video/ZU0oTBRDgOE/w-d-xo.html

    • @hummerman85
      @hummerman85 4 หลายเดือนก่อน

      @ReMRC Oh, a custom part has to go on the shaft to interface with the wheel. Thanks, I hadn't noticed that part before.

    • @ReMRC
      @ReMRC  4 หลายเดือนก่อน

      @@hummerman85 Custom part? No...

    • @hummerman85
      @hummerman85 4 หลายเดือนก่อน

      @ReMRC I can not find the file for the black part you have on the motor shaft seen here. I have almost everything and can't wait to finish it. Thank you for putting this together. th-cam.com/video/ZU0oTBRDgOE/w-d-xo.html

    • @ReMRC
      @ReMRC  4 หลายเดือนก่อน +1

      @@hummerman85 This is part of motor. These motors are sold with this pulley.

  • @TheLuke906
    @TheLuke906 5 หลายเดือนก่อน

    there are several model for NIDEC24H. can you tell me the model number or purchase link?

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      24H404H160

    • @TheLuke906
      @TheLuke906 5 หลายเดือนก่อน

      @@ReMRC Thanks a lot

  • @dolevwasser8639
    @dolevwasser8639 5 หลายเดือนก่อน

    how does the cube finds where its real balance point/angle is ? i guess its not exactly on the imu 0 ?

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      The balancing point is determined by calibration.

    • @dolevwasser8639
      @dolevwasser8639 5 หลายเดือนก่อน

      @@ReMRC so it only works if your structure is perfectly symmetrical isnt it ? If your point of balance is changes by an extra mass your motors will saturate?

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      @@dolevwasser8639 You mean something like this? th-cam.com/video/aWhKnBbdXs0/w-d-xo.html

    • @dolevwasser8639
      @dolevwasser8639 5 หลายเดือนก่อน

      @@ReMRC exactly!!! How ? How do you change your reference angle ?

  • @KerneIBit
    @KerneIBit 4 หลายเดือนก่อน

    Is the code setup the same as in the first version?

    • @ReMRC
      @ReMRC  4 หลายเดือนก่อน

      No, bus all difference you can see in this video.

    • @KerneIBit
      @KerneIBit 4 หลายเดือนก่อน

      @@ReMRC Sorry, my bad, I ment as in uploading and setting up the code.

    • @ReMRC
      @ReMRC  4 หลายเดือนก่อน

      @@KerneIBit Setting the balancing points is different.

    • @KerneIBit
      @KerneIBit 4 หลายเดือนก่อน

      @@ReMRC Alright, Thanks!

  • @bakiyagzcelik6627
    @bakiyagzcelik6627 2 วันที่ผ่านมา

    can u update code? ledcSetup and ledcAttachPin are no longer used so the code gives an error.

    • @bakiyagzcelik6627
      @bakiyagzcelik6627 2 วันที่ผ่านมา

      for old version.

    • @ReMRC
      @ReMRC  2 วันที่ผ่านมา

      @@bakiyagzcelik6627 Use ESP32 2.0.17

  • @pk_star7862
    @pk_star7862 5 หลายเดือนก่อน

    Can u explain the code in a video please

    • @ReMRC
      @ReMRC  5 หลายเดือนก่อน

      No, sorry. Code explaining would be time-consuming and uninteresting to most viewers...

  • @markthomason7247
    @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
      @ReMRC  หลายเดือนก่อน

      Probably ESP32 library version 3.0. Version 2 (2.0.17) is required.

    • @markthomason7247
      @markthomason7247 หลายเดือนก่อน +1

      @@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
      @markthomason7247 หลายเดือนก่อน +1

      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.