Raspberry Pi Zero + SG90 + Blynk (Air Conditioner "Remote")

Have you considered using an infrared LED to control your aircon, instead of the servo method?
This is what many people, including myself do. The IR Remote library has built-in commands for many common brands of aircon, but also has the ability to learn new coded by attaching an IR photodiode to a device and capturing the codes used by your existing remote.

Also, the Raspberry Pi is t really the best hardware for a project like this. You’re much better off with a simple NodeMCU device that requires no operating system and is programmed in C++ (which is much more common within the Blynk and many other maker communities).

Here’s a link to the project I use to control my aircon and ceiling fans using IR LEDs. My infrastructure is rather different to what you’d use because I use Blynk in a non-standard way, but the small white box with two LEDs poking out contains a Wemos D1 Mini, which could run the Blynk code you need to achieve this.

Here’s a bit more about hardware choices:

Pete.

1 Like