Play LED

The play LED is a visual indicator that tells you whether Smoothie has motion queued and whether it is halted. It lets you check at a glance, without a screen or computer, whether the machine is running a job, for example from across the room during a long print.

What Does the Play LED Do?

  • On while the motion queue is busy, whether the moves came from an SD file or from your host (so it is on while an SD card file is being played).
  • Off when the queue is idle.
  • Blinks when the firmware is halted.

If you need to know whether a file is still running, use Player progress. A file can be open while the motion queue is idle.

LED Tactile Button Option

An illuminated tactile button gives you an LED and a switch in the same part. This provides both a visual indicator (LED) and a button. If your board has the matching footprint, check its drawing before soldering it on; it solders directly to the designated pads, is easy to install and is low profile (it does not take up much space).

Illuminated tactile button

Features of LED Tactile Button

The integrated LED shows the play status. The button can be set up to start, stop or pause execution. The LED and the switch have separate connections. Wire the LED to the indicator output. Set up the switch separately for the action you want. See the kill button guide if you are setting up a firmware halt button.

Simple LED Option

You can also wire a simple LED to two pins on the board. This only provides the visual indicator, without a button.

Example indicator LED

Simple LED Requirements

Any 5mm or 3mm LED will work. Use a current-limiting resistor (typically 330Ω to 1kΩ). Choose it for the output voltage, the LED and the current the pin can supply. Check the polarity before turning it on (anode to positive, cathode to negative). Use the pinout to find an output that is free on your board.

Configuration

The Play LED is enabled by default. On Smoothieboard its default pin is 4.28!. To move it, set play_led_pin to the output you have wired. Set play_led_disable true to turn the feature off. leds_disable true turns off the board’s LEDs in general. The older version of this page showed the settings like this:

# Play LED configuration
play_led_disable                         false              # Enable the play LED
leds_disable                             false              # Enable LED support

For a second play LED, set aux_play_led under [system]. Leave it at nc if you have no second LED. This is the form of the setting. Replace the pin with the free output you wired.

[system]
aux_play_led = PJ9

Check the pin and connector on your V2 board before using it.

  • Kill Button, the emergency stop button
  • Panel for a separate display and controls, LCD panels with built-in indicators
  • SD card and Player for running files

Appendix: older V2 configuration example

This comes from the older wiki and has not been checked against the current V2 firmware. The current V2 setting is aux_play_led under [system], described above; the [player] and [leds] sections below may not exist in V2.

# Play LED configuration
[player]
play_led_disable = false              # Enable the play LED

[leds]
disable = false                       # Enable LED support
This is a wiki! If you'd like to improve this page, you can edit it on GitHub.