Giter Club home page Giter Club logo

spin's Introduction

Propellor Clock

This repository powers an arduino project consisting of a spinning display of LEDs that shows the current time to the user. Let's see it in action:

High Level Architecture

Propellor_diagrams drawio (14)

Requirements

  1. If the start button is pressed when the motor is stopped (1.5 seconds have passed since last full rotation), the motor shall be commanded to begin spinning, approaching a speed of 10 rotations per second as measured using the beam break sensor
  2. When the device is spinning steadily, the LEDs shall display an image of the current time in 24-hour hh:mm:ss format
  3. If the stop button is pressed at any time, the motor shall be powered off

Sample Operation

After pressing the on button, the motor speed is set and the device spins up. Once the rotation speed threshold is reached, the LEDs begin to display an image representation of the current time.

A quick summary of how an image is actually displayed is that each time the beam break sensor detects a rotation, if the clock is in the running state, then the beam break ISR starts or adjusts the rate of a timer interrupt, and the timer interrupt updates the LEDs for each column of the image as the clock spins around.

Propellor_diagrams drawio (13)

Finite State Machine (FSM)

Propellor_diagrams drawio (15)

CAD

Onshape CAD for the 3d printed components can be found here.

spin's People

Contributors

benkilimnik avatar elliotjinoohong avatar joshua-8 avatar nickcancellaro avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

plabeee

spin's Issues

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.