File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 15087

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