docs:blackbox-x32:connect-rc-servo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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, requires you to install custom version of Grbl-Servo (Instructions below)+Please note the BlackBox can only supply around **250mA** for powering micro servos etc.\\ 
 +If you want to use 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+
  
-  - Downloadinstall and run OpenBuilds CONTROL +OpenBuilds BlackBox provides support for using an RC servo to raise/lower a pen, in Pen Plotter type applications, or other imaginative uses
-  - 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 +
-   +
-{{:docs:blackbox-x32:rcservo-flash.png?200|}} +
----- +
-==== Wiring ====+
  
-{{:docs:blackbox-x32:jumper-relayopen.png?150|}} TIP: Remove the Relay Mode jumper to prevent the relay from clicking on/off rapidly during servo PWM operations+{{:docs:blackbox-x32:servo_2.6.png?600}}
  
-=== BlackBox version 2.and newer ===+=== 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 '50' and Save 
 + 
 +TIP: Set $33=50 (PWM frequency), $34=5, $35=5 and $36=10 to generate a "standard" PWM signal: 20ms repetition rate, 1 - 2ms pulse length range. You may decrease $34 and $35 to output a shorter pulse than 1ms at min, and increase $36 to get a longer pulse than 2ms at max. 
 + 
 +For most standard RC Servos that have moves 180 degrees when $34 and $35 are set to and $36 to 15 - resulting in a 0.4 - 3ms pulse witdh range. 
 + 
 +{{:docs:blackbox-x32:servo-pwm-freq.png}} 
 + 
 +=== 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, and also note down the S-Values as advised by the Calibration Tool to use in your CAM setups later on. 
 + 
 +Go to Wizards and Tools > Calibration > Calibrate Servo Pen Up / Down: 
 + 
 +{{:docs:blackbox-x32:servo-calibration.png}} 
 + 
 +=== 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 
 + 
 +{{:docs:blackbox-x32:servo-buttons.png}}
  
-{{:docs:blackbox-x32:servo_2.6.png?600|}} 
----- 
-=== BlackBox version 2.4 and 2.5 Only === 
  
-{{:docs:blackbox-x32:rcservo-wiring.png?800|}} 
----- 
docs/blackbox-x32/connect-rc-servo.1660930889.txt.gz · Last modified: 2024/08/05 15:15 (external edit)