Wednesday, December 24, 2014
Gauge Meters; A daunting task
Since I'm on vacation, I thought of planning my project using the free time. As the next step, I thought of developing the front end of the application. The user should be able to view the real time temperature and the power consumption. To present this information, I thought of using simple gauge meters.
Although the idea may seem to be simple, I had to spend a lot of time searching for any java libraries. Finally after many hours I found "SteelSeries". Although the name might suggest otherwise, it's a opensource library created for the purpose of using gauge meters effectively. I managed to learn the basics of the library from these blog posts. Using java swing, my next attempt was to create a simple program which could display the value provided by the user. However in these attempts, I found out that the jar files I had got were corrupted. After searching through many resources I found a site which provides all the libraries.
My next step was to expand the program further so that it can read a value from a text file and display the temperature and the power consumption. In this implementation, I used a thread called reader for background work. In this case, its task was to read the value from the text file and update the user interface as well as the internal calculator which would then calculate the power consumption. After several attempts, I was able to design a program which worked.
As the final step, since users are more interested in the time the last update was done, I included an update so that the date and time stamp would be included in a JLabel. The following video demonstrates my progress.
Although the idea may seem to be simple, I had to spend a lot of time searching for any java libraries. Finally after many hours I found "SteelSeries". Although the name might suggest otherwise, it's a opensource library created for the purpose of using gauge meters effectively. I managed to learn the basics of the library from these blog posts. Using java swing, my next attempt was to create a simple program which could display the value provided by the user. However in these attempts, I found out that the jar files I had got were corrupted. After searching through many resources I found a site which provides all the libraries.
My next step was to expand the program further so that it can read a value from a text file and display the temperature and the power consumption. In this implementation, I used a thread called reader for background work. In this case, its task was to read the value from the text file and update the user interface as well as the internal calculator which would then calculate the power consumption. After several attempts, I was able to design a program which worked.
As the final step, since users are more interested in the time the last update was done, I included an update so that the date and time stamp would be included in a JLabel. The following video demonstrates my progress.
Air Conditioning? Big Deal?
No comments
:
Posted by
Unknown
at
5:13:00 AM
Labels:
Air Conditioning
,
Embedded
,
Micro Controllers
,
Power consumption
,
Smart Systems
,
Tech
Last week we were assigned projects for our 4th semester and I was selected for the energy sector. As a part of it, when I was exploring the subject, my attention was driven towards Centralized Air Conditioning Systems. My biggest concern was, does that amount to a significant proportion of the total energy consumption.
Based on a research done by Computer Science and Engineering Department of University of California ( http://synergy.ucsd.edu/files/Balaji_BuildSys2013_ZonePAC.pdf )commercial buildings consume about 40% of the total energy for air conditioning. This is a significant proportion of the total energy consumption.
So we started work on measuring the power consumed by air conditioning. When centralized air conditioning is used, the zonal power consumption cannot be measured directly, because the production unit is at a separate place. Therefore a model has to be used to measure the power consumption. So we used the first principles and using the flow rate and the temperature we were able to calculate the power consumption.
The next task was to implement a mobile unit which can be fixed to a room. These units should also be capable of transmitting data to a server. Since we needed minimal processing power and a low cost option, arduino was chosen. Analog pins were used to get input from the temperature sensors, and in the first stage the data was transmitted to a computer using the serial port.
Gobetwino was used to write the temperature data to a csv file which could then be easily transferred on to a database. As the next step a java based application was developed to generate a real time graph using the data extracted from the csv file. The results were impressive and real time analysis could be monitored.
If the development process is successful, ( i.e.if a wi-fi module can be fixed to the arduino, and have a wireless connection) most likely this would be a commercially viable product.
Who knows? May be someday this device would be measuring the power consumption at your own work place.
Subscribe to:
Posts
(
Atom
)
R-bloggers
About Me
Blog Archive
Popular Posts
-
Introduction Changepoints are abrupt variations in the generative parameters of sequential data. Changepoint detection is the process o...
-
Introduction The project aimed at improving the postCP package and making it available on CRAN again. The snag that prevented the pac...
-
It all began when I started searching for a Google Summer of Code project last year (November, 2015) . While I was searching through the we...
-
Since I'm on vacation, I thought of planning my project using the free time. As the next step, I thought of developing the front end of...
-
In building the required libraries for a docker container, using a maven project, the libraries have to be copied to a separate location an...
-
It was quite a daunting task at the beginning to start with Kubernetes 1.7 alpha release because I knew that I was bound to face with diffi...
-
Recently for a project, I used a Raspberry Pi. Although mostly it's preferred to use raspbian as an operating system, I chose to use U...
-
Last week we were assigned projects for our 4th semester and I was selected for the energy sector. As a part of it, when I was exploring t...
Powered by Blogger.
Labels
#GSOC
(3)
#Tech
(3)
#postCP
(3)
#Kubernetes
(2)
#R-gsoc
(2)
#docker
(2)
#CentOS
(1)
#Cluster
(1)
#Pi
(1)
#R
(1)
#Ubuntu
(1)
#docker-maven-plugin
(1)
#fabric8
(1)
#raspberryPi
(1)
Air Conditioning
(1)
Embedded
(1)
Micro Controllers
(1)
Power consumption
(1)
Smart Systems
(1)
Tech
(1)
© Malith's Perspective 2016 . Powered by Bootstrap , Blogger templates and RWD Testing Tool