Tell us about yourself!

Complete Your Profile
  • Simple and Intuitive Web Interface for Your Raspberry Pi

    Hello,Yes it is working really well, I currently have it running on a raspberry pi 2 (pi 3 will work the same) controlling an 8-channel relay board that is connected to a traffic light. I can control it through a web browser on any device that is on my WiFi network. I did have a few refresh issues with Internet Explorer if I remember correctly so try to use it on Google Chrome if you are having issues with IE or Edge. The pin numbers are the gpio pin numbers. If you run the command "gpio readall' you will see where the gpio pins are located and what state they are in. If you follow his directions and then change his gpio.php and index.php files to look like the ones I posted it should work just fine. I hope that helps!

    View Instructable »
  • Simple and intuitive web interface for your Raspberry Pi

    Thank you for the excellent instructable; this is exactly what I was looking for when I wanted to control my 8 channel relay board over the web with a GUI. As others, I wanted to use different gpio pins than 0-7 that TheFreeElectron used and he actually mentioned how to do it in the comments, but I thought I would post the slightly modified gpio.php and index.php files for others that had trouble specifying what gpio pins to trigger. Like TheFreeElectron said, add an array named $pin in the gpio.php file with your specific pin numbers - will look something like this depending on the pins you are using: "$pin = array(21,22,23,24,25,27,28,29);". Then change the "$pic" to "$pin[$pic]" in the "system" and "exec" lines of the code. Next, in t...

    see more »

    Thank you for the excellent instructable; this is exactly what I was looking for when I wanted to control my 8 channel relay board over the web with a GUI. As others, I wanted to use different gpio pins than 0-7 that TheFreeElectron used and he actually mentioned how to do it in the comments, but I thought I would post the slightly modified gpio.php and index.php files for others that had trouble specifying what gpio pins to trigger. Like TheFreeElectron said, add an array named $pin in the gpio.php file with your specific pin numbers - will look something like this depending on the pins you are using: "$pin = array(21,22,23,24,25,27,28,29);". Then change the "$pic" to "$pin[$pic]" in the "system" and "exec" lines of the code. Next, in the index.php file, add the same "$pin = array(21,22,23,24,25,27,28,29);" array then change the "$i" to "$pin[$i]" in the "system" and "exec" lines of code. That's all you you have to do to be able to specify what pins you want to control with this slick web app. Thanks again, TheFreeElectron!

    View Instructable »
  • Metoliusk followed TheFreeElectron2 years ago
      • Simple and intuitive web interface for your Raspberry Pi
  • Metoliusk followed 3D-Printing, electric-vehicles, woodworking, speakers and 16 others channel 2 years ago