This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes Home Automation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Home Automation" Watch "Home Automation" New topic
Author

Home Automation

faisal hameed
Ranch Hand

Joined: Jan 19, 2009
Posts: 48
Hi Ranchers.
I am student of Msc IT. I want to make Home Automation Project as my final Project in Java. I want to controll(On/Off) only one light.
Please someone give me ideas about it.

1:- What hardware are used.
2:- Any tutorial/Book or Sample Code to program it.


Regards, M Faisal Hameed
PUCIT, Pakistan
Martin Vanyavchich
Ranch Hand

Joined: Sep 16, 2008
Posts: 241
Me personaly wouldn't use Java to connect to some hardware without a Java supported udelying OS. I think C/C++ might be easyer. Could you please give us more details on your project?


SCJP 6, OCMJD 6, OCPJWSD 6
I no good English.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13884
    
  10

You could use an Arduino for that: a small hardware board that you can configure any way you like, and you can get software for it to control it from Java.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

X10 is popular, and any X10-computer interface (serial, USB, etc.)

This project should take about 10 minutes to code once you have the hardware. I'm not entirely convinced it's suitable for a final project.
faisal hameed
Ranch Hand

Joined: Jan 19, 2009
Posts: 48
After controlling one light i want to extend it by controlling different electrical things.
I want to automate a house model by providing java interfaces.
I need hardware detail that are needed to attach with computer and its cost.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Home Automation
 
Similar Threads
Implementing Charts and graphs with swing..??
How to automate installation of software?
How to automate installation of software?
What is the key difference between Maven and Cruise Control to make a choice of choosing one ?
Putting an object instance into an ArrayList