Can you figure out how this single part boost converter works?
wp.josh.com
wp.josh.com
That being said, Sir Clive Sinclair made a pretty remarkable little computer (the ZX-81) but minimizing the parts count to the extreme. And there's a colloquial term for the process of minimizing your component count.
One of my favorite authors in Electronic Design was Bob Pease (now deceased). In a 1992 article [0] he recounts the process used by Earl "Madman" Muntz who was an early television pioneer. I could ruin the story but I'm going to insist you read the original instead. Enjoy!
[0] http://www.electronicdesign.com/boards/whats-all-muntzing-st...
EDIT: I also should have noted that this practice has led to me trying to create the simplest possible software algorithm that solves my problem. A good day is when the LOC count goes down (and not because I've packed more into a single line).
The disadvantages are the poor efficiency, need for tuning, and need for a transformer if you don't need the isolation. Also no programming involved, so not really of as much interest to most of the HN community.
The urge to understand how it worked led me to study EE in college.
The poor power quality and safety aren't inherent problems of the ringing choke design, those are just issues with cheap chargers. They tend to omit the output filtering and do horrible things to creepage and clearance distances.
You can't write that and not link to http://www.folklore.org/StoryView.py?story=Negative_2000_Lin...
His commercials were pretty amazing[3], too.
1. https://www.youtube.com/watch?v=69yXg9EkD-g
2. https://www.hagerty.com/apps/valuationtools/1951-muntz-jet
Dunno, do you think a constant rate PWM SMPS isn't enough to power a trivial load like LED and justifies the cost of adding a dedicated chip? LED forward voltage is well below absolute maximum for the RESET pin, peak current is limited by pulse time, looks good enough to my (amateur) eye.
You can of course automate this using a simple computer program and a simulator like SPICE. Slightly more intelligent solutions could use heuristic optimization techniques like genetic programming.
[1] http://www.sciencedirect.com/science/article/pii/S1877705811...
[1] http://www.atmel.com/images/atmel-2586-avr-8-bit-microcontro...
> I am also obsessed with eliminating hardware with clever software wherever possible. Hardware is mater and is therefore you have to manufacture, move, and dispose of each and every hardware part used. None of these these problems apply to software
Resistor as the inductor, HW012 IC, hook up a solar cell, LED, and battery. Boosts 1.2V to 3.6V.
https://www.circuitlab.com/editor/yxs8aks2yz95/
Specified a few missing values, but there you go -- the LED lights (see the simulation current plot)! As long as the microcontroller doesn't reset from every VCC dip...
He's now probably rich enough to just play with microcontrollers and have fun all the time. Living the dream.
I enjoyed the part where it rounds an order quantity to a multiple of 100 by using string operations. A comment there explains it's to avoid floating point ops. Ah the good old days.
Nah, this can be done with a one transistor, one resistor and little transformer one can easily DIY wind.
No software required.
Last time I counted, an inductor and a uP comes out to two.
Could you take a quick look at the simulation I attached elsewhere in this discussion? Let me know if that simulation and the notes around it are helpful for your understanding.
When you have any solid object, it's got a crystalline latice structure at the molecular level. Do you remember valence shell electrons from chemistry? They're the outermost shell. They are only tenuously connected to their atom and so it's easy to push them around, but the atom wants to be electrically neutral (#electrons = #protons)
In a conductor, let's say copper, you can shove on one end of the crystal with an electric field and induce a movement on those valence shell electrons that propagates your shove across the lattice. You could measure how much energy each electron gets from its shove, we'll call this Voltage. The rate of electric field moving through a particular surface area is called Current. In a perfect conductor, the voltage of the wave moving across the surface doesn't drop off. We can think of wires as being pretty good conductors, and in diagrams they exist as platonic perfect conductors. Also note that the amount of current in one end of the wire has to equal the current out or you would be losing or gaining a net electric charge.
So now you know the rules for a straight line in a diagram. The rest is learning how electric fields behave in other kinda of bulk materials. In the resistor, the voltage change across the entire resistor is proportional (linearly) to the flow of current through the resistor.
In a capacitor, we place two wide metal plates across from each other by a small distance. This doesn't form a complete connector - charges can't cross - but initially current flows in to charge the plates, then dies off as the voltage difference between the two opposing plates equalizes with the voltage applied to the capacitor. So these devices hold a charged electric field, and they allow high frequency changes in voltage to pass through, but low frequency is blocked by the charge saturation.
Inductors are similar to capacitors, but the energy is stored in a magnetic field. If you wind some wire into a coil, the magetic field from the wire acts as a sort of flywheel. These devices allow low frequencies to pass through.
Diodes are made out of crystalline solids called semiconductors, where a pure ingot of silicon (an insulator) is doped with a donor like Boron or Arsenic. Depending on whether the donor has fewer or more valence electrons than silicon, we get either a p type or an n type material. If we put a p type next to an n type, there's a thin band near the junction where the opposite types "cancel out" and no charge can pass. But if we apply a small voltage across the ends of the diode, the cancel out region shrinks thinner and thinner until eventually charge does pass through. So these are sort of like a one-way valve for circuits, and you need about 0.7V in the forward direction to get them going.
An alternative is, read about the following:
1. Ohm's law -- the relationship between voltage, current, and resistance. And power.
2. Learn how to sum resistors in parallel vs resistors in series.
3. Learn about capacitors, how do they charge? (the RC constant). What happens afterwards?
4. Now learn about RC circuits (resistor+capacitor), which means you will learn about filters: low pass, high pass, at the very least. Know how to calculate the 'cutoff' frequency.
5. Learn about how a transistor works. First, how it can be made to work as a switch. Then, how it can be made to work as an amplifier.
6. Learn about the inductor (the "L" in L,R,C). Learn the relationship between inductors, capacitors and resistors.
7. Since now you know about inductors, you can also see Oscillator circuits using transistors.
ALTERNATIVELY
on step 5, instead of learning about transistors, learn about opamps. It is easier to understand than transistors!
Then learn about how to implement oscillators with opamps, filters with opamps.
Afterwards you may perhaps want to learn about digital circuits. If you understand boolean algebra or bit logic functions (and, or, xor, not), then this will be a piece of cake.
And I also recommend learning about opamps instead of transistor amplifiers, easier and more practical. However the transistor as switch is still very useful to understand.