Close
0%
0%

Blinkencap

The world s most difficult to manufacture blinkenlight.
SAO using the massive overkill that is an ASIC to control a single RGB LED.

Similar projects worth following
The blinkencap is a simple add-on for the Hackaday Supercon badge which uses a tinytapeout ASIC to control an RGB LED, making it a blinkenlight that'd cost you a fortune and a long time to reproduce owing to all the fun involved in taping out custom chips. For us plebes without ASICs on hand, the LEDs actually have an auto-blinking function built-in, which may be overridden through the SAO header.


Schematic and everything you might need are available on github in the blinkencap repo.

The blinkencap will pulse a colour pattern when powered, but it's possible to override this behavior.

Because there are limited numbers of these ASICs to go around, the boards have two use cases: ASIC powered or manual style.

ASIC Powered

If you can get your hands on a TT05 ASIC (an integrated circuit produced during Tiny Tapeout run 05)--a chip that has over 170 user submitted projects within--then you can claim to have the one of the most over-engineered blinkenlights in existence. 

All the parts are on the underside of the PCB, to preserve the beauty of this work of art.  The ASIC QFN sits proudly at the top of the PCB, at an angle just 'cause it can, and basically does almost nothing.

On top of the clock and reset, each project gets 24 I/O... and here, we just use out[2:0] to drive the LED switches: the blinkencap shoots the lower 3 bits of the output port to control the RGB LED.

How to get the ASIC to control the lights?  These chips have a I/O that can be shunted to and from individual projects, one at a time.  

In order to get a project going, you need to select it using the on-board mux and (probably) clock it.  Fear not, the SAO header has connections to the three multiplexer control pins and the project clock.  

The protocol for the mux is described at https://github.com/TinyTapeout/tt-multiplexer/blob/main/docs/INFO.md but in essence you de-assert enable, pulse reset, and tick the increment line a number of times equal to the project id as specified on https://tinytapeout.com/runs/tt05/

Project 1, the "Factory Test", has a counter that will increment the out port on every clock cycle--so that's a good start.

No ASIC?  No problem!

If you don't have a TT05 chip, no worries.  The circuit will actually automatically toggle individual colours at different rates, thanks to the use of 3 relaxation oscillators made out of inverters from a hex schmitt-triggered inverter IC.

Each of these goes and twiddles the FET controlling one of the LEDs, at a rate determined by the RC combination in the feedback loop.

This signal has to go through a relatively high series resistance before hitting the gate.  Which is nice, because it also allows either the ASIC, or you--through the SAO header--to override this and control the LEDs without needing to deal with lots of current.

SAO Pinout


The SAO header respects the basic layout of the SAOv2 (https://hackaday.io/project/175182-simple-add-ons-sao), though the SDA/SCL lines aren't used for i2c.

For boards with the ASIC populated, this will have

  •   GPIO1: project clock
  •   GPIO2: mux nRESET
  •   SCL:   mux increment
  •   SDA:   mux enable

For boards without an ASIC, the three LED control gates are on

  •   GPIO1: red
  •   GPIO2: green
  •   SCL:   blue

  • 1 × TT05 ASIC bestest, but optional
  • 1 × AP2112K-1.8 Power Management ICs / Linear Voltage Regulators and LDOs (required if using ASIC)
  • 1 × T36K3BGR-05D000121U1930 RGB LED
  • 1 × SN74HC14DR Hex inverter in a SOIC14 package

  • Assembly done for a few giveaways

    Pat Deegan10/24/2024 at 17:55 0 comments

    Completely a small batch assembly to bring to the con

    Made a number of stand-alone units, that use the hex inverter to auto-blink and can be controlled from the badge.

    Also managed to bring up some populated with actual ASICs.  Fewer of these, since the chips are kinda precious.  

    Neat thing is, I've found multiple projects that can be used to play with the LED in different interesting ways :)

    Packing them up for the supercon.  Gonna be fun!

  • Some mistakes, some success

    Pat Deegan10/18/2024 at 20:34 0 comments

    Well, this first spin didn't quite go as smoothly as hoped... the stand-alone works just fine but by using net-ties rather than 0R jumpers, I missed the fact that in the ASIC configuration, I'd have conflicts driving the LED FETs... ah well, only making 6 at most, so a little rework will do the trick to getting some in time for supercon.

    The awesome news is that it can work.  This is a pico used in place of the badge, to provide power, select a project and clock it... yay!

View all 2 project logs

Enjoy this project?

Share

Discussions

Andy Geppert wrote 10/21/2024 at 02:43 point

I nominate this for at least "The Best Use Of Yellow Solder Mask Ever" award. Love it!

  Are you sure? yes | no

Pat Deegan wrote 10/21/2024 at 20:00 point

haha, this is the 2nd time I use yellow and the 1st time it actually makes sense!  :-D

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates