Code Monkey home page Code Monkey logo

chaunceyyann / osu-ece473 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 26.79 MB

To put all you have learned together to create a stereo FM alarm clock radio with inside/outside temperature indications.

Home Page: http://classes.engr.oregonstate.edu/eecs/fall2015/ece473-001/

C 50.32% C++ 6.24% Shell 22.79% Makefile 6.82% Vim Script 0.03% Batchfile 0.03% HTML 1.58% QMake 0.03% Groff 4.29% Yacc 1.82% TeX 3.96% Lex 0.88% Assembly 0.76% SourcePawn 0.40% Limbo 0.04%

osu-ece473's Introduction

#473Lab

To put all you have learned together to create a stereo FM alarm clock radio with inside/outside temperature indications.

#####Author: Chauncey Yan #####Date: Fall2015

//Push button assignment
// --- --- --- --- --- --- --- ---
// |7| |6| |5| |4| |3| |2| |1| |0|
// --- --- --- --- --- --- --- ---
// |0| -> change volume
// |1| -> toggle increments between 1 and 60 mins
// |2| -> set current time
// |3| -> set alarm time
// |4| -> toggle alarm set/non-set
// |5| -> toggle 12 / 24 hour mode
// |6| -> snooze mode
// |7| -> confirmation/dismiss alarm

// Encoder assignment
//  _____    _____
// /     \  /     \
// | (L) |  | (R) |
// \_____/  \_____/
//
// L:Volume R:Time/Alarm

// Wire layout
//      7Seg                Mega128 Board
// --------------        ------------------
//     pulldown          PORTA bit 0-7
//     sel0              PORTB bit 4
//     sel1              PORTB bit 5
//     sel2              PORTB bit 6
//     EN                PORTB bit VCC
//     EN_N              PORTB bit Gnd
//     PWM               PORTB bit 7
//     DEC7              COM_EN --> Pushbutton
//
// Pushbutton board         Mega128 board
// ----------------      ------------------
//     COM_EN            DEC7 --> 7Seg
//     COM_LVL           PORTE bit 4
//
// Bargraph board           Mega128 board
// --------------        ------------------
//     reglck            PORTB bit 0 (ss_n)
//     srclk             PORTB bit 1 (sclk)
//     sdin              PORTB bit 2 (mosi)
//     oe_n              PORTE bit 5
//     sd_out            not connected
//
// Encoder board           Mega128 board
// --------------        ------------------
//     SH/LD             PORTE bit 7 (high)
//     SCK               PORTB bit 1 (sclk)
//     CKINH             PORTE bit 6 (gnd)
//     SOUT/SER_OUT      PORTB bit 3 (miso)
//     SIN/SER_IN        Not connected
//
//   AMP board             Mega128 board
// --------------        ------------------
// Alarm tone out        PORTD bit 7 (yellow)
// Volume control        PORTE bit 3 (green)
//
//       ADC               Mega128 board
// --------------        ------------------
// analog data in        PORTF bit 0

osu-ece473's People

Contributors

chaunceyyann avatar

Stargazers

 avatar

Watchers

 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.