Pin Control

Analog I/O

Read sensor values and control PWM outputs from the dashboard.

Accessing Analog Controls

To view analog readings and PWM controls:

  1. Go to Devices in the sidebar
  2. Click on your device to open its control panel
  3. Find the Analog Pins and PWM sections

Reading Analog Values

Analog input pins display their current readings as numbers and progress bars:

Pin 32 - Temperature

2048

Range: 0 - 4095 (ESP32)

Pin 33 - Light

3500

Range: 0 - 4095 (ESP32)

PWM Sliders

PWM (Pulse Width Modulation) pins have sliders for precise control:

Pin 5 - LED Brightness

128

Drag slider: 0 (off) to 255 (max)

Drag the slider to adjust values from 0 to 255. Changes are applied immediately to your device.

Common Use Cases

Temperature Monitoring

Read NTC thermistor or TMP36 sensor values. Higher readings typically mean higher temperature.

Values update automatically every few seconds

Light Level

Monitor photoresistor (LDR) readings. Higher values mean brighter light conditions.

Great for ambient light detection

LED Dimming

Use the PWM slider to smoothly adjust LED brightness from off to full brightness.

128 = 50% brightness, 255 = 100%

Motor Speed

Control DC motor speed with PWM. Lower values = slower, higher values = faster.

Use with motor driver module

ADC Resolution by Board

Different boards have different analog resolution:

BoardValue RangeADC Pins
ESP320 - 4095 (12-bit)GPIO 32, 33, 34, 35, 36, 39
ESP82660 - 1023 (10-bit)A0 only
Arduino Uno0 - 1023 (10-bit)A0 - A5

PWM Pins by Board

BoardPWM PinsNotes
ESP32All GPIO pins16 channels available
ESP8266All GPIO pinsSoftware PWM
Arduino Uno3, 5, 6, 9, 10, 11Marked with ~ on board

Tips

Understanding raw values

The dashboard shows raw ADC values. Use custom dashboards with widgets to display converted values (temperature in °C, light percentage, etc.).

PWM response

PWM changes are instant. If you don't see changes, check that your device is online and the pin is configured correctly.