A lot of us make circuit boards at home. I find it a useful skill to have in my bag of tricks for intermediate steps along the way to a finished project, even if the finished version is going to be sent out to a PCB fab. When I need a breakout board that meshes with other development tools, for instance, there’s nothing like being able to whip something up that plugs right in. Doing it quickly, and getting on with the rest of the project instead of placing an order and waiting for delivery, helps keep me in the flow.
Toner transfer is by far the fastest way to make a circuit board at home — simply print the circuit out on a laser printer, iron it onto the copper, and etch. When it works, it’s awesome. When it doesn’t, it can be a hair-pulling exercise in figuring out which of myriad factors are misaligned.
For a long time now, I’ve been using a method that’s very reliable and repeatable. Recently, I’ve been tweaking a bit on the performance of the system, and I thought I’d share what I’ve got. At the moment, I’m able to very reliably produce boards with 6 mil (0.15 mm) traces and 8 mil (0.20 mm) spacing. With a little care in post-production, 4 mil / 6 mil is entirely plausible.
If flipping a regular old light switch or pressing buttons isn’t an adequately pleasing way to use your appliances around the house, how about poking at the leaves of a plant to turn on your lamp? [Xkitz] has provided a thorough breakdown of how to turn any conductive object in your living space into a nifty capacitive touch switch that adds a bit of charm to such an everyday action.
Creating an electrostatic field around a conductive medium, the capacitive touch relay constantly monitors this field and will toggle when any minuscule change to the capacitance is detected. [Xkitz] uses a bamboo plant as his trigger. Gently touching any leaf will still act as an adequate trigger — as cool demonstration of how the electrostatic field works.
[whitequark] has been experimenting with a blowtorch for SMD reflow. Having just moved 8,000 km [whitequark] was stuck without any of the usual reflow tools. They did however have a blowtorch handy, and gave it a go.
When [whitequark] mentioned attempts on Twitter, we figured the results would mostly involve charred PCBs, smoke-filled rooms, and a possible trip to the local hospital. But [whitequark] is more sensible than we are, and by carefully monitoring the temperature and gauging the distance was able to get pretty decent results.
[whitequark]’s made a couple of further attempts and has had varying results. Overall, I’m not sure it’s a technique that I’m interested in trying myself, but it goes to show that in a pinch, a hacker will always find a creative way to get the job done.
Accountants and MBAs use spreadsheets to play “what if” scenarios with business and financial data. Can you do the same thing with electronic circuits? The answer–perhaps not surprisingly–is yes.
Consider this simple common emitter amplifier (I modeled it in PartSim, if you’d like to open it):
In this particular case, there are several key design parameters. The beta of the transistor (current gain) is 220. The amplifier has an overall voltage gain of about 3 (30/10). I say about, because unless the transistor is ideal, it won’t be quite that. The supply voltage (Vcc) is 12 volts and I wanted the collector voltage (VC) to idle at 6V to allow the maximum possible positive and negative swing. I wanted the collector current (IC) to be 200mA.
You would think that there’s nothing to know about RGB LEDs: just buy a (strip of) WS2812s with integrated 24-bit RGB drivers and start shuffling in your data. If you just want to make some shinies, and you don’t care about any sort of accurate color reproduction or consistent brightness, you’re all set.
But if you want to display video, encode data in colors, or just make some pretty art, you might want to think a little bit harder about those RGB values that you’re pushing down the wires. Any LED responds (almost) linearly to pulse-width modulation (PWM), putting out twice as much light when it’s on for twice as long, but the human eye is dramatically nonlinear. You might already know this from the one-LED case, but are you doing it right when you combine red, green, and blue?
It turns out that even getting a color-fade “right” is very tricky. Surprisingly, there’s been new science done on color perception in the last twenty years, even though both eyes and colors have been around approximately forever. In this shorty, I’ll work through just enough to get things 95% right: making yellows, magentas, and cyans about as bright as reds, greens, and blues. In the end, I’ll provide pointers to getting the last 5% right if you really want to geek out. If you’re ready to take your RGB blinkies to the next level, read on!
Sometimes the best way to learn is from the success of others. Sometimes failure is the best teacher. In this case we are learning from [Tim Trzepacz]’s successive failures in his attempt to solder one board to another using a reflow oven. They somehow cancelled each other out, and he ended up with a working board. For those of you who have used a reflow oven, there will be eye rolling.
[Tim]’s first mistake was to use regular solder instead of paste. We can see how he got there logically; if you hand solder an SMD you melt solder onto the pads first to make it easier. However, the result was that he had two boards that wouldn’t sit flat on each other thanks to the globs of solder on the pads.
Not to be deterred, he laid the boards on top of each other and warmed up the oven to a toasty 650 degrees. Well, not quite. The dang oven didn’t turn to eleven, so he figured 500 would probably work too. Missing the hint entirely, he let his board bake in a nearly 1000F oven until he noticed some smoke which, he intuitively knew, definitely shouldn’t be happening.
The board was blackening, the solder mask was literally bubbling off the substrate, people were coming over to see the show, and he decided success was still possible. He clamped the heated boards together with a binder clip until they cooled. Someone gave him a lesson on reflow, presumably listened to through reddening ears.
Ashamed and defeated, he went home. However, there was a question in his mind. Sure it looks bad, but is it possible that the board actually works? After a quick test, the answer was yes. It loaded some code and an time later he was happily hacking away. Go figure.
In part one, I compared the different Analog to Digital Converters (ADC) and the roles and properties of Delta Sigma ADC’s. I covered a lot of the theory behind these devices, so in this installment, I set out to find a design or two that would help me demonstrate the important points like oversampling, noise shaping and the relationship between the signal-to-noise ratio and resolution.
Check out part one to see the block diagrams of what what got us to here. The schematics shown below are of a couple of implementations that I played with depicting a single-order and a dual-order Delta Sigma modulators.
Basically I used a clock enabled, high speed comparator, with two polarities in case I got it the logic backwards in my current state of burn out to grey matter ratio. The video includes the actual schematic used.
Since I wasn’t designing for production I accepted the need for three voltages since my bench supply was capable of providing them and this widget is destined for the drawer with the other widgets made for just a few minutes of video time anyway. Continue reading “Tearing into Delta Sigma ADCs Part 2”→