Hamster Park

by casperliao1218 in Workshop > Home Improvement

1491 Views, 0 Favorites, 0 Comments

Hamster Park

2020-05-26.jpg
2020-05-26-15.jpg
2020-05-26-16.jpg

Want to have fun with your hamsters? Try this Arduino project!

This entertaining play field for hamsters including two major parts: the tracks on the sides and the elevator in the center. The tracks and the elevator forms a circular pathway, so your hamster can move around forever! You do not need expensive electronic parts, but you do need some manual skills to create the tracks. This project is great for people not so familiar with Arduino, but who are willing to place effort in making their unique tracks.

Materials

F7916454-01.jpg
螢幕快照 2020-05-27 下午9.33.44.png
Breadboard-USBPowerWire.jpg
螢幕快照 2020-05-27 下午9.36.03.png
螢幕快照 2020-05-27 下午9.36.25.png
6177CmL0Q1L._AC_SL1167_.jpg
螢幕快照 2020-05-27 下午9.38.08.png
螢幕快照 2020-05-27 上午6.59.07.png

Mechanical Parts:

  • Cardboard
  • Building blocks (for the structure)
  • Strings (for string of elevator)
  • Transparent folder
  • Plastic straw (fits to axis of the motor)
  • Plastic straw (thicker)

Electronic Parts:

  • Jump wires (about 20)
  • A DC motor (direct current)
  • A USB to jump wire adapter
  • A button
  • Arduino Leonardo
  • Bread board
  • L298N
  • Portable charger
  • Electric resistance (for the button)

Tools:

  • Scissor
  • Utility Knife
  • Marker/Pencil
  • Tape
  • Hot melt adhesive
  • Awl

Create the Structure

2020-05-26-2.jpg
2020-05-26-3.jpg
2020-05-26-7.jpg
2020-05-26-17.jpg
2020-05-26-11.jpg
2020-05-26-21.jpg
2020-05-26-8.jpg
2020-05-26-18.jpg
2020-05-26-33.jpg
  1. Cut the box open
  2. Build the structure with building blocks (if you do not have building blocks, use cardboard instead)
  3. Strengthen the back side of the structure with an extra piece of cardboard
  4. Create a piece of cardboard that fits the top of the structure
  5. Cut open two rectangular holes (the holes can be later fixed after the pulley was made)
  6. Create a base for the structure, drill a hole at the center to put in the button
  7. Place the base into the structure
  8. Fix the structure with the cardboard box

Creates the Elevator Box

2020-05-26-9.jpg
2020-05-26-10.jpg
2020-05-26-12.jpg
2020-05-26-14.jpg
  1. Create a rectangular box as the elevator (I did 9cm * 9cm base with 8cm height)
  2. Drill to holes at each side of the box, then place the string through the holes
  3. Tie the strings at the top
  4. Measure the length of the string (depending on your elevator tower), and cut
  5. Cut to semicircles on the sides of the elevator box

Create the Elevator Pulley & Combine

2020-05-26-5.jpg
2020-05-26-4.jpg
2020-05-26-6.jpg
2020-05-26-13.jpg
2020-05-26-19.jpg
2020-05-26-20.jpg
  1. Cut 2 segments of straw with the same length (5~7 cm)
  2. Stick the straw segments onto the two axis of the motor
  3. Create 4 circles with cardboard; drill a hole at the center
  4. Cut 2 segments of thick straw with the same length (2~3 cm)
  5. Stick the circles and the straw onto the axis as shown in pic 3
  6. Stick the strings to the thick straw axis (through the top layer of the elevator tower)
  7. Add extra cardboard parts to the side of the elevator shaft as track for the elevator (prevent wobbling)

Connect the Arduino

螢幕快照 2020-05-27 下午9.14.42.png
螢幕快照 2020-05-27 下午10.38.33.png
2020-05-26-23.jpg
2020-05-26-24.jpg
2020-05-26-25.jpg
  1. Connect the electronic parts as shown in the image
  2. Place the finished Arduino set into another cardboard box
  3. Connect the box with the main structure

Coding and Adjustments

螢幕快照 2020-05-27 下午9.26.02.png

The code can be copied through this link:

https://create.arduino.cc/editor/casper1218/a4c12a...

*1000 unit in the code equals to 1 second

  • By changing the "delay(1500)" can alter the amount of time the elevator rises
  • By changing the "delay(15000)" can alter the amount of time the elevator stays at the top
  • By changing the "delay(1150)" can alter the amount of time the elevator descents

    Change the time length of elevator rise and descent to fit the height of your structure; change the waiting time of elevator to fit your need

    *Do not have too short of a waiting time to prevent the hamster being caught

Finish Track

2020-05-26-31.jpg
2020-05-26-30.jpg
2020-05-26-28.jpg
2020-05-26-32.jpg
2020-05-26-29.jpg
2020-05-26-27.jpg

  1. Build the structure of the side tracks with the building blocks
  2. Cover the gaps with cardboard
  3. Make one side a up-down pathway
  4. Make the other side two separate platforms
  5. Cover the spaces between each column of the structure with cardboard

Finish!

Hamster Elevator Working
Hamster Elevator

It is finished! Connect the power line to the charger, then connect the Arduino to your laptop, and you will be ready to have some fun!