Making Raspberry Pi Web Controls

preview_player
Показать описание
This video will show you how to control your Raspberry Pi's GPIO pins from a web interface. This will allow you to control motors, lights and other electronics from the web! You can even make your own Raspberry Pi Web controlled robot like this one:

More Web Programming Tutorials:
Рекомендации по теме
Комментарии
Автор

Very cool and concise. I hate watching 30 minutes of video to get as much information as you cover in 5. Can't wait to try it out.

alanderson
Автор

Haven't tried this yet but thanks for making it so simple and outlining all steps.

MediocreChannel
Автор

Awesome man. I will consider donating when i revisit to use this tutorial!

brendankelley
Автор

I've never used this pie technology but still love the way you explain it. Amazing!

alankaradas
Автор

Excellent video, best way I've found on the web of doing this, many thanks :)

andyclapham
Автор

Thanks! You made the PHP call quite complicated. No need to, just simple HTML code can call a second page.

raulrrojas
Автор

Note AJAX is not only a link between PHP and JS. It just makes a request to any provided url. This DOES NOT limit it to PHP files (works with ASP.net, Ruby, Python, .. Even other HTML files)

muziekklas
Автор

Here is a beer for helping me get my project going faster!

robr
Автор

Thanks for the inspiration dude keep up the creativity- loving your work

creativemindz
Автор

thank you for this video it works great:D I made a few changes I whould like to share
little code i found to help it look right on a cellphone
in the <head> I added
<meta name="viewport" content="width=device-width, initial-scale=1" />
it shows up better on my phone so i dont have to zoom every time, I also renamed the controls.php to index.html so i can just use the pi's ip to bring up the buttions

jebe
Автор

Thanks! Works just fine. Looking forward for new cool stuff.

thomasdamerau
Автор

thanks man it really worked i've been looking for this for 2 days. just make shure you have installed php... my webserver just showed the code that was in the php files.

quintenvanginderen
Автор

I love it. Can't wait to try it out

andrewdavis
Автор

Awesome. Very well detailed view and a good explanation on how things are working.

tinujatinpatel
Автор

If you give the buttons name attributes then you can trigger the LED state using one PHP file (like triggerled.php), making it more cleaner. Of course that would mean checking the value of that input.
I assume it was intended for it to be set out in a basic way.

Also, I've noticed that you've used the system() function in this video. Does it matter which three functions (system(), shell_exec() and exec()) should be used?

NodePoint
Автор

Yay he said Nginx correctly this time, virtual high five! 

Honeypottr
Автор

Great job bro... As i able i will support you with money
And thanx for posting this usefull video

MrAnsariu
Автор

Great video, Tinkernut.keep this good work coming.
I have a doubt:The process to interact the webpage with the device would be similar to make if I use an Arduino instead?if so, would be doable to implement using a smartphone app to control the Raspberry/Arduino? 

joaofelipe
Автор

This is great. I'd like to know what's the best lightweight webserver for the RPI, i use apache on my daily basis but can't tell which one is better in terms of resourses and extensibility, just in case..

ingjms
Автор

Ohh cool, Im assuming you can also use CSS on top of HTML to give that controller a nice and clean look.

beauvsb