Posts

Showing posts from May 11, 2025

Leather handles Jig

Image
  I made the first two handles with a lot of brute force and effort but after finishing them I didn't like the stitching, I should have used a backstitch rather than a running stitch so I had to go back and fill in the gaps. This meant that the actual stitching was taking around three and a half hours per handle. I realised the stitching went faster around the wooden handle area so I quickly cut out a wooden section that runs the whole length of the handle. This holds the leather more firmly and allows me to use the vice to hold the work, it now takes just over two hours to finish a handle, so just ten more hours of sewing to go. The handles are mounted to the very top of the box and can be used to lift the whole thing. These handles are still waiting on some longer screws to affix the wooden section to the middle.

How to Read a Switch

Image
So far we've covered how to blink an LED on and off and how to flicker an LED using an analogue output value, it's time to start reading and reacting to inputs to the controller. This means adding some additional hardware to read from, but today that can be a simple as a single wire on a prototyping breadboard. One end of the wire is connected to the D1 input and the other end is swapped between the 3V3 pin and the GND pin to create High/Low input signals. The initial code to read this is impressively simple, we're also going to leave some LED code in the demo so that we can easily see what value is being read by the controller. When you load this example you should see that the LED turns on when the wire is connected to GND (remember the LED_BUILTIN is active low) and the LED turns off when the wire is connected to 3V3. This system works but has a downside, the input pin only changes state when the wire is connected to the new pin. When the wire is disconnected and l...