Lasers and 5v outputs
The 5v outputs can be used for spindle and laser circuits, laser PWM signals and other functions.
Each FluidBoard comes with 4x 5v outputs. Out1 is a simple on-off output, while Out2-4 are PWM capable outputs. Most spindles and lasers use PWM outputs.
Wiring
- If your laser has a separate enable pin, connect it to Out1. If not, you can skip this.
- Connect the PWM pin of the laser or laser driver to Out2.
- Make sure that the GND is common between the laser or -driver and the FluidBoard.
Before powering on, make sure that the environment is safe. Lasers can instantly blind a person. Never point a laser to a person. Always wear protective glasses and check if the environment is safe when working with lasers!
Controller pin |
Gpio |
Description |
Out1 |
i2so.31 |
On-off 5v pin |
Out2 |
gpio.45 |
PWM capable pin; shared with Mosfet output |
Out3 |
gpio.46 |
PWM capable pin; shared with Mosfet output |
Out4 |
gpio.3 |
PWM capable pin; shared with Mosfet output |
Configuration
laser:
tool_num: 0
speed_map: 0=0.0% 1000=100.0%
output_pin: gpio.45 # Connect to Out2
enable_pin: i2so.31 # Optional; connect to Out1
disable_with_s0: false
s0_with_disable: false
pwm_hz: 5000
All PWM capable pins are shared with the mosfet outputs.