This is my custom camera system design for the Bambu lab A1 Mini designed and made during Hackclub's Rework program.
It uses custom G-code, a raspberry pi pico 2H, a Logitech C270 webcam and a KW11-3Z microswitch to record smooth timelapses of my prints.
- Nozzle moves to specific position between layers through my custom G-code and taps into the microswitch
- Raspberry Pi Pico 2H wired to the microswitch detects the signal and sends keystrokes to computer
- Computer picks up the keystrokes and takes action (screenshot or take photo)
- Nozzle goes back to printing and repeats the process every layer
- I will edit the photos together to make the timelapse
I will need to design in CAD custom mounds for the switch and for the camera
This is my first plan for the wiring and connections of all my components and how they will interact with each other. You can see how the printer sets of the switch, how the pico picks up the signal and passes on keybinds to the laptop via USB and how the computer takes pictures using the camera.
| Name | Use | Link | Quantity | Price | US |
|---|---|---|---|---|---|
| Logitech C270 | Take photos of my prints | link | x1 | £15.99 | $21.82 |
| KW11-3Z microswitch | Registers tap from printer | link | x1 | £5.99 | $8.16 |
| Raspberry Pi Pico 2H | Act as a HID to send signal to computer | link | x1 | £5.40 | $7.36 |
| 3D printed mounts | Secure clicker & camera | Printing legion | x2 | £? | $? |
Total = £27.38 or $37.34
I have written the code for the pico in CircuitPython as I am relatively familiar with it. It recieves the signal from the microswitch through a GPIO pin and uses the adafruit_HID library to send an enter keystroke to my computer via USB cable. The code can be seen here
I have also learnt how to write custom G-code for my printer so I can make it move into the microswitch between every layer. The g-code can be seen here
- Full image of your project/'s CAD
- Short description of your project and why you made it
- BOM in table format
- Wiring diagram for your full project
