A little secret to rock your YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Abusing Raspberry Pi GPIO pins as a radio transmitter to control my ceiling fan

Follow
Rivers Educational Channel

In Part 1, we covered capturing and decoding the remote control's signal using
a USB TV tuner:    • Hacking My Ceiling Fan Radio Signal W...  

In Part 2, we take use a Raspberry Pi's GPIO pin as an antenna to transmit our
own signals to the ceiling fan.

rpitx: https://github.com/F5OEO/rpitx

The ceiling fan / light combo I have is Minka Aire brand. I think most of the
different ones on the market work pretty similarly.



Parts:


rpitx lists the Raspberry Pi 4 as having "beta" support. (I used a Raspberry Pi 3B.)


Sparkfun: https://www.sparkfun.com/products/14643
Adafruit: https://www.adafruit.com/product/3055
Amazon: https://amzn.to/3crvFFI

I found my lowpass filter on eBay (overseas shipping). Digikey has lowpass
filters that would also work, but not as cheap. This site contains affiliate links for which I may be compensated.

eBay lowpass filter: https://ebay.us/4cSPe5

eBay SMA antenna: https://ebay.us/GcL9qa
eBay SMA connector: https://ebay.us/PGPmGM

Note that these all have SMA connectors, not RPSMA (which look very similar).

Also note that eBay listings come and go, so doublecheck that you get
compatible parts. The antenna does not need to be exact the one I got is
listed for 315 MHz and works just fine.



Background music:

Aerosol Of My Love by Kevin MacLeod
Link: https://incompetech.filmmusic.io/song...
License: https://filmmusic.io/standardlicense



Some links may be affiliate links.

posted by py5lv6