---
title: "Flashing vintage LEDs or how we warn about \"fires\" on the project"
url: "https://maker.wiznet.io/WIZnet/projects/flashing-vintage-leds-or-how-we-warn-about-fires-on-the-project/"
markdown_url: "https://maker.wiznet.io/WIZnet/projects/flashing-vintage-leds-or-how-we-warn-about-fires-on-the-project/md"
type: "UCC: User Created Content"
author: "Ashurok Alexey"
author_url: "https://habr.com/ru/company/2gis/blog/438106/"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Ashurok Alexey"
original_url: "https://habr.com/ru/company/2gis/blog/438106/"
published: "2023-02-03"
language: "en"
hardware: ["Arduino Ethernet Shield"]
likes: 3
views: 252
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Flashing vintage LEDs or how we warn about "fires" on the project

> vintage Polish flasher of 1984 was discovered in the open spaces of Avito. If there's a fire somewhere, then let this thing turn on! The pie

Original author: Ashurok Alexey (source: https://habr.com/ru/company/2gis/blog/438106/)

## Components

- **Arduino Ethernet Shield** x 1 ([docs](https://docs.arduino.cc/retired/shields/arduino-ethernet-shield-without-poe-module))

## Article

The code is posted on [github](https://github.com/aotd1/flasher) , there is no authorization, sprawling API and beautiful html pages. MVP only, hardcore only! Use at your own risk, I warned.

## **Solid products**

When the software is written, it’s time to start the flashing light. Below is a diagram that should help you understand the device.

## **Expectation:**

![](https://habrastorage.org/r/w1560/webt/x6/oo/s9/x6oos9z3gfgyp2gk9k8hwjaann4.png)

## **Reality:**

![](https://habrastorage.org/r/w1560/webt/fo/7a/t1/fo7at166uyswi0-uhsyqianycfg.jpeg)

So we replace Sonoff SV with:
Arduino UNO + wiznet w5100 + Relay

Pin connection:
DIGITAL 10 – SS
DIGITAL 11 – MOSI
DIGITAL 12 – MISO
DIGITAL 13 – SCK
GND – GND
5V – 5V

We connect the relay even easier: the signal pin to DIGITAL 4, the power wire to the flasher is hooked into the gap at C (common) and NC (normally closed).

**Achtung!**
See the documentation for your devices. It is not a fact that by connecting the Ethernet board to 5 volts, you will not get a funny smoke when testing! In my case, everything is normal, and the module is designed to be powered from 5 volts.

## **Plastic products**

An ad on Avito stated that the flasher was nearly operational. Over the years, only one part has died in it – the gear that rotates the reflector.

![](https://habrastorage.org/r/w1560/webt/sx/6j/vi/sx6jviptedu-vrq_aj7ez2jryt0.jpeg)

Exhale, pick up Fusion360, model a new one and print on an office 3D printer.

Gear Modeling Process

![](https://habr.com/img/image-loader.svg)

![](https://habr.com/img/image-loader.svg)

![](https://habr.com/img/image-loader.svg)

![](https://habrastorage.org/r/w780q1/webt/8e/ja/aj/8ejaajyh2kiup7bcse5wjzkzhbg.jpeg)

We lubricate the gears, replace the wires, put them back together – it works!

It would have been nice to print a nylon gear, but the first fine print failed, and the second sample from the bestfilament was not enough for the second.

## **That for which we are – in spite of everything!**

![](https://habrastorage.org/webt/zr/gw/vp/zrgwvpeop5ig3rjqjqnkq0f5mnc.gif)

#### **How do I get the flasher to turn on when something out of the ordinary happens?**

Elementary! We use Grafana at work, so we just start a new Notification Channel with the WebHook type, which sends a request to turn on the flasher according to certain criteria. It turns off itself after a few seconds, so as not to pump up the atmosphere even more.

How long did it take for all this mess? A couple of evenings, if not distracted. Plus half a day of working time to set up integration with the rest of the back-end systems.

The technofan was a success, the team was useful, photographs of the assembly process are shown in the end.

---

Source: https://maker.wiznet.io/WIZnet/projects/flashing-vintage-leds-or-how-we-warn-about-fires-on-the-project/
