The same Roll a Byte, right in your hands this time.
This is a simple device to produce a random byte and show it on a 72x40 OLED display and 8 LEDs, powered by an ATmega88PA and the amazing U8g2 library.
This repository is a PlatformIO project. To build the project, clone this repository and open in PlatformIO IDE / build with PlatformIO CLI.
git clone --recurse-submodules https://github.com/45gfg9/RollAByte.git
cd RollAByte
pio run
The fuse settings are set to use the internal 8MHz oscillator with the CKDIV8 fuse disabled. For ATmega88PA, the fuses are set as follows:
- Low:
0xe2
- High:
0xdf
- Extended:
0xff
avrdude -pm88p -cusbasp -Ulfuse:w:0xe2:m -Uhfuse:w:0xdf:m -Uefuse:w:0xff:m
The schematic, PCB layout and EasyEDA source are available in the hardware
directory.
This project is licensed under the WTFPL license. See the LICENSE file for details.
The font used in the display is fcambus/spleen, which is licensed under the BSD 2-Clause license.