Here we'll show some of the quirky details of installing a pi-Stomp Core into a 1590J diecast enclosure.
In addition to the standard pi-Stomp Core build, this build includes:
Because the LED footswitch halos need to attach to the HGPIO header which becomes difficult to access when the full pi-Stomp Core sandwich is assembled, the order in which the pieces are assembled becomes important. The typical LED halos cannot be attached, Then installed into the enclosure because their leads need to thread through their respective footswitch hole.
Two approaches come to mind:
Because splice solder joints could be rather tricky in such confined space, this build will show the second approach…
Prepare the following pieces: pi-Stomp board, with LCD and Audio Card attached (per the main build instructions)
Make sure the boards have their appropriate 2 spacers attached
Stack two black jack washers onto each I/O jack
Add the large nylon washer (or 2 if needed and provided) to the encoder shaft
Flip it all into place. You can secure it all with the pot, encoder and jack hardware. Do not over-tighten.
Connect each LED halo lead pair to the respective GPIO (Leftmost pin-pair to leftmost halo, mid to mid, etc.) Polarity matters - make sure the positive lead of each pair is the one on top.
Plug each footswitch pair into each respective switch input. Polarity doesn't matter.
Plug the 2×20 header on the Audio Card into the Hat Hacker and attach with 2 screws
then plug Hat Hacker header into the pi-Stomp board and attach it with 2 screws
Plug the Raspberry pi into the Hat Hacker and attach with 2 screws
For the software to know anything about the hardware controls, they must be specified in the configuration file at: ~/data/config/default_config.yml
Fortunately, 3 footswitches and the corresponding 3 halos are included default_config.yml as it comes from github. However, no analog controls (tweak knobs, expression pedals) are included. That's because defining them in default_config.yml will cause the software to poll them. Not such a big deal, but if nothing is connected to an analog input referenced in the default_config.yml, it will be floating and thus likely appear to be constantly changing. Changes eat up compute cycles, so we only want analog inputs specified if they actually have something connected.
To enable the analog controllers you can un-comment those lines in ~/data/config/default_config.yml OR
If you Have an expression pedal input:
cp ~/pi-stomp/setup/config_templates/default_config_3fs_2knob_exp.yml ~/data/config/default_config.yml ps-restart
If you don't have an expression pedal input:
cp ~/pi-stomp/setup/config_templates/default_config_3fs_2knob.yml ~/data/config/default_config.yml ps-restart