RoboPro PC to TXT via Internet

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!

RoboPro PC to TXT via Internet

Beitragvon vembazax » 16 Aug 2019, 14:22

hi all, I want to ask something. Is there any possible way to connect RoboPro on PC to TXT controller via internet (without Fischertechnik Cloud)?

Because on Fischetechnik Cloud I can't change anything, I want to make project Car with the camera, and control the car via internet (IoT)

Thx for anyone helping

Regard Hasan from Indonesia
vembazax
 
Beiträge: 2
Registriert: 21 Dez 2017, 13:08

Re: RoboPro PC to TXT via Internet

Beitragvon vleeuwen » 16 Aug 2019, 14:30

Yes, in two ways RoboPro is able to connect to the TXT WIFI-based, IP-client (via a WIFI-router) or as server (directly with you PC/Laptop).
See the TXT manual.

a)
As IP client, you need to connect the TXT with a WIFI-route as you do with other devices.
b)
As server, your PC will see the TXT as WIFI end-point
vleeuwen
 
Beiträge: 1055
Registriert: 31 Okt 2010, 23:23

Re: RoboPro PC to TXT via Internet

Beitragvon MasterOfGizmo » 17 Aug 2019, 11:22

It's not 100% clear what you are asking for. It sounds to me like you want to connect your TXT to your local WLAN (e.g. at home) and then access it using RoboPro from an external network like your workplace or the like. Is this true? Then the following is the answer:

This does work but it's more a matter of configuring your home network correctly rather than the TXT.

So what you need to do is to setup your router at home to forward incoming traffic from the external internet to the TXT. Accodring to https://ft-datenbank.de/binary/6435 the TXT/RoboPro use the TCP ports 65000 and 65001 for communication. So you need to configure the so-called port forwarding on your router to forward all incoming RoboPro traffic on TCP ports 65000 and 65001 to the local IP address of your TXT. Then you'll be able to access the TXT from an external network under the IP address provided by your internet service provider to your router. You can use a tool like https://www.myexternalip.com/ to figure that address out. But this external address changes whenever your DSL connection at home is reestablished and you'll have to make sure you always know that external address. That's where services like dyndns come into play ...

To summarize: This is possible but the setup is not trivial without some fundamental knowledge of the internets inner workings.
ftDuino, der Arduino für fischertechnik: http://ftduino.de
Benutzeravatar
MasterOfGizmo
 
Beiträge: 1684
Registriert: 30 Nov 2014, 08:44

Re: RoboPro PC to TXT via Internet

Beitragvon vleeuwen » 17 Aug 2019, 13:31

To set up the TXT as IP-client see the fischertechnik TXT support web site:
https://www.fischertechnik.de/-/media/f ... -mode.ashx

To set up the TXT as WLAN-access point see the manual (part of the RoboPro installatie RoboPro terminal)
chapter "Connecting the TXT Controller to the PC via Wi-Fi"

How to connect from an on-line application and the use of the ports 65000 and 65001, see the official fischertechnik TXT programming support:
https://github.com/fischertechnik/txt_demo_c_online
vleeuwen
 
Beiträge: 1055
Registriert: 31 Okt 2010, 23:23

Re: RoboPro PC to TXT via Internet

Beitragvon vembazax » 20 Aug 2019, 08:31

MasterOfGizmo hat geschrieben:It's not 100% clear what you are asking for. It sounds to me like you want to connect your TXT to your local WLAN (e.g. at home) and then access it using RoboPro from an external network like your workplace or the like. Is this true? Then the following is the answer:

This does work but it's more a matter of configuring your home network correctly rather than the TXT.

So what you need to do is to setup your router at home to forward incoming traffic from the external internet to the TXT. Accodring to https://ft-datenbank.de/binary/6435 the TXT/RoboPro use the TCP ports 65000 and 65001 for communication. So you need to configure the so-called port forwarding on your router to forward all incoming RoboPro traffic on TCP ports 65000 and 65001 to the local IP address of your TXT. Then you'll be able to access the TXT from an external network under the IP address provided by your internet service provider to your router. You can use a tool like https://www.myexternalip.com/ to figure that address out. But this external address changes whenever your DSL connection at home is reestablished and you'll have to make sure you always know that external address. That's where services like dyndns come into play ...

To summarize: This is possible but the setup is not trivial without some fundamental knowledge of the internets inner workings.


yes this is what I mean, I will try it. Thx
vembazax
 
Beiträge: 2
Registriert: 21 Dez 2017, 13:08


Zurück zu Robo Pro / Computing / Software

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 20 Gäste