Uncategorized

FPV 3DR Radio Notes

***References***

(1) [AliExpress 3DR 500MW Radio Telemetry 433Mhz 915Mhz Air and Ground Data Transmission Module for APM Pixhawk Flight Control FPV – US$25][1]

(2) [3DR Radio V2 Quick Start Guide – 3D Robotics][2]

(3) [Mission Planner Documentation – Ardupilot][3]

(4) [Mission Planner Commands (MAVLink protocol) – Ardupilot][4]

(5) [APM 2.8 Flight Controller with Built-in Compass Arduino Compatible][5]

(6) [Pixhawk PX4 AutoPilot 2.4.7 32-bit ARM Flight Controller with 4G SD Card – US$90][6]

(7) [PX4 Autopilot User Guide -Master][7]

(8) [Terminal Mode Mission Planner][8]

(9) [Rpi UART to GPS Module Connection Problem (with Serial Loopback and Repeat Send Byte Python Program)][9]

(10) [Rpi3 to Arduino Serial UART Communication Tutorial][10]

(11) [Rpi3 LIRC Library and UART IR Transceiver Setup Problem][11]
[1]: https://www.aliexpress.com/i/32799841052.html
[2]: https://3dr.com/wp-content/uploads/2013/10/3DR-Radio-V2-doc1.pdf
[3]: http://ardupilot.org/planner/docs/mission-planner-overview.html
[4]: http://ardupilot.org/planner/docs/common-mavlink-mission-command-messages-mav_cmd.html#common-mavlink-mission-command-messages-mav-cmd
[5]: https://robu.in/product/apm-2-8-multicopter-flight-controller-2-5-2-6-upgraded-built-compass
[6]: https://fr.aliexpress.com/item/32222334441.html
[7]: https://docs.px4.io/master/en/index.html
[8]: http://ardupilot.org/dev/docs/mission-planner-terminal.html
[9]: https://raspberrypi.stackexchange.com/questions/98840/is-my-gps-module-fried
[10]: https://raspberrypi.stackexchange.com/questions/96184/raspberry-pi-to-arduino-serial-uart-communication-problem
[11]: https://raspberrypi.stackexchange.com/questions/103452/raspberry-pi-3-linux-infrared-remote-control-lirc-driver-problem
[12]: https://i.stack.imgur.com/YSpGQ.jpg

===========================================

Asked 
Active today
Viewed 38 times

 

1

 

I am trying to set up the FPV telemetry radios (Air and Ground Module 433MHz).

  1. I have connected the Ground module to my laptop (USB) and air module to Raspberry Pi 4 UART pins.
  2. Using Mission planner I was able to configure the settings of the radios. I can confirm the connection by the green solid led light on both the modules.
  3. I use the mission planner terminal to send the data from ground
    module to air module and test the connection.When I send some command (e.g, help), I can see red led light blinking on both air and ground module indicating data is received.

Now, I need to capture the data sent by the ground module and display it on raspberry pi terminal. However, I am unable to achieve this activity. I have searched a lot on this task but could find nothing. It would be really helpful if someone could help me in this regard with any relevant websites/codes available, or steps to solve the issue.

Thanks

  • Hi @TheLazy, Ah, let me see. Let me first summarize you situation. (1) Your radios are configured and connected, and testing sending/receiving commands looks OK, as indicated by the green and red LEDs. (2) Now suppose the ground module sends a text message “HELP “, and air module receives the message OK. (3) You problem now is how can Rpi connected to the air module display the received text message “Help “, in the terminal window. Please confirm if I understand you situation and problem correctly. – tlfong01 yesterday    
  • And can you give me the web links to your radios, any user guide or tutorials you are following, like the following? (1) AliExpress 3DR 500MW Radio Telemetry 433Mhz 915Mhz Air and Ground Data Transmission Module for APM Pixhawk Flight Control FPV – US$25, aliexpress.com/i/32799841052.html (2) 3DR V2 Quick Start Guide, 3dr.com/wp-content/uploads/2013/10/3DR-Radio-V2-doc1.pdf. – tlfong01 yesterday   
  • Hi @tlfong01, Your understanding is correct. I want to display the message sent from ground module (using mission planner) on the Raspberry pi terminal at air module end. The 1st web link shared by you is the radios I am using. I am not following any specific tutorial/ guide. Its just bits and pieces from the internet which we followed and made upto basic stage of connecting the radios and verifying it. – TheLazy yesterday
  • Hi @TheLazy, Oh my goodness. You must read the friendly manuals. I don’t talk to lazy guys not reading anything. Now read this PX4 stuff and let me know what do you think about it. “PX4 Autopilot User Guide”: docs.px4.io/master/en/index.html. – tlfong01 yesterday    
  • Hi @tlfong01. Thanks for sharing the good resource. I went through the basic concepts which led me to Sik telemetry section giving a tutorial of connecting the radios to TELEM1 port of the controller such as Pixhawk/Navio and proceeding further with build instructions. The problem is I don’t have the Pixhawk/Navio controller board. I am trying to interface the airmodule radio directly to the Pi board (Without controller board) and read the data. Please let me know, if I can achieve this without a controller board or It is must to have the controller board in order to proceed. – TheLazy 8 hours ago
  • Hi @The Lazy, Good, so you have a rough idea that the air radio can connect to a PixHawk controller. I agree with you that your question actually has nothing to do with any controller. In other words, you only need the ground and air radio module to answer your question. Furthermore, if the near term goal is to use Rpi to talk to the air module using UART, then even the ground module is not required. / to continue, … – tlfong01 8 hours ago   
  • You only need to (1) use the Misson planner to config the air radio, (2) Connect Rpi UART to the air radio and start talking. If you agree what I am suggesting make sense, then we can start studying this little “Rpi > UART > Air Radio Module” project. Questions, comments, and counter suggestions welcome. – tlfong01 8 hours ago   
  • I agree with the suggestion. My ultimate goal is to decode the data received from the ground module using Rpi > UART > Air Radio Module. – TheLazy 8 hours ago
  • OK. So we agree that (1) Ultimate goal is to use Rpi to decode the Air module’s received data sent from ground module. (2) Near term goal is (a) How can Rpi start talking to the air module, (b) Where to find the data sent by the ground module, (c) How to decode the data. Now we can start with (a). But let me know if (a), (b), and (c) are all the “user requirements”. Please feel free to let me know any other requirements before we start (a). – tlfong01 7 hours ago   
  • Now a couple of questions: (1) Do you have any experience in: (a) Rpi4B Thonny 3.2 Python 3,73? (2) Do you know how to test loopback of (a) Rpi on board UART (using GPIO TxD, RxD pins), (b) USB to UART TTL serial /adapter/cables? (2) Do you have any other relevant experience, eg, Arduino/Rpi HF/RF devices such as SIM800, GPS, or BlueTooth serial module using UART for config and testing? – tlfong01 7 hours ago    
  • lunch time. see you later. cheers. – tlfong01 7 hours ago   
  • I have experience with python 3.7 language. Have worked with arduino, gsm800 interfacing with arduino. Blue tooth. I don’t know to test the loopback part. – TheLazy 7 hours ago
  • (1) Any user experience with terminal emulators, such as Win/Linux/Rpi/Arduino RealTerm, TeraTerm, SuperTerm, puTTY, miniCom, cuteCom? (2) Basic handshaking protocol dialogue such as “AT , OK “? – tlfong01 6 hours ago   
  • Ah, you remind me that I once played with Arduino RF12B 433MHz transceiver. I wrote Arduino IDE C++ programs to interface with SPI RF12B and talk UART. So I guess you have not played with 433MHz RF12B, or something similar, have you? – tlfong01 6 hours ago   
  • I have experience with Teraterm, At commands used for testing blue tooth module. I have not worked with 433MHz RF12. Can we have conversation over email? – TheLazy 6 hours ago
  • Ah, when our comments get too long, system will invite us to a chat room, which is more friendly and flexible than using emails. The bad things of using emails are (1) other visitors can not join in, (2) future visitors cannot check past record. So let us use comments for a longer while. – tlfong01 6 hours ago   
  • I did not know about the comments part. I completely agree with you. – TheLazy 6 hours ago
  • Ah, I used Win10RealTerm to talk UART with BlueTooth serial module, which in turn talks BT with android phone. And about loop back, if you connect the TxD to RxD pin and use TeraTerm to send something eg, “XYZ’ and “XYZ” is displayed “echoed” back in the TeraTerm terminal, and this is loopback test, testing the wiring is OK. Now if you have not used python to do loopback/echoback, then you might need to learn this later. But actually you can use Win10TeraTerm/RealTerm to try to talk to the air radio. Win10 as a developing host is faster than using the stupid Rpi puTTY/minTerm. – tlfong01 6 hours ago   
  • Ok give me some time, I’ll try to talk to airmodule using loopback on raspberry pi using minicom (similar to teraterm). Ill test and give the feedback. – TheLazy 5 hours ago
  • One thing about comments: (1) You are not supposed to use answer as a comments, but a get around perhaps is to give an interactive, progressive, Agile style, muddling through tentative answer, as my suggested edit to your answer. (2) So you can report your TeraTerm experiment in your answer, and if successful, then proceed to read the received data (sent by the ground station) and see how to analyse it. Take you time. No hurry at all. Good luck and cheers! 🙂 – tlfong01 5 hours ago   
  • One more thing: In case you carelessly forget, the WinTeraTerm connection is “crossing over” / (also called “null modem”): TxD this side connected to RxD opposite side, and RxD this side to TxD opposite side. Now this is not loop/echo back, because TeraTerm sends “AT”, and air module returns “OK”. It is two parties talking, not one party looping back. 🙂 – tlfong01 5 hours ago   
  • I am suggesting some editing to your answer, in a way that future FPV radio newbie visitors might hopefully find your answer useful to learn the basic things. Of course it is your answer, so feel free to accept, modify, or reject (just delete it! :)) any of my edit suggestions, to fit your elegant personal styles. – tlfong01 5 hours ago    
  • I found a terminal mode Mission Planner tutorial (Ref 8) you might find useful. I guess the air module has two connectors, USB and UART. The USB connector is for Windows only Mission Planner. For Linix and Rpi terminal mode, you use the UART connector. But I am only 50% sure. And in case you would like to use python UART to talk to the air module, you might like to read Ref 9, 10 for UART talking to GPS and LIRC, and also python UART loopback test program. – tlfong01 2 mins ago   Edit   

 

0

 

OP’s answer

Answer

I have experience with TeraTerm, AT commands for testing BlueTooth module. Perhaps I can use Win TeraTerm or Rpi puTTY to talk to the FPV air module.

/ to continue, …


tlfong01’s edit suggestion to the OP’s answer.

Answer

(1) I am going to use (a) Win10 TeraTerm, or (b) Rpi puTTY/miniTerm to try to talk to the 3DR FPV air radio module.

(2) I will first use Mission Planner to config the air module’s serial UART protocol: 9,600 baud 8N1 etc.

(3) I will then connect (a) Win10 UART/TTL serial cable, or (b) Rpi UART/TTL serial adapter cable to the air module. and hopefully start talking.

(4) / to continue, …


References

(1) AliExpress 3DR 500MW Radio Telemetry 433Mhz 915Mhz Air and Ground Data Transmission Module for APM Pixhawk Flight Control FPV – US$25

(2) 3DR Radio V2 Quick Start Guide – 3D Robotics

(3) Mission Planner Documentation – Ardupilot

(4) Mission Planner Commands (MAVLink protocol) – Ardupilot

(5) APM 2.8 Flight Controller with Built-in Compass Arduino Compatible

(6) Pixhawk PX4 AutoPilot 2.4.7 32-bit ARM Flight Controller with 4G SD Card – US$90

(7) PX4 Autopilot User Guide -Master

(8) Terminal Mode Mission Planner

(9) Rpi UART to GPS Module Connection Problem (with Serial Loopback and Repeat Send Byte Python Program)

(10) Rpi3 to Arduino Serial UART Communication Tutorial

(11) Rpi3 LIRC Library and UART IR Transceiver Setup Problem


Appendices

Appendix A – Mission Planner Servo Command – MAV_CMD_DO_REPEAT_SERVO

Cycle a servo PWM output pin between its mid-position value and a specified PWM value, for a given number of cycles and with a set period.


mission planner 1


 

Your Answer

==========================

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: