fpga i2c rtc oled based clock with alarm supports buzzer
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.
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
Parts you need are:
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
[