PiCam motor-driven project

PiCam motor-driven project

thingiverse

### Presentation ### This project aims to move pi camera with 2 28BYJ-48 Stepper Motors and the Raspberry Pi The project is now separated : one for octoprint, and another one for a stand alone camera. As the raspberry pi is too large for the standalone camera, i've decided to replace it with the RPI zero w, and box it in the case? and handle it's own server, both for streaming and motors command. The step motors management will serve both for octoprint users and security camera. (motion is added with backupcamip to upload media to google drive) For Octoprint, the RPI will be used for the cam, and commands are added to the control tab, to pan/tilt the camera: <a href="https://www.thingiverse.com/thing:2869007 " target="_blank">Pan/tilt Octoprint</a> ### Materials ### Nota: When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission, Thank you in advance ;) - 2 motors 28BYJ-48 with associated ULN2003 driver [here] [0] - 2 screws 2x5mm to fix the motor into the camera head - 3 M3 x20 cap head to fixe head parts [here] [1] - Dupond cables fem-fem are needed to connect the driver to the RPI [here] [2] - Raspberry pi zero w [here][3] ### Wiring ### See the pic, Warning, respect the cable order, this is extremely important: motor 1 Ln1> gpio 17 Ln2 > gpio 22 etc Same for motor 2 ### Mounting Step ### Comming soon with the last model still in construction ### Software ### #### Motors engine with Flask ##### Python server manages asynchronous movement between the motors (real thread) The API allows to http send pan/tilt instructions to rotate motors. #### Motion Project #### Motion project is used to detect movings and generates both pic and vids to sdcard mnt/motion folders. #### BackupCamIP #### BackupCamIP scans all medias from sdcard motion folder and uploads them to google drive, and sends email with screenshots and link to drive folders created by date/hours. Medias are automatically cleaned after 5 days from both sdcard and drive. [0]:https://www.amazon.fr/gp/product/B06XKRM1P1/ref=as_li_tl?ie=UTF8&tag=backupcamip-21&camp=1642&creative=6746&linkCode=as2&creativeASIN=B06XKRM1P1&linkId=76edafd0e80f5981f20e0e56926a034d [1]:https://www.amazon.fr/gp/product/B0743CY72J/ref=as_li_tl?ie=UTF8&tag=backupcamip-21&camp=1642&creative=6746&linkCode=as2&creativeASIN=B0743CY72J&linkId=2e0476ab1425cf815037e2bec7ae66bb [2]:https://www.amazon.fr/gp/product/B01JD5WCG2/ref=as_li_tl?ie=UTF8&camp=1642&creative=6746&creativeASIN=B01JD5WCG2&linkCode=as2&tag=backupcamip-21&linkId=f90c391862ae7905e1c9ec8ccdff2ab8 [3]:https://www.amazon.fr/gp/product/B06XCYGP27/ref=as_li_tl?ie=UTF8&tag=backupcamip-21&camp=1642&creative=6746&linkCode=as2&creativeASIN=B06XCYGP27&linkId=004a10896ea8983fca77d3af58e13362

Download Model from thingiverse

With this file you will be able to print PiCam motor-driven project with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on PiCam motor-driven project.