Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
3d
 
 
 
 
 
 
 
 
pcb
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Kamaji quiz game system

Directories:

  • firmware: main source code;
  • demo: code samples;
  • 3d: OpenSCAD models for the enclosure;
  • pcb: schematic and printed circuit board layout in KiCAD format;
  • misc: the rest.

SDK

We use PlatformIO with Arduino framework. It should also be possible to compile the code with the official Arduino IDE.

Compilation

  • Version 0 (the prototype): pio run -e v0 -t upload
  • Version 1: pio run -e v1 -t program
  • Version 2: pio run -e v2 -t upload

Hardware

V0 uses an Arduino Nano clone based on ATmega328 and CH341 usb-to-serial chip. The CH341 requires a third-party driver on Mac (and probably Windows), but Linux supports it natively. The screen is a 16x2 HD44780-compatible character LCD connected via I2C.

V1 uses an ATmega328p running at 8MHz without an external oscillator. USBasp can be used for programming.

V2 uses ATmega32u4 and a 128x64 graphics screen.

Code style

Let's stick to Google C++ Style Guide.