I made GoPiGo LANweb instant control project and it is very good I think. But I want to make ONLINE gopigo control system on my next project.How to make GoPiGo Online control system anywhere that I am?Very simple solution is good for me,Plz explain step by step include any hints.Now my network about GoPiGo connected by wi-fi.
You would need the following:
web service(that’s another term for
HTTPserver) or a
TCPserver for controlling your
GoPiGorobot through the use of networks. I’d go with a
web servicebecause then you can actuate your robot with
GET/POSTstatements - terribly useful when doing all this from a web page.
ngrok for exposing a local server to the internet. This is a really cute technology to use and it’s also simple.
web service requires you to select one of the following frameworks:
frameworkwith a batteries included philosophy - it means you can work as a full-stack developer on this project. It’s an object-oriented open-source project.
microframework- it’s going to get your job done - not such a good choice for developing complex projects. For instance, it doesn’t generate an interface for
adminautomatically, just as
framework- it’s going to be simple to create a web server and get things done really fast. It’s
asyncby-design, so the development gets to be a lot easier. It’s scalable. It’s one of the best ways of to get things done (on the backend stuff).
microframework- very similar to
Flask. Since this framework limits you write code in one file, the best
Hope all these suggestions are going to help you go on your quest.
If there are any other questions you might have, please don’t hesitate to ask us.
Instead of creating a web app app like Robert mentioned you can use your own program online. This can be done through remote access. There are two main ways to do this.
- SSH - SSH allows remote access to a terminal. With SSH X-Forwardig you can even run GUI programs.
- VNC - VNC is basically software that lets you remotely access the desktop of a computer.
Now normally these methods don’t work outside your network, but regardless they can be used outside your network.
SSH is a great option mostly because if all you need is a terminal, you’ll in theory get a much faster connection then through VNC. However I am not an exact expert on how it can be accessed online…
Probably he easiest option would be VNC.
Your best bet would be VNC Connect. It lets your easily without advanced configuration access your pi anywhere in the world. You can learn more here:
Word of Caution
All of this sounds great, but remember having a device open for remote connections online is a security risk. So make sure your password is very, very, very, Very, good. Just be aware of that? Though with a good password you should be fine!
The advantage of the way Robert mentioned is probably higher security, and faster response. The advantage of he ways I mentioned are simply it’s simplicity.
Thx for reply!very good moment!
Can we close the thread now?
Do you think there are any other questions related to this matter?
OK now I agree that! Thx so much.