Putting A Motor Inside A Speed Controller

One of the more interesting hacks we’ve seen this year is [Carl]’s experimentations with making motors out of PCBs. Honestly, it’s surprising no one has done this before — a brushless motor is just some coils of wire and a few magnets; anyone can turn some coils into traces and make a 3D print that will hold a few magnets. This latest advancement is something else entirely. It’s a motor and an electronic speed controller all in one.

This project is a continuation of [Carl]’s PCB motor project, which started with him routing coils for a brushless motor as traces in a circuit board. Previously, we’ve seen [Carl]’s motor spinning on its own with the help of a small hobby ESC / motor controller meant for model planes and drones. This time, we’ve got something different. It’s an entire controller and motor, integrated into one single PCB.

This is a very, very small motor and ESC combo. The motor driver is a 3x3mm QFN package, and most of the other components are 0201. The main parts are a very tiny triple half-bridge motor driver and a PIC16F microcontroller. This PIC reads a hall sensor to detect the speed of the motor, and with just three pins — power, ground, and a PWM pin — this motor can spin at a set speed.

The future goals of this project are to make it work just like any other hobby ESC — just plug it into a servo controller and let ‘er rip. Since this motor with an integrated PCB requires only three connections, we’re looking at a great tool to add motion and rotation to any project. It’s fantastic, and we can’t wait to see something like this in robots, toys, and other home goods.

Continue reading “Putting A Motor Inside A Speed Controller”

Seeing A Webcam’s PCBs In A Whole Different Light

When it comes to inspection of printed circuits, most of us rely on the Mark I eyeball to see how we did with the soldering iron or reflow oven. And even when we need the help of some kind of microscope, our inspections are still firmly in the visible part of the electromagnetic spectrum. Pushing the frequency up a few orders of magnitude and inspecting PCBs with X-rays is a thing, though, and can reveal so much more than what the eye can see.

Unlike most of us, [Tom Anderson] has access to X-ray inspection equipment in the course of his business, so it seemed natural to do an X-ray enhanced teardown and PCB inspection. The victim for this exercise was nothing special – just a cheap WiFi camera of the kind that seems intent on reporting back to China on a regular basis. The guts are pretty much what you’d expect: a processor board, a board for the camera, and an accessory board for a microphone and IR LEDs. In the optical part of the spectrum they look pretty decent, with just some extra flux and a few solder blobs left behind. But under X-ray, the same board showed more serious problems, like vias and through-holes with insufficient solder. Such defects would be difficult to pick up in optical inspection, and it’s fascinating to see the internal structure of both the board and the components, especially the BGA chips.

If you’re stuck doing your inspections the old-fashioned way, fear not – we have tips aplenty for optical inspection. But don’t let that stop you from trying X-ray inspection; start with this tiny DIY X-ray tube and work your way up from there.

Thanks for the tip, [Jarrett].

Inductance In PCB Layout: The Good, The Bad, And The Fugly

When current flows through a conductor it becomes an inductor, when there is an inductor there is an electromagnetic field (EM). This can cause a variety of issues during PCB layout if you don’t plan properly, and sometimes we get burned even when we think we have planned for unwanted inductance and the effects that come with them.

When doing high speed logic we need to be able to deliver sudden changes in current to the devices if we want to have proper switching times and logic levels. Unfortunately inductance is usually not a friend in these circumstances as it resists those sudden changes in current. If the high speed devices are driving capacitive loads, which themselves are resisting changes in voltage, even more instantaneous current is needed.

Simply put, inductors resist a change of current, and can act as a low pass filter when in series with the signal or power supply flow. Inductors do this by storing energy in the flux surrounding the conductor. Alternatively capacitors resist a change in voltage (again by storing energy) and can act as a high pass filter when in series with the signal. This makes them a valuable tool in the fight against unwanted inductance in power supply distribution.

In the video below, and the remainder of this article, I’m going to dive into the concept of inductance and how it affects our design choices when laying out circuit boards.

Continue reading “Inductance In PCB Layout: The Good, The Bad, And The Fugly”

Epoxy Fix For A Combusted PCB

When the Magic Smoke is released, chances are pretty good that you’ve got some component-level diagnosis to do. It’s usually not that hard to find the faulty part, charred and crusty as it likely appears. In that case, some snips, a new non-crusty part, and a little solder are usually enough to get you back in business.

But what if the smoke came not from a component but from the PCB itself? [Happymacer] chanced upon this sorry situation in a power supply for an electric gate opener. Basking in the Australian sunshine for a few years, the opener started acting fussy at first, then not acting at all. Inspection of its innards revealed that some unlucky ants had shorted across line and neutral on the power supply board, which burned not only the traces but the FR4 of the board as well. Rather than replace the entire board, [Happymacer] carefully removed the carbonized (and therefore conductive) fiberglass and resin, leaving a gaping hole in the board. He fastened a patch for the hole from some epoxy glue; Araldite is the brand he used, but any two-part epoxy, like JB Weld, should work. One side of the hole was covered with tape and the epoxy was smeared into the hole, and after a week of curing and a little cleanup, it was ready for duty. The components were placed into freshly drilled holes, missing traces were replaced with wire, and it seems to be working fine.

This seems like a great tip to keep in mind for when catastrophe strikes your boards. There are more extreme ways to do it, of course, but perhaps none so flexible. After all, epoxy is versatile stuff.

Touch Anything And Everything

Powering IoT devices is often a question of batteries or mains power, but in rare exceptions to this rule there is no power supply (PDF Warning). At the University of Wisconsin-Madison and the University of California, San Diego, researchers have gone the extra mile to make advanced backscatter devices, and these new tags don’t need the discrete components we have seen in previous versions. They are calling it LiveTag, and it doesn’t need anything aside from a layer of foil printed or etched on a flexible ceramic-PTFE laminate. PTFE is mostly seen in the RF sector as a substrate for circuit boards.

We have seen some of the wild creations with wifi backscatter that range from dials to pushbuttons. RF backscatter works by modulating the RF signals in which we are continuously swimming. Those radio waves power the device and disrupt the ambient signals, which disruption can be detected by a receiver. With a BOM that looks like a statement more than a list, integration with many devices becomes a cost-effective reality. Do not however broadcast important data because you cannot expect great security from backscatter.

[Via IEEE Spectrum]

Get Your PCBs Made At The Mall

As we’ve seen with some recent posts on the subject here at Hackaday, there seems to be a growing schism within the community about the production of PCBs. Part of the community embraces (relatively) cheap professional fabrication, where you send your design off and get a stack of PCBs in the mail a couple weeks later. Others prefer at home methods of creating PCBs, such as using a CNC, laser engraver, or even the traditional toner transfer. These DIY PCBs take some skill and dedication to produce, but the advantage is that you can have the board in hand the same day you design it. But there may be a third option that seems to have slipped through the cracks.

[Virgil] writes in with a very interesting method of producing professional looking prototype PCBs that doesn’t involve weeks of waiting for the results, nor does it require any complicated techniques or specialized equipment. In this method, a UV printer is used to deposit your mask directly onto the copper clad board, which you then etch with whatever solution you like. Don’t have a UV printer you say? No worries, there’s probably somebody at the mall that does.

As [Virgil] explains, the little kiosks at the mall which offer to personalize items for customers generally use a UV printer which allows them to shoot ink on nearly any material. Instead of asking them to put a logo on the back of your phone, you’ll just be asking them to put the vector file of your mask, which you can bring along on a USB flash drive, onto the bare copper board. They may tell you they can’t guarantee the ink will stick to the bare copper, but just tell them you’re willing to take the risk. It’s one of those situations in which your money will be glad to speak on your behalf.

After the UV printer does its thing, the mask might be somewhat fragile. [Virgil] likes to wrap the boards in plastic for the ride home to make sure they don’t get damaged. Then it’s a quick dunk in the etching solution followed by a rinse and some isopropyl alcohol to get the remainder of the UV ink off. The results really do speak for themselves: nice sharp lines with exceptionally little manual work.

We’ve covered some relatively easy ways of quickly producing nice PCBs at home, as long as you don’t mind spending a couple hundred US dollars to get the hardware together. This seems to be the best of both worlds, though it does have the downside of requiring you speak with another human. We’d love to hear from any readers who give this particular method a shot.

Continue reading “Get Your PCBs Made At The Mall”

ATX Adapter For The IBM PCJr Now Available

We’ve mentioned previously the challenges that come with maintaining vintage computers which in some cases are pushing 40 years old. Components, even high quality ones, eventually fail and need to be replaced. Now if it’s a fairly popular vintage machine, replacement parts usually aren’t too hard to come by. But what if you’re dealing with a machine that’s not just vintage, but was also such a commercial flop that parts are scarce?

Such is the life for anyone who owns one of the 500,000 IBM PCJrs that Big Blue managed to get out of the door during the year or so the product was on the market. As [AkBKukU] found, a replacement AC adapter for the odd-ball computer was going to cost more than what he paid for the thing, so he set to work on creating an adapter so he could use a modern ATX PSU on the machine. After a couple of months of ironing out the kinks, the design is finally ready for consumption.

In the end, the PCB design itself is quite simple. It’s really just a matter of switching around some pins from the standard ATX plug to the edge connector on the PCJr. There’s also a connector for powering a floppy drive, as well as headers for a fan and power switch.

[AkBKukU] has come up with two ways to use the adapter. You can either go with a standard ATX PSU, in which case it will need to sit outside the machine due to its size, or use a PicoPSU which allows you to keep the whole thing internal. If you don’t mind spending the cash, the PicoPSU method is a much cleaner installation that still provides plenty of power. Depending on which route you take, there are different 3D printed plates to adapt the computer’s rear panel to fit the new hardware.

All the files to build your own version are in the GitHub repository, and [AkBKukU] is doing some low volume runs of both kits and assembled adapter. If this project looks familiar, it’s because we reported on it back when it was still a hand-scratched PCB that didn’t always work as expected.

[Thanks to Gregg for the tip.]

Continue reading “ATX Adapter For The IBM PCJr Now Available”