
webcam tower camera mount m6 raspberry pi controlled
thingiverse
I'm just using a different camera mount with an M6 screw. I'll also upload my files here to control the Webcam Tower with the Raspberry Pi GPIO Pins. It works great in use with the Octoprint-Server on the Pi, but there's one problem - it can't start a script. To use it, you need to get the Gcode to System plugin and the Custom Control Plugin. Here are some notes for the .sh files: Change the PIN numbers to your used ones. You have to change the numbers in the define.sh file, motor1.sh (A = IN1, B = IN2, C = IN3, D = IN4), and motor2.sh (A = IN1, B = IN2, C = IN3, D = IN4). Motors will move a certain direction. right.sh and left.sh will use the file motor1.sh, while up.sh and down.sh will use the file motor2.sh. If it turns the wrong way, just rename the files to the correct direction. It's not possible to move the motors just by 1 step because I would need a function to know which step was the last one, and even 8 steps are too little movement for me. Usage: Just run the scripts up.sh, down.sh, right.sh, left.sh. For example in an ssh client: /home/pi/webcam/up.sh 5 EDIT: If you use it with the Octoprint Gcode System Commands, look at the last picture. The symbol "&" at the end starts the movement without interrupting the print. Just don't press the button again before the movement ends or it will shortcut the circuit of the motor and stepper-driver, which leads to overheating of the motors or destroys them. I may not assume any liability if something bad happens. Be safe and sure about the things you do. /home/pi/webcam/ must be the full directory where you saved the files. up.sh is for the up movement, and 5 is the number of steps *8 to let the motor make. EDIT2: The Script "define.sh" should be changed to your pins, and be in the autostart so you won't get any problems with bad pins. If someone wants to write a better script for more precise adjustments, feel free to make it. Would be great if you would upload it here (and please use the remix button) or send it to me directly, I will upload it here. Feel free to ask for help if you need some. My English is not the best, sorry. You can contact me at 3dakantor47@gmail.com. View my page: www.3djonas.de
With this file you will be able to print webcam tower camera mount m6 raspberry pi controlled 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 webcam tower camera mount m6 raspberry pi controlled.