Skip to content

Instantly share code, notes, and snippets.

View robertcedwards's full-sized avatar
🖼️
Framing

Robert C Edwards robertcedwards

🖼️
Framing
View GitHub Profile
https://gist.github.com/anonymous/0e2e50e58855a352d936b2faa1d864c5
@robertcedwards
robertcedwards / gist:3b47f0d5af4cdd30dad80279c71fd15a
Created November 16, 2017 19:13
Stepper Motor Specs for Steps/Rev & Angle
17HS4401 1.8 40 1.7 1.5 2.8 40 2.2 54 4 280
This part name is 17HS4401.
This product has 2 Phase Hybrid Stepper Motor functions.
Manufacturers of product is MotionKing (China) Motor Industry.
Image :
Step 8: BONUS! Math!
Here's a quick mini tutorial on finding out the value to put into your GRBL settings for the correct amount steps for translating designs into the real world accurately.
A typical stepper motor has 200 steps PER revolution. These are known as FULL steps or 1.8° per step. This setting has the most torque and is the fastest, however not the smoothest.
Most of these machines will list the kind and size of lead/ballscrew it has. On my 3020, the lead screw is 1404.
14: 14mm diameter of the screw thread (OD)
@robertcedwards
robertcedwards / gist:578a1f214571160e5ba63f837bfb26cb
Created October 15, 2017 05:02
Stepper motor calcuators for 3d and CNC
http://www.prusaprinters.org/calculator/
@robertcedwards
robertcedwards / gist:1d39f5e442f71fe858457811351547a5
Created October 12, 2017 18:52
PCB Instructions using Flatcam and CNC
https://www.inventables.com/projects/pcb-milling-on-x-carve
@robertcedwards
robertcedwards / gist:e0dedca04a97718685ec2f596dd9a3ab
Last active October 11, 2017 03:49
Woodpecker GRBL CNC driver for CH340G USB Chipset
https://www.amazon.com/LinkSprite-Engraver-Machine-Milling-Carving/product-reviews/B01GFPW3LC/ref=cm_cr_dp_d_ttl?ie=UTF8&reviewerType=all_reviews&sortBy=recent#R1U576LGQOGDB4
https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver
Speaking of Mac OS not seeing it, the "Woodpecker Grbl CNC" board uses the CH340G USB chipset and Mac OS doesn't have drivers by default for this import chip. You can get the driver from Github here (https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver) - just follow the instructions on that page to install the .pkg file
@robertcedwards
robertcedwards / gist:20e71856cafeefc7d555596c63864476
Created October 11, 2017 01:06
VLC verbose mode for IDing webcam
Running "vlc -vvv qtcapture://" will initiate a capture window with the default camera while also outputting verbose logs. If you scroll through the logs you will at one point see a list of the available qtcapture video devices. My output looked like this:
[0000000100610128] qtcapture demux debug: qtcapture 0/2 FaceTime HD Camera (Built-in) 0xfa20000016ac850b
[0000000100610128] qtcapture demux debug: qtcapture 1/2 iSight 0xa28100413a366-video
Since I wanted to use the (old) iSight camera (after some trial and error) I added the device ID from above to the qtcapture command (I also changed the destination port to 3000). So it now looks like this:
vlc qtcapture://0xa28100413a366-video --sout '#transcode{vcodec=MJPG,vb=800,scale=1,fps=5,acodec=none,width=640,height=480}:std{access=http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a},mux=mpjpeg,dst=:3000/webcam.mjpg}'
I haven't tested it yet, but as far as I can tell timelapse should work by doing the following:
1. Install ffmpeg wi
@robertcedwards
robertcedwards / gist:c08442f7e409c5c3a999dfa855aef3a2
Created October 11, 2017 01:06
VLC verbose mode for IDing webcam
Running "vlc -vvv qtcapture://" will initiate a capture window with the default camera while also outputting verbose logs. If you scroll through the logs you will at one point see a list of the available qtcapture video devices. My output looked like this:
[0000000100610128] qtcapture demux debug: qtcapture 0/2 FaceTime HD Camera (Built-in) 0xfa20000016ac850b
[0000000100610128] qtcapture demux debug: qtcapture 1/2 iSight 0xa28100413a366-video
Since I wanted to use the (old) iSight camera (after some trial and error) I added the device ID from above to the qtcapture command (I also changed the destination port to 3000). So it now looks like this:
vlc qtcapture://0xa28100413a366-video --sout '#transcode{vcodec=MJPG,vb=800,scale=1,fps=5,acodec=none,width=640,height=480}:std{access=http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a},mux=mpjpeg,dst=:3000/webcam.mjpg}'
I haven't tested it yet, but as far as I can tell timelapse should work by doing the following:
1. Install ffmpeg wi
@robertcedwards
robertcedwards / gist:51734d060ad72bc6ac09b5083bf66513
Created October 11, 2017 01:05
Stream MacOS webcam via VLC for OCTOprint, etc.
vlc qtcapture:// --sout '#transcode{vcodec=MJPG,vb=800,scale=1,fps=5,acodec=none,width=640,height=480}:std{access=http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a},mux=mpjpeg,dst=:1234/webcam.mjpg}'

Ingredients Main Ingredients:

Organic mini cucumbers, enough to fill a jar of your choice For the Brine Solution:

Raw apple cider vinegar 2 tablespoons of Dr. Mercola’s Himalayan Salt Dr. Mercola’s Kinetic Culture Starter packet for vegetables Dried or Fresh Spices Blend: