Coder Social home page Coder Social logo

led_blinker_toy's Introduction

LED Blinky Toy

A silly Attiny85 project.

Built using the Arduino toolchain, compiled with GCC in Sloeber IDE.

The circuit is just three daughter boards, each with a SN74HC595 shift register and 8 LEDs, plus one master board which contains the Attiny85 and interconnects.

Control is done via a 10K pot on pin 3, and a NO switch on pin 4.

Has four modes (or 5, depending if you count "off"):

  • Random pattern moving from left to right
  • Random pattern moving right to left
  • Cylon mode (3 LEDs that wiggle side to side)
  • Fake VU Meter

In off, the Attiny85 sleeps in power down mode, checking every second to see the button on pin 4 is depressed. If so, it cycles back to the first pattern.

In all modes, the adjusement pot changes the pattern speed.

Note: The code expects the Attiny85 to be running in 8MHz mode. So be sure to set the fuses appropriately (ie: CKDIV8=0), especially if you've been putting Arduino bootloaders on your MCUs. (As happened to me...)

led_blinker_toy's People

Contributors

chainedlupine avatar

Watchers

 avatar  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.