Skip to content

Supported GPIO and Baud Rate

Davide Perini edited this page Aug 14, 2025 · 26 revisions

Luciferin GPIOs can be configured as per your preference:

ESP8266

  • LED GPIO2 (Default) (Hardware accelerated GPIO using UART, prefer this GPIO if you want to be able to use both Wireless Stream and the USB Cable)
  • LED GPIO3 (Hardware accelerated GPIO using DMA, this is the fastest option for wireless stream, when using GPIO3 USB will not work)
  • LED GPIO5 (Standard GPIO without hardware acceleration, prefer the first two ones)
  • Relay GPIO12 (Default)
  • Button GPIO0 (Default)
  • LDR GPIO17 (Default)

ESP32

  • LED GPIO2 (Default) (Hardware accelerated GPIO using DMA)
  • Relay GPIO12 (Default)
  • Button GPIO0 (Default)
  • LDR GPIO36 (Default)

ESP32-C3

  • LED GPIO6 (Default) (Hardware accelerated GPIO using DMA)
  • Relay GPIO0 (Default)
  • Button GPIO9 (Default)
  • LDR GPIO3 (Default)

ESP32-S2

  • LED GPIO16 (Default) (Hardware accelerated GPIO using DMA)
  • Relay GPIO9 (Default)
  • Button GPIO0 (Default)
  • LDR GPIO3 (Default)

ESP32-S3

  • LED GPIO16 (Default) (Hardware accelerated GPIO using DMA)
  • Relay GPIO13 (Default)
  • Button GPIO0 (Default)
  • LDR GPIO2 (Default)

Are you using the Luciferin Module for the Official PCB? If yes, take a look here.

GPIO can be changed on the fly on both Full and Light firmware from the Firefly Luciferin settings.

Are you interested in the achievable framerate? Click here.

How to change the GPIO in use?

From the "Devices" tab, double click on the GPIO you want to change, press enter.

It will take a while for the user interface to register the change.
Once the GPIO is changed you can restart the capture.

You can also invert the relay action to support some devices that require it, such as Gledopto.

GPIOs can be even be changed via Web Interface if you are using the FULL firmware.

Baud rate

If you are experiencing flickering and your hardware connections are properly made, lowering the baud rate may reduce the flicker.

If you want to increase the maximum framerate, increasing the baud rate can help. ESP8266 with CH340 chip works well up to 1 million baud rate, ESP8266 with CP2102 chip works well up to 921600.

If you increase the baud rate and your microcontroller doesn't support that speed, you will not be able to change it again until you manually reflash the firmware.

The default baud rate for newly flashed devices is 500K for Light Firmware and 115200 for Full firmware.

Clone this wiki locally