Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hardware configuration for diyelectromusic boards #788

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions hwconfig/diyelectromusic-RPi400MIDIAudio.override
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# diyelectromusic Raspberry Pi 400 MIDI and Audio Module (RPi400MIDIAudio)
# https://diyelectromusic.wordpress.com/2023/12/18/rpi-400-midi-and-audio-pcb-design/
# https://diyelectromusic.wordpress.com/2023/12/18/rpi-400-midi-and-audio-pcb-build-guide/

SoundDevice=i2s

LCDEnabled=1
SSD1306LCDI2CAddress=0x3C
SSD1306LCDWidth=128
SSD1306LCDHeight=32
SSD1306LCDRotate=0
SSD1306LCDMirror=0

LCDColumns=20
LCDRows=2

ButtonPinPrev=0
ButtonActionPrev=
ButtonPinNext=0
ButtonActionNext=
ButtonPinBack=5
ButtonActionBack=click
ButtonPinSelect=11
ButtonActionSelect=click
ButtonPinHome=6
ButtonActionHome=click
ButtonPinShortcut=11

EncoderEnabled=1
EncoderPinClock=10
EncoderPinData=9
31 changes: 31 additions & 0 deletions hwconfig/diyelectromusic-RpiMiniDexedHD44780.override
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# diyelectromusic Raspberry Pi MiniDexed IO Module (HD44780 Version) (RpiMiniDexedHD44780)
# https://github.com/diyelectromusic/sdemp_pcbs/tree/main/RpiMiniDexedHD44780
# https://diyelectromusic.wordpress.com/2022/08/16/minidexed-raspberry-pi-io-board-part-3/

SoundDevice=i2s

LCDEnabled=1
LCDPinEnable=10
LCDPinRegisterSelect=9
LCDPinReadWrite=0
LCDPinData4=22
LCDPinData5=27
LCDPinData6=17
LCDPinData7=4
LCDI2CAddress=0x00
SSD1306LCDI2CAddress=0
LCDColumns=16
LCDRows=2

EncoderEnabled=1
EncoderPinClock=24
EncoderPinData=23
For the two buttons, and the rotary encoder switch itself:

ButtonPinBack=25
ButtonActionBack=longpress
ButtonPinSelect=25
ButtonActionSelect=click
ButtonPinHome=25
ButtonActionHome=doubleclick
ButtonPinShortcut=25
26 changes: 26 additions & 0 deletions hwconfig/diyelectromusic-RpiMiniDexedSSD1306.override
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# diyelectromusic Raspberry Pi MiniDexed IO Module (SSD1306 Version) (RpiMiniDexedSSD1306)
# https://github.com/diyelectromusic/sdemp_pcbs/tree/main/RpiMiniDexedSSD1306
# https://diyelectromusic.com/2022/08/16/minidexed-raspberry-pi-io-board-part-2/

SoundDevice=i2s

LCDEnabled=1
SSD1306LCDI2CAddress=0x3C
SSD1306LCDWidth=128
SSD1306LCDHeight=32
SSD1306LCDRotate=0
SSD1306LCDMirror=0
LCDColumns=20
LCDRows=2

ButtonPinBack=5
ButtonActionBack=click
ButtonPinSelect=11
ButtonActionSelect=click
ButtonPinHome=6
ButtonActionHome=click
ButtonPinShortcut=11

EncoderEnabled=1
EncoderPinClock=9
EncoderPinData=10
32 changes: 32 additions & 0 deletions hwconfig/diyelectromusic-RpiQuadDACMiniDexed.override
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# diyelectromusic MiniDexed Quad DAC (RpiQuadDACMiniDexed)
# https://github.com/diyelectromusic/sdemp_pcbs/tree/main/RpiQuadDACMiniDexed
# https://diyelectromusic.com/2024/06/09/minidexed-quad-dac-pcb-design/
# https://diyelectromusic.com/2024/06/09/minidexed-quad-dac-pcb-build-guide/

SoundDevice=i2s
QuadDAC8Chan=1

LCDEnabled=1
SSD1306LCDI2CAddress=0x3C
SSD1306LCDWidth=128
SSD1306LCDHeight=32
SSD1306LCDRotate=1
SSD1306LCDMirror=0

LCDColumns=20
LCDRows=2

ButtonPinPrev=0
ButtonActionPrev=
ButtonPinNext=0
ButtonActionNext=
ButtonPinBack=5
ButtonActionBack=click
ButtonPinSelect=11
ButtonActionSelect=click
ButtonPinHome=6
ButtonActionHome=click

EncoderEnabled=1
EncoderPinClock=10
EncoderPinData=9
30 changes: 30 additions & 0 deletions hwconfig/diyelectromusic-RpiV1MiniDexedIOBoard.override
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# diyelectromusic MiniDexed Raspberry Pi V1 IO Board (RpiV1MiniDexedIOBoard)
# https://github.com/diyelectromusic/sdemp_pcbs/tree/main/RpiV1MiniDexedIOBoard
# https://diyelectromusic.com/2023/02/28/minidexed-raspberry-pi-v1-io-board-part-2/

SoundDevice=i2s

LCDEnabled=1
SSD1306LCDI2CAddress=0x3C
SSD1306LCDWidth=128
SSD1306LCDHeight=32
SSD1306LCDRotate=0
SSD1306LCDMirror=0
LCDColumns=20
LCDRows=2

ButtonPinPrev=0
ButtonActionPrev=
ButtonPinNext=0
ButtonActionNext=
ButtonPinBack=22
ButtonActionBack=click
ButtonPinSelect=11
ButtonActionSelect=click
ButtonPinHome=27
ButtonActionHome=click
ButtonPinShortcut=11

EncoderEnabled=1
EncoderPinClock=9
EncoderPinData=10
1 change: 1 addition & 0 deletions src/minidexed.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ DACI2CAddress=0
ChannelsSwapped=0
# Engine Type ( 1=Modern ; 2=Mark I ; 3=OPL )
EngineType=1
QuadDAC8Chan=0

# MIDI
MIDIBaudRate=31250
Expand Down