Tibbo Project System-based Office Aircon Controller Application
Designed for the office environment, the app relies on the ambient brightness (measured by Tibbit #28) to determine whether the aircon should be running or not. In the office setting, no lights = no people = no need for the aircon to work.
Join the DZone community and get the full member experience.Join For Free
the app allows you to manage traditional air conditioners that are controlled through infrared remotes. designed for the office environment, the app relies on the ambient brightness (measured by tibbit #28) to determine whether the aircon should be running or not. in the office setting, no lights = no people = no need for the aircon to work.
tps-based aircon controller
air conditioning is a consumptive business while air conditioners are big-ticket to run. in general, ac systems, older ones, in particular, do not have any real temperature feedback. you set the temperature on your remote, but alas, it has absolutely nothing to do with the actual temperature in the room. even when it gets colder outsides, many aircons keep blasting cold air into your space. as a result, you have to constantly readjust the temperature as needed for optimal comfort throughout the day.
no doubt, ac systems are improving day by day, but there are still old systems that cannot get updated. in some instances, it's absolutely impossible to invest in a new system. sometimes, it is just a catch 22 to rip the old aircon out and install a new one. a basic aircon has many parts that typically are split between an outside and inside configuration, hence you may have to undergo a drastic interior renovation. in tibbo office in taipei, we have got trapped in an identical situation. we just have to get by with the ac system we've got. our aircon is controlled with a dozen of infrared remotes lying around.
some time ago, we set out to create a management system for our dated hvac system. as you would expect, we used tibbo project system (tps) for this endeavor. our spec for the aircon controller consisted of exactly two items:
to achieve our goal, we used a tps2l system equipped with these tibbits:
- ambient temperature probe
- ir code processor tibbit (#26)
- ir front-end tibbit (#27)
- ambient light sensor tibbit (#28)
let us tell you about the probe. this is a new item that will be announcing this fall. the probe replaces the ambient temperature meter (tibbit #29). it is nice to have the meter built right into the tps. the problem is, the meter is affected by the internal heat of the tps system itself. this influence is especially noticeable for the tps2l device - it's lcd really warms up the box! the new probe has the same circuit as the tibbit #29, with the added benefit of being external to the tps device. now the measurements are accurate.
here is a look at the items you need to set up in the menu:
ir commands. this is where you train your ir code processor to be able to transmit two commands: "on," and "off." for the "on" command, use the lowest temperature that your aircon's remote allows you to set (usually 16 degrees c). the logic here is that when you need to lower the temperature in the room you can use the coldest temperature setting, and when the room cools down to the preset temperature, the aircon is turned off. so really, you only need two commands.
target temperature. you don't need to set it here. there are dedicated buttons on the main screen.
pre-cool start time. this is something we added along the way. now it is possible to turn the aircon on, once a day, even before we all arrive at the office. our day starts at 9 am. we set this time for 8:30 am, and by the time we get in, the office is nice and cool (while the scorching taipei summer keeps on raging outside). the pre-cool timer is hardcoded for 45 minutes. if the lights are still off at 9:15 the aircon is turned off.
brightness threshold. this is the brightness that the tps will consider to correspond to "lights on." the value is not expressed in any standard measurement units; it's just the value the tibbit #28 returns. so, how do you know what number to set here? simple: the brightness is displayed on the main screen, like this: "light level: 718". note the value with the lights off and on, then set the threshold to some value in the middle between the two.
temp. meas. adjustment. this is useful for when you choose to use the tibbit #29. as we've explained above, its measurements are affected by the internal heat of the tps itself. you can use a regular thermometer and determine the measurement error. for example, if your thermometer reads 25c, and tps shows 28c, then you must adjust the temperature by 3 degrees c. the data returned by the new external probe need no adjustment.
in phase 2 of this project, we will connect aircon controller to an aggregate server. it will be possible to control the system via a smartphone app, which we going to design for this purpose. now you know why our configuration menu has items like network, aggregate, etc. stay tuned!
Opinions expressed by DZone contributors are their own.