This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
docs:blackbox-x32:connect-rc-servo [2022/08/19 17:41] 127.0.0.1 external edit |
docs:blackbox-x32:connect-rc-servo [2025/04/01 18:30] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== 3.3.6 BlackBox X32 RC Servo ===== | ===== 3.3.6 BlackBox X32 RC Servo ===== | ||
| + | You can connect a RC Microservo directly to BlackBox: | ||
| - | OpenBuilds BlackBox provides a way of using an RC servo to raise/lower a pen, in Pen Plotter type applications | + | === Important note on current (amperage): === |
| - | NB: Advanced functionality, | + | Please note the BlackBox can only supply around **250mA** for powering micro servos etc.\\ |
| + | If you want to use a more heavy duty servo that may pull more than 250mA it would be recommended to use an external power source for the servo, otherwise you might damage the BlackBox | ||
| - | * Grbl Settings: Send $31=255 to adjust the PWM scale to 0-255 (8 bit for Servos) | ||
| - | * GCODE: Send M3 Sxxx where xxx = 0-255 Absolute Position for the servo to move to | ||
| - | * You may need to add a G4 Pxxx dwell to allow the servo some time to reach the position before continuing with the GCODE | ||
| - | ==== Firmware | + | === Wiring |
| - | Please install our CUSTOM GRBL firmware for 2 Axes + RC Servo to enable this Functionality | + | |
| - | - Download, install and run OpenBuilds CONTROL | + | OpenBuilds BlackBox provides support for using an RC servo to raise/lower a pen, in Pen Plotter type applications, |
| - | - Click on Wizards and Tools in the top Menu Bar > Grbl Flashing Tool | + | |
| - | - Change Machine Type to 2 Axes + Servo | + | |
| - | - Configure the other settings relevant to your machine, and Flash | + | |
| - | + | ||
| - | {{: | + | |
| - | ---- | + | |
| - | ==== Wiring ==== | + | |
| - | > {{: | + | {{: |
| - | === BlackBox version | + | === Configuration === |
| + | |||
| + | Make sure to set $33=50 in grblHAL settings (CONTROL > Grbl Settings Tab > Scroll down to $33 Spindle PWM Frequency > Set the value to ' | ||
| + | |||
| + | TIP: Set $33=50 (PWM frequency), $34=5, $35=5 and $36=10 to generate a " | ||
| + | |||
| + | For most standard RC Servos that have moves 180 degrees when $34 and $35 are set to 2 and $36 to 15 - resulting in a 0.4 - 3ms pulse witdh range. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | === Calibration === | ||
| + | |||
| + | OpenBuildsCONTROL includes a tool to calibrate the Pen Up / Pen Down positions of your Servo. Please perform this step prior to trying out the Pen Up / Down values, | ||
| + | |||
| + | Go to Wizards and Tools > Calibration > Calibrate Servo Pen Up / Down: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | === Pen Control Buttons === | ||
| + | |||
| + | When $33 is set to 50hz, CONTROL will enable the Pen Up / Pen Down Buttons you can use to test you servo, check Pen Down positions to ensure your pen is touching the writing surface, etc | ||
| + | |||
| + | {{: | ||
| - | {{: | ||
| - | ---- | ||
| - | === BlackBox version 2.4 and 2.5 Only === | ||
| - | {{: | ||
| - | ---- | ||