Tag: make

Lou Garner Oscillator

Posted by on March 8, 2011

Intro:

This is a modern take on the original Garner oscillator, unlike other versions this one won’t lock up in full conduction and is guaranteed to always oscillate using modern parts, whereas the original -after a few modifications- would only seem to work with germanium transistors.

Mods:

The modifications are clear, we basically introduced a series resistor to limit inrush current during the low period, the low impedance side formed by the 10 Ohm resistor in Q2’s path was also adjusted, originally a higher resistance was found. We therefore achieved a safe balance which allows us to revive one of Garner’s proudest moments (Hey why else would anyone patent it otherwise, right?)

Another take:

Taking this oscillator as a baseline we can introduce other forms such as a sawtooth oscillator (It’s not perfect though!) with the help of our friend, capacitance.

How to:

To visualize the output waveform you could use a soundcard or a proper oscilloscope. Since the oscillating frequencies on both circuits are within the audible range you could also use a piezo speaker to hear it.

Fun isn’t it?, feel free to experiment and let me know if you find anything intersesting!.

Cheers.

MSP430 Launchpad: LED as PhotoDiode

Posted by on February 28, 2011

Story:

I’ve been meaning to build a “line seeker” robot for a while now, however I can’t source LDRs (Light Dependent Resistor) due to RoHS nonsense, so I decided to use plain old LEDs instead. While you could use a couple analog amplifiers and comparators to do this I thought it would be a fun little microcontroller project.

Right now we’re just exploring how to utilize a regular LED as a photo-diode, ie. an input sensor.

There are a couple ways to accomplish this – I chose the simplest for the time being – The idea is to sample the voltage present on the LED anode (or cathode!) by using the ADC on the MSP430, this voltage will be relative to the ambient light. You could picture the LED as a solar cell in this case.

The code:

We’re going to use the on-board LEDs on the LaunchPad to simplify things. The Red LED will be our “sense” input and the Green LED will be used to depict the current state of the sensor.

You’ll have to modify the header (and your project target) depending on which MCU you’re using, I happen to have a G2452 currently populated for another project I’m working on, but you can use any value-line MCU as long as it’s got an ADC.

Why so vague?

Lately I’ve been suffering a serious mental block, I would really like to explain the theory behind all this but not only am I uninspired I also can’t focus on writing… I would however recommend you Google “LED Sensor” (or similar query) to learn more about the subject.

Have fun.

What is LaunchPad?

Posted by on June 25, 2010

Bullshit, that’s what it is. They targeted the “Launchpad”  toward the maker/hacker market and yet they don’t provide the according payment methods, these corporate weasels will only take your credit card, tell me how many students actually own a credit card? only the rich kids, who are probably more interested in getting more free money from their parents and living la vida loca than spending their time hacking away on a TI development board alone in their basement.

It just makes no sense whatsoever! they’re trying to get a piece of this huge market by introducing a ridiculously cheap product and yet theres no way anyone outside the US without a CC would be able to get one!.

Therefore TI’s product is as appealing to me as sucking a rusty nail while watching a match of cricket under severe chronic depression! It’s going to end one way and it won’t be pretty.

More…