Connect a Raspberry Pi to a Pixhawk running Ardupilot/PX4
We setup a Raspberry Pi 3 to be working as a companion PC for your autopilot, running Ardupilot/PX4.
My personal advise is not to use APM 2.x board. You need a 32 bit autopilot to get the best off Ardupilot. Find a few links below.
Find the Python Script: https://github.com/tizianofiorenzani/how_do_drones_work/blob/master/scripts/01_test_connect.py
*** Get the best and sign up to the course ZERO to DRONE PROGRAMMER here: https://youtu.be/wNw6OFxthpY
*** SHOP NOW at my store and help sustaining the channel:
https://teespring.com/stores/geekmeup
*** Interested in ROS (Robot Operting System)? Checkout my Playlist: https://www.youtube.com/watch?v=N6K2LWG2kRI&list=PLuteWQUGtU9BU0sQIVqRQa24p-pSBCYNv
_________________________
UPDATES AND ERRORS
_________________________
- When setting the serial port, in the file /boot/config.txt add the following line: dtoverlay=pi3-disable-bt
- DISABLE the Bluetooth to get ttyAMA0 (otherwise use ttyS0): edit /etc/modprobe.d/raspi-blacklist.conf
#- Bt
blacklist btbcm
blacklist hci_uart
_______________________________________________________________
*** DISCLAIMER ***
I apologize for the audio quality. I learned my lessons from my mistakes
****
Raspberry Pi is a good starting point, due to the low cost and the great support from the community.
Download Raspbian Lite from here: https://www.raspberrypi.org/downloads/raspbian/
Otherwise you can chose Ubuntu from here: https://ubuntu-mate.org/raspberry-pi/
Connect the board to the Internet with an ethernet cable and plug a monitor and a keyboard. Once ready, login with pi/raspberry and open the raspi-config. Here just activate SSH and then reboot.
From here on we can complete the setup on a computer through SSH.
Connect the Raspberry Pi to the autopilot following the details here: http://ardupilot.org/dev/docs/raspberry-pi-via-mavlink.html
You need to download dronekit and compile it on the Raspberry Pi, in order to avoid annoying warning message in case you connect with both the companion pc and the ground station.
• Find the code on my GitHub: https://github.com/tizianofiorenzani/how_do_drones_work
***** How to get started *******
***Companion PC***
• Get a new Raspberry Pi 3 Model B+ : https://amzn.to/2WKYeW6
• Get a Raspberry Pi 3 Model B: https://amzn.to/2vBmAFQ
• Get 32Gb SD Card: https://amzn.to/2BoCTJ9
• Get a complete Diy kit for your Raspberry Pi projects: https://amzn.to/2KLhn38
***Autopilot***
• Get a professional Pixhawk 2.1: https://amzn.to/2OuwfoD
• Or a complete and affordable starter kit: https://amzn.to/2B2FMBA
A couple of pre-baked rpi images for ArduPilot are https://fnoop.github.io/maverick/#/ and http://ardupilot.org/dev/docs/apsync-intro.html
** Go to my channel: https://goo.gl/BjLGnS
** Check out my latest video: https://goo.gl/ZhcNi4
** Check out my most popular video: https://goo.gl/5KMJnU
******** Merchandise **********************
https://teespring.com/stores/geekmeup
*** JOIN THE FACEBOOK COMMUNITY: https://www.facebook.com/tizianotutorials/
Видео Connect a Raspberry Pi to a Pixhawk running Ardupilot/PX4 канала Tiziano Fiorenzani
My personal advise is not to use APM 2.x board. You need a 32 bit autopilot to get the best off Ardupilot. Find a few links below.
Find the Python Script: https://github.com/tizianofiorenzani/how_do_drones_work/blob/master/scripts/01_test_connect.py
*** Get the best and sign up to the course ZERO to DRONE PROGRAMMER here: https://youtu.be/wNw6OFxthpY
*** SHOP NOW at my store and help sustaining the channel:
https://teespring.com/stores/geekmeup
*** Interested in ROS (Robot Operting System)? Checkout my Playlist: https://www.youtube.com/watch?v=N6K2LWG2kRI&list=PLuteWQUGtU9BU0sQIVqRQa24p-pSBCYNv
_________________________
UPDATES AND ERRORS
_________________________
- When setting the serial port, in the file /boot/config.txt add the following line: dtoverlay=pi3-disable-bt
- DISABLE the Bluetooth to get ttyAMA0 (otherwise use ttyS0): edit /etc/modprobe.d/raspi-blacklist.conf
#- Bt
blacklist btbcm
blacklist hci_uart
_______________________________________________________________
*** DISCLAIMER ***
I apologize for the audio quality. I learned my lessons from my mistakes
****
Raspberry Pi is a good starting point, due to the low cost and the great support from the community.
Download Raspbian Lite from here: https://www.raspberrypi.org/downloads/raspbian/
Otherwise you can chose Ubuntu from here: https://ubuntu-mate.org/raspberry-pi/
Connect the board to the Internet with an ethernet cable and plug a monitor and a keyboard. Once ready, login with pi/raspberry and open the raspi-config. Here just activate SSH and then reboot.
From here on we can complete the setup on a computer through SSH.
Connect the Raspberry Pi to the autopilot following the details here: http://ardupilot.org/dev/docs/raspberry-pi-via-mavlink.html
You need to download dronekit and compile it on the Raspberry Pi, in order to avoid annoying warning message in case you connect with both the companion pc and the ground station.
• Find the code on my GitHub: https://github.com/tizianofiorenzani/how_do_drones_work
***** How to get started *******
***Companion PC***
• Get a new Raspberry Pi 3 Model B+ : https://amzn.to/2WKYeW6
• Get a Raspberry Pi 3 Model B: https://amzn.to/2vBmAFQ
• Get 32Gb SD Card: https://amzn.to/2BoCTJ9
• Get a complete Diy kit for your Raspberry Pi projects: https://amzn.to/2KLhn38
***Autopilot***
• Get a professional Pixhawk 2.1: https://amzn.to/2OuwfoD
• Or a complete and affordable starter kit: https://amzn.to/2B2FMBA
A couple of pre-baked rpi images for ArduPilot are https://fnoop.github.io/maverick/#/ and http://ardupilot.org/dev/docs/apsync-intro.html
** Go to my channel: https://goo.gl/BjLGnS
** Check out my latest video: https://goo.gl/ZhcNi4
** Check out my most popular video: https://goo.gl/5KMJnU
******** Merchandise **********************
https://teespring.com/stores/geekmeup
*** JOIN THE FACEBOOK COMMUNITY: https://www.facebook.com/tizianotutorials/
Видео Connect a Raspberry Pi to a Pixhawk running Ardupilot/PX4 канала Tiziano Fiorenzani
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Raspberry Pi Servo Motor ControlPixhawk, Piksi Multi, Sabertooth - Autonomous Robot Ground Rover SetupConnecting Raspberry Pi w/ Pixhawk and Communicating via MAVLink ProtocolArdupilot Autonomous Soaring - First Test - RCTESTFLIGHT -The Cube Pixhawk 2 Autopilot and Flight Controller Explained - All Versions Carrier BoardsHow to setup a Pixhawk flight controllerRaspberry Pi 4 Getting StartedMIssion Planner Secrets and Hidden FeaturesHow to Control a Drone with the Keyboard using Python and DronekitThe Difference Between a Drone Flight Controller and Flight ComputerHow to make DIY Pixhawk Drone complete tutorial from kit to flyingDroneKit Python Autostart on Raspberry Pi & Pixhawk Hexacopter3G telemetry on ArduPilot 2.5 (APM) via a Raspberry PI (RPI)We built a Self-Driving RC Boat (ArduPilot Rover)First Look: HolyBro Latest Pixhawk 4 Flight ControllerPRECISION LANDING | with OPENCV and ARUCO Markers | Part 1Top 8 Raspberry Pi DistrosFlight Controller Basics for Complete BeginnersDIY ROV Software Setup Tutorial, Raspberry Pi4G (LTE) Telemetry and Control of Pixhawk using Pi3