SmartLada

a VAZ-2106 tail light, now a smart lamp задний фонарь ВАЗ-2106 как умный светильник

A stock VAZ-2106 tail light with four 12 V car bulbs. A custom board inside dims each bulb on its own. Powered from a USB-C charger, set up from its own menu, controlled from Yandex Alice over Zigbee.

Штатный задний фонарь ВАЗ-2106 с четырьмя автомобильными лампами 12 В. Внутри своя плата: каждая лампа регулируется отдельно. Питание от USB-C зарядки, настройка через меню на устройстве, управление из Алисы по Zigbee.

  • VAZ-2106
  • ESP32-C6
  • Zigbee
  • Wi-Fi
  • USB-C PD
The SmartLada tail light lit on a windowsill at night: amber, white and red sections
The tail light on a desk next to a film slate and a studio monitor

a car part as a room light автомобильная деталь как домашний свет

The tail light has four sections: turn signal, marker, reverse, brake. Here each one is a separate channel. The light can be a single steady glow, one section on its own, or a slow animation.

В фонаре четыре секции: поворот, габарит, задний ход, стоп. Здесь каждая — отдельный канал. Можно оставить ровный свет, одну секцию или медленную анимацию.

The board fits inside the housing. The bulbs are ordinary incandescent car bulbs, so the light is warm and fades in and out rather than switching.

Плата помещается внутри корпуса. Лампы — обычные автомобильные лампы накаливания: свет теплый, включается и гаснет плавно, а не щелчком.

Close-up of the lit red lens of the tail light

four bulbs, four channels четыре лампы, четыре канала

Each bulb has its own PWM channel. Per bulb: brightness, minimum and maximum level, gamma correction and a soft start.

У каждой лампы свой ШИМ-канал. Для каждой настраиваются яркость, минимальный и максимальный уровень, гамма-коррекция и плавный старт.

  • Static — fixed brightness per bulb
  • Static — постоянная яркость каждой лампы
  • Breathe — a slow pulse
  • Breathe — медленная пульсация
  • Turn — the turn signal blinking
  • Turn — мигает поворотник
  • Chase — bulbs light one after another, overlapping
  • Chase — лампы зажигаются по очереди, с наложением
  • Fade — a smooth crossfade around all four
  • Fade — плавный перелив по кругу
  • Drive — a random but plausible drive: cruising, braking, turns, reverse, hazard lights
  • Drive — случайная, но правдоподобная поездка: движение, торможение, повороты, задний ход, аварийка
The Alice app: four bulbs named reverse, brake, turn signal and marker, grouped as Fara, brightness 52%
The Alice app: four bulbs and the “Fara” group. Приложение Алисы: четыре лампы и группа «Фара».

five devices in Alice пять устройств в Алисе

The light joins a Yandex Station over Zigbee and shows up in the app as five devices: the four bulbs and “Fara”. Bulbs switch and dim one by one or as a group. “Fara” runs the effects: the colour picked in the app selects the effect, the brightness slider sets its brightness.

Фонарь подключается к Яндекс Станции по Zigbee и появляется в приложении как пять устройств: четыре лампы и «Фара». Лампы включаются и регулируются по одной или группой. «Фара» управляет эффектами: цвет в приложении выбирает эффект, яркость задает его яркость.

The on-device menu and Alice change the same state; the last command wins.

Меню на устройстве и Алиса меняют одно и то же состояние; действует последняя команда.

without a smart home без умного дома

Without a smart home, the light switches to Wi-Fi. It starts its own access point and serves a web page with the same settings as the menu. The QR code to join is on the screen.

Без умного дома фонарь переключается на Wi-Fi: поднимает свою точку доступа и открывает веб-страницу с теми же настройками, что и в меню. QR-код для подключения — на экране.

The ESP32-C6 has one radio, so it runs either Zigbee or Wi-Fi. The switch is in the menu. Firmware updates go over Wi-Fi or Bluetooth, without a cable.

Радио в ESP32-C6 одно, поэтому работает либо Zigbee, либо Wi-Fi; переключение — в меню. Прошивка обновляется по Wi-Fi или Bluetooth, без кабеля.

Close-up of the SmartLada Rev C board with its indicator LEDs lit

the board плата

A custom two-layer board, designed in KiCad. Rev C is the third revision; the first two tested the circuit and the layout.

Своя двухслойная плата, спроектирована в KiCad. Rev C — третья ревизия; первые две проверяли схему и разводку.

Bulbs
Лампы
4 car bulbs, 12 V, 5 W
4 автомобильные лампы, 12 В, 5 Вт
Power
Питание
USB-C Power Delivery, 30 W charger or more
USB-C Power Delivery, блок питания от 30 Вт
Controller
Контроллер
ESP32-C6
Control
Управление
Zigbee (Yandex Alice) or Wi-Fi and a web page, without a smart home
Zigbee (Алиса) или Wi-Fi и веб-страница, без умного дома
On device
На устройстве
OLED 128×64, 4 buttons
OLED 128×64, 4 кнопки
Updates
Обновление
Over Wi-Fi or Bluetooth
По Wi-Fi или Bluetooth
Board
Плата
Custom, Rev C, 2 layers, 100×59 mm
Своя, Rev C, 2 слоя, 100×59 мм
KiCad render of the Rev C board, top side: ESP32-C6 module, buck converter, PD trigger, four MOSFETs, Faston outputs
KiCad render of the Rev C board, bottom side: the silkscreen shows the tail light exploded view from the parts catalogue

KiCad render, top and bottom. The bottom silkscreen is the tail light’s exploded view from the VAZ-2106 parts catalogue.

Рендер KiCad, верх и низ. На нижней шелкографии — схема фонаря из каталога запчастей ВАЗ-2106.