Ceiling Fan Gets Upgrade We All Always Wanted

Some things in our daily lives can be minor pain points that we all just subconsciously ignore, either because we’ve grown used to them so much we don’t recognize them or they’d be too much effort to fix. [Super Valid Designs] was growing more and more frustrated with one specific one, which was the fact that a standard ceiling fan doesn’t have any way of showing what its current speed setting is. This can waste a lot of time when doing something like trying to turn it off when it’s not immediately obvious it hasn’t just been turned to a lower speed instead. So he built a setting indicator that could go on any fan without permanently changing it and without using any electronics.

The way that this mechanism works is by using two gears that mesh with the existing pull chain on the fan. Each time the chain is pulled, the gears rotate down and then back up. From there, a ratcheting mechanism was used so that each pull of the string advances it one position. The drum of the ratchet has numbers printed on it which correspond to the speed settings of the fan, letting the chain puller immediately know where it’s set and not have to guess. Everything on this is 3D printed, and there was a lot of trial-and-error dialing in the material types and other physical attributes of each part to make the system work reliably, but after a number of iterations he has it working perfectly.

To install it on the fan, [Super Valid Designs] used a scanner to get a very close model of the housing of the ceiling fan so he could design a case for the mechanism that sits right up against its uneven shape. The only thing needed to attach it with a fit that good is the original set screw guiding the chain out of the ceiling fan housing, meaning the mechanism can be easily attached or removed without damaging the fan. Outside of musical projects, a lot of his builds tend to revolve around eliminating these kind of mundane pain points in our daily lives that we shouldn’t be content to accept, like this closet remodel repurposing a blueprint storage system.

Continue reading “Ceiling Fan Gets Upgrade We All Always Wanted” →

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.

Ceiling Fan Adds CO2 Sensor

Ceiling fans seem to be an oft-misunderstood or overlooked household appliance. As such, they seem to have missed a lot of the IoT wave. Sure, you can get smart controllers for them to plug into your home automation system of choice, but these mostly rely on temperature sensors, simple timers, or voice commands. There’s a lot more to a ceiling fan than maintaining a comfortable temperature, as [EJ] demonstrates with this smarter ceiling fan build.

A big part of the job of a ceiling fan is to improve air circulation, which can help a room from feeling “stuffy”. This feeling is usually caused by excess CO2 as a result of respiration in an area where the air is not moving enough to exhaust this gas. Not only does [EJ]’s controller make use of a temperature monitor for controlling the fan automatically, but there is also a CO2 sensor integrated to improve this aspect of air quality when needed.

The entire build is based on a Raspberry Pi Zero, and nothing needed to be changed about the ceiling fan itself for this added functionality because it already included a radio-based remote control. With some monitoring of the signals produced by the remote, the Raspberry Pi was programmed to mimic these commands when the surrounding sensors captured a condition where [EJ] would want the fan on. There’s also a manual control button as well, so the fan control is not entirely in the hands of the computer.

For a little more detailed information about this build, there’s a separate project page which details a lot of the information about the RF waveform capturing and recreation. And, if you want to take your fan to the next level, take a look at this one which focuses on building a smartphone app to control the fan instead.

Fan-tastic Misuse Of Raspberry Pi GPIO

[River] is a big fan of home automation. After moving into a new house, he wanted to assimilate two wirelessly controlled fan lights into his home automation system. The problem was this: although the fans were wireless, their frequency and protocol were incompatible with the home automation system.

Step one was to determine the frequency the fan’s remote used. Although public FCC records will reveal the frequency of operation, [River] thought it would be faster to use an inexpensive USB RTL-SDR with the Spektrum program to sweep the range of likely frequencies, and quickly found the fans speak 304.2 MHz.

Next was to reverse-engineer the protocol. Universal Radio Hacker is a tool designed to make deciphering unknown wireless protocols relatively painless using an RTL-SDR. [River] digitized a button press with it and immediately recognized it as simple on-off keying (OOK). With that knowledge, he digitized the radio commands from all seven buttons and was quickly able to reverse-engineer the entire protocol.

[River] wanted to use a Raspberry Pi to bring the fans into his home automation system, but the Raspberry Pi doesn’t have a 304.2 MHz radio. What it does have is user-programmable GPIO and the rpitx package, which converts a GPIO pin into a basic radio transmitter. Of course, the Pi’s GPIO pin’s aren’t long enough to efficiently transmit at 304.2 MHz, so [River] added a proper antenna, as well as a low-pass filter to clean up the transmitted signal. The rpitx package supports OOK out of the box, so [River] was quickly able get the Pi controlling his fan in no time!

If you’d like to do some more low-cost home automation, check out this approach to using a Raspberry Pi to control some bargain-bin smart plugs.

Reverse Engineering A Ceiling Fan Remote

In the quest to automate everything in your home, you no doubt have things that aren’t made with home automation in mind. Perhaps your window AC unit, or the dimmer in your dining room. [Seb] has several ceiling fans that are controlled by remotes and wanted to connect them to his home automation system. In doing so, [Seb] gives a good overview of how to tackle this problem and how to design a PCB so he doesn’t have a breadboard lying around connected to the guts of his remote control.

There are several things [Seb] needs to figure out in order to connect his fans to Home Assistant, the home automation system he uses: He needs to determine if the circuit in the remote can be powered by 5 or 3.3 V, he needs to connect the circuit to an ESP32 board, and he needs to figure out if he can create a custom PCB that combines the circuit and the ESP32 into one. The video goes through each of these steps and shows the development of each along the way.

There’s a lot of info in the video, so it might need to be slowed down a bit to see all the details. There are some other reverse engineering of home automation gear on the site, here, or, you might want to build your own remote to control your automated devices.

Continue reading “Reverse Engineering A Ceiling Fan Remote” →

Turn A Ceiling Fan Into A Wind Turbine… Almost

It’s not uncommon to drive around the neighborhood on trash day and see one or two ceiling fans haphazardly strewn onto a pile of garbage bags, ready to be carted off to the town dump. It’s a shame to see something like this go to waste, and [Giesbert Nijhuis] decided he would see what he could do with one. After some painstaking work, he was able to turn a ceiling fan into a wind turbine (of sorts).

While it’s true that some generators and motors can be used interchangeably by reversing the flow of electricity (motors can be used as generators and vice-versa) this isn’t true of ceiling fans. These motors are a type called induction motors which, as a cost saving measure, have no permanent magnets and therefore can’t simply be used as a generator. If you make some modifications to them, though, like rewiring some of the windings and adding permanent magnets around them, you can get around this downside of induction motors.

[Giesbert] does note that this project isn’t a great way to build a generator. Even after making all of the changes needed to get it working, the motor just isn’t as efficient as one that was built with its own set of magnets. For all the work that went into it, it’s not that great of a time investment for a low-quality generator. However, it’s interesting to see the theory behind something like this work at all, even if the end result wasn’t a complete wind turbine. Perhaps if you have an old ceiling fan lying around, you can put it to better use.

Continue reading “Turn A Ceiling Fan Into A Wind Turbine… Almost” →

A Tinfoil-Free Internet Of Ceiling Fans

Putting everything on the Internet is getting easier and easier, what with the profusion of Internet-ready appliances as well as cheap and plentiful IoT modules to integrate legacy devices. Think IoT light bulbs, refrigerators and dishwashers that can be controlled from a smartphone, and the ubiquitous Sonoff modules. But once these things are on the net, what are they talking about? Are they saying things behind your back? Are they shipping data about your fridge contents off to some foreign land, to be monetized against your will?

Maybe, maybe not, but short of a tinfoil helmet the only way to protect yourself is to build your own system. This IoT control for ceiling fans is a good example, with the added benefit that most wireless ceiling fan remotes are kind of lousy. [microentropie] didn’t like the idea of going the Sonoff route, so his custom controller is based on that IoT workhorse, the ESP8266. There are two versions, one switching the light and fan loads with relays, and one with triacs. The ESP serves up its own web page for control rather than using a cloud service, and is capable of setting up the fan to turn on and off automatically at preset times or temperatures. Everything sits in an unobtrusive box on the ceiling near the fan, but we bet this could be miniaturized enough to fit right inside the fan housing.

If some of [microentropie]’s code looks familiar, it might be because he borrowed it from his IoT rice cooker project.