Quantcast
Channel: Home Automation Project Ideas Archives - Use Arduino for Projects
Viewing all articles
Browse latest Browse all 57

Arduino Internet Controlled Desk Lamp

$
0
0

Step 1: What You’ll need A linux web-server with PHP, an arduino, a relay and some other components. Step 2: Upload your code to the arduino Upload the following code to your arduino: void setup(){ Serial.begin(9600); } void loop() { if (Serial.available() > 0) { char inByte = Serial.read(); if(inByte == ’1′){ digitalWrite(13,HIGH); } else if(inByte == ’0′){ […]

The post Arduino Internet Controlled Desk Lamp appeared first on Use Arduino for Projects.


Viewing all articles
Browse latest Browse all 57

Trending Articles