Git Product home page Git Product logo

tt04-led-chaser's Introduction

Adjustable Frequency LED Chaser

A project for Tiny Tapeout 4.

This is a simple circuit implementing an LED chaser animation for a seven-segment display, but a configurable bank of clock dividers allows the animation to run at human-reasonable speeds (1-10Hz) for all input clock frequencies. The intent is to support a wide range of PCBs: as long as there's any clock and display whatsoever, you get a pretty demo. (It can also be used as a frequency counter in a pinch.)

diagram

By default, a new frame of the 6-frame LED chaser pattern is displayed on outputs 0 through 5 every rising clock edge. Inputs 0 through 4 toggle clock dividers of 2x (2^1), 4x (2^2), 16x (2^4), 256x (2^8), and 65536x (2^16) respectively. These dividers stack multiplicatively for a maximum clock division of 2^31 = 2.15e9, which easily slows the maximum expected 50MHz clock to sub-Hertz frequencies. Combining a subset of the clock dividers allows fine adjustment.

The first six frames after chip startup may be partially incorrect.

tt04-led-chaser's People

Contributors

dteal avatar urish avatar mattvenn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.