-
1Step 1
INSTRUCTIONS :
- You need to shape the box, we personally used a laser cutter to cut in plexiglass (you can find the files we used to cut the box out in the files section). You can adjust the size of the edges but we recommend you leave the kerf as it is (0.025).
- You can also change the size and the number of holes you want, based on what size your components are.
- At the end you should have two layers of "ceiling". The arduino components will be located here.
- Using a jigsaw, we sawed a hole in the first layer of ceiling in order for the servomotor to block the door
- We then created a little box of plexiglas using glue and little pieces of plexiglas and glued it right below the hole we just sawed.
- We placed the servomotor above the hole with the rotating part in the hole.
- We sawed two holes on the side of the box, one for the arduino/pc connection and one for an on and off button, linked to a 9V battery. The size and placement of each hole till now only depends on how big your components are and where you want to place them. It's really up to you, just be realistic on the proportions.
- We chose to use a shield but it's optionnal, so if you don't use one, you don't go through the hassle to weld the cable but your system is more floppy and is more breakable.
- Place the arduino and the power switch button at the designated holes and then proceed to link all of your components through cables to your aduino. You can find the schematics we used ourselves in the files section and adapt it to your good will.
- Then when everything is in place, close the box by putting the real ceiling on top.
- You can then plug a computer and run your code. You can find the code we used in the file section too, but it uses a library called u8glib. In order to install it you need to download it on https://github.com/olikraus/u8glib and extract to your Arduino install location, in the folder libraries\u8glib. If this folder doesn't exist create it. Arduino core files default location is C:\Program Files (x86)\Arduino, so you would need to extract the u8glib files to C:\Program Files (x86)\Arduino\libraries\u8glib
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.