An ADS-B Antenna Built From Actual Garbage

With the advent of low-cost software defined radio (SDR), anyone who’s interested can surf the airwaves from the FM band all the way up to the gigahertz frequencies used by geosynchronous satellites for about $20 USD. It’s difficult to overstate the impact this has had on the world of radio hacking. It used to be only the Wizened Ham Graybeards could command the airwaves from the front panels of their $1K+ radios, but now even those who identify as software hackers can get their foot in the door for a little more than the cost of a pizza.

But as many new SDR explorers find out, having a receiver is only half the battle: you need an antenna as well. A length of wire stuck in the antenna jack of your SDR will let you pick up some low hanging fruit, but if you’re looking to extend your range or get into the higher frequencies, your antenna needs to be carefully designed and constructed. But as [Akos Czermann] shows on his blog, that doesn’t mean it has to be expensive. He shows how you can construct a very capable ADS-B antenna out of little more than an empty soda can and a bit of wire.

He makes it clear that the idea of using an old soda can as an antenna is not new, another radio hacker who goes by the handle [abcd567] popularized their own version of the “cantenna” some time ago. But [Akos] has made some tweaks to the design to drive the bar even lower, which he has dubbed the “coketenna”.

The primary advantages of his design is that you no longer need to solder anything or even use any special connectors. In fact, you can assemble this antenna with nothing more than a pocket knife.

You start by cutting the can down to around 68 mm in length, and cutting an “X” into the bottom. Then strip a piece of coax, and push it through the X. The plastic-coated center conductor of the coax should emerge through the bottom of the can, while the braided copper insulation will bunch up on the other side. If you want to make it really fancy, [Akos] suggests cutting a plastic drink bottle in half and using that as a cover to keep water out of the “coketenna”.

How well does it work? He reports performance being very similar to his commercial ADS-B antenna which set him back $45 USD. Not bad for some parts of out the trash.

We’ve covered the math of creating an ADS-B antenna in the past if you’d like to know more about the science of how it all works. But if you just want an easy way of picking up some signals, this “coketenna” and an RTL-SDR dongle will get you started in no time.

The (Unnecessary?) Art Of Connector Crimping

The “Completion Backwards Principle” is a method of reasoning through a problem by visualizing the end result and then working your way backwards from that point. The blog post that [Alan Hawse] has recently written about the intricacies of crimping wires for plug connectors is a perfect example of this principle. The end result of his work is the realization that you probably shouldn’t bother crimping your own connectors, but watching him work backwards from that point is still fascinating. It’s also the name of a rock album from the 80’s by The Tubes, but this is not a useful piece of information in regards to electrical wiring.

Of course, sometimes people do silly things. Even though there are pre-crimped wires available online for a pittance, you might still want to do your own. With this in mind, [Alan] has put together an exceptionally detailed and well-research post that gives you all the information you could possibly want to know about crimping what is often erroneously referred to as the “JST connector”.

He starts by showing off some common examples of this connector, which if you’ve ever opened a piece of consumer electronics will be like looking through a High School yearbook. You might not know their names without reading them, but you definitely remember what they look like.

We’re then treated to an array of macro shots showing the scale of the pieces involved. If getting up close and personal with metal bits that are only a few millimeters long is your kind of thing, then you’re really going to love this part.

Finally, the post is wrapped up with a few words about the kind of crimping tools that are available on the market, and then a demonstration of his personal crimping method. While some tools would have you crimp both sets of “wings” at the same time, [Alan] tells us he finds taking them on individually leads to better results in his experience.

If this this little taste has left you hungry for a true feast of hyper-specialized knowledge, be sure to check out the Superconference talk by [Bradley Gawthrop].

Continue reading “The (Unnecessary?) Art Of Connector Crimping”

How To Reverse Engineer Silicon

A few semesters back, [Jordan] was in an Intro to Hardware Security course at CMU. The final project was open ended, and where some students chose projects like implementing a crypto algorithm or designing something on an FPGA, [Jordan] decided to do something a little more ambitious. He wanted to decapsulate and reverse engineer an IC. No, this isn’t taking a peek at billions of transistors — [Jordan] chose a 74-series Quad XOR for this project — but it does show what goes into reverse engineering silicon, and how even simple chips can be maddeningly confusing.

The first step to reverse engineering a chip is decapsulation, and for this [Jordan] had two options. He could drop acid, or he could attack a ceramic package with an endmill. While hot nitric acid is effective and fun, it is a bit scary, so [Jordan] mounted a few chips in a 3D printed holder wedged in the vice on his mill. By slowly bringing the Z axis down a few thou at a time, he was able to find the tiny 1 mm square bit of silicon embedded in this chip. With the help of a grad student and the cleanroom, this square of sand was imaged with a very nice microscope.

Now that [Jordan] had an image of the silicon itself, he had to reverse engineer the chip. You might think that with less than a dozen transistors in there, designing an XOR out of transistors is something anyone with a bit of Minecraft experience can do. This line of thinking proved to be a trap. Technically, this wasn’t an XOR gate. It was a transmission gate XNOR gate with a big inverter on the output. Logically, it’s the same, but when it comes to silicon fabrication, the transmission gate XNORs aren’t able to sink or source a lot of current. By designing the chip as an XNOR with an inverter, the chip designers were able to design a simple chip that could still meet the spec.

While [Jordan] managed to reverse engineer the chip, this was quite possibly the simplest chip he could reverse engineer. The Quad XOR is just the same silicon repeated four times, anyway. This is the baseline for all efforts to reverse engineer silicon, and there were still a few confusing traps.

Aluminum No Match For 3D Printed Press Brake Dies

If you’re looking for a get-rich-quick scheme, you can scratch “Doing small-scale manufacturing of ultralight aircraft” off your list right now. Turns out there’s no money in it. At least, not enough money that you can outsource production of all the parts. Not even enough to setup a huge shop full of customized machining tools when you realize you have to make the stuff yourself. No, this sounds like one of those “labors of love” we always hear so much about.

So how does one do in-house manufacturing of aircraft with a bare minimum of tools? Well, since you’re reading this on Hackaday you can probably guess that you’ve got to come up with something a bit unorthodox. When [Brian Carpenter] of Rainbow Aviation needed a very specific die to bend a component for their aircraft, he decided to try designing and 3D printing one himself.

Printing a die on the Zortrax M200

He reasoned that since he had made quick and dirty dies out of wood in the past, that a 3D printed one should work for at least a few bends before falling apart. He even planned to use JB Weld to fill in the parts of the printed die which he assumed would start cracking and breaking off after he put it through a few cycles. But even after bending hundreds of parts, wear on the dies appears to be nearly non-existent. As an added bonus, the printed plastic dies don’t mar the aluminum pieces they are bending like the steel dies do.

So what’s the secret to printing a die that can bend hundreds of pieces of aluminum on a 20 ton brake without wearing down? As it turns out…not a whole lot. [Brian] attributes the success of this experiment to designing the die with sufficiently accurate tolerances and having so high of an infill that it may as well be solid plastic.

In fact, the 3D printed die worked out so well that they’ve now expanded the idea to a cheap Harbor Freight brake. Before this tool was going more or less unused as it didn’t have features they needed for the production of their parts, namely a radius die or backstop. But by 3D printing these components [Brian] was able to put the tool back to work.

We’ve previously covered the art and science of bending sheet metal, as well as a homebuilt brake that let’s you do it on a budget even Rainbow Aviation would scoff at. So what are you waiting for? Go build an airplane.

Thanks to [Oahupilot] for the tip.

Continue reading “Aluminum No Match For 3D Printed Press Brake Dies”

Star Chart Watch Is A Romantic Tragedy

It’s becoming abundantly clear that [Colin Merkel] doesn’t know the definition of “good enough”. Not only has he recently completed his third (and most impressive) wristwatch build, but he also managed to put together one of the most ridiculously romantic gifts ever conceived. While some of us are giving our significant others a gift card to Starbucks, he made his girlfriend a watch with a chart on the face representing the position of the stars at the time and place of their first meeting.

As per his usual style, the documentation on this build is phenomenal. If paging through his gallery of build images doesn’t make you want to get a lathe and start learning metal working, nothing will. A chunk of stainless steel rod miraculously becomes a gorgeous wrist watch over the course of a few dozen images, perfectly encapsulating that old adage of “making it look easy”.

All you have to do is turn this into that. Easy.

Certainly the highlight of this build is the star chart on the face. To make it, he used PyEphem to plot the position of the brightest stars that were visible at the time and place of their first meeting. He then wrote a script to take those stars and convert their positions to G-Code the CNC could use to drill holes in the appropriate locations. The depth of the hole even corresponds to the magnitude (brightness) of each star, giving the chart a subtle 3D effect.

Unfortunately, [Colin] made a couple of mistakes during this build, to the point that he’s not exactly sure how to proceed. He mentions he might even be forced to start over from scratch. It’s hard to imagine how something that looks this good could ever end up being a failure, but the world of watch making is unkind.

To start with, he used 304 stainless instead of 303. This made machining the case much more difficult, and from his very first cut he realized it was going to be a problem. While it was an annoyance he mentions a couple times during the build log, he was at least was able to work through it.

The real problem came at the end, when he put the watch together. He originally made his designs assuming a front glass which was 0.5 mm thick, but in actuality used a piece that is 0.8 mm thick. This slight difference is just enough to cause the seconds hand to rub up on the glass, putting drag on the movement. The end result is that the battery dies extremely quickly, effectively rendering the watch useless.

We can’t imagine the heartbreak [Colin] felt when he realized what happened; we felt bad just reading about it. But given his track record, we have no doubt he’ll get the issue sorted out. It would be a shame to start over completely, but there’s some consolation in knowing it’s part of the learning process: you don’t become a master of your craft without making a couple mistakes along the way.

The predecessor to this watch was covered here at Hackaday last year, and made quite an impression. It’s interesting to see the improvements made between the two, and we’re certainly excited to see his next build.

Retro Rear-Projection Numeric Display Gets A Teardown

We recently featured an entertaining project here, a digital clock with a variety of different retro display technologies forming its numerals. Among those was an extremely unusual device, a rear-projection display with an array of bulbs each able to shine through a different letter or numeral slide. There was such interest in this device that its owner [Suedbunker] subjected one to a teardown for all to see.

The displays came from an organ which he suggests may have been manufactured around 1900. We suspect that may be a rather early estimate due to its use of a printed circuit board, but it is no less a fascinating device for it. A rectangular enclosure secured by twist-tabs opens to reveal a matrix of small filament bulbs on a PCB and supported by a stack of resin boards, in front of which was placed a slide with a letter or number for each one. Before that lies a sheet of glass, and then a molded plastic lens assembly which provides an individual lens for each of the 12 bulbs. When a bulb is illuminated with these in place, the letter or number is projected on the screen at the front of the unit.

It has the advantage of simplicity, no need for a high voltage, and high-quality characters and flexibility in displaying alternatives through different slides, though at the expense of quite a bulky package. The bulbs are quite energy-sapping, so for his clock he replaced them with LEDs. We like it as one of the more practical retro numeric displays, but its size means we probably won’t see a comeback.

You can see our write-up of the clock using the projection display here.

Scrap A Hard Drive, Build A Rotary Encoder

There’s something to be said for the feel of controls. Whether it’s the satisfying snap of a high-quality switch or the buttery touch of the pots on an expensive amplifier, the tactile experience of the controls you interact with says a lot about a device.

[GreatScott!] knows this, and rather than put up with the bump and grind of a cheap rotary encoder, he decided to find an alternative. He ended up exploring hard drive motors as encoders, and while the results aren’t exactly high resolution, he may be onto something. Starting with a teardown of some old HDDs — save those magnets! — [Scott!] found that the motors fell into either the four-lead or three-lead categories. Knowing that HDD motors are brushless DC motors, he reasoned that the four-lead motors had their three windings in Wye configuration with the neutral point brought out to an external connection. A little oscilloscope work showed the expected three-phase output when the motor hub was turned, with the leading and lagging phases changing as the direction of rotation was switched. Hooked to an Arduino, the motor made a workable encoder, later improved by sending each phase through a comparator and using digital inputs rather than using the Nano’s ADCs.

It looks like [GreatScott!]’s current setup only responds to a full rotation of the makeshift encoder, but we’d bet resolution could be improved. Perhaps this previous post on turning BLDC motors into encoders will help.

Continue reading “Scrap A Hard Drive, Build A Rotary Encoder”