Last spring I decided that this year I would win the DEF CON 18 badge hacking contest. I failed. In the process, however, I had fun and learned a great deal, and I ended up with a decent hack that is still unfinished.
I wanted to make something to take advantage of the digital signal processing (DSP) capabilities of the chip on the badge, so I decided to turn my travel guitar into the DEF CON Super Rocker 18, an electric guitar with digital effects powered by the badge.
I started with a Hohner 30" Folk Guitar, an instrument that you can find at toy stores for $30 to $50. I first bought a toy guitar several years ago when I had a job that involved a lot of travel. It was a great way to entertain myself and keep practicing while on the road. I could toss it into the overhead bin on an airplane without a case and not worry about damage because the thing only cost me $20. It didn't sound great (though it was much better than others of the same model that I tried - always try musical instruments at the store even if they are toys), but it was the best $20 I ever spent. That guitar lasted for years and traveled with me to about 25 states. After ToorCamp in 2009, I decided to retire that guitar because its quality had degraded considerably over several years and a few repairs. I replaced it with the Hohner, a higher quality instrument that made its first journey to DEF CON 17. I can't say enough good things about the Hohner. Yes, it is a toy, but I have played worse guitars that cost 10 times as much. If you've ever thought it would be nice to have a guitar for travel, backpacking, or to keep in your car, go get one.
If you are a friend of mine who is wondering why you didn't see me at DEF CON, it is probably because I spent quite a bit of the weekend soldering in my hotel room! I started the project about six weeks in advance, but I spent most of that time experimenting with alternative guitar pickup technologies. I saw the project as an opportunity to experiment more than a contest to win - and my results followed accordingly. When I arrived at the con, I had 99% of the circuits designed, 10% of them constructed, and I had yet to start cutting into the guitar or writing firmware.
I think it was a good thing that I started drilling the guitar in the bathtub. That made it much easier to clean up the sawdust in the hotel room. I used a manual hand drill that was good to travel with. It worked great with smaller twist bits, but I gave up and turned the hole saws by hand. All the parts were mounted in the guitar with hot glue, a few small wood screws, and some bits of wooden chopsticks I picked up at a Las Vegas sushi buffet.
Counting the badge, I think I ended up with six circuit boards mounted in or on the guitar, and it turned out that most of them never did anything! You see, I spent so much time working on building the hardware that I ended up with only a couple hours to write code before the end of the competition. Making the time crunch even worse, I had reliability problems with both the badge's serial bootloader and the JTAG interface. Unfortunately I had to completely abandon the notion that the thing would make noise, and I instead turned my attention to the one function that I thought I could get working very quickly.
I had mounted an RGB LED under each string in the fingerboard of the guitar, and I used those to implement a three-phase RGB stroboscopic tuner. You can see it in action at the end of my contest entry video. The LEDs are driven by a circuit with both high and low side shift registers to minimize the number of pins used on the badge's microcontroller. Each color of the LED flashes at a rate equal to the string's frequency (110 times per second if tuning a 110 Hz string). If the string is in tune, then its vibration brings it to about the same location each time that color flashes. This is much faster than the eye can see, so it just appears to be a stationary blob of color. If the string is a little bit out of tune, the blob moves around slowly, and if the string is further out of tune the blob moves faster. With three colors all firing at different times, you see three blobs that move around depending on the tuning of the string. The circuit doesn't involve any audio sensing whatsoever. I've seen single-phase and two-phase stroboscopic guitar tuners before. What's better than one or two? Three!
I've been so busy with other projects that I haven't even looked at the code since the day of the contest, but I still travel with the DCSR18. When I do, I am reminded that I should resume working on it before too much time goes by. There are a number of other interesting features that I hope to get working, and I'll blog about them as I do.
13 comments:
Mike Ossmann is my hero
As an avid guitar player, and enthusiast, I have to say this was quite intriguing. Good job!
now all that's missing is a dust storm and a shipping container
I did a tuner like that, only with mine, the red and blue were offset by 1Hz
When you were exactly in tune the green would be stationary, and the red and blue would move at the same speed. If you were a tiny bit flat, the red would be slower, and if sharp, the blue would be slower
Nice idea, NickW. Do you have a video?
Sure you're going to be inundated now - but would love to know what sort of algorithm you used - this would be perfect for a synth guitar.
Peter (at) Olisweb.com
Killer Project. Looks like a lot of fun!
hey all friends
Agen bola terpercaya
nice posting
Agen Bola
I was scammed over $93,100. I talked with this guy for 8 months. I sent him money via Bitcoin atm and bank account, I almost lost everything. But for the timely intervention of the Wizard Wierzbicki Programmer, who just in kick-off on time got back my $93,100. He is really good at what he does, I have recommended him to friends and co-workers who all became satisfied customers. He has helped me a lot in the trading industry, you can reach him for Everything. Hacking and Funds Recovering he is the best and has different skills in funds recovering and exposing scammers. Am glad and happy to recover my money, there is no shame in becoming a scam victim of one of these sophisticated and predatory operations. By reporting you may be able to recover some or all of your lost funds and prevent the scammers from targeting others. To recover your Bitcoin Scammed funds, Scammed funds, Clear or Erase Criminal Records, Mobile spy remote control assess, Bitcoin Mining Contact this Genius Recovery Advocate Website: https://wizardwierzbicki.com WhatsApp: +49 1575 8718600 Email: WIZARDWIERZBICKIPROGRAMMER@GMAIL.COM
Very thouughtful blog
Getting Back Lost, Hacked or Stolen Crypto: A1 WIZARD HACKES
In the world of cryptocurrency, security is paramount. However, despite our best efforts to protect our digital assets, instances of lost, hacked, or stolen crypto occur. In such frustrating and devastating situations, it’s essential to have access to professional help that can assist in recovering these assets.
One such solution comes in the form of A1 WIZARD HACKES, a reputable and reliable service provider dedicated to assisting individuals and businesses in recovering lost, hacked, or stolen cryptocurrency. A1 WIZARD HACKES offers a range of services tailored to address various scenarios where digital assets may be compromised. Their team of experts is well-versed in the latest techniques and technologies for recovering and securing cryptocurrency, ensuring that their clients receive the best possible assistance in their time of need.
Contact Info:
E-mail : A1wizardhackes@cyberservices.com
whatsssApp : +1 678 439 9760
Beware the pitfalls of the crypto world, for I fell victim to a crafty scam. But just when I thought all hope was lost, Seeker Assets Recovery emerged as a beacon of light. Their unmatched knowledge and unyielding determination shattered the chains that held my Bitcoin captive. Don't let your hard-earned wealth slip through your fingers. Call upon the expertise of Seeker Assets Recovery and let them restore your faith in the crypto realm. Email: info@seekerassetsrecovery.com Website: seekerassetsrecovery . com
Post a Comment