Door Close Bot

by stoefoe in Circuits > Arduino

75 Views, 0 Favorites, 0 Comments

Door Close Bot

IMG20240409133008.jpg
IMG20240409133015.jpg
IMG20240409132943.jpg
IMG20240407231850.jpg

So, for a school project we needed to make something for a problem or inconvenient we encounter around the house.

This thing needed to be made with at least two machines we had available at school, i chose to use a 3D-printer and a lasercutter. There also needed to be some electronics involved with it, at least a microcontroller like an arduino and some inputs and outputs.

I decided to make some sort of cart that can be used to close the door when someone leaves it open or the dog walks in.

The controls will be done via bluetooth with an app called Dabble, wich will be easy to integrate with the arduino.

Supplies

In the attached PDF is a list with the things needed for this project.

Downloads

3D Printing

All the four parts attached here needs to be 3D printed, i printed mine on a bambulab P1P printer with Esun Matte PLA.

If your printer is any good you should be able to print everything without supports, the bridging with the main body is kinda big but should be possible.

Lasercutting

IMG20240412230608 (1).jpg
IMG20240412231249.jpg
IMG20240412231244.jpg
IMG20240412231233.jpg
IMG20240412231225.jpg

These two attached svg's are the things that need to be lasercut with 4mm plywood.

I spray painted the lasercut parts to look nice but you don't have to of course.

The arm can be glued together once they are cut out.

!!Make sure to have the 4 holes that are the furthest apart on the Bearing side and the holes that are closer together on the servo side!!

Electronics

elektro schema_bb.png
IMG20240412232017.jpg
IMG20240412232039.jpg
IMG20240412232053.jpg

In the photo you can see the electronics scheme.

The four motors need to get some 15-20 cm wires soldered to them.

There also need to be wires soldered to the buckconverter.

And make sure the buck converter is set to output 5 volts.

And for the rest if you follow the scheme it should all be good.

Programming

I attached the program I made here, you can open that with arduino ide and sent it to the arduino.

But first make sure that you have all the libraries installed that are needed for this project, those are:

Dabble.h, Wire.h, Arduino.h, VL53L0X.h, Servo.h, L298N.h


I'm using the app dabble on an android phone to control this thing.

https://play.google.com/store/apps/details?id=io.dabbleapp&hl=en_US

In the app connect to the arduino with the connect button and use the gamepad mode.

The arrows are for forward, reverse, left and right as you aspect.

The square button is arm 0 degrees, triangle is arm 90 degrees and circle is arm 180 degrees.



Downloads

Assembly

IMG20240412233826.jpg
IMG20240407231850.jpg
IMG20240412234246.jpg
IMG20240412233912.jpg
IMG20240412234232.jpg
IMG20240412234240.jpg
IMG20240412233855.jpg
IMG20240412234153.jpg
IMG20240412234324.jpg
F0XU1PHLUWOHEHQ.jpg

If the electronics are working as it should, everything can be installed onto the main body.

First place the motors in their spots, route the cables through the holes and bolt them hand tight.

Than place alle the electronics inside and bolt them on the intended holes.

Slide the breadboard in the slot and the battery holders can also be placed.

Connect everything as seen by the electronics part.

The bearing can than be placed, aswel as the switch.

After that the arm can be prepared with the base, connector, roller and lasercut part.

Then the servo can be mounted.

At least the heat inserts can be placed with an soldering iron and than the cover can be placed.


And now you have one finished Door Close Bot.