0

Help Making a Web Page that moves servos, and turns on/off l
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Help Making a Web Page that moves servos, and turns on/off l

by tkinsman on Mon Jun 07, 2021 1:13 am

I want to find a way to have a web-page on a Raspberry Pi so that when kids move sliders and put buttons, they can see in streaming video that lights come on and off, and that motors move etc... without the kids having to be in the same room as the Raspberry Pi (due to remote learning).

I want to do this from first principles: Something like PHP on the website, and then have the Raspberry Pi use pyGPIO or something to activate actuators. I think it would be fun to have it unlock a door solenoid, like the ones Adafruit sells. Perhaps they have to put in the right combination to "crack the safe."

Does anyone have an experience doing this? All the searches I do, suggest something like the Blynk product -- which does not help me learn, and it does not help me teach.

Pointers to how to get the Raspberry Pi to respond to web clicks would be helpful.

tkinsman
 
Posts: 170
Joined: Sun Sep 25, 2016 2:04 pm

Re: Help Making a Web Page that moves servos, and turns on/o

by blnkjns on Tue Jun 08, 2021 3:05 am

Maybe the website that started this in 1997 can help you:
https://www.drivemeinsane.com/
https://www.drivemeinsane.com/newhowto.shtml

blnkjns
 
Posts: 663
Joined: Fri Oct 02, 2020 3:33 am

Re: Help Making a Web Page that moves servos, and turns on/o

by tkinsman on Tue Jun 08, 2021 11:09 pm

Thank you for the links. I will have a look at them. Perhaps the source code for those web pages can help me learn how to do this.

Best,

-Thomas

tkinsman
 
Posts: 170
Joined: Sun Sep 25, 2016 2:04 pm

Please be positive and constructive with your questions and comments.