Fix Your Insecure Amazon Fire TV Stick

I recently spent a largely sleepless night at a hotel, and out of equal parts curiosity and boredom, decided to kill some time scanning the guest network to see what my fellow travelers might be up to. As you’d probably expect, I saw a veritable sea of Samsung and Apple devices. But buried among the seemingly endless number of smartphones charging next to their sleeping owners, I found something rather interesting. I was as picking up a number of Amazon-made devices, all of which had port 5555 open.

As a habitual Android tinkerer, this struck me as very odd. Port 5555 is used for Android Debug Bridge (ADB), a development tool used to control and perform various administrative tasks on an Android device over the network or (more commonly) locally over USB. The number of users who would have legitimately needed to enable network ADB on their devices is surely rather low, so to see a half dozen of them on the network at the same time seemed improbable to say the least.

Why would so many devices manufactured by Amazon all have network ADB enabled? I realized there must be a connection, and it didn’t take long to figure it out.

Continue reading “Fix Your Insecure Amazon Fire TV Stick”

This Thermal Printer Has Serious Game

[Dhole], like the fox, isn’t the first to connect his computer to a Game Boy printer but he has done a remarkable job of documenting the process so well that anyone can follow. The operation is described well enough that it isn’t necessary to scrutinize his code, so don’t be put off if C and Rust are not your first choices. The whole thing is written like a story in three chapters.

The first chapter is about hacking a link cable between two Game Boys. First, he explains the necessity and process of setting the speed of his microcontroller, a NUCLEO-F411RE development board by STMicroelectronics. Once the rate is set, he builds a sniffer by observing the traffic on the cable and listens in on two Game Boys playing Tetris in competition mode. We can’t help but think that some 8-bit cheating would be possible if Tetris thought your opponent instantly had a screen overflowing with tetrominoes. Spying on a couple of Game Boys meant that no undue stress was put on the printer.

Chapter two built on the first chapter by using the protocol to understand how the printer expects to be spoken to. There is plenty of documentation about this already, and it is thoughtfully referenced. It becomes possible to convince a Game Boy that the connected microcontroller is a printer so it will oblige by sending an image. Since there isn’t a reason to wait for printing hardware, the transfer is nearly instantaneous. In the image above, you can see a picture of [Dhole] taken by a Game Boy camera.

The final chapter, now that all the protocols are understood, is also the climax where the computer and microcontroller convince the printer they are a Game Boy that wants to print an image. In the finale, we get another lesson about measuring controller frequency without an oscilloscope. If you are looking for the hack, there it is. There is a handful of success in the form of old receipts with superimposed grayscale images since virgin thermal printer paper by Nintendo costs as much as a used printer.

This story had a happy ending but grab your reading glasses for the smallest Game Boy and here’s someone who wrote their own Game Boy color game.

Dispensing Solder Paste Automatically

Through-hole chips are slowly falling by the wayside, and if you want to build something with new parts you will be using surface mount components. This means spreading paste and throwing it in the toaster oven. Of course, if you don’t want to take the time to get a stencil for your solder paste, you can always lay it down by hand. For that, [owhite] has created a tiny, handheld, robotic solder paste dispenser. It’s a robotic pen that dispenses just the right amount of solder paste on your pads.

The design of this solder paste dispenser is basically a syringe filled with paste and a stepper motor to push the plunger down. Devices like this already exist, and the i-extruder can be had for somewhere around two hundred bucks. Why buy when you can build, so [owhite] set out to create his own.

The key to a successful solder paste pen, it seems, is driving the plunger with a small NEMA 8 stepper motor, using a very fine pitch on the threads of the gears pushing the plunger down, and surprisingly finding a small-diameter syringe. [owhite] found the last bit in the form of a gas-tight syringe with a nylon gasket. The electronics consist of just a Teensy 3.2, DRV8825 stepper driver, footswitch, and an OLED for a UI.

With just a few parts, [owhite] managed to create a solder paste pen that’s better than the commercial i-extruder, and with a bit of practice can be used to place paste on some SMD pads.

Keeping Streets Ice-Free With The Raspberry Pi

[Revanth Kailashnath] writes in to tell us about an interesting project he and his team have been working on for their “Real Time Embedded Programming” class at the University of Glasgow. Intended to combat the harsh and dangerous winters in Glasgow, their system uses a Raspberry Pi and a suite of sensors to automatically deploy a brine solution to streets and sidewalks. While the project is still only a proof of concept and hasn’t been deployed, the work the team has done so far runs the gamut from developing their own PCBs to creating a web-based user interface.

The core idea is simple. If the conditions are right for ice to form, spray salt water. Using salt water is a cheap and safe way of clearing and preventing ice as it simply drops the temperature at which water freezes. The end result is that the ice won’t form until it gets down to 10F (-12C) or so. Not a perfect solution, but it can definitely help. Of course, you don’t want to spray people with salt water as they pass by, so there’s a bit more to it than that.

Using the venerable DHT22 sensor the team can get the current temperature and humidity, which allows them to determine when it’s time to start spraying. But to prevent any wet and angry pedestrians, a HC-SR501 PIR motion sensor is used. If the system sees motion it will stop for a while to let the activity quiet down.

Monitoring the sensors and controlling the pump is done by a daemon written in C++, which also logs data to an SQL database, which in turn feeds their PHP web interface. In the video after the break, [Revanth] demonstrates how the system is constantly making decisions based on the input of the various sensors. Environmental data and motion is analysed every few seconds to provide a real-time solution.

We’ve covered a few projects aimed at melting ice and snow by heating concrete, but it’s interesting to see a “smart” approach to this common winter annoyance.

Continue reading “Keeping Streets Ice-Free With The Raspberry Pi”

DIY Magnetic Actuator, Illustrated And Demonstrated

Electromagnetic actuators exert small amounts of force, but are simple and definitely have their niche. [SeanHodgins] took a design that’s common in flip-dot displays as well as the lightweight RC aircraft world and decided to make his own version. He does a good job of explaining and demonstrating the basic principles behind how one of these actuators works, although the “robotic” application claimed is less clear.

It’s a small, 3D printed lever with an embedded magnet that flips one way or another depending on the direction of current flowing through a nearby coil. Actuators of this design are capable of fast response and have no moving parts beyond the lever itself, meaning that they can be made very small. He has details on an imgur gallery as well as a video, embedded below.

Continue reading “DIY Magnetic Actuator, Illustrated And Demonstrated”

Why Won’t This Darn Thing Charge?

What is more fun than plugging in your phone and coming back to find your battery on empty? Stepping on a LEGO block with bare feet or arriving hungry at a restaurant after closing probably qualify. [Alex Sidorenko] won’t clean your floors or order you a pizza, but he can help you understand why cheap chargers won’t always power expensive devices. He also shows how to build an adapter to make them work despite themselves.

The cheapest smart device chargers take electricity from your home or car and convert it to five volts of direct current. That voltage sits on the power rails of a USB socket until you plug in a cable. If you’re fortunate, you might get a measly fuse.

Smart device manufacturers don’t make money when you buy an off-brand charger, and they can’t speak to the current protection of them, so they started to add features on their own chargers to protect their components and profit margins. In the case of dedicated chargers, a simple resistor across the data lines tells your phone it is acceptable power. Other devices are more finicky, but [Alex Sidorenko] shows how they work and provides Eagle files to build whatever flavor you want. Just be positive that your power supply is worthy of the reliability these boards promise to the device.

Now you know why connecting a homemade benchtop power supply to a USB cable seems good on paper but doesn’t always get the job done. Always be safe when you make your own power supplies.

DIY Drill-Powered Water Pump

Whether you need to pump water out of your basement this spring, or just want to have fun shooting water around in the yard this summer, here’s a way to build a pump instead of buying one. This is a simple but ingenious build, and [NavinK30] did everything shy of machining his own hardware and making his own tools. Well, it looks as if he might have made that drill.

As you’ll see in his how-to after the break, this centrifugal pump is mostly acrylic, PVC, and fasteners. [Navin] cut two sides and a base for the paddles from acrylic, and joined them with a heat-formed sidewall made of PVC. We love that he cut and bent his own paddles from sheet metal. These are bolted to a round piece of acrylic that attaches to the outside with a long hex bolt. A ball bearing mounted on the drill side allows the pump to churn freely as long as the bolt is chucked into the drill, and the hose clamp is tight enough to hold down the trigger.

Have an extra drill, but don’t need to pump water? Add a camping stove and use it to power a small-batch coffee roaster.

Continue reading “DIY Drill-Powered Water Pump”