<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Arduino on prilik&#39;s blog</title>
    <link>https://prilik.com/blog/tags/arduino/</link>
    <description>Recent content in Arduino on prilik&#39;s blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>Copyright &amp;copy; Daniel Prilik :: Licensed under &lt;a target=&#34;_blank&#34; rel=&#34;external noopener license&#34; href=&#34;https://creativecommons.org/licenses/by-nd/4.0/&#34;&gt;CC-BY-ND-4.0&lt;/a&gt;.</copyright>
    <lastBuildDate>Mon, 20 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://prilik.com/blog/tags/arduino/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Turning a Dumb AC Unit Smart (Without Losing my Security Deposit)</title>
      <link>https://prilik.com/blog/post/automating-ac-nyc/</link>
      <pubDate>Mon, 20 Jul 2026 00:00:00 +0000</pubDate>
      
      <guid>https://prilik.com/blog/post/automating-ac-nyc/</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; DIY home automation is ezpz with nothing more than a stepper motor, an esp32, and a high tolerance for Jank.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;My rental apartment&amp;rsquo;s AC unit can only be controlled using these retro-looking &lt;em&gt;analog&lt;/em&gt; knob-based controls, mounted right onto the unit. No separate wall-mounted thermostat, no remote control&amp;hellip; nothin&amp;rsquo; fancy whatsoever.&lt;/p&gt;
&lt;p&gt;These knobs work&amp;hellip; but having to constantly stand up and fiddle with them gets annoying pretty quick.&lt;/p&gt;
&lt;p align=&#34;center&#34;&gt;
  &lt;img src=&#34;https://prilik.com/blog/blog/assets/automating-ac-nyc/aircon-controls-crop.jpg&#34; width=&#34;400px&#34;&gt;
&lt;/p&gt;
&lt;p&gt;Fortunately, there&amp;rsquo;s an &amp;lsquo;ol Prilik family saying that goes something like this: &amp;ldquo;remember son - the hardest problems in life can usually be solved with nothing more than a stepper motor, an esp32, and a dream&amp;rdquo;&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;p&gt;And sure enough, after dropping ~$15 on parts, waiting for things to arrive from China, and spending a few hours iterating on the hardware assembly and firmware&amp;hellip; I hacked together this beautiful mess:&lt;/p&gt;
&lt;p align=&#34;center&#34;&gt;
&lt;img src=&#34;https://prilik.com/blog/blog/assets/automating-ac-nyc/v1-final-working-crop.jpg&#34; width=&#34;400px&#34;&gt;
&lt;/p&gt;
&lt;p&gt;What you&amp;rsquo;re looking at here is a jerry-rigged &lt;strong&gt;esp32-controlled stepper motor&lt;/strong&gt;, coupled to one of my AC unit&amp;rsquo;s knobs using a &lt;strong&gt;shaft coupler&lt;/strong&gt;, all affixed to the AC&amp;rsquo;s back-plane using a &lt;strong&gt;cheap L-bracket&lt;/strong&gt; and a &lt;strong&gt;binder clip&lt;/strong&gt; (with some industrial-grade &lt;strong&gt;cardboard padding&lt;/strong&gt; for good measure).&lt;/p&gt;
&lt;p&gt;This whole MacGyver&amp;rsquo;d up contraption talks to my &lt;strong&gt;Home Assistant&lt;/strong&gt; instance over &lt;strong&gt;MQTT&lt;/strong&gt;, which turns the AC unit on/off based on the state of a temperature sensor located in the same room.&lt;/p&gt;
&lt;p&gt;Et voila 🪄 ✨&lt;/p&gt;
&lt;p&gt;Just like that - I&amp;rsquo;ve managed to free myself from the shackles of having to get up off the couch just to tweak my AC!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;For all you professional embedded and mechatronics folks out there: I &lt;em&gt;strongly&lt;/em&gt; suggest you stop reading here.&lt;/p&gt;
&lt;p&gt;The rest of this blog post is a walkthrough of a &lt;em&gt;software&lt;/em&gt; engineer&amp;rsquo;s approach to home automation and building custom hardware, and let me tell you: both the final product, &lt;em&gt;and&lt;/em&gt; the journey to get there, are &lt;em&gt;hella jank&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;That said&amp;hellip; if you&amp;rsquo;re not afraid of a bit of jank: read onwards, and join me on this fun foray into how I managed to hack together some totally bespoke home-automation hardware with almost no budget, or experience!&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    
  </channel>
</rss>
