Stair Climber
Using the 3d printer and laser cutter along with the basic bot components I have created the first prototype for a robotic stair climber
Supplies
The supplies needed include
- Software
- fusion 360
- Adobe Illustrator
- Ultimaker Cura
- Creality Print
- Tools
- Laser cutter
- 3D printer
- Materials
- MDF (wood)
- PLA (Plastic)
- Super glue
- wood glue
- Basic bot kit
- 6 AA battery holder
- 6 AA battery's
- 9 Volt Heavy duty battery snap
- HM-10/AT09 Bluetooth Module
- Motor x4 (only 2 included in the kit 2 additions necessary)
- Jumper Wires (male to female & female to female)
- 3x12 mm screws
- 3x8 mm screws
- 3x6 mm screws
- 2.5 hex Allen key wrench
- 4-Tip Combination Philips/Slot Screw driver
- 22AWG wire bundle
- switch
- Arduino Mega
- DK Electronics Motor controller
Measure the Stair
Get All of the dimensions of the stair that the robot will be climbing
Include:
- height
- depth
- width
- depth of overhang (if applicable)
Design the Chassie
- Using adobe illustrator design a chassie that will allow for the robot to surround the stair (it should begin in an L shape)
- fillet the corners that will be closer to the stairs
- when in motion these corners will come in contact with the stairs and put the robot off balance
- Fillet the back corner of the machine
- this will allow the robots center of gravity to remain overtop of the stair being climbed and ensure that the robot does not fall backwards
- add finger's to the chassie that will allow for the attachment of the 3rd dimension, make the chassie ~8cm
- cut holes for the motors and the power switch
- test the chassies construction using fusion 360 (MAKE SURE THAT THE SCALING IS UNIFORM)
- make adjustments to the design based on the fusion 360 mockup
- return the design to adobe illustrator
Cut and Assemble the Chassie
- Using the laser cutter cut out the designed chassie in step 2 onto 3mm MDF wood
- assemble all of the pieces using superglue (one may want to use tape first to avoid error)
- leave off the top wall and one side of the chassie to allow for internal components
Prototype During this step
- The issue for prototype 1 was a failed scale
- next I will re cut it with the proper scaling
- The issue for prototype 2 was incorrectly set margins for the laser cutter
- next I will re cut it with the proper margins
- The issue for prototype 3 was an incorrect edge correction
- next I will redesign the entire piece so that the component will get cut to the correct size the first time
- the issue for prototype 4 was an incorrect size of the piece this issue made a gap in the chassie
- next I will redesign the piece so it fills in the gap properly
- the issue for prototype 5 was an incorrect size of the component (similar to the last prototype but with a different piece
- next I will redesign the component and re cut it
For all of the prototypes I suspect that the sizes were thrown off because of the scale transfer between the original
illustrator file and the fusion file that I used to check the sizes. If I did this project again I would make sure that it is
scaled correctly when transferring
Design and Cut the Wheels
design the shape of the wheels
the shape should consist of hooks that will allow the robot to climb the stairs I went for a rounder design to allow for easier driving of the robot
make sure that you cut a hole in the middle of the robot that is the same shape as the motor axles that you will be using
the wheel should be taller than the stair to allow the bot to climb
My design for the wheels are included in the following file
Downloads
Set Up Wires
- attach the arduino mega to the motor controller
- attach the motors to the motor controller
- attach the battery to the switch
- attach the switch and battery combination to the motor controller
Downloads
Print Brackets and Holders for the Motors
- print brackets for motors using the Rapid Prototyping files (print 2 right and 2 left)
- print top holder for the front motors
- print bottom holder for the back motors (could alternatively use a laser cut piece
Prototypes for this step
- This step only had 1 prototype and it was to see if I could alter the point that the motor attaches to the frame of the chassie
- this was a failure because the replacement of the fastener was to damaging to the component to it didn't attach properly to the frame anymore
- Next I am going to try put the fastener in the right spot from the original print
While making this prototype I experimented with sauntering using PLA and 3d print designs
Assembly
Put together all the components
- fasten the Arduino mega/motor shield to the front angled portion
- this ensures the center of gravity is further forward because the weight is forward
- fasten on the top and bottom holders on the top and bottom portions of the robot respectively
- Fasten the motor brackets to the top and bottom holders (put the left on the left and right on the right)
- insert the motors into the brackets
- fasten the final side of the chassie with superglue
- fasten the wheels (read more on the final page)
Code
Download the following code to your Arduino mega, make sure you use the appropriate libraries (Dabble and ADAfruit)
The top 5 are the components to a work in progress code that will allow the bot to utilize the Bluetooth connector in order to
- turn
- drive forwards
- drive backwards
- stop
The bottom file includes code that will make to bot drive forwards when there is power supplied to the Arduino by using the power switch (It will not connect to the dabble app using the Bluetooth connector)
Next Time
If I had more time to complete this project and all of the machines (laser cutter and printers) were available I would have changed my project in the following ways
- Created a turning feature
- coding the enhanced motor controller was a very large challenge whilst doing this project. Because of this I was unable to complete the code to make the robot turn as well as connect to the dabble app
- given more time I would spend more time learning the DK electronics motor controller as well as the various coding library's used so I would be able to create a Bluetooth connectable project
- Stabilized the wheels
- since the wheels were preemptively superglued to the motors they were unable to bear the total weight
- If I was able to remove the wheels I would have created a bracket that would have better fastened the motor a prototype for this bracket is included in the images