Controlling A/C remotely (what to use?)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stj
    Great Sage 齊天大聖
    • Dec 2009
    • 31277
    • Albion

    #21
    Re: Controlling A/C remotely (what to use?)

    well it's in "C" so using a microcontroller wouldnt be a problem.

    Comment

    • redwire
      Badcaps Legend
      • Dec 2010
      • 3912
      • Canada

      #22
      Re: Controlling A/C remotely (what to use?)

      The Arduino libraries have over 1,500 entries.

      I found a Midea Air Conditioner library, it uses the Arduino and an IR LED to generate commands.

      Example use explained, C code

      I would try it, see if it works with your air conditioner, as step #1.
      I don't know the Midea brand, but it could be a common control board.

      Comment

      • Dannyx
        CertifiedAxhole
        • Aug 2016
        • 3912
        • Romania

        #23
        Re: Controlling A/C remotely (what to use?)

        Another promising article here. In parallel, I also began looking at OpenHAB. It's what my buddy uses for his lights and blinds at home and he recommended it here too.
        Wattevah...

        Comment

        • Dannyx
          CertifiedAxhole
          • Aug 2016
          • 3912
          • Romania

          #24
          Re: Controlling A/C remotely (what to use?)

          Hello once again chaps. Hopefully you're still subbed to this thread. Wanting to get started with this project, with a little help from my buddy, I began thinking about how I'd go about programming an ESP8266 to do the trick. I'm aware there are versions which have the programmer built in, but they're not currently on stock on banggood, plus you know me, I like complicating things
          I want to use to my CH341 programmer to do the job - I know it works because I've programmed my arduino Pro Mini with it, so I imagine I'd work just as well with the ESP, especially since the very same CH341 is used on the pre-assambled boards, alongside the ESP, so I have the two, just as two separate entities.

          Not many tutorials on this though....TX goes to RX and vice versa I imagine, however there's a little difficulty: ESPs run at 3.3v, which is no doubt correct - I'll power it from the 3.3v header of the CH341 programmer (looks like this BTW), but what about TX and RX ? Don't they need a level shifter or a setting to ensure the CH341 programs at 3.3v ? If I try it directly, I imagine that can't be good - the ESP won't like it and could blow a seal
          Wattevah...

          Comment

          • stj
            Great Sage 齊天大聖
            • Dec 2009
            • 31277
            • Albion

            #25
            Re: Controlling A/C remotely (what to use?)

            you connect tx,rx and gnd.
            and on the esp you ground an input called BOOT0 to start in the serial loader instead of the application memory if it's like other arm-core chips.

            Comment

            • Dannyx
              CertifiedAxhole
              • Aug 2016
              • 3912
              • Romania

              #26
              Re: Controlling A/C remotely (what to use?)

              Ok, but what about voltage ? Actually, I had a look at a serial programmer that looks just like the one I got (I'm at home, so I don't have it on hand to look at it) and it would seem the CH341 is powered by a 3.3v regulator on the back, meaning the TX and RX levels would be correct as well, since they can't exceed that. The Arduino Pro mini I'm currently using it with runs natively at 5v, so I didn't give it second thought, so that's what made me think the CH341 operates at 5v levels and requires some sort of hack/mod to run with the ESP, but it turns out a 3.3v signal can program a 5v arduino.
              Wattevah...

              Comment

              • stj
                Great Sage 齊天大聖
                • Dec 2009
                • 31277
                • Albion

                #27
                Re: Controlling A/C remotely (what to use?)

                ch341 can output either - it's a very good chip, but most 3.3v mcu's have 5v compatable inputs anyway.
                Attached Files

                if you find these attachements useful please consider making a small donation to the site

                Comment

                • Curious.George
                  Badcaps Legend
                  • Nov 2011
                  • 2305
                  • Unknown

                  #28
                  Re: Controlling A/C remotely (what to use?)

                  Originally posted by eccerr0r
                  Problem being, that likely the desire is to keep the AC turned off when there are no occupants. When an AC is being used, this is most likely be used during the summer, and to keep the AC off, that sensing element needs to be kept cool.
                  No, you just set the thermostat's setpoint higher than normal (to a temperature that keeps it "off" when you want it to be off).

                  But, you're stuck having to move the temperature controller into the "external device" -- which is actually a win because now you can not only control ON/OFF but the actual temperature setpoint in effect! (your interface to the actual ACbrrr is a "thermal one" and not electrical... no worries about galvanic isolation, interface compatibility, voltages, etc.)

                  Comment

                  • Curious.George
                    Badcaps Legend
                    • Nov 2011
                    • 2305
                    • Unknown

                    #29
                    Re: Controlling A/C remotely (what to use?)

                    Originally posted by Dannyx
                    Nope - all of that is too complicated. The A/C is not permanently installed as you can see and it's not a HVAC system employing a thermostat, so the only method here is the remote.
                    You might not be able to recognize the thermostat as such but you can bet it has a thermostat in it, somewhere. After all, it's purpose is to react to high ambient temperatures (where "high" is defined by the TEMPERATURE that you have specified).

                    I.e., it's a closed loop system so there is a temperature sensor, somewhere, and, by definition, a "thermostat" (that performs the control function).

                    Using a remote is fraught with potential problems because remotes aren't designed with feedback in mind; it's up to the user to decide if the controlled device has "seen" the command and responded as the user expected.

                    Comment

                    • Dannyx
                      CertifiedAxhole
                      • Aug 2016
                      • 3912
                      • Romania

                      #30
                      Re: Controlling A/C remotely (what to use?)

                      Yes, it obviously has a thermostat, but people were most likely discussing a wall-mounted or external thermostat, so I just wanted to clear that up. True - no feedback for remotes. It has to rely strictly on ensuring the device reacts. Actually with a lot of effort I imagine there COULD exist a feedback system: by tapping into the A/C's MCU or whatever, it can report back and tell the microcontroller (IR emulator) whether or not it's responded - WAAAY beyond what we want to/can achieve here. The hardest part is going to be snooping the remote codes...implementing OpenHAB and stuff like that will be somewhat more enjoyable.
                      Wattevah...

                      Comment

                      • Curious.George
                        Badcaps Legend
                        • Nov 2011
                        • 2305
                        • Unknown

                        #31
                        Re: Controlling A/C remotely (what to use?)

                        Originally posted by Dannyx
                        \Actually with a lot of effort I imagine there COULD exist a feedback system: by tapping into the A/C's MCU or whatever, it can report back and tell the microcontroller (IR emulator) whether or not it's responded - WAAAY beyond what we want to/can achieve here.
                        No, unless you know how the MCU is coded, you have no way of knowing if:
                        • it didn't see the command
                        • it saw the command and is acting on it ("real soon, now")
                        • it saw the command but has deferred action (cycle limits on compressor)

                        That's the problem with "event interfaces" (sending an Ir code is an event) vs. "static interfaces" (holding something warm under the sensor until YOU see the desired room temperature). It is fairly common for event-driven systems to "miss events".

                        Comment

                        Related Topics

                        Collapse

                        • Capacitorial
                          Good beginner repair projects?
                          by Capacitorial
                          Hello!
                          I learned a lot the last weeks about repairing and how power supplies are structured. Fixed two TVs (even though it wasnt really hard since one was a backlight and the other a ribbon tape trick fix).
                          Let's say I got a basis of knowledge from where I can start to repair easy projects.

                          Looking on local online markets, there are sometimes faulty devices for free. But where to start?

                          I try to stay away from notebooks and mobile devices. I don't believe I got the experience, even though it feels like I could do something, after watching hours of notebook...
                          01-10-2024, 06:51 AM
                        • Catisfaction
                          Canon TS8350a waste inc container reset
                          by Catisfaction
                          Hi all,
                          since my second device of this model number now died due to Canon being service unfriendly, I'd like to reset the counter myself.
                          This model of printer seems to be on non of the eBay sellers and other suppliers support lists for the Canon Service Tool. Other forums suggested the v5103 version of the tool, which did not work unfortunately.
                          Has anyone maybe experience with this exact model?
                          Thank you!
                          07-02-2025, 07:46 AM
                        • sam_sam_sam
                          Alexia thermostat is this a good idea for for controlling your air conditioning system feedback wanted
                          by sam_sam_sam
                          My wife is asking me about getting one because our electric bill was that it has ever been even more than last year at this time nothing has really changed since last year last month unless the electric company has done some fuel adjustment charges I have not done any investigation into yet but I might have to but there was a time back a few years ago that I use to set the temperature warm during the day when we were not home but when we got wooden floors in our house and you have to keep the humidity down to keep it from warping I just set to a temperature to 75*F to keep the humidity down but...
                          06-22-2025, 10:23 AM
                        • dark41
                          canon mg2555s waste ink counter error need dump
                          by dark41
                          Hi Anyone has dump from working canon mg2555s i got error 5B00
                          I would like to try flash eeprom witch ch341a
                          09-14-2024, 04:25 AM
                        • CapLeaker
                          Security camera linking remotely to NVR
                          by CapLeaker
                          I've got already a 16 port NVR installed at a certain location. The building owner wants to add 4 IP cameras on a different building 500m away from the main building.
                          My way going about is to install the cameras on the off site building, connect them to a 8 port POE switch, install a wifi bridge and plug that into that POE switch too. That should do the remote side. Easy.

                          The main building should have the other end of the wifi bridge.

                          Did any one try to hook a wifi bridge staight up to the NVR's camera POE port?
                          I do know that usually the wifi bridge is hooked...
                          12-24-2023, 02:54 PM
                        • Loading...
                        • No more items.
                        Working...