Mini Trash Can

by rbrowning2 in Workshop > 3D Design

104 Views, 0 Favorites, 0 Comments

Mini Trash Can

Screenshot 2024-04-22 at 4.44.35 PM.png

We made a mini trashcan. We made it because we think it would be super beneficial for people to have it in their cars or desks when they need to throw away wrappers or little things.

Supplies

Screenshot 2024-04-17 at 2.40.46 PM.png
Screenshot 2024-04-17 at 2.42.03 PM.png
Screenshot 2024-04-17 at 3.01.02 PM.png
Screenshot 2024-04-17 at 3.03.03 PM.png
Screenshot 2024-04-17 at 3.01.45 PM.png

TinkerCAD, Makerbot, 3D printer, printer film, hot glue, tape, CPX, Motor

Designing the Trashcan

Screenshot 2024-04-20 at 3.35.59 PM.png

When designing our print we used TinkerCAD to get our ideas out. We placed the square (hole one not regular) on the base and stretched it up to create a tall rectangle. Then we took the half-cylinder shape and made it to the size that fit the top of the rectangle and put a whole through the middle so there was an opening at the bottom aswell. The tall rectangle resembles the body of the trashcan, while the half-cylinder resembles the trashcan lid. After creating both we placed them side by side so they would print individually and not attached together. After separating them we named the file "trashcan" and exported the file.

Printing the Trashcan

Screenshot 2024-04-17 at 3.28.16 PM.png

After designing the Trashcan on TinkerCAD, we imported the file into MakerBot Cloud Print. We used the Sketch Print and chose no raft. After that, we clicked review print and exported it. We then grabbed a flash drive, plugged it into the computer, dropped the Makerbot file into the flash drive, then plugged the flash drive into the printer, clicked on the file, and then clicked print! The print took about 5 hours.

The Code

Plug this code into your computer!

# create a PWMOut object on Pin A2.

pwm = pwmio.PWMOut(board.A1, frequency=50)


# Create a servo object, my_servo.

my_servo = servo.ContinuousServo(pwm)


while True:

  print("forward")

  my_servo.throttle = 0.5

  time.sleep(2.0)

  print("stop")

  my_servo.throttle = 0.0

  time.sleep(2.0)

  print("reverse")

  my_servo.throttle = -1.0

  time.sleep(2.0)

  print("stop")

  my_servo.throttle = 0.0

  time.sleep(4.0)

Downloads

Assembling the Trashcan

Screenshot 2024-04-22 at 3.45.16 PM.png
Screenshot 2024-04-22 at 3.45.44 PM.png
Screenshot 2024-04-22 at 3.45.59 PM.png

When both parts were done printing, we hot-glued one side of the lid onto the bin. You might have to tape over top the hot glue as well. Next we hot glued the motor to the inside of the bin, but on the side opposite of where you hot-glued. After that slide the CPX under the bin. Plug in the cable to your computer and plug in the code.

Get It Working

Screenshot 2024-04-22 at 4.34.30 PM.png
Screenshot 2024-04-22 at 4.34.10 PM.png

Attach the clips to the CPX and it will work!! It should flip all the way open. You do have to close the lid on your own.