RF Hacking A Ceiling Fan Via The Remote

[Sam Wilkinson] recently installed a Dreo CLF513S ceiling fan in his place — it’s cheap, well-sized, and blows air around as you’d expect it to. The only problem is that it only works with an ugly cloud-only smart home setup out of the box. Never mind, though, because [Sam] figured out how to hack up a custom solution.

Hacking efforts began with the included remote control. [Sam] identified that the remote had to be RF, since it didn’t need line of sight to work properly. The FCC ID on the back of the device further indicated this was the case. Armed with that knowledge, it was simply a case of figuring out the commands sent by the remote, building something to replay them, and then hooking that into [Sam]’s existing Home Assistant setup.

The remote ran on 433.92 MHz, a not-uncommon bit of spectrum for these sort of appliances. An RTL-SDR was thusly enlisted to capture the output, with a spectrogram indicating the remote used simple on-off keying to send commands. Once commands were captured, [Sam] grabbed an ESP32-C6 microcontroller, hooked it up to a RFM69HCW radio transceiver, and programmed it to replay the fan on/off command. From there, a little dabbling with MQTT got the ESP32 controlling the fan as desired from within the Home Assistant ecosystem.

Sometimes, it’s hard to find smart home gear that actually suits your tastes and budgets. Often, a bit of tinkering can shape existing appliances to bend to your will instead. If you’re tweaking your own gear to better fit your smart home, don’t hesitate to notify the tipsline.

Teaching An AI To Play A Racing Game Via Screen Input

If you’re a fleshy human, you probably learn to play video games by looking at the screen and pressing the buttons, and maybe copying the way you’ve seen others play the game before. [tryfonaskam] has recently been trying to teach an AI to play games in much the same way.

[tryfonaskam] built PILA—short for Polytrack Imitation Learning Agent. As you might have guest from the name, it’s an AI agent designed to play a simple racing game called PolyTrack. Rather than manually programming the agent’s behavior, PILA instead trains itself through supervised learning, where it observes the gameplay state via screen capture and monitoring the keyboard inputs made by human players as they drive the tracks. It then uses this to guide its own behavior, and learns to play the game by itself. The model receives live frames from the graphics engine while playing, and then predicts the appropriate actions and makes the right keyboard inputs in turn to steer the car through the track.

This project reminds us of similar efforts to teach a raw AI how to play Trackmania, or the Drivatar technology in the Forza series of racing games.

Accurate Split-Flap Display Can Be 3D Printed

Split-flap displays are a great, low-power way to display text to a wide audience. Compared to other display technologies like LCDs they only use energy when the characters change, but have fallen out of favor partially because of their greater mechanical complexity and also because LCD and LED technology has become so inexpensive. They still retain a loyal following though, and [Jason] is demonstrating his version which boasts high accuracy and can be 3D printed.

To get good results, one of the keys is getting the motor positioning just right. The motor sits in the center and spins the flaps around, so stopping at exactly the right point to display a certain character is critical. [Jason]’s system uses a 28BYJ stepper motor with a magnetic encoder to ensure that the correct flap is displayed. The flaps themselves are completely 3D printed, using a method which allows for two colors to be printed even if the printer is only designed for a single color. Once printed, the flaps are installed on the wheel which is the outer ring of a planetary gear set with the stepper motor sitting in the middle.

Each character in the display is housed in a printed enclosure, and for [Jason]’s project he only needs five characters, so to control the entire setup he’s using a Raspberry Pi Pico. For more characters he suggests that it is still possible to use a smaller microcontroller like the Pico but a multiplexer may be needed. Of course, displays like this are not limited to characters alone. Take a look at this display which has custom flaps to display the current weather conditions as well.

Continue reading “Accurate Split-Flap Display Can Be 3D Printed”

Hack Improves Cheap Speed Controllers

[Tony Goacher] has worked with a lot of cheap brushless DC motor controllers built in China. They can be very cost-effective, but sometimes limited in performance or capability, particularly when it comes to low-speed operation. Thus, he’s been working on a project to make cheap controllers more capable.

The prime problems [Tony] has faced are jerkiness, throttle deadspots, and inconsistent torque delivery at low speeds. This is especially the case when running brushless motors on heavier vehicles, where the greater inertia can compound any minor problems to the point things become undriveable. [Tony]’s solution has been to create a signal interceptor that lives in between a throttle and the cheap motor controller to change their overall behavior.

The demo vehicle for this build is TrakTrike, a sort of bicycle-half-track hybrid that [Tony] built for EMF Camp 2022. After blowing up some nicer controllers, [Tony] specced some cheaper parts from AliExpress. Only, the low-speed control was terrible, and the dual motor controllers didn’t respond identically to throttle and would cause the vehicle to steer or crab, making driving difficult. This was fixed by dropping in an Arduino Nano after the throttle, and before the two motor controllers. It allows calibrating the throttle output from the Arduino to eliminate dead spots, while also tuning the throttle output to left and right motors individually so they respond more similarly. There are also custom acceleration and deceleration curves that make the controllers respond more smoothly, and a precise crawling speed for consistent low-speed maneuvering.

Just by doing some fancy throttle smoothing and control, [Tony] was able to greatly improve the usability of these cheap controllers, for the price of an Arduino Nano and little more. Files are on GitHub for those eager to attempt the hack themselves. There are other ways to go about this of course, like diving into field-oriented control, if you’re so inclined. Alternatively, speculate on how you’d tackle this engineering challenge down in the comments.

Make Your Own Loudspeaker From Scratch

A loudspeaker is a vital component of every device that plays sound, but while its operation is simple, it’s a surprisingly difficult device to build. [Rvanderouderaa] has made an Instructables post showing a speaker design that it’s claimed, had an impedance that varies by volume (Dutch language, Google Translate link).

In all moving-coil speakers, a coil of wire is held in a radial magnetic field. To this is attached a cone, and when a current is passed through the coil the whole thing moves to create the sound. The tricky part of making one comes in making the cone itself, and in particular the suspension system that holds it in place while allowing it to move backwards and forwards. It’s normal for these components to be moulded from thick paper.

This design uses a 3D printed frame and cone, with the 3D printing providing excellent rigidity. The suspension system is a circular corrugated sheet, and it’s made in this case using papier-maché made from wet toilet paper, and a 3D printed mould. We particularly like this technique.

This is an impressive build, simply for having made a recognizable and working speaker in the first place. There’s no demo video so we have no idea how it sounds, but for us the point is more in the construction than the reproduction.

If speakers interest you, we’ve taken an in-depth look at them in the past.

A man standing next to an RC model of an Airbus A380 aircraft. The fuselage is at elbow height and the tailfin appears to be over his head.

World’s Biggest RC A380 Is A Big Deal

RC planes are a lot of fun, and the bigger the better! [Ramy RC] has built the world’s biggest RC A380.

At 29 ft (8.83 m) long, with a 32 foot (9.75 m) wingspan, and weighing 800 lb (362 kg), this 1/8 scale jumbo jet is not your typical model. The fuselage is built from CNC cut EPS foam layed up with fiberglass on the outside and carbon fiber inside. The wings have a combination of carbon, aluminum, foam, and wood components to handle the aerodynamic loads.

The attention to detail is wild. Instead of painting the windows, each one is an actual hole in the plane with a 3D printed window frame and acrylic window. You can actually see one falling out of the plane in the video below. An Airbus mechanic in the comments even notes the landing gear door order of operations are identical to the real thing.

If [Ramy] looks familiar, perhaps you remember his previous A380 build? Much like the 747, the full size A380 is no longer in production, but they can run on cooking oil while they’re still flying.

Continue reading “World’s Biggest RC A380 Is A Big Deal”

A Standalone YouTube Streaming Rig

YouTube streaming typically involves a camera with an HDMI output, a USB3 HDMI digitiser, and a suitably beefy PC to run it all. It’s quite a process, and for [Coreymillia], more complex than it needs to be. He’s come up with something simpler, a dedicated self-contained streaming rig using a Raspberry Pi 4.

As you might expect it uses the Raspberry Pi HQ camera at the optical end, but it’s the software surrounding it that transforms it from a mere camera into a streaming rig. There’s a web based user interface, but perhaps more interesting are the companion dashboard peripherals. A Raspberry Pi or an ESP32 Cheap Yellow Display can both serve as a small in-view dashboard and controller.

We know from experience that a stream can be a difficult thing to get right even with high-end hardware, and we’re interested to see this standalone device allowing , we hope, an easier way to do it. If you’re a streamer we’re guessing you’ll be taking a closer look. Even so, this is surprisingly, not the simplest Raspberry Pi based streaming device we’ve seen.