Fork me on GitHub

Project Notes

#019 Tydirium Strobe Module

Packaging the ATtiny85 Lambda-class shuttle “Tydirium” navigation strobe circuit as a small board that can be added to an existing lighting setup.

Build

Notes

In Tydirium Strobe I figured out the navigation strobe pattern for the Tydirium shuttle and demonstrated it with a freeform circuit.

This project describes a variation of the circuit on a small module/board that could be used to add the LED flashing pattern to existing LED wiring.

Circuit

The ATtiny85 microprocessor does all the hard work, with some support circuitry:

  • zener diode provides some basic over-voltage protection.
  • a 2N7000 n-channel MOSFET for low-side LED control, instead of driving directly from the ATtiny85. This allows it to switch pulses of up to 500mA current through the LEDs.

Although the circuit is best powered with 3-5V, it can handle up to 9V without complaint. A 9V battery will incur 150mW dropped across the 100Ω resistor.

Breadboard

Schematic

Breadboard Build

Module Design

The module is designed to be easily fitted to existing circuits.

There are three connections required:

  • positive power supply for the microcontroller. Ideally 3-5V, but can handle up to 9V.
  • negative power supply for the microcontroller.
  • the negative end of the LED(s) to be switched.

These connections can be made to either:

  • the screw terminals on the board
  • or soldered to the corresponding solder pads

Module_usage_annotated

For LED Power Supplies 3-9V

If the existing LED circuit is powered with between 3V and 9V, the module does not need a separate power supply. Connections

  • LED power supply positive connected to module positive (POWER+)
  • LED power supply negative connected to module negative (POWER-)
  • the negative end of the LED(s) to be switched connected to the module LED negative (LED-).

single_ps_schematic

For LED Power Supplies over 9V

If the existing LED circuit is powered with over 9V, the module will need a separate power, ideally 3-5V.

The easiest way of doing this is to add a separate battery pack for the module. This will work fine, as long as the negative connections of the two power supplies and the module all share a common connection.

For example:

  • a 12V power pack powering a LED array
  • 2 x AAA/AA (3V) batteries to power the microcontroller

separate_ps_schematic

Using Existing LED Wiring

For power supply voltages over 3V, LEDs will generally require current limiting resistors to prevent them from being overloaded and burning out.

Existing (non-blinking) LED wiring would have already taken this into account, and current limiting resistors only need to be considered if adding new LEDs to the circuit.

Demonstration

Here’s a quick test with a 3V (2xAAA) battery pack. At this voltage, an LED doesn’t really need a current limiting resistor, so in this example, an LED is just directly connected between POWER+ and the LED- control terminal.

Module_test

Programming

The ATtiny85 is programmed with the TydiriumStrobe.ino sketch.

Credits and References

About #19 ArduinoATmelLED

This page is a web-friendly rendering of my project notes shared in the LittleModelArt GitHub repository.

Project Source on GitHub Return to the LittleModelArt Catalog
About LittleModelArt

LittleModelArt is my personal collection of scale models, miniatures, and art projects. Each project page includes all my notes and references.

I'm always happy to hear from others interested in the projects, so please feel free to get in touch.

For a while I included my scale modelling projects in the LittleArduinoProjects repository but now they are here. Check out LittleArduinoProjects if you are looking for electronics projects!

Project Gallery view the projects as an image gallery Notebook reference materials and other notes Follow the Blog follow projects and notes as they are published in your favourite feed reader