Reaction Wheels Almost Control This Unusual Drone

When you think about all the forces that have to be balanced to keep a drone stable, it’s a wonder that the contraptions stay in the air at all. And when the only option for producing those forces is blowing around more or less air it’s natural to start looking for other, perhaps better ways to achieve flight control.

Taking a cue from the spacecraft industry, [Tom Stanton] decided to explore reaction wheels for controlling drones. The idea is simple – put a pair of relatively massive motorized wheels at right angles to each other on a drone, and use the forces they produce when they accelerate to control the drone’s pitch and roll. [Tom]’s video below gives a long and clear explanation of the physics involved before getting to the build, which results in an ungainly craft a little reminiscent of a lunar lander. The drone actually manages a few short, somewhat stable flights, but in general the reaction wheels don’t seem to be up to the task. [Tom] chalks this up to the fact that he’s using the current draw of each reaction wheel motor as a measure of its torque, which is not exactly correct for all situations. He suggests that motors with encoders might do a better job, but by the end of the video the little drone isn’t exactly in shape for continued experimentation.

Of course, dodgy reaction wheels don’t only cause problems with drones. They can also be a problem for spacecraft when the Sun gets fussy too.

Continue reading “Reaction Wheels Almost Control This Unusual Drone”

Solar-Powered OpenWRT Router For Mobile Privacy

Let’s not pretend we aren’t all guilty of it: at some point we’ve all connected to a public WiFi network to check our email or log into some site or service. We know the risks, we know better. But in a weak moment we can let the convenience of that public network get the better of us. What if you had a small secure router that you could use as an encrypted VPN endpoint, allowing you to connect to those enticing public networks while keeping your traffic secure? That’s precisely what [David] had in mind when he built this pint-sized solar-powered OpenWRT router.

At the heart of this gadget is the TP-Link TL-MR3020, a tiny OpenWRT-compatible router that’s no stranger to the pages of Hackaday. Its small size and low cost have made it a natural choice for a wide array of projects, so it’s little surprise that [David] gravitated towards it. But simply getting OpenWRT installed on the MR3020 and configuring OpenVPN doesn’t exactly grant you entrance into the Hackaday Pantheon, so obviously there’s a bit more to the story.

For one, [David] didn’t like the idea of a USB flash drive hanging out of the side of his router. Since the flash drive would essentially be a permanent part of the router, as it is being used to expand the rather meager internal storage of the MR3020 he decided to wack the USB end off the flash drive and solder it directly to the router’s PCB. This gave him a much cleaner looking package, but it still wasn’t as portable as he’d like.

He decided to order a solar-charged USB power bank to become the new home of his hacked MR3020. He kept the solar panel and charge controller from the original gadget, and after some researched settled on a pair of LG-HG2 3000 mAh batteries as the power source. [David] went through a few charge and discharge cycles making sure everything worked as expected before buttoning up the case. In the future he says he might transplant the electronics into a 3D printed case, but for now he’s pretty pleased with the results.

If you’d like to try your hand at hacking these popular micro routers, you’ll need to start with an OpenWRT firmware. After you’ve got a full blown Linux distro running on this little fellow, the only limitation is your own imagination.

Samy Kamkar’s LED Balloon Network

Writing this in the frigid darkness of a Northern Hemisphere January evening, I have to admit to more than a little envy of Samy Kamkar and his friends. One of their summer events is a private party at a secluded campground somewhere that looks quite warm, which from here seems mighty attractive.

Samy wanted to provide a spectacle for his friends. What he came up with is glowing orbs; LED balloons that would float above the campsite and wow his friends with their pretty synchronised illumination. Thus an adventure in wireless communications, lighter-than-air flammable gasses versus electronics weight calculations, and code optimization began, the details of which were shared in Samy Kamkar’s 2018 Hackaday Superconference talk embedded below.

Continue reading “Samy Kamkar’s LED Balloon Network”

Original Xbox Gets Hardware Transplant, And Is Very Fast

The original Xbox launched way back in 2001, to much fanfare. This was Microsoft’s big first entry into the console market, with a machine packing a Pentium III CPU, and commodity PC hardware, contributing significantly to its bulk. Modding was a major part of the early Xbox scene, and as the original hardware has grown too feeble to keep up with modern tasks, enterprising makers have instead turned to packing the black box with modern hardware. The team at [Linus Tech Tips] decided that other builds out there weren’t serious enough, and decided to take things up a notch.

The build starts with a passively cooled compact power supply, a Core i5 8400 6-core CPU, and a GeForce RTX2070 to handle graphical tasks. Parts were carefully selected for a combination of performance, packaging, and with an eye to the thermal limits inherent in stuffing high-powered modern hardware into a tight Xbox shell.

All manner of oddball techniques are used to make the build happen. The GPU is connected through a PCI Express cable, which we were surprised to learn was a thing, given the nature of high-speed signals and long transmission lines. The Xbox shell had its original metal insert and plastic standoffs removed, with an aluminium inner shell being CNC cut and bent up on a pan brake to act as a new internal chassis. There’s yet more carnage to come, as the GPU has its extraneous DVI port hacked off with a grinding wheel.

In the end, after much cutting and cajoling, the parts come together and fit inside the case, making the sleeper build a reality. It’s fun to watch the team fiddle with config files and struggle to load and play local multiplayer games, as they realise that there are just some things that consoles do better.

Regardless, it’s an impressive casemod that goes to show what you can pull off with some off-the-shelf parts, a well-stocked workshop, and some ingenuity. If you’re looking for more case mod inspiration, try out this all-in-one printer build. Video after the break.

[Thanks to Keith O for the tip!]

Continue reading “Original Xbox Gets Hardware Transplant, And Is Very Fast”

Video: Putting High Speed PCB Design To The Test

Designing circuit boards for high speed applications requires special considerations. This you already know, but what exactly do you need to do differently from common board layout? Building on where I left off discussing impedance in 2 layer Printed Circuit Board (PCB) designs, I wanted to start talking about high speed design techniques as they relate to PCBs.  This is the world of multi-layer PCBs and where the impedance of both the Power Delivery Network (PDN) and the integrity of the signals themselves (Signal Integrity or SI) become very important factors.

I put together a few board designs to test out different situations that affect high speed signals. You’ve likely heard of vias and traces laid out at right angles having an impact. But have you considered how the glass fabric weave in the board itself impacts a design? In this video I grabbed some of my fanciest test equipment and put these design assumptions to the test. Have a look and then join me after the break for more details on what went into this!

Continue reading “Video: Putting High Speed PCB Design To The Test”

Break Your Scope’s Bandwidth Barrier

Oscilloscope bandwidth is a tricky thing. A 100 MHz scope will have a defined attenuation (70%) of a 100 MHz sine wave. That’s not really the whole picture, though, because we aren’t always measuring sine waves. A 100 MHz square wave, for example, will have sine wave components at 100 MHz, 300 MHz, and the other odd harmonics. However, it isn’t that a 100 MHz scope won’t show you something at a higher frequency — it just doesn’t get the y-axis right. [Daniel Bogdanoff] from Keysight decided to think outside of the box and made a video about using scopes beyond their bandwidth specification. You can see that video, below.

[Daniel] calls this a “spec hacks” but they aren’t really hacks to the scope. They are just methods that don’t care about the scope’s rated bandwidth. In this particular spec hack, he shows how the frequency counter using a 70 MHz scope’s trigger circuit can actually read up to 410 MHz. A 100 MHz scope was able to read almost 530 MHz.

Continue reading “Break Your Scope’s Bandwidth Barrier”

Cool Tools: A Little Filesystem That Keeps Your Bits On Lock

Filesystems for computers are not the best bet for embedded systems. Even those who know this fragment of truth still fall into the trap and pay for it later on while surrounded by the rubble that once was a functioning project. Here’s how it happens.

The project starts small, with modest storage needs. It’s just a temperature logger and you want to store that data, so you stick on a little EEPROM. That works pretty well! But you need to store a little more data so the EEPROM gets paired with a small blob of NOR flash which is much larger but still pretty easy to work with. Device settings go to EEPROM, data logs go to NOR. That works for a time but then you remember that people on the Internet are all about the Internet of Things so it’s time to add WiFi. You start serving a few static pages with that surprisingly capable processor and bump into storage problems again so the NOR flash gets replaced with an SD card and now the logs go there too. Suddenly you’re dealing with multiple files and want access on a computer so a real filesystem is in order. FAT is easy, so the card grows a FAT filesystem. Everything is great, but you start to notice patches missing from the logs. Then the SD card gets totally corrupted. What’s going on? Let’s take a look at the problem, and how to reach embedded file nirvana.

Continue reading “Cool Tools: A Little Filesystem That Keeps Your Bits On Lock”