User Tools

Site Tools


1590jexamplebuild

Example Build into a 1590J Enclosure

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:

  • 2 Assignable Tweak Knobs
  • 1 Expression Pedal Jack
  • Assignable Footswitches with LED halos

Machining the 1590J enclosure

COMING SOON

Assembly

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:

  1. Attach jumpers to the HGPIO header with the other wire end unterminated. Once the Core is installed into the enclosure, feed each halo lead thru its hole then splice onto the formentioned GPIO wires.
  2. Thread halo leads through their respective footswitch hole and attach each to HGPIO while building up the sandwich within the enclosure.

Because splice solder joints could be rather tricky in such confined space, this build will show the second approach…

Starting with the switches and halos installed into the enclosure:

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

Configuring software to recognize the controls

For the software to know anything about the hardware controls, they must be specified in the configuration file at: /home/pi-stomp/pistomp/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 default_config.yml OR

cd /home/pi-stomp/pistomp
cp default_config_3fs_2knob.yml default_config.yml (If you don't have an expression pedal input)
cp default_config_3fs_2knob_exp.yml default_config.yml (If you do have an expression pedal input)
ps-restart
1590jexamplebuild.txt · Last modified: 2022/04/11 18:29 by admin