DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Securing Your Software Supply Chain with JFrog and Azure
Register Today

Trending

  • Competing Consumers With Spring Boot and Hazelcast
  • From On-Prem to SaaS
  • Extending Java APIs: Add Missing Features Without the Hassle
  • Transactional Outbox Patterns Step by Step With Spring and Kotlin

Trending

  • Competing Consumers With Spring Boot and Hazelcast
  • From On-Prem to SaaS
  • Extending Java APIs: Add Missing Features Without the Hassle
  • Transactional Outbox Patterns Step by Step With Spring and Kotlin
  1. DZone
  2. Data Engineering
  3. AI/ML
  4. Building a Mock HVAC for Smart Thermostat Demos

Building a Mock HVAC for Smart Thermostat Demos

Here's a handy tutorial that shows you step-by-step how to set up and wire a mock HVAC system for shows on the road.

James Ward user avatar by
James Ward
·
Aug. 04, 16 · Tutorial
Like (2)
Save
Tweet
Share
3.60K Views

Join the DZone community and get the full member experience.

Join For Free

Recently, I needed to create a mock HVAC system so that I could have a portable smart thermostat for various demos. I searched around but couldn't find any such thing. So, with some sleuthing and the help of my friend Bruce Eckel, I was able to build a simple system that powers a smart thermostat and simulates a heating system. This post will document how to do this in case anyone else ever needs such a thing.

Modern HVAC systems typically provide 24-volt AC power to thermostats, so the first thing you will need is a 120-VAC-(wall power)-to-24-VAC transformer. I used this one.

Then, you'll need something that can simulate a single-stage heating system. A smart thermostat uses 24-volt AC to flip on and off a relay (the electronic component that uses one power current to toggle another, usually stronger, current). I could have used an actual relay for this, but decided to go with something easier, a red LED light that runs on 24-volt AC.

For my smart thermostat, I used an ecobee3 (due to their REST APIs), but a Nest should work as well.

Now, to wire it together, pick a terminal on the transformer to be the "common" and run two wires, one to the LED and one to the "C" terminal on the smart thermostat. Then, run a wire from the other side of the LED to the "W1" terminal on the smart thermostat. And finally, connect the other terminal on the transformer to the "Rh" terminal on the smart thermostat. Like this:

Ecobee3_Demo_Wiring


Here is what it looks like wired together:
wiring


Once the smart thermostat is powered on and set up, the LED should turn on when the "heater" is on:
on


And turn off when the heater is off:
off


I hope that helps someone out. Let me know if you have any questions!

terminal LEd Autonomic computing NEST (software) Document REST POST (HTTP) Build (game engine) Web Protocols

Published at DZone with permission of James Ward, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • Competing Consumers With Spring Boot and Hazelcast
  • From On-Prem to SaaS
  • Extending Java APIs: Add Missing Features Without the Hassle
  • Transactional Outbox Patterns Step by Step With Spring and Kotlin

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: