-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions about the wifi mode of tCam-Mini #38
Comments
Hello Gilles, Each image json packet is about 55 kBytes of data so for 8.7 FPS you're looking at about 3.8 Mbps at the data level (obviously raw data rate will be higher). Unfortunately much of the Espressif WiFi stack is a mystery to me. I generally configure it with default settings. According to the IDF website (https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-guides/wifi.html) the stack can support up to 20 MBit/s TCP throughput on 802.11b, g and n networks (I suppose it can't support 20 MBit/s on 802.11b). According to the ESP32 hardware datasheet the typical TX output power for n (and g?) is 13 dBm and for b is 19.5 dBm. I guess when it acts as a station it selects a mode based on the AP's mode but I'm not sure what the default mode is when it acts as an AP. Based on my general experience extending WiFi range the antenna is one of the most important components and you could certainly experiment there. I don't know if it's a possibility but perhaps using a slightly directional ground antenna (that you'd have to keep aimed at the drone) would help quite a bit. In addition making sure you're running on as clean of a channel as possible is always helpful. By default I am using channel 1. From a code perspective there might be two places to look if you're willing to build your own binaries:
Possibly an even more extreme solution would be to use Espressif's Long Range (LR) mode which claims up to 1 km range. But that would probably take more significant changes to the code and (I think) you'd also have to use a ESP32 as the base station (also in LR mode). This is described in the first link I sent you. Good luck! I certainly understand the desire for more range. |
Thank you very much Dan for this information. |
Gilles, I can't speak authoritatively about adding a RF amplifier but I guess it could be theoretically possible. It looks like the ESP32 can be configured to control external RF switches which is what you'd need since you have to have both a TX path and a RX path. You would use a GPIO to switch the TX or RX paths to the ESP32 antenna connection (I guess you could repurpose the GPIO I use and bring out on the Rev 4 board for the Hardware Serial IF). See the following link: Of course you'd also have to have high TX power at the other end since WiFi requires bi-directional communication and there could be legality or regulatory compliance issues and the like to consider. |
Hi Dan, I have purchased a tCam-mini Rev 4 with an external antenna in order to get the maximal range for a drone application in a student project. I use it with a Lepton 3.5. We have reached 120m but we wish to increase it as much as possible (500 m is the objective). So I have some questions about the design of the tCam-Mini:
a) in video mode
b) during image transmission
Thank you for developping nice products.
Best regards
Gilles Brazzini
The text was updated successfully, but these errors were encountered: