Skip to content

A simple remote control intended to be used with single color LED-strips

Notifications You must be signed in to change notification settings

polyfloyd/led-pad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

LED-Pad

The LED-Pad is a simple remote control intended to be used with single color LED-strips.

The LED-Pad assembled on a protoboard

The color and brightness can be controlled via an analog joystick and a user interface on a 160x80 OLED display. The display shows a HSV color spectrum with both gradients to dark and light colors. To select a new color, move the cursor with the joystick to the desired color. The color selection user interface

The selected color is transmitted to a pre-configured MQTT server which is connected to via WiFi. The MQTT message payload is a hex string of the currently selected RGB color.

Hardware

The heart of the LED-Pad is an ESP8266, an MCU with a WiFi transceiver on board.

The joystick used is from Sparkfun and has two potentiometers to signal the current position of the stick for each respective axis.

The ESP8266 has only one analog input port, so I'm using a 4051 multiplexer IC with which I can hook up to 8 analog inputs to this single input. The joystick needs only two ports, so the selection line of the least significant bit is connected to a digital pin on the ESP while the remaining two selection lines are connected to the ground. The software rapidly toggles the selection line of the 4051 so it can read from both axes.

The joystick's button is hooked up to a digital pin which is configured as an input with internal pullup.

ESP8266 Connections

ESP8266 Peripheral
D3 OLED RES
D2 OLED DC
D1 OLED CS
D5 OLED SCL
D7 OLED SDA
A0 4051 Z
D8 4051 S0
D4 JOY SEL

About

A simple remote control intended to be used with single color LED-strips

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages