Solving a Rubik's Cube using an Arduino

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • #arduino #rubikscube #rubikssolver
    There are still mistakes in the code which do not always present themselves, so the cube may not always solve.
    drive.google.c...

Комментарии • 55

  • @thecontrolenggeek786
    @thecontrolenggeek786 5 месяцев назад +2

    I liked your approach of solving the problems in the project. Thank you for sharing this with us.....

  • @robinsharma7920
    @robinsharma7920 3 года назад +9

    Congratulations ... U successfully planned, executed and completed your project ...hardwork actually pays .❤🙌✌

  • @TinyMaths
    @TinyMaths Год назад +1

    I think that cost isn't too bad actually when, like you say, you factor in unused parts that were there for prototyping, testing etc. Even the basic mass produced ones I see online range from around 100-150 quid. I image the cost of R&D prior to mass production wasn't too small. And I guess you accumulated a fair bit of knowledge on the way which is an additional plus.

  • @ozcanilyas
    @ozcanilyas 3 года назад +2

    That’s awesome bro. Good luck.

  • @anthonyabbott1230
    @anthonyabbott1230 4 года назад +2

    this is absolutely insane mate, well done 👏🏻

  • @johnsouthey5825
    @johnsouthey5825 4 года назад +2

    Amazing, well done

  • @uett917
    @uett917 3 года назад +1

    Nice

  • @danaberezenjy
    @danaberezenjy Год назад

    So cool well done,

  • @jakethesnake2294
    @jakethesnake2294 6 месяцев назад

    Hello. you might not see this but how do you use pulse width modulation with the arduino mega? the pins on the end didnt work with my motor and caused an error? I assume its the lack of pulse width modulation so how did you avoid that?

    • @freddiemeinertzhagen
      @freddiemeinertzhagen  6 месяцев назад

      Only pins 2-13 and 44-46 work with PWM so bear that in mind, and remember to set the pinmode to output. Otherwise I don't know, you can check my code from the description

  • @heetpatel5116
    @heetpatel5116 10 месяцев назад

    Sir can you please share the product links

  • @expectus4673
    @expectus4673 2 года назад

    Eyo mate, I'm doing this for school, already got my printed design from school and now you're making me worry the 28BYJ Motor might be too weak. Great Video though, hope I can achieve a similar result.

    • @freddiemeinertzhagen
      @freddiemeinertzhagen  2 года назад

      It could work with that motor, I just wanted it to be quick. The ones I tested were 5v ones but I'm pretty sure they to them in 12v too so that might be a good idea

  • @myducatirocks
    @myducatirocks 3 года назад +1

    Well done!

  • @paulinaalvarez446
    @paulinaalvarez446 2 года назад

    By any chance, do you have the sketch of the 3D printing that you were going to use? please I would like to do it.

  • @Blendershick
    @Blendershick 3 года назад +1

    Amazing

  • @nethilascube6959
    @nethilascube6959 Год назад

    What if i used the 28byj 48 motor ? Would the code be changed ? (2.16) or the entire project ?

    • @freddiemeinertzhagen
      @freddiemeinertzhagen  Год назад

      The code would only need to be changed for the driver i.e. Using the servo library stepper.h instead of a for loop. I found that the 5v one wasn't strong enough but there is a 12v one which might work

  • @詹安元
    @詹安元 Год назад

    hi i'm a student ,can you give me your Laser engraving design its too hard for me please~🙏

  • @bossmandenchman9100
    @bossmandenchman9100 3 года назад +1

    Amazingly sick! Yes Fred!

  • @limitedbrainchill2707
    @limitedbrainchill2707 2 года назад

    Is the Arduino Mega any faster than the Uno? Both have a 16MHz clock frequency but I can't find information about how many transistors each one has. I suspect that if they are the same in performance then the Uno will be fast enough for my purposes, based on what I've seen in your video, and I won't need to spend as much. I am planning a project where I will need it to perform some maths calculations based on sensors, preferably 10 times per second, and use the results to control some motors.

  • @armagedon2012studio
    @armagedon2012studio 3 года назад +1

    What rubik's cube did you use? I used a real cheap one and it jams so much that the motor can't make a single turn

    • @freddiemeinertzhagen
      @freddiemeinertzhagen  3 года назад

      Yeah I used a cheap one too and it jammed too much so that's why I had to change the connector. I ended up gluing a thin hexagon to the centre piece and making the motor shaft also a hexagon shape so that they could lock together like a bolt head and spanner. If feels like I'm kinda cheating by doing that though

    • @armagedon2012studio
      @armagedon2012studio 3 года назад

      @@freddiemeinertzhagen I drilled a hole through each centerpiece and hold it by screws, on the outside there are hexagonal bolts and the engines have hexagonal pieces which attach to the bolts. I hope that sacrificing a better quality cube that 'cuts corners' better will solve the problem

    • @teutonen9978
      @teutonen9978 3 года назад

      @@armagedon2012studio Did your cube end up working? I am trying with a high end speedcube at the moment and for me only the centerpieces turn but not the layers ;-;

  • @yohannsebastian3307
    @yohannsebastian3307 2 года назад +1

    How the fuck this doesn’t have more views

  • @karanpandey6585
    @karanpandey6585 2 года назад

    what's the budget of the project

  • @mugenversstudios613
    @mugenversstudios613 Год назад +1

    I NEED THIS TO BE MASS PRODUCED FOR 99 US DOLLARS AND 99 US CENTS!!!!! I WANT ONE FOR MYSELF AS I AM A NONCUBER!!!!!!!!!!!!

  • @mib0748
    @mib0748 3 года назад +1

    Whats the best solving method for programming? For noobs?

    • @aslanvolkov9846
      @aslanvolkov9846 3 года назад +3

      There are 3 main routes you could go down:
      1. Beginner/CFOP Method
      2. Thistlethwaite algorithm
      3. Kociemba algorithm
      If you want to implement one of these yourself, I would recommend implementing the begginer/cfop method if you are new to programming.

    • @mib0748
      @mib0748 3 года назад

      @@aslanvolkov9846 Thank you very much! Isn‘t it very hard because of all the intuitive steps? Sorry for my questions…

  • @javierflored8841
    @javierflored8841 Год назад

    Whats it’s the soport for the cube ?

  • @sergioandresmottamejia5969
    @sergioandresmottamejia5969 2 года назад

    How you made the motor shaft couplings to the center frames?

    • @freddiemeinertzhagen
      @freddiemeinertzhagen  2 года назад +1

      I ended up having to glue a hexagon onto each centre piece to allow the motor shaft to lock into them like an Allan key

  • @Dark_Phantom__
    @Dark_Phantom__ 2 года назад

    can you please share the arduino code of the robot

  • @powerkhe
    @powerkhe Год назад

    How to know the zero position of the motors?

    • @freddiemeinertzhagen
      @freddiemeinertzhagen  Год назад

      On this machine, the arduino doesn't know. You just make sure the sides are all straight before switching it on

  • @SureshKumar-nk2ok
    @SureshKumar-nk2ok 3 года назад

    Sir pls upload algorithm

  • @souravmandal21
    @souravmandal21 4 года назад +1

    Hii sir ,very nice well done ,I m Indian

  • @117MCHALO
    @117MCHALO 4 года назад +1

    Qaulity that Fred

  • @pingu4814
    @pingu4814 3 года назад

    could you maybe give me the code?

  • @evillegend3145
    @evillegend3145 2 года назад

    Can I use the cheaper motor as I don’t want this to be fast?will the code still be the same?

    • @freddiemeinertzhagen
      @freddiemeinertzhagen  2 года назад

      The code should be the same if you're using the same driver and your motor has 200 steps per rotation. You could probably use smaller motors but I would recommend buying one and testing it first to make sure it works

    • @evillegend3145
      @evillegend3145 2 года назад

      @@freddiemeinertzhagen can you please provide me your code if you can ?

    • @freddiemeinertzhagen
      @freddiemeinertzhagen  2 года назад

      Try copying this into arduino IDE:
      drive.google.com/file/d/1N6j5qj8LwoDTzmMjLcVfo3cnjZo2YrO6/view?usp=sharing
      There are still a few mistakes that pop up every now and then that I haven't fixed so might not work every time but good luck

  • @____Potato_____
    @____Potato_____ 3 года назад

    Can you share the code

  • @souravmandal21
    @souravmandal21 4 года назад +1

    Please give connection ,and coding

    • @freddiemeinertzhagen
      @freddiemeinertzhagen  4 года назад

      Hi dude, I have another video which explains all the code, check that out

  • @Blendershick
    @Blendershick 3 года назад

    What model of your power supply unit?

    • @freddiemeinertzhagen
      @freddiemeinertzhagen  3 года назад +1

      12V DC Switching voltage converter, max 21A. You shouldn't need more than 10A though for 6 stepper motors so you might not need such a high power converter

    • @Blendershick
      @Blendershick 3 года назад

      @@freddiemeinertzhagen Thank you!

  • @dado304
    @dado304 2 года назад

    So many months for such a stupid thing?

  • @snouzz-gaming
    @snouzz-gaming Год назад

    code?