<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>Home - tech</title>
    
    <icon>/icons/favicon.svg</icon>
    <subtitle>Xol&#x27;s Blog</subtitle>
    <link rel="self" type="application/atom+xml" href="https://caprine.company/categories/tech/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://caprine.company"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2025-11-21T04:30:17+00:00</updated>
    <id>https://caprine.company/categories/tech/atom.xml</id>
    <entry xml:lang="en">
        <title>Large Rat Box</title>
        <published>2025-11-21T04:30:17+00:00</published>
        <updated>2025-11-21T04:30:17+00:00</updated>
        
        <author>
          <name>
            
              xol
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://caprine.company/lrb-post1/"/>
        <id>https://caprine.company/lrb-post1/</id>
        
        <summary type="html">&lt;p&gt;A very basic drone synthesizer that I built at home out of cardboard and spare parts.&lt;&#x2F;p&gt;
&lt;hr &#x2F;&gt;
&lt;div class=&quot;imagestylingdescV2-container&quot;&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;lrb-post1&amp;#x2F;large-rat-box-3.webp&quot;&gt;
	&lt;img title=&quot;Open image in new tab&quot; src=&quot;&amp;#x2F;images&amp;#x2F;lrb-post1&amp;#x2F;large-rat-box-3.webp&quot; style=&quot;width: 100%;&quot; alt=&quot;An image of a hand-made synthesizer. It has 3 knobs and a quarter inch jack output.&quot; loading=&quot;lazy&quot;&gt;
&lt;&#x2F;a&gt;
&lt;div class=&quot;imagestylingdescV2-text&quot;&gt;&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;
&lt;hr &#x2F;&gt;

            
            Full article available on caprine.company
        </summary>
        <content type="html">&lt;p&gt;A very basic drone synthesizer that I built at home out of cardboard and spare parts.&lt;&#x2F;p&gt;
&lt;hr &#x2F;&gt;
&lt;div class=&quot;imagestylingdescV2-container&quot;&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;lrb-post1&amp;#x2F;large-rat-box-3.webp&quot;&gt;
	&lt;img title=&quot;Open image in new tab&quot; src=&quot;&amp;#x2F;images&amp;#x2F;lrb-post1&amp;#x2F;large-rat-box-3.webp&quot; style=&quot;width: 100%;&quot; alt=&quot;An image of a hand-made synthesizer. It has 3 knobs and a quarter inch jack output.&quot; loading=&quot;lazy&quot;&gt;
&lt;&#x2F;a&gt;
&lt;div class=&quot;imagestylingdescV2-text&quot;&gt;&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;
&lt;hr &#x2F;&gt;
&lt;span id=&quot;continue-reading&quot;&gt;&lt;&#x2F;span&gt;
&lt;div class=&quot;imagestylingdescV2-container&quot;&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;lrb-post1&amp;#x2F;large-rat-box-2.webp&quot;&gt;
	&lt;img title=&quot;Open image in new tab&quot; src=&quot;&amp;#x2F;images&amp;#x2F;lrb-post1&amp;#x2F;large-rat-box-2.webp&quot; style=&quot;width: 100%;&quot; alt=&quot;An image of a hand-made synthesizer. It has 3 knobs and a quarter inch jack output.&quot; loading=&quot;lazy&quot;&gt;
&lt;&#x2F;a&gt;
&lt;div class=&quot;imagestylingdescV2-text&quot;&gt;&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;
&lt;p&gt;Based on &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.lookmumnocomputer.com&#x2F;simplest-oscillator&#x2F;&quot;&gt;this circuit&lt;&#x2F;a&gt; on Look Mum No Computer&#x27;s website. This took me like 6 tries to get right, but eventually I got it.&lt;&#x2F;p&gt;
&lt;p&gt;These basic oscillators can be made for mere cents worth of components, the most expensive part would be the potentiometers. You can salvage those, or use those tiny cheap plastic blue ones maybe.&lt;&#x2F;p&gt;
&lt;p&gt;I used a 2n3904 transistor for these ones, but you can choose from a handful of others. &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;http:&#x2F;&#x2F;www.kerrywong.com&#x2F;2014&#x2F;03&#x2F;19&#x2F;bjt-in-reverse-avalanche-mode&#x2F;&quot;&gt;kerrywong.com&lt;&#x2F;a&gt; has a great article about how these oscillators work and what transistors you can use.&lt;&#x2F;p&gt;
&lt;p&gt;A capacitor controls the discharge time of the circuit, which changes the pitch. I used two 4.7uF caps for the left oscillators, and a 10uF cap for the right one.&lt;&#x2F;p&gt;
&lt;div class=&quot;imagestylingdescV2-container&quot;&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;lrb-post1&amp;#x2F;large-rat-box-1.webp&quot;&gt;
	&lt;img title=&quot;Open image in new tab&quot; src=&quot;&amp;#x2F;images&amp;#x2F;lrb-post1&amp;#x2F;large-rat-box-1.webp&quot; style=&quot;width: 100%;&quot; alt=&quot;An image of a hand-made synthesizer. It has 3 knobs and a quarter inch jack output.&quot; loading=&quot;lazy&quot;&gt;
&lt;&#x2F;a&gt;
&lt;div class=&quot;imagestylingdescV2-text&quot;&gt;&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;
&lt;p&gt;There&#x27;s plenty of room inside for a proper RAT distortion circuit, which i will definitely add in the future.&lt;&#x2F;p&gt;
&lt;p&gt;The base is made from a cardboard composite (too thick for the front panel), which was inspired by &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=45JhacvmXV8&quot;&gt;NightHawkInLight&#x27;s video&lt;&#x2F;a&gt; about building with cardboard.&lt;&#x2F;p&gt;
&lt;hr &#x2F;&gt;
&lt;p&gt;Here&#x27;s a weird sort of song that I made with this new synthesizer and a handful of plugins in Reaper. You can download it and use it freely for whatever you want.&lt;&#x2F;p&gt;
&lt;div  class=&quot;audioplayer-container&quot;&gt;
  &lt;div itemprop=&quot;flexContainer&quot;&gt;
    &lt;div itemprop=&quot;flexItems&quot;&gt;
      &lt;div class=&quot;audioplayer-embed&quot;&gt;
        &lt;p itemprop=&quot;audioWarning&quot;&gt;⚠︎  AUDIO VOLUME HAZARD, CHECK VOLUME  ⚠︎&lt;&#x2F;p&gt;
        &lt;audio controls&gt;
          &lt;source src=&quot;&amp;#x2F;sounds&amp;#x2F;piece-of-mind&amp;#x2F;lrb-loop2.mp3&quot; type=&quot;audio&amp;#x2F;mpeg&quot;&gt; Your browser does not support the audio element.
        &lt;&#x2F;audio&gt;
      &lt;&#x2F;div&gt;
    &lt;&#x2F;div&gt;
    &lt;div itemprop=&quot;flexItems&quot;&gt;
      &lt;div&gt; this audio embed is still WIP.&lt;br&gt; Click the cover art to download!&lt;br&gt;&lt;sub&gt;it&#x27;s free&lt;&#x2F;sub&gt;
	  &lt;hr&gt;
	  Title: 
	  &lt;b&gt;LRB Loop 2&lt;&#x2F;b&gt;&lt;br&gt;
	  Album: 
	  &lt;b&gt;Large Rat Loops&lt;&#x2F;b&gt;&lt;br&gt;
	  Year:
	  &lt;b&gt;2025&lt;&#x2F;b&gt;&lt;br&gt;
      &lt;&#x2F;div&gt;
    &lt;&#x2F;div&gt;
    &lt;div itemprop=&quot;flexItems&quot;&gt;
      &lt;a href=&quot;&amp;#x2F;sounds&amp;#x2F;piece-of-mind&amp;#x2F;lrb-loop2.mp3&quot; download&gt;&lt;img src=&quot;&amp;#x2F;sounds&amp;#x2F;piece-of-mind&amp;#x2F;cover-suz.jpg&quot;&gt;&lt;&#x2F;img&gt;&lt;&#x2F;a&gt;
    &lt;&#x2F;div&gt;
  &lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Modding a Generic Foot Pedal to be QMK Compatible</title>
        <published>2024-09-20T02:50:49+00:00</published>
        <updated>2024-09-20T02:50:49+00:00</updated>
        
        <author>
          <name>
            
              xol
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://caprine.company/foot-pedal-qmk/"/>
        <id>https://caprine.company/foot-pedal-qmk/</id>
        
        <summary type="html">&lt;p&gt;Just a small project early this morning. Throwing together things that have been sitting around colleting dust the last few years. I got this foot pedal from the thrift store years ago for cheap, although I don&#x27;t remember how much it was. It couldn&#x27;t have been over $10 though, or I wouldn&#x27;t have bought it.&lt;&#x2F;p&gt;
&lt;hr &#x2F;&gt;
&lt;div class=&quot;imagestylingdescV2-container&quot;&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;covers&amp;#x2F;foot-pedal-qmk.webp&quot;&gt;
	&lt;img title=&quot;Open image in new tab&quot; src=&quot;&amp;#x2F;covers&amp;#x2F;foot-pedal-qmk.webp&quot; style=&quot;width: 100%;&quot; alt=&quot;Banner image showing the foot pedal with the text &amp;#x27;yet another input device for my collection..&quot; loading=&quot;lazy&quot;&gt;
&lt;&#x2F;a&gt;
&lt;div class=&quot;imagestylingdescV2-text&quot;&gt;&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;
&lt;hr &#x2F;&gt;

            
            Full article available on caprine.company
        </summary>
        <content type="html">&lt;p&gt;Just a small project early this morning. Throwing together things that have been sitting around colleting dust the last few years. I got this foot pedal from the thrift store years ago for cheap, although I don&#x27;t remember how much it was. It couldn&#x27;t have been over $10 though, or I wouldn&#x27;t have bought it.&lt;&#x2F;p&gt;
&lt;hr &#x2F;&gt;
&lt;div class=&quot;imagestylingdescV2-container&quot;&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;covers&amp;#x2F;foot-pedal-qmk.webp&quot;&gt;
	&lt;img title=&quot;Open image in new tab&quot; src=&quot;&amp;#x2F;covers&amp;#x2F;foot-pedal-qmk.webp&quot; style=&quot;width: 100%;&quot; alt=&quot;Banner image showing the foot pedal with the text &amp;#x27;yet another input device for my collection..&quot; loading=&quot;lazy&quot;&gt;
&lt;&#x2F;a&gt;
&lt;div class=&quot;imagestylingdescV2-text&quot;&gt;&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;
&lt;hr &#x2F;&gt;
&lt;span id=&quot;continue-reading&quot;&gt;&lt;&#x2F;span&gt;
&lt;div class=&quot;image1x2V2-container&quot;&gt;
&lt;div class=&quot;image1x2V2-row&quot;&gt;
	&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-top.webp&quot;&gt;
    &lt;div class=&quot;image1x2V2-col&quot;&gt;
        &lt;img src=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-top.webp&quot; alt=&quot;Image of the two cables before soldering.&quot; loading=&quot;lazy&quot;&#x2F;&gt;
    &lt;&#x2F;div&gt;
	&lt;&#x2F;a&gt;
	&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-bottom.webp&quot;&gt;
    &lt;div class=&quot;image1x2V2-col&quot;&gt;
        &lt;img src=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-bottom.webp&quot; alt=&quot;Image of the final cable.&quot; loading=&quot;lazy&quot;&#x2F;&gt;
    &lt;&#x2F;div&gt;
	&lt;&#x2F;a&gt;
&lt;&#x2F;div&gt;
&lt;div class=&quot;image1x2V2-text&quot;&gt;The pedal is branded as an &amp;#x27;Infinity IN-USB-1.&amp;#x27; The REV, PLAY and FWD labels make me think this was originally intended as a transcription foot pedal.&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;
&lt;p&gt;One of my goals for a long time was to integrate a foot pedal system into my setup somehow. This one fits the bill (not perfectly), although it turns out that it needs some kind of special driver that I didn&#x27;t have. No normal keyboard keycodes are sent to the computer, so it&#x27;s definitely not recognized as a keyboard. Checking it with lsusb on Linux gives this result:&lt;&#x2F;p&gt;
&lt;pre&gt;&lt;code&gt;  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x05f3 PI Engineering, Inc.
  idProduct          0x00ff VEC Footpedal
  bcdDevice            1.00
  iManufacturer           1 VEC 
  iProduct                2 VEC USB Footpedal
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0022
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      35
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)
&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;&lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=KN0nbdFLsgw&quot;&gt;Tech Tangents on YouTube has a video&lt;&#x2F;a&gt; about writing a little driver in Linux to make it work. This is a cool solution if you&#x27;re already using Linux and want to save some money. I wanted this to be platform agnostic though, which is why I did a controller swap.&lt;&#x2F;p&gt;
&lt;p&gt;After that initial testing all that time ago I ended up kinda forgetting about it I guess. Fast forward to now and I thought about it again. Thought to myself that it could be useful to have a foot switch for an action in Blender or a game or anything really. I had an Arduino Pro Micro sitting around, which is all you need to get this working as a QMK programmable foot switch. QMK also includes a set of &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;docs.qmk.fm&#x2F;easy_maker&quot;&gt;&quot;Easy Maker&quot;&lt;&#x2F;a&gt; firmware presets, which makes it super easy for someone who just wants to get a simple one-off project up and running. You could use a handful of other MCUs with the ez_maker presets too.&lt;&#x2F;p&gt;
&lt;p&gt;&lt;strong&gt;Process&lt;&#x2F;strong&gt;&lt;&#x2F;p&gt;
&lt;p&gt;All you gotta do to convert a foot pedal like this is to open it up and solder a few wires. I took a bunch of pictures to show the process.&lt;&#x2F;p&gt;
&lt;p&gt;Also don&#x27;t forget to add a reset switch somewhere that&#x27;s easily accessible on the outside. I forgot and now need to take the thing apart and solder in a switch.&lt;&#x2F;p&gt;
&lt;div class=&quot;imagestylingdescV2-container&quot;&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-orig.webp&quot;&gt;
	&lt;img title=&quot;Open image in new tab&quot; src=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-orig.webp&quot; style=&quot;width: 80%; margin-left: 10%; margin-right: 10%;&quot; alt=&quot;Image of the foot pedal internals before modification.&quot; loading=&quot;lazy&quot;&gt;
&lt;&#x2F;a&gt;
&lt;div class=&quot;imagestylingdescV2-text&quot;&gt;This is how the internals looked beforehand. Obviously not a whole lot going on in here.&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;&lt;div class=&quot;image1x2V2-container&quot;&gt;
&lt;div class=&quot;image1x2V2-row&quot;&gt;
	&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-pcb4.webp&quot;&gt;
    &lt;div class=&quot;image1x2V2-col&quot;&gt;
        &lt;img src=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-pcb4.webp&quot; alt=&quot;Image of the top of the original PCB, showing the microcontroller.&quot; loading=&quot;lazy&quot;&#x2F;&gt;
    &lt;&#x2F;div&gt;
	&lt;&#x2F;a&gt;
	&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-pcb5.webp&quot;&gt;
    &lt;div class=&quot;image1x2V2-col&quot;&gt;
        &lt;img src=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-pcb5.webp&quot; alt=&quot;Image of the bottom of the original PCB.&quot; loading=&quot;lazy&quot;&#x2F;&gt;
    &lt;&#x2F;div&gt;
	&lt;&#x2F;a&gt;
&lt;&#x2F;div&gt;
&lt;div class=&quot;image1x2V2-text&quot;&gt;Some images of the original PCB.&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;&lt;div class=&quot;imagestylingdescV2-container&quot;&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-switch.webp&quot;&gt;
	&lt;img title=&quot;Open image in new tab&quot; src=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-switch.webp&quot; style=&quot;width: 50%; margin-left: 25%;&quot; alt=&quot;Image of the microswitch used inside the foot pedal.&quot; loading=&quot;lazy&quot;&gt;
&lt;&#x2F;a&gt;
&lt;div class=&quot;imagestylingdescV2-text&quot;&gt;The switches used in all 3 positions.&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;
&lt;p&gt;After chopping out the PCB from the original wiring, I decided that I wanted to redo the way the switches were wired up. This probably wasn&#x27;t necessary, but it never hurts to get some practice doing soldering anyways. I just hooked one pin from all the switches up to a common ground, and then wired another pin to whatever available pins were on the MCU. In this case I used pins 7, 8 and 9.&lt;&#x2F;p&gt;
&lt;div class=&quot;image1x2V2-container&quot;&gt;
&lt;div class=&quot;image1x2V2-row&quot;&gt;
	&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-apart.webp&quot;&gt;
    &lt;div class=&quot;image1x2V2-col&quot;&gt;
        &lt;img src=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-apart.webp&quot; alt=&quot;Image of the top of the original PCB, showing the microcontroller.&quot; loading=&quot;lazy&quot;&#x2F;&gt;
    &lt;&#x2F;div&gt;
	&lt;&#x2F;a&gt;
	&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-solder.webp&quot;&gt;
    &lt;div class=&quot;image1x2V2-col&quot;&gt;
        &lt;img src=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-solder.webp&quot; alt=&quot;Image of the bottom of the original PCB.&quot; loading=&quot;lazy&quot;&#x2F;&gt;
    &lt;&#x2F;div&gt;
	&lt;&#x2F;a&gt;
&lt;&#x2F;div&gt;
&lt;div class=&quot;image1x2V2-text&quot;&gt;Further disassembly and desoldering.&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;&lt;div class=&quot;image1x2V2-container&quot;&gt;
&lt;div class=&quot;image1x2V2-row&quot;&gt;
	&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-mcu1.webp&quot;&gt;
    &lt;div class=&quot;image1x2V2-col&quot;&gt;
        &lt;img src=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-mcu1.webp&quot; alt=&quot;Close up view of how I wired the switches to the controller.&quot; loading=&quot;lazy&quot;&#x2F;&gt;
    &lt;&#x2F;div&gt;
	&lt;&#x2F;a&gt;
	&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-mcu2.webp&quot;&gt;
    &lt;div class=&quot;image1x2V2-col&quot;&gt;
        &lt;img src=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-mcu2.webp&quot; alt=&quot;Above view of how I wired the switches to the controller.&quot; loading=&quot;lazy&quot;&#x2F;&gt;
    &lt;&#x2F;div&gt;
	&lt;&#x2F;a&gt;
&lt;&#x2F;div&gt;
&lt;div class=&quot;image1x2V2-text&quot;&gt;Close-up on my horrific soldering and wiring. If it works then it doesn&amp;#x27;t matter I guess.&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;
&lt;p&gt;I wanted to retain the original long durable USB cable, so I hacked off the end of a Micro USB cable that was falling apart and soldered them together. Then everything goes back in the case and gets hot glued down.&lt;&#x2F;p&gt;
&lt;div class=&quot;image1x2V2-container&quot;&gt;
&lt;div class=&quot;image1x2V2-row&quot;&gt;
	&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-cable1.webp&quot;&gt;
    &lt;div class=&quot;image1x2V2-col&quot;&gt;
        &lt;img src=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-cable1.webp&quot; alt=&quot;Image of the two cables before soldering.&quot; loading=&quot;lazy&quot;&#x2F;&gt;
    &lt;&#x2F;div&gt;
	&lt;&#x2F;a&gt;
	&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot; href=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-cable2.webp&quot;&gt;
    &lt;div class=&quot;image1x2V2-col&quot;&gt;
        &lt;img src=&quot;&amp;#x2F;images&amp;#x2F;foot-pedal-qmk&amp;#x2F;foot-pedal-cable2.webp&quot; alt=&quot;Image of the final cable.&quot; loading=&quot;lazy&quot;&#x2F;&gt;
    &lt;&#x2F;div&gt;
	&lt;&#x2F;a&gt;
&lt;&#x2F;div&gt;
&lt;div class=&quot;image1x2V2-text&quot;&gt;Just a normal cable splice, although I didn&amp;#x27;t want to waste any of my heatshrink on it. This one gets the electrical tape.&lt;&#x2F;div&gt;
&lt;&#x2F;div&gt;
&lt;p&gt;&lt;strong&gt;Firmware&lt;&#x2F;strong&gt;&lt;&#x2F;p&gt;
&lt;p&gt;The firmware is dead simple thanks to that ez_maker template in &lt;a rel=&quot;noopener nofollow noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;config.qmk.fm&#x2F;#&#x2F;ez_maker&#x2F;directpins&#x2F;promicro&#x2F;LAYOUT&quot;&gt;QMK Configurator&lt;&#x2F;a&gt;. By default it outputs C, E and G. You can change this to any keycode or macro with the web tool. I would eventually like to get this working properly with Vial, but that would take some learning on how to port or build a custom layout for it. If I end up doing that I&#x27;ll link it somewhere in this section. I have no plans for what to map the buttons to yet, but I was playing some TBoI earlier and found it was fun to place down bombs with my foot pressing the big center button.&lt;&#x2F;p&gt;
&lt;p&gt;A thought I had regarding use cases would be to make the left and right buttons change the layer you&#x27;re on, and the big center button being the primary action. So you could switch between Blender mode or game mode and so on.&lt;&#x2F;p&gt;
&lt;p&gt;&lt;strong&gt;End&lt;&#x2F;strong&gt;&lt;&#x2F;p&gt;
&lt;p&gt;That&#x27;s about it with this project. This was another push for myself to get a post out within 1 day. Not that I&#x27;m on a schedule or time limit or doing this for money. I just want to refine the workflow and make things smooth for posting to this site. I wrote some more shortcodes for this post to make embedding codeblocks and side-by-side images possible. The worst part of the website workflow so far is the image processing. It takes a long time and some tedious work to get the watermark in place and to scale the image to the right size to save on bandwidth. Ideally I&#x27;d make some kind of little script tool that can batch process a selection of images I provide it. Maybe at some point I&#x27;ll figure that out.&lt;&#x2F;p&gt;
&lt;p&gt;Thanks for reading.&lt;&#x2F;p&gt;
</content>
        
    </entry>
</feed>
