Added: 1 year ago
From: louwhopley
Views: 10,925
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (13)

Sign In or Sign Up now to post a comment!
  • Can you share this code?

    

  • what Arduino board you using?

  • @karmand21 Yep. The serial goes down too. You will have to restart the desktop application. I am looking into connecting the Arduino direct to the ethernet network to make it run independent of a pc. New vid of that coming soon!

  • Hey Louwhopley, I beginner in HTML coding, i just wondering if you still have the html coding for this particular project.

  • @UNIXSTARES I just checked and unfortunatly not. Will include all source code in future vids!

  • nice project men :)

    i've tried to do the same thing but i've much problems with php code because arduino code it's correct. you can post the here? thanks ;)

  • @lasssapo I've lost the files for this project, I remember this piece of PHP though:

    $t = 48; // This variable is the one that's sent and interpreted by the arduino.

    $fp = fopen("COM5", "w") or die("Error1");

    fwrite($fp, chr($t)) or die("Error2");

    fclose($fp) or die("Error3");

    I think you can use that as is.

    Hope it helps!

  • @louwhopley ok thanks

  • nice demonstration. did you get that relay board somewhere or did you make it yourself?

  • @mrsmith4mrsmith4 I purchased the 'kit' at a electronic store - had to put it together myself. The brand is "Anykit" which I think you can find at alot of places.

  • nice one,

    my arduino webserver is on it's way

    how did you parse the url to set the ports?

    do you have a link to the the sketch?

  • @auntyangela Hi, I have no idea what that parse the url to the port means... but the PHP code looks like this:

    $t = 48; // This variable is the one that's sent and interpreted by the arduino.

    $fp = fopen("COM5", "w") or die("Error1");

    fwrite($fp, chr($t)) or die("Error2");

    fclose($fp) or die("Error3");

    Sorry for the late reply!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more