Laser communication with input from webapp

I would like to create a webapp to be deployed on rasberrypi so that the text entered in the webapp is passed to a laser which is connected to the pi. I’m stuck at how will I make a connection between the laser and django webapp so that the input data is passed to the laser.

Do you have Python code already that communicates with the laser on the Pi? If so, that’s the code you would add to your Django project.

If you don’t, that’s what you need to find.

Or, do you have some other executable (non-Python) for the Pi to do that? You could interface that with your Django project.

1 Like

we Are actually working on that code that communicates with the laser. but even if i do, how will i make a connection with the laser and the webapp? i dont think the laser connects to the network

What is the laser connected to?

Where is the webapp running?