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

Conversation

probonopd
Copy link
Owner

@diyelectromusic does this look about right? Maybe you'd like to give it a try. Thanks!

@probonopd probonopd changed the title Add hardware configuration for diyelectromusic-ioboard-v1 device Add hardware configuration for diyelectromusic boards Jan 8, 2025
@probonopd probonopd marked this pull request as draft January 8, 2025 08:01
Copy link

github-actions bot commented Jan 8, 2025

Build for testing:
MiniDexed_2025-01-08-f7796aa
Use at your own risk.

@diyelectromusic
Copy link
Collaborator

Many thanks - will do - but it will probably have to be a bit later in the week :)

Kevin

@diyelectromusic
Copy link
Collaborator

diyelectromusic commented Jan 12, 2025

I still haven't had a chance to dig out my boards I'm afraid, but on reviewing, they both seem ok.

There are also the following if you wanted a full set:

Depends how complete you wish to be!

(The dual board is a bit niche and relies on some changes that aren't in the main releases: https://diyelectromusic.com/2023/07/21/rpi-dual-minidexed-pcb-part-2/)

Thanks,
Kevin

@probonopd
Copy link
Owner Author

Are you selling these or have an easy way to order them somewhere? Then we might want to include those links as comments, so that people interested in getting one know where to get them.

@diyelectromusic
Copy link
Collaborator

I don't sell PCBs no, but they are all open designs published on GitHub. The links are all provided in the linked posts or collectively they ca be found with all my other PCBs:

I don't mind either way, but if you're including some, then the others are probably as relevant too.

Kevin

@probonopd
Copy link
Owner Author

Where could I find the configuration for diyelectromusic Raspberry Pi Zero MIDI Module (RPiZeroMIDI)?
I found it for the others, but please do test all of them. Thanks!

Copy link

Build for testing:
MiniDexed_2025-01-12-407f479
Use at your own risk.

@diyelectromusic
Copy link
Collaborator

Where could I find the configuration for diyelectromusic Raspberry Pi Zero MIDI Module (RPiZeroMIDI)? I found it for the others, but please do test all of them. Thanks!

The MIDI module has no special configuration other than the option to enable thru if desired. It is just using the standard UART GPIO - the same as all the others, so really its part of the Zero MiniDexed IO board, I just couldn't get everything onto one board :)

I'm digging out my hardware as I type, so I'll give them all a go now.

Thanks,
Kevin

@diyelectromusic
Copy link
Collaborator

Ok, so I've tested the following:

  • Pi 2/3/4 SSD1306 - LCD, encoder, buttons, I2S, MIDI all fine
  • Pi 2/3/4 HDD44780 - LCD, encoder, buttons, I2S, MIDI all fine
  • Pi 1 - LCD, encoder, buttons, I2S, MIDI all fine
  • Pi 400 - LCD, encoder, buttons, I2S, MIDI all fine
  • Pi 5/Quad - LCD, encoder, buttons, I2S, MIDI all fine - BUT no quad sound.

I can see you've added the QuadDAC option into your script, but it doesn't seem to have made it through to the MiniDexed.ini file.

So, all these seem fine for the IO. I'll test the Zero when you get that up, but I think it is essentially the same as the SSD1306 IO board.

Kevin

@probonopd
Copy link
Owner Author

Ah, I see. This is because QuadDAC8Chan=0 is currently not part of the minidexed.ini that we ship by default. Do you think QuadDAC8Chan is a "not dangerous" (as in: risk of destroying hardware) option, so that shipping it would be safe even some curious people will set it to 1 rather than 0 despite not having the correct hardware? If you think it might be risky, then I'd do something similar to

# Configure genxnoise_desktop_module as USB gadget (as intended by the manufacturer)
case "$file" in
*genxnoise_desktop_module*)
echo "" >> "$name_of_ini_file"
echo "# CAUTION: To prevent hardware damage, DO NOT use the port labeled 'PWR'" >> "$name_of_ini_file"
echo "# (the microUSB port near the edge of the device) when USBGadget is set to 1!" >> "$name_of_ini_file"
echo "# You need to disable USBGadget if you would like to use that port!" >> "$name_of_ini_file"
echo "# See https://github.com/probonopd/MiniDexed/wiki/Hardware#usb-gadget-mode for more information" >> "$name_of_ini_file"
echo "USBGadget=1" >> "$name_of_ini_file"
;;
esac

@diyelectromusic
Copy link
Collaborator

diyelectromusic commented Jan 12, 2025

I suspect it is probably ok. If they don't have a RPi 5 then it is ignored anyway and if they do, then it will just be expecting three additional GPIO to be connected to I2S boards. I guess that could cause confusion if they've used those GPIO for something else, but if they're using my board then that won't be the case. And if they're not using my board or the HiFiBerry 8 DAC, then I don't know why they'd even think to try this configuration :)

As I say, I suspect its probably ok.

Kevin

Copy link

Build for testing:
MiniDexed_2025-01-12-4a845f6
Use at your own risk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants