Sparkplug

A hard- and software boilerplate for controlling and adding lighting modules to model vehicles. You can customize and organise lighting to fit your model and control it with your phone or computer.

Date

Jan 2022

Skills

  • Electronics

  • Development

  • Interaction Design

github.io

Documentation
Coilpack app running on a phone with several buttons lit up to indicate active light modes in a car scale model.

The hardware consists of a control module containing an ESP8266 microcontroller with enough memory and capabilities to serve its own web-app for controlling the lighting.

LED driver modules provide the constant current regulation and PWM dimming for connected LEDs and can be daisy chained on the same bus. Providing a simple way to individually test and implement light groups in model halves.

Sparkplug modules use the industry standard I²C protocol with a 4-pin JST-SH connector. The pinout is compatible with the QWIIC and Stemma QT systems.

SP10 controller PCB
SP-10
ESP8266-based main controller with WiFi and two I²C buses and a UART port.
SL10 module PCB
SL-10
LED board using a PCA9685 with 16 LED outputs featuring 12-bit PWM dimming.
SL20 module PCB
SL-20
LED board using an LP55231 with 9 LED outputs featuring gamma-corrected dimming.

Sparkplug can be controlled with Coilpack, the web-app that is served directly from the microcontroller.

Coilpack can be easily customised to make the control panel fit the lighting features of the model. Organise lighting features into groups and customize the controls to suit your needs.

Coilpack app running on a phone.
Coilpack app with night mode enabled; The grey background is darker and the normally white icons are a pleasant orange.

In spirit of car interiors at night, Coilpack can be dimmed when using in the dark so its easier on the eye, in style.

More Work