Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino Home Automation Projects

You're reading from   Arduino Home Automation Projects Automate your home using the powerful Arduino platform.

Arrow left icon
Product type Paperback
Published in Jul 2014
Publisher
ISBN-13 9781783986064
Length 132 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Marco Schwartz Marco Schwartz
Author Profile Icon Marco Schwartz
Marco Schwartz
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Building Wireless XBee Motion Detectors 2. Control Lights from Your Phone or Tablet FREE CHAPTER 3. Measuring the Temperature Using Bluetooth 4. Weather Station in the Cloud with Xively 5. Monitor Your Energy Consumption in the Cloud 6. Hack a Commercial Home Automation Device 7. Build Your Own Home Automation System Index

Testing the graphical interface

It's now time to test the interface. Make sure that the web server is running on your computer. Also, make sure that all the files of the interface are placed inside a folder at the root of your web server. You can go over to this folder in your browser (by typing in localhost) and open the HTML file. This is what you should see:

Testing the graphical interface

To test the interface, simply try to click on these different buttons. You will see that the lights switch instantly whenever you press the right button. If it doesn't work at this point, there are several things you can check.

The first thing is to check that your web server is running correctly. Also, check that you have entered the right name for your Arduino board (or the right IP address) inside the PHP file. Finally, make sure that your Arduino sketch is working correctly by typing the commands inside your web browser directly. Also, note that at this point, you should also have set the relay pins to be outputs, as...

You have been reading a chapter from
Arduino Home Automation Projects
Published in: Jul 2014
Publisher:
ISBN-13: 9781783986064
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime