This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Home Automation" Watch "Home Automation" New topic

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?

I no good English.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15041

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 8 API documentation
David Newton

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.
subject: Home Automation
It's not a secret anymore!