Another Smart Thermostat using the Raspberry Pi Pico W

Sdílet
Vložit
  • čas přidán 25. 12. 2023
  • You may or may not have asked for it, but here is it anyway: Another smart thermostat using the Raspberry Pi Pico W. Still cheap, still secure.
    Code for the Picostat V2:
    github.com/SmarterCircuits/Pi...
    Code for the Home Assistant controlled relay board:
    github.com/SmarterCircuits/HA...
    Parts:
    Waveshare 8-relay pico board (no pico, $29):
    amzn.to/3GUG0d0
    Waveshare 8-relay pico board (with pico, $35 best deal in my opinion):
    amzn.to/3RFJYeD
    OLED I used, there are cheaper, smaller ones on the Waveshare store ($22):
    amzn.to/4aCOF1A
    Waveshare Store:
    amzn.to/3NCUnXh
    2-pack Raspberry Pi Pico W ($22):
    amzn.to/488N55N
    PINS:
    OLED:
    These just need jumped to the location they would be if it was directly plugges in, but without the I2C pins because we don't use them and they would conflict with the RGB LED on the relay board.
    Requires 3v3 and 5v to turn on
    ground
    SPI D/C: GPIO 8
    SPI chip select: GPIO 9
    SPI clock: GPIO 10
    SPI data: GPIO 11
    Reset: GPIO 12
    DHT22:
    3v3 pin
    ground
    GPIO 22
    Relay Board:
    3v3 and 5v
    ground
    Buzzer: GPIO 6
    RGB LED: GPIO 13
    (i numbered and used these backwards to what they listed, oops)
    relay 1: GPIO 21
    relay 2: GPIO 20
    relay 3: GPIO 19
    relay 4: GPIO 18
    relay 5: GPIO 17
    relay 6: GPIO 16
    relay 7: GPIO 15
    relay 8: GPIO 14
  • Věda a technologie

Komentáře • 14

  • @jak10987
    @jak10987 Před 7 měsíci +4

    Wow I don’t know how I found your channel, but this DIY-smart device series is fantastic. I will be making one myself!!

    • @smartercircuits
      @smartercircuits  Před 7 měsíci +1

      Glad to hear it! Thanks for watching and I hope you have fun building your gadget!

  • @MrJaycroz
    @MrJaycroz Před 7 měsíci +3

    Great video! I'd like to adapt this to work with the wall mounted propane Empire heater in my garage. The thermostat is controlled with just 750 millivolts so I'm guessing that the relay that you're showing here wouldn't be appropriate for my application. Is that true? Any suggestions? Sending 5 volts to the Pi Pico won't be a problem as I have an outlet nearby.

    • @williamlancto3655
      @williamlancto3655 Před 7 měsíci +1

      I actually dealt with the exact same thing, propane empire wall furnace in the room above my garage I wanted to control with a smart thermostat (Ecobee lite 3 in my case)
      At least in my unit there is a outlet inside of the unit at the bottom. Inside there I put a 24VAC wallwart transformer from amazon. Now I was lucky and the installer put in a thermostat cable with an unused common wire, so I wired that up to power the thermostat, and then wired the R wire with a small 24VAC relay that works as the switch for the wall heater.
      Works perfectly fine and powers the ecobee without issue. I even lied to the ecobee and told it there was a Y (AC) wire hooked up and monitored it with home assist see when it tried to turn the phantom AC on to control a smart outlet to turn on an old AC window unit.
      Also for those concerned about companies having access to the thermostats and such like SmarterCircuits here, home assist supports adding the ecobees with its own implementation of the apple homekit protocol, letting you control the thermostats completely locally and without connection to the internet.

    • @smartercircuits
      @smartercircuits  Před 7 měsíci

      These relays would honestly be a bit overkill, but should work fine to switch the unit on and off, they are only acting as a switch and are rated for much higher current at the voltages you're dealing with; however, if the ecobee solution proposed by williamlancto3655 works in your situation, it may be less work and troubleshooting on your part. I still encourage building these sorts of things on your own if it can serve your purpose most adequately, but only if it won't make things too much harder or more complicated than they could be. Thanks for taking a look at my video, and I hope some of this helps!

    • @smartercircuits
      @smartercircuits  Před 7 měsíci +1

      @williamlancto3655 I'll have to give those ecobees a test drive. I have to say I absolutely love the work around for the A/C unit. That's good stuff! Also, thanks for pitching in here, I appreciate that. I'm certainly open to every idea and bit of information that could help someone paying attention.

  • @grindfi
    @grindfi Před 5 měsíci +1

    what is the part number or name of the long header pins?

    • @smartercircuits
      @smartercircuits  Před 5 měsíci +1

      I got them out of a little pack of headers I got here: amzn.to/3wcBzbz
      I will disclose, that's an affiliate link, so if you pick those up, make sure to grab a power tool or two while you're there. I kid, of course. That little pack was nice for me because I use the heck out of these things.
      Thanks again for watching, and I hope to see you around!

  • @tomlynn1000
    @tomlynn1000 Před 7 měsíci +6

    Are you single? Wife acceptance factor does not appear high. 🙂 Consider a two controller system in which the relays are located with the furnace and the controls and temperature sensor remains on the wall. Controls communicate wirelessly to the relays. Controls to be powered by repurposed thermostat wiring which now carry power from a supply located with the furnace. E-Paper displays could be attractive in the controller. Totally agree with you on data privacy and planned obsolescence.

    • @smartercircuits
      @smartercircuits  Před 7 měsíci +3

      lol, I'm allowed to destroy the gameroom as much as I like--it's in the treaty. I have considered the control being near the furnace and simply having remote sensors. I think that's ultimately the best way, really. I'd also like to see more room by room control. I have tiny helper heaters for this purpose at the moment, but I'd like to eventually build a more permanent solution.

    • @BenCos2018
      @BenCos2018 Před 5 měsíci

      I'd use a physical cable to control the relays though
      Most thermostat cable has more than two wires so shouldn't be too bad to do

  • @LiraNuna
    @LiraNuna Před 7 měsíci +4

    Something with your audio is really bad, it sounds like you're talking from inside a box underwater. I would recommend figuring this out for future videos.

    • @smartercircuits
      @smartercircuits  Před 7 měsíci +4

      Yes, I think the top end is gone because I overcompensated trying to remove a hiss. The mixer I'm presently using as an audio capture device is less than desirable all around as well--I've just been waiting to upgrade the audio setup.

    • @LiraNuna
      @LiraNuna Před 7 měsíci +3

      I hope you don't take this constructive criticism wrong - the video is great and I can tell this channel is still young - this is simply a tip so you can improve! Looking forward for more videos and seeing your channel grow!