Make a BLDC Motor From Scraps You Can Find In The Garage

Think you’ve got what it takes to build a homebrew brushless motor? As [JaycubL] shows us, it turns out that a bldc motor may be living in pieces right under your nose, in scraps that so many of us would otherwise toss aside. To get our heads turning, [JaycubL] takes us into the theory of brushless DC motors operate. He then builds a homebrew brushless motor using screws, a plastic container, a few bearings, a metal rod, some magnets, and a dab of epoxy. Finally, he gives it a whirl with an off-the-shelf motor controller.

This isn’t [JaycubL’s] first dive into homebrew brushless motors. For the curious, he’s also assembled a fully-functional brushless outrunner motor with a paint can housing.

Sure, understanding the principles is one thing, but being able to take the leap into the real world and find the functional beginnings of a motor from your scrap bin is an entirely different story! [JaycubL’s], dare we say, finesse of understanding the principles behind motor design makes us wonder: how many other functional higher-level electrical and mechanical components can we bootstrap from bitter scrap? To get you started, we’ll point you in the direction of this CNC router that’s just a few steps away from one trip to the hardware store.

Thanks for the tip, [John]!

Continue reading “Make a BLDC Motor From Scraps You Can Find In The Garage”

Co-Exist With Your Coax: Choose The Right Connector For The Job

Just a selection from the author's unholy assortment of adaptors.
Just a selection from the author’s unholy assortment of adaptors.

If you do any work with analogue signals at frequencies above the most basic audio, it’s probable that somewhere you’ll have a box of coax adaptors. You’ll need them, because the chances are your bench will feature instruments, devices, and modules with a bewildering variety of connectors. In making all these disparate devices talk to each other you probably have a guilty past: at some time you will have created an unholy monster of a coax interface by tying several adaptors together to achieve your desired combination of input and output connector. Don’t worry, your secret is safe with me.

Continue reading “Co-Exist With Your Coax: Choose The Right Connector For The Job”

A Ridiculous Way to Light an LED: Candle-power

If you have ever entertained yourself by reading comprehensive electronic-theory textbooks you’ll have seen references to technologies that sound really interesting but which you will rarely hold in your hand. They may be dead-ends that have been superseded by more recent innovations, or they may be technologies that have found uses but in other fields from those in which they originally showed promise. What if you could take these crazy parts and actually build something?

[Fedetft] has an interesting project that combines two of those intriguing textbook references, he’s created a thermopile that lights an LED through an inverter whose oscillator is a tunnel diode. Dig out the textbook.

If you’ve used a thermocouple thermometer or a semiconductor thermoelectric generator then you’ll have encountered the thermoelectric effect. Perhaps you’ve even operated a Peltier cooling element in this mode. When a circuit is made with two junctions between different types of conductor with a temperature difference between the two junctions, a current will flow in the circuit which is dependent on both the scale of the temperature difference and the properties of the conductors.

A thermopile is a collection of these thermoelectric junction circuits between metal conductors, arranged in series to increase the voltage. [Fedetft]’s thermopile uses chromel and alumel wires taken from a K-type thermocouple. He’s made six sets of junctions, and supported them with small pieces of mica sheet. Using the heat from a candle he found he could generate about 200mV with it, at about 3.7mW.

The RCA tunnel diode inverter circuit
The RCA tunnel diode inverter circuit

Such a tiny source of electricity would be of little use to light an LED directly, so he needed to build an inverter. And that’s where the tunnel diode comes in. Tunnel diodes have a negative-resistance region that can be used to amplify and oscillate at extremely high frequencies in extremely simple circuits, yet they’re not exactly a device you’d encounter very often in 2016. [Fedetft] has a Russian tunnel diode, and he’s used it with a toroidal transformer in an inverter circuit he found in an RCA tunnel diode manual from 1963. It’s a two-component Joule Thief. The RCA manual is a good read in itself for those curious about tunnel diodes.

The resulting circuit produces a 15kHz oscillation with 4.5v peaks, and has just enough power to light an LED.

While it might seem pointless to barely light an LED from a brightly lit candle, the important part of [Fedetft]’s project is to gain some understanding of two of those technological backwaters from the textbooks. And we applaud that.

It’s the mark of a truly esoteric technology that it features rarely on Hackaday, and neither of these two disappoint. We’ve only mentioned tunnel diode in passing when looking at diodes in general, and we’ve tended to use “thermopile” in another sense to refer to thermal imaging cameras.

Standard Resistor Teardowns

What do you do, when you want an ohm? What is an ohm, for that matter? Take a wander over to the textbook definitions, and you’re soon deep in a world of coulombs and parallel infinite planes one meter apart in a vacuum that you probably only half remember from your high school physics class. It’s hard work, this metrology lark.

Of course, you can just order a resistor. A few cents each when you’re buying small quantities or much less when you’re buying a reel of five thousand, and there you have it. An ohm. Only it’s not really an ohm, more like nearly an ohm. Within 1% of an ohm is pretty good, but Vishay or Bourns or whoever don’t have the margins to get philosophical about those infinite planes when you’re only giving them a few cents.

When you REALLY want an ohm, you buy a standard resistor, and you pay a more significant sum. You’re never going to wire one of these up to bias a transistor or drive an LED, instead it’s about as close as it’s possible to get on your bench to the value it says on the box and you can use it for calibration purposes. PPM figures well in excess of the resolution of even superior DMMs sound pretty good to us!

[Zlymex] was curious about standard resistors, so performed a teardown of a few to see what they contain. And after a pithy explanation of the terms involved he’s managed to look inside quite a few of them.

Inside he finds hermetically sealed wire-wound resistors, some oil-filled wire-wound resistors, and the occasional hefty piece of manganin. He also tears down some of the hermetically sealed resistors themselves, finding both wire-wound and foil resistance elements within.

It is a curious obsession that permeates hacker culture, that of standard measurements, and it’s one we’ve covered quite a few times here. Time enthusiasts with atomic clocks like this rather beautiful discrete logic build, or voltage enthusiasts with their temperature compensated references or programmable standards. Surprisingly though, this appears to be the first time we’ve looked at standard resistors.

Thanks [David Gustafik] for the tip.

Bench Testing a Switch Mode Drop In Replacement For the LM7805

Throwing a 5V regulator like the LM7805 at our projects can become habit forming, after all they’re dirt cheap and the circuit is about as basic as they come with only two external components, an input and output cap. As this is a good enough solution to most of our 5V circuits we can come into some issues if we aren’t paying attention. Linear regulators can only dissipate so much power in the form of heat before they need a heat sink and/or active cooling. Even if they can produce a cleaner output, in an embedded system, large power losses to heat are less than ideal to say the least.

[Daniel] needed an efficient solution to use in the place of an LM7805, after looking at the drop-in replacement switching solutions available on Adafruit’s website, he headed to DigiKey for a similar and less expensive part. [Daniel] collected some data and found the regulator to be 92% efficient with a 12V input, which is not quite the claimed 97% but a good solution nonetheless.

Switching voltage regulators are nothing new, so don’t even act like we just jumped on this switch-mode bandwagon! But it pays to give a little thought to your power supply. And while you’re in the mood, have an extremely thorough look inside the LM7805.

Which SD Card to Use in a Pi?

There is surprising variation in the performance of SD cards. They are not all created equal and the differences can impact the running of your Raspberry Pi, no matter which model. [Jeff Geerling] wondered exactly how different cards would affect system performance. He ran a number of tests on cards ranging from cheap no-names to well-known brand names. The no-name cards fared pretty badly but even among the brand names there is considerable variation.


[Matt] over at Raspberry Pi Spy also tested SD cards and found similar differences. Both tested microSD cards. [Jeff’s] tests were solely on the Pi while [Matt’s] were on Windows 7, Ubuntu, and a Pi.

The discussions in the blog about what to measure were as interesting as the actual results. That lead to determining which software tools to use for the measurement. For example, a system doing a lot of small database reads and writes might work better with one SD card while a system storing and then streaming videos might work better with another card. Another interesting result is that the Pi’s data bus greatly limits the access speeds. [Jeff] measured much higher speeds running the same tests using a Mac with a USB dongle. The cards are capable of much more than the Pi can deliver.

[Matt] also checked the capacity of the SD cards. There are a lot of fakes floating around marked with higher capacities than they actually support. Even getting a brand name card may not help since some are counterfeit. So beware: if the price it too good to be true, it very well may be.

More ESP32 Info Dribbles Out

In case you’ve been hiding under a virtual rock over the last two years, you might have missed it when Espressif turned the IoT game on its head by releasing a chip with WiFi and a decent embedded processor for under $1 in bulk, and costing not much more than that in a module.

They’re looking to repeat the success of the ESP8266 with the ESP32, that should be coming out any time now. As we get closer to the release date, details start to dribble out. [Alberto], who makes very nice-looking pinout diagrams for a number of our favorite chips and modules, has already made us an ESP32 module pinout diagram.

And [Rudi] has been digging up nearly every crumb of info on the ESP32 that’s publicly available. For instance, it was through his website that we learned that the new RTOS SDK source is already up on GitHub.

There’s also a source of official information in the ESP32 forum, but there’s not much news there just yet. We expect this to change as more beta units make it out into the wild.

We covered the announcement of the forthcoming ESP32 last month, and we have to say that we’re looking forward to getting a module or two in our hands. Twin cores, BTLE support, and better DMA are tops on our list of neat features.