Halfway through a haircut, my hair clippers died. After some serious self-reflection, I came to realize I am nowhere near cool enough to wear half a haircut:
…maybe if I got some sick frames, tho…
In my half awake state, I managed to open up the clippers without electrocuting myself too severely. I suspected the switch to be bad – a fried motor usually throws off some smoke when it fails, and this wasn’t the case. I confirmed this by shorting the switch leads with a screwdriver, which made it jump back to life.
I was able to bypass the switch entirely. This means it will always be on while plugged in, but it also means I won’t look like a doofus today:
Skullspace hosted a music hackathon this past June (2014), and I volunteered to put together a brief talk for the occasion. In it, I discuss the inner-workings of some classic transistor-based distortion circuits. See the video and slides below!
I recently acquired the Wolfson Pi Audio Card from Newark. Awesome! In this post I’m simply exploring the functionality of the new device, with some more ambitious projects to come.
The Wolfson Pi – If you lose one of the mounting screws, a rubber band works just as good
The Wolfson Pi brings audio support to the raspberry pi – see this page for detailed specs. What got me excited about the Wolfson Pi, is the ability to add enhanced audio capabilities and potentially incorporate this with JACK or other linux-based real-time audio processing.
The first step is to download and install the wolfson SD card image ( available here ). I found that the unzip utility in Ubuntu could not unzip the file properly… I wound up using 7zip instead, and it worked fine. For those of us using a *nix-based OS, the following can be used to flash your SD card (note that a class 6 is recommended at minimum):
Insert SD card – use the output of dmesg to determine its device file (/dev/sdb for example). It should be the last one mentioned.
use dd to write the card – be very careful to select the right device!! dd bs=4M if=wolfson.img of=/dev/sdb. This will take a while. Physically install the Wolfson Pi onto the raspberry pi while you wait.
Once dd is done, plug it into the pi and you should be ready to go.
If you are like me and want to access it via ssh, the credentials are still the same as the raspbian distro – username pi, password raspberry. The OS uses DHCP by default.
Once you log in, you will see a number of shell scripts in your home directory. Playback_to_*.sh are used to configure the default output device. For my tests, I wanted to test recording with the built-in DMIC (onboard microphone) and output to the Lineout connection. To record and play a test file:
arecord -Dhw:0 -r 44100 -c 2 -f S32_LE test.wav , use Ctrl+C to stop recording
aplay -Dhw:0 -r 44100 -c 2 -f S32_LE test.wav
Note – don’t try to play FLAC files with aplay, the sound of mismatched formats will hurt your ears…
That’s all for now, stay tuned for more experiments with the Wolfson Pi!
A few years ago I picked up this little gem of an amp at a gun show for a paltry 25 bucks. Not a bad snag!
It worked great, except the volume knob didn’t seem to do much… it always sounded like it was on full blast. So, I brought it down to Skullspace to tinker with it.
Aside from the potentiometer not really changing the volume, it was also quite scratchy when changing volumes. This is usually a sign of a worn-out potentiometer, so I ripped out the old one and temporary wired up a replacement off ebay.
Doing a test run with alligator clips
I carefully tested the amplifier (you really dont want to touch the high-voltage tube supply wires in there when it’s powered…) and it sounded way better than before! I deemed it a success and installed the new potentiometer, still with test connections:
Dry fit before everything gets soldered
Everything seemed to work alright, so I soldered everything in place:
The only issue I faced was that the old wires did not really wick up the solder so well. I suspect there are some poor connections because of this, but for now it works… maybe some proper flux paste would work better than rosin-core solder?
Hello internet, I recently received my Gameduino2 via kickstarter and dreamt up a quick demo – tilting the screen moves the ball around (with realistic-ish physics), and keeping it on the “path” longer earns more points:
This demo doesn’t even touch the Gameduino2’s capabilities – just a fun proof of concept. Maybe someone can build off of it?
In some cases, you need to connect to a VPN to do remote work. Typically this sets the VPN interface to be the default gateway – and so, all your web traffic/etc will route through your VPN connection. This becomes troublesome if your VPN endpoint wont route out to the web.
For example, I’m ssh-ed into some work servers right now, and need the internet to write this awesome blog post. My VPN endpoint at the office does not route any traffic to the web, by design.
To get around this, first add a static route for the subnet associated with your VPN interface