December 15, 2014, 1:52 am

Today I built up the Hartley Oscillator shown above, I used the following design:

The Hartley Oscillator is the dual of the Colpitts. I’m still hazy on the details of the tank circuit. I’ll be reading up on this and will update this post accordingly. The circuit however oscillates well:

Category:
Uncategorized |
Comments Off on A Common Emitter Hartley Oscillator Notes
December 14, 2014, 5:03 pm

I picked this up in Akihabara yesterday. It was 100JPY (about 1USD). It appears to be a bluetooth LE dongle that makes your iPhone vibrate when you press the button. The Japanese documentation is here. I guess the idea is you use it to find your phone when you’ve lost it… wonder what you do when you lose it though…
It looks like it might be reasonably hackable, you can see from the pics below it’s using SPI parts, and the SPI signals have been broken out on to pads which is nice.
The main components seem to be:
NY5P025AS24: A cheap 4bit? CPU
CSR-1000A04U152AZ: The bluetooth LE part
ATMLH216: A small EEPROM



Category:
Uncategorized |
Comments Off on Logitec LBT-VRU01 (bluetooth LE iPhone locator?)
December 14, 2014, 1:31 am

Today I built up a colpitts oscillator (shown above). The Colpitts oscillator is a tank (or LC network oscillator). It uses the resonance of an LC network which I looked at yesterday in a feedback loop to generate a oscillation.
The circuit I used is shown above, I’ve annotated the function of the different parts of the circuit as I understand it.

I’ve a lot more to learn to understand how this is working properly, but this is my vague understanding so far…
In terms of conventional current flow, when the circuit powers up, C1 and C2 are charged with a positive voltage at the point where they are connected to the emitter. As they charge, C1 pulls the base negative, reducing the current flow. The inductor also gets current pulled through it, inducing a magnetic field as it does so. The transistor will reduce the flow of current on out of the emitter as the current on the base decreases. Meaning C1 and C2 will being to discharge. As they do so, current will no longer flow through the inductor. The magnetic field will therefore collapse, the breakdown of the field again generates a current, but this time in the opposite direction. It charges C1 and therefore C2, resulting in a resonance. This resonance is maintained my the positive feedback from the transistor.
Here are some waveforms I recorded:

[UPDATE]
After reviewing the circuit, I realized 2 things. 1) It should have been oscillating at 4MHz. 2) I’d omitted the feedback from the emitter to the tank!


After fixing this the circuit correctly oscillated at 4MHz, I also no longer needed the decoupling capacitor! Here’s the new output waveform:

Category:
Uncategorized |
Comments Off on NPN Common Collector, Colpitts oscillator notes
December 13, 2014, 12:19 am
In preparation for learning more about the Colpitts Oscillator, I wanted to understand Tank circuits a bit better. A Simple Tank (or LC) circuit is simple a Inductor and a capacitor in parallel:

The tank circuit is useful because it results in a resonance. If you charge the capacitor and then remove power, the capacitor will discharge through the inductor. As the charge passes through the inductor it will build up a magnetic field, storing the energy. When the capacitor finishes discharging the field will collapse. This will result in a current, which will charge the other side of the capacitor, beginning the process again. The process will continue producing a frequency determined by the discharge rate of the capacitor and inductor. This frequency is given by the equation:

Wikipedia has a great animation of the process, replicated here (and slowed down slightly):

In a perfect world the resonance would keep going for ever, however losses due to the inductor resistance among other things means the resonance doesn’t last very long. You can see it on a scope however. To show this I connected a capacitor and inductor (22nF and 10uH) in parallel. The polarity will be reversing, so it’s likely unwise to use an electrolytic:

I then connected the power and set my scope to take a single shot, then removed the power. The result was the following trace:

Which as predicted by the equation above is ~340Khz.