Browser-Controlled Robot


#1

This project, using Web Sockets, does what I want but I would also like to read the values of the sensors and have them displayed in the browser page. Is this possible and, if so, how is it done?


#2

Hey ColinWatt,
That’s great!
I’ll have to go back and look at the code; it should be if you know which sensors are running on which port. If I remember correctly, this program serves up a static page; I believe you could write a python program that simply edits the page in the background with sensor values; does this make sense?

Let me know if it does or does not make sense. Happy to help you get going!

John