Giter VIP home page Giter VIP logo

fpga_rtc_alarm_clock's Introduction

This is a fpga based rtc, temperature, oled, buzzer implementation. This design has only few ios and the code is very easy to port to other fpgas. This code is a hack (no cleanup) and was a fun project to learn fpga hacking.

Needs only i2c pins, interrupt pin from rtc clock, buzzer and 2 button pins.

  • sda <-> with sda of rtc clock and oled also need a pullup 4.7k

  • scl <-> with scl of rtc clock and oled also need a pullup 4.7k

  • btn0 <-> on fpga or take a button, configure pin as input with pullup

  • btn1 <-> on fpga or take a button, configure pin as input with pullup

  • led <-> you can remove

  • int_ <-> to rtc clock int/sqw with 4.7k pullup

  • speaker <-> take buzzer wit 100 ohm in series to output pin

menu

  • btn0 jumps into the setup menu.
  • btn1 will increase attributtes in setup menu.
  • btn1 enable/disables alarm clock in idle screen (sign will shown). During alarm btn1 will silence the buzzer.

Parts you need are:

  • ds3231 rtc clock
  • sdd1306 128x32 bw oled display
  • buzzer
  • fpga with blockram for framebuffer and pla tables

This reference implementation is on ice40 based blackicemx

just build via make -f Makefile.blackicemx clean && make -f Makefile.blackicemx && make -f Makefile.blackicemx prog

Have fun Hirosh

[fpga clock

fpga_rtc_alarm_clock's People

Contributors

splinedrive avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

icodein fyrus7

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.