Friday, July 3, 2015

Wireless power with a slayer/exciter circuit

I spent a good couple of hours wrapping the secondary winding for this transformer with 30 AWG magnet wire, and used a slayer/exciter circuit to get kV level voltages. This lets me make small arcs, as well as light up LEDs and flourescent bulbs if brought close.

The next step is to beef up the circuit using high-power MOSFETs to get larger arcs, and the solid state design (as opposed to the old-school spark gap method) will allow me to superimpose audio from a headphone jack on the arcs.

Here's some info on the slayer/exciter circuit, explained my Mehdi.

Tuesday, April 28, 2015

Combined my love of running and electrons


Used a conventional 20x4 LCD and a Real-Time Clock module connected to an Arduino microcontroller to calculate how much time I have to train for my first marathon.

Sunday, November 30, 2014

Everything's better with Bluetooth

Edit (Dec 1 2014): This article was featured on Hackaday!
 ––––––––––––––––––––––––––––––––––––––––––––––––––
In my previous post I jerry-rigged an AUX input for my car's stereo. It worked alight, but as you can see in the photos it wasn't pretty -- I mean, who wants a cord dangling out of their tape deck tray?

I decided to scrap that and re-wire it with Bluetooth connectivity. I spent $15 dollars on the entire project (keys to remove stereo and the Bluetooth receiver) and now my phone plays through my car's stereo system without a hitch. Here's how I did it!

First I picked up one of these guys. The idea is that you power the unit via USB, plug in your stereo jack, and tether to it wirelessly with any Bluetooth enabled device. I'm not endorsing this brand in particular, it was just cheap and it does what I need.


Now what's with the USB connector? This device doesn't actually do anything in the way of data transfer via USB, so it must just be to power the unit. USB delivers 5 Volts, so I should be able to scrap the case and just find +5V / GND connections, right? Right.


You can make out the GND and 5V copper strips. Awesome, so to power this unit I just need a 5V DC source. I assumed my car's stereo has that somewhere, since it's filled with modern circuit boards.

Here's the other side of the unit. You can see the main controller and the antenna. Most of the soldering looks surprisingly decent.



OK, so now I'm ready to solder on some leads.


I used some flux on the copper strips first and then pre-tinned them and the wires -- I want this to be secure as hell.

Next up is testing. I hook up the power lines to my homemade variable power supply (yes, that used to be an alarm clock) and make sure I can play music from my phone to my room's speaker system.


Alright, that worked so I moved on to attaching an audio jack with open leads on one end, then commenced with liberal shrink-tubing.


Cover that up completely.



Alright, now what? Now what is crack that stereo system out!


So as I discussed in my last post, I found where the CD player sends left and right channel audio information out to the main amplifier. I hijacked those leads and connected them to the audio out of my Bluetooth receiver. Piece of cake. But now where the hell am I going to find 5 Volts? Look closely:


Now, do I know with absolute certainty that "P5V" with a solder test point next to it is a 5V DC lead? No. But am I going to go ahead and solder my cable there anyway? You betcha.

And here are the connections for Left and Right Channel audio.



Here's everything wired and sticking out hideously from the tape deck. For ground I soldered my cables directly onto the chassis.


Shove it in.


Finally I plugged this bad boy in and tested it. Worked like a damned charm, after fixing a couple of ground loop issues. Since I'm using my CD player's output, I have to trick the stereo system into thinking that a CD's playing. For that I burned an album with 10 hours of absolute silence. That did the trick.


So now I turn on my stereo, my phone automatically pairs to the Bluetooth receiver, and all of my phone's audio output (music, calls, etc) get routed through my car's speaker system. For the cost of a couple overpriced coffees.

That's it. Rock on and don't forget to be awesome.

Monday, November 10, 2014

Gave my car's stereo an AUX input


I bought a car recently. It runs like a dream, but the stereo's archaic -- no audio input for a phone, just tapes and CDs. While you can buy cheap tape-to-AUX converters, something about the coupling mechanism adds white noise to the signal. Instead of paying a bunch of money for a new stereo system, I cracked the sucker open and directly soldered in the connections.

Step 1: Lay down ten bucks for stereo removal keys and yank that machine out.




Step 2: Open her up.




Step 3: Find the pins to the CD player's ribbon cable output. Identify RCH (right channel), LCH (left channel), and find where ground is. In my case it wasn't labeled but I traced it to the pin between the left and right channel outputs to the ribbon cable.

From here, the CD player sends the audio signal to the main amplifier. This audio signal can be replaced with the audio output from a phone or mp3 player!



Step 4: Cut the three wires of the ribbon cable, solder in some of your own and extend them somewhere accessible.




Step 5: Carefully solder these leads to the male end of a male/female audio jack converter:




Step 6: Your stereo's now updated to the 21st century! Plug it in and blast some metal.




Still working on making it look prettier. Another improvement would be to use a bluetooth audio receiver module like this one, which can be completely encased in the stereo unit and accessed remotely. For the one linked to, the powering method is via USB (5V) -- so you'd need a buck converter to lower the car's native 12V DC or you could find a 5V line in the amplifier board (there's bound to be one somewhere).