ESP32 Remote Control
ESP32 Remote Control
What is the best way to control ESP32 remotely, without using any third-party software?
Re: ESP32 Remote Control
What part of the esp32 do you want to control from remote?
You can configure the esp32 as wifi access point and web server, then connect to the Web page and control almost anything (as long you have the rigth code in the esp32)
You can configure the esp32 as wifi access point and web server, then connect to the Web page and control almost anything (as long you have the rigth code in the esp32)
Re: ESP32 Remote Control
I want to create a webserver accessible from anywhere, to play with my esp32 from an android application.
I can do it when both are on the same network, by simply hosting a server through esp. But I want it when both are not on the same network. To control an esp globally, one way is to use port forwarding through the router.
But, is there any other way which does not use any third-party sites or port forwarding?
I can do it when both are on the same network, by simply hosting a server through esp. But I want it when both are not on the same network. To control an esp globally, one way is to use port forwarding through the router.
But, is there any other way which does not use any third-party sites or port forwarding?
Re: ESP32 Remote Control
You are posting your question in ESP32 Arduino forum.
For Arduino CameraWebServer example is a good basis of remote control via Wifi as Agree007 stated.
You can use the ESP32-CAM module for "ESP32 CAM for FPV and RC":
https://www.esp32.com/viewtopic.php?f=19&t=11337
I like to use ESP32 remote control for debugging whether eg. my soldered pins work fine.
For that a shell to login to whould be nice.
The closest I found is flashing MicroPython to the ESP32.
With my webrepl_client.py you can get this login shell feeling wirelessly:
https://github.com/Hermann-SW/webrepl#webrepl-shell
I used webrepl_client.py for remotely dropping payload from a drone as well:
(an ESP8266 ESP01s module provides enough flash for MicroPython)
https://www.esp8266.com/viewtopic.php?f=15&t=18515
Re: ESP32 Remote Control
I have few queries regarding your examples -HermannSW wrote: ↑Wed Jul 24, 2019 12:05 amYou are posting your question in ESP32 Arduino forum.
For Arduino CameraWebServer example is a good basis of remote control via Wifi as Agree007 stated.
You can use the ESP32-CAM module for "ESP32 CAM for FPV and RC":
https://www.esp32.com/viewtopic.php?f=19&t=11337
I like to use ESP32 remote control for debugging whether eg. my soldered pins work fine.
For that a shell to login to whould be nice.
The closest I found is flashing MicroPython to the ESP32.
With my webrepl_client.py you can get this login shell feeling wirelessly:
https://github.com/Hermann-SW/webrepl#webrepl-shell
I used webrepl_client.py for remotely dropping payload from a drone as well:
(an ESP8266 ESP01s module provides enough flash for MicroPython)
https://www.esp8266.com/viewtopic.php?f=15&t=18515
1) Are you sending control commands for the first examples over the internet?
2) Either using Arduino IDE or Micropython, i cant figure out how to send data to esp32 over internet.
3) Your last example uses ras-pi zero-W, so is of no use to me as i am trying to do it with just esp32.
In layman terms, i need to send a text file from an android phone containing the mac address of android, mac add of sensor and operation to perform lets say turn led on and off to a server. Where either server processes and send the command to sensor or sensor is continuosly checking for any inputs. Not sure, how to make this happen. Anthing in this direction would be really appreciated.
Re: ESP32 Remote Control
> 1) Are you sending control commands for the first examples over the internet?
>
No, in WLAN of home.
> 2) Either using Arduino IDE or Micropython, i cant figure out how to send data to esp32 over internet.
>
WIth the CameraWebServer example there runs a webserver on the EPS32-CAM module.
Just do GET or POST requests to get from or send to data from/to ESP32 module.
> 3) Your last example uses ras-pi zero-W, so is of no use to me as i am trying to do it with just esp32.
>
No, the video is from drone camera, captured with Android drone app.
The command that dropped the payload was sent with webrepl.py to the ESP on back of the drone.
That controls the mini servo at front that drops the payload.
If you want to send data from ANdroid, use browser or web application on Android and do a POST against the ESP32 webserver.
>
No, in WLAN of home.
> 2) Either using Arduino IDE or Micropython, i cant figure out how to send data to esp32 over internet.
>
WIth the CameraWebServer example there runs a webserver on the EPS32-CAM module.
Just do GET or POST requests to get from or send to data from/to ESP32 module.
> 3) Your last example uses ras-pi zero-W, so is of no use to me as i am trying to do it with just esp32.
>
No, the video is from drone camera, captured with Android drone app.
The command that dropped the payload was sent with webrepl.py to the ESP on back of the drone.
That controls the mini servo at front that drops the payload.
If you want to send data from ANdroid, use browser or web application on Android and do a POST against the ESP32 webserver.
Re: ESP32 Remote Control
I can use GET or POST command, but i would need a public server. ESP32 can only host server over WLAN. My question is how to host a server accessible from anywhere in the world.HermannSW wrote: ↑Thu Jul 25, 2019 6:02 pm> 1) Are you sending control commands for the first examples over the internet?
>
No, in WLAN of home.
> 2) Either using Arduino IDE or Micropython, i cant figure out how to send data to esp32 over internet.
>
WIth the CameraWebServer example there runs a webserver on the EPS32-CAM module.
Just do GET or POST requests to get from or send to data from/to ESP32 module.
> 3) Your last example uses ras-pi zero-W, so is of no use to me as i am trying to do it with just esp32.
>
No, the video is from drone camera, captured with Android drone app.
The command that dropped the payload was sent with webrepl.py to the ESP on back of the drone.
That controls the mini servo at front that drops the payload.
If you want to send data from ANdroid, use browser or web application on Android and do a POST against the ESP32 webserver.
- martinayotte
- Posts: 141
- Joined: Fri Nov 13, 2015 4:27 pm
Re: ESP32 Remote Control
Is there any alternative to port forwarding, for creating a public web server?
- martinayotte
- Posts: 141
- Joined: Fri Nov 13, 2015 4:27 pm
Who is online
Users browsing this forum: No registered users and 42 guests