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

This is a special forum devoted to educators using Adafruit and Arduino products for teaching.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
tkinsman
 
Posts: 170
Joined: Sun Sep 25, 2016 2:04 pm

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

Post by tkinsman »

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.

User avatar
blnkjns
 
Posts: 963
Joined: Fri Oct 02, 2020 3:33 am

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

Post by blnkjns »

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

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

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

Post by tkinsman »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “For Educators”