3/2/2024 0 Comments Small stepper motor arduinoI installed the outer frame first, and pushed the pins in, I mixed some epoxy resin to secure the pins before finally pressing the pins home, the same applies with the inner framework. these were only partially drilled to 10mm, the same applies to the inner axis marking ff and drilling straight through the axis framework and then partially drilling the inner frame to 10mm. The outer framework is 20mm depth and the centres are marked off to mirror where I'd already marked off the positions on the insides of the box, these holes were drilled straight through with a 4.9 drill, for the holes in the side. This is another crucial part of this build, for the outer axis I wanted it sunk into the box by 10mm, so I marked 10mm from the top on all internal sides, Using the axis frame I then marked off 2 lines and marked the centre of these in 2 places where I would be drilling the pivot holes, I'm using stepper motors to control the axis so rather than using dowel for the pivots I opted for turning some scrap brass hexagon bar down on the mini lathe to make some 5mm rods for the pivots, making for a more smoother operation. With the outer Axis complete it was time to move onto the Inner Axis: I measured the distance inside the box and cut the lengths 20mm x 20mm which will be screwed with one screw in each side, first ensuring that there was a gap at each end, then the other 2 components were cut, I used the bed and internal lip/edge of my cnc to work to when gluing and screwing the pieces together, It was a bit of a faff trying to get everything square and laid flat, but after a few attempts I achieved this, if its not done correctly at this point it wont look right when it's installed into the box, I bashed my finger at this point which had me cursing and jumping around the workshop, a bit like an impression of the first Astronaut landing on the Sun! :)) ![]() I will drill pilot holes first and then countersink each hole, all sides need to be flush. The most important thing with both Axis is to ensure that they can move freely within each other, there should be at least 3/4mm clearance all the way round, if it catches anywhere it will send the steel ball off on a different trajectory which is not good. It should make for a very Interesting build so lets get to it! The stepper motors are driven by the ULN2003 driver boards. On the Electronics side I am using an Arduino Nano with servo shield, with digital pins used for the stepper motors and Analog pins for the Joystick. I will be using some left over spruce boards from a garden bench build and an off cut of 10mm Mdf for the playing area, the base will be 3mm plyįor everything to work correctly the woodworking may be beyond my skills, I'm not that precise but with this type of build, everything has to be precise especially with Axis movement. The stepper motors should make for a smoother and more precise axis movement in theory which is needed to navigate the steel ball through the course, the whole idea of a game of skill is that it can be achieved, a lot I have seen are nearly impossible to complete, so some thought must be given to the layout and the route the ball must take to achieve this goal. This game is not my idea, there are various Labyrinth games out there, whether there are games utilising stepper motors and a Joystick then I don't know, this version is just my take on the game. Welcome to this Instructable, I've wanted to build one of these Labyrinth Games for some time now but rather than use the conventional method with the hand turn knobs, I wanted to use 2 of the small 28BYJ-48 stepper motors controlled by a Joystick to move both Axis.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |