0

I have a raspberry pi thermostat that is plugged in through USB. Dealing with this voltage I don't want to "try and see what happens". My current setup is the Pi is powering the relay module through VCC on the module. What I want to do is remove the ac adapter and power the whole thing from the red power wire out of the wall.

Because no one wants a thermostat with a wire running down the wall. So any help would be greatly appreciated. I am also open to using any board arduino, pi or whatever. Currently targeting final build with pi zero W.

4
  • Hi @Jonathan Kaufman, Well, you can do something like this: (1) Use 24V DC wall wart to get 24V DC power near to your Rpi and 24V thermostat. (2) Use to 7V to 35V DC to 5V DC 3A step down voltage regulator to supply power for both Rpi and 5V relay (Don't get 5V power from Rpi 40 pin header's pint 2, 4 5V power rail, overloading Rpi!).
    – tlfong01
    Nov 2, 2019 at 2:52
  • 1
    what is a raspberry pi thermostat? Nov 2, 2019 at 8:34
  • 1
    @tlfong01 you should have made it an answer. i would have accepted. Thank you for your help. Nov 2, 2019 at 17:12
  • @Jonathan Kaufman, Thank you very much for your kindness. So I have made an answer. Cheers.
    – tlfong01
    Nov 3, 2019 at 1:25

1 Answer 1

1

Answer

You can do something like this:

(1) Use 24V DC wall wart to get 24V DC power near to your Rpi and 24V thermostat,

(2) Use to 7V to 35V DC to 5V DC 3A step down voltage regulator to supply power for both Rpi and 5V relay.

Note

Don't get 5V power from Rpi 40 pin header's 5V power rail (Pins 2, 4), overloading Rpi!).


End of answer

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.