Arduino 8x8 Gate Sequencer Rhythm Pattern Generator with Two Rotary Encoders and OLED Display

Опубликовано: 05 Октябрь 2024
на канале: Unrelated Activities
538
19

An 8x8 sequencer, very basic in its features. The interface is composed of two rotary encoders with switch, and a 128x64 I2C OLED display.
The display presents an eight rows x eight columns grid, rows are steps,
columns are tracks. Encoders are used to navigate through the grid coordinates.
The X encoder switch selects Cursor or Write mode, in Cursor mode an 'x' is
shown on the grid and a 0 is written in the selected slot in a bi-dimensional
array, in Write mode a filled square is drawn on the grid and a 1 is written
in the selected slot in the array.
The encoder Y switch has three modes: Edit, Tempo, and Play. In Edit mode
the sequencer pattern can be created, in Tempo mode the Y encoder sets the sequencer BPM (Beats Per Minute), in Play it plays the pattern.
The right side of the display shows the BPM and the current mode, the left side shows a rectangle indicating which step is being played.
Each track fires a gate using eight Arduino pins (0 - 4.7V) and also sends MIDI notes through TX pin (channel 10, GM drum notes 35, 38, 42, 46, 45, 50, 64, 76). It works, but the display is too small for my eyes...
Schematic in the video, Arduino code in a pinned comment.

Join this channel:
   / @unrelatedactivities  

Facebook:   / sbranvlztronics  
  / batskull.asra  

Thanks for watching.