Skip to content
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

high-speed data transmission via UART (no need to transfer images) #49

Closed
marseric opened this issue Jan 6, 2020 · 4 comments
Closed

Comments

@marseric
Copy link

marseric commented Jan 6, 2020

This is really a good project, thank you author.
Please tell me, I have two Raspberry Pi 3Bs.
I only need to use it for high-speed data (1 Mbps or higher will be great )transmission via UART (no need to transfer images).
How should I configure it? Thanks a lot

@seeul8er
Copy link
Collaborator

seeul8er commented Jan 6, 2020

Set the data rates as low as 2, 5 or 6 Mbit/s on the air side. I guess you will want to use FEC for your data, so you will need to use the video module.

My suggestion:
You will not need most of the DroneBridge modules so you can disable them.
You can do that by disabling the service.
Running sudo systemctl disable start_db should do the trick.

Because the service is disabled you will need to run the Wifi-Adapter setup script manually on boot. To do that call python3.7 /home/pi/DroneBridge/startup/init_wifi.py on the air side and python3.7 /home/pi/DroneBridge/startup/init_wifi.py -g on the ground side. After that you can run the data transmission.

Here is some more detailed info on how to use the video module. On the air-side something like

sudo cat myUARTdatasource | video_air -n wifiinterface -n -c 200 -t 2

should read & send.

To receive call sudo video_gnd -n wifiinterface -c 200 -u N | tee output.txt to write to a text file. Adjust this to your needs

@seeul8er
Copy link
Collaborator

seeul8er commented Jan 6, 2020

If the data rates are low enough some of the cheaper LoRa ESP32 modules could be a better choice. They are less complex, cheaper and will probably give you more range. Not sure if there is a ready to use firmware for your purpose.

@marseric
Copy link
Author

marseric commented Jan 7, 2020

Thanks, you are so kind. I will follow your instructions. Thank you again

@marseric
Copy link
Author

marseric commented Jan 7, 2020

I have tested your esp32 project and it works very well, but its UART speed is limit to 115200bps, so. .

@seeul8er seeul8er closed this as completed May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants