Setting Up Dependencies

If you are using a Banana pi which already has the necessary software flashed, you probably can skip this.

(optional) Give your Banana Pi M2 Zero Internet:

If there are dependencies you need to install, or if you have to upgrade to debian 12, you will need internet.

For good signal, you will want to plug an antenna into the WIFI antenna port, like the Molex antenna shown in the photo here.

Now you're going to have to configure internet. Do:

This will bring you to the armbian config screen.

Next, go to Network -> WiFi, select your internet, enter the password, and hit connect.

Exit the armbian config, and try pinging 8.8.8.8, you likely will still not be able to. This is due to weird network interface priorities. To fix this problem, enter the following command:

If you ping 8.8.8.8, and you get a response, you are connected to the internet.

Debian 12

Ensure you are on debian 12. The way to check that is by entering the command

If you are on Debian 12, you can skip to the next step. If not, you will have to upgrade to debian 12. Here is a guide on how to upgrade from debian 11 to debian 12. Note: You will need an internet connection on the Banana PI M2 Zero to do this. https://www.cyberciti.biz/faq/update-upgrade-debian-11-to-debian-12-bookworm/

Configure UART3 Port on Banana Pi

We have UART3 going from the Banana Pi to the Cube. Sadly, this is not enabled by default. I wrote a guide here which shows how to enable UART3 on the Banana Pi M2 Zero. It is thankfully not very difficult to do. Just involves changing a setting.

Install IFT-ILX-MavCam on Banana Pi

We have our own repository here which contains the code for IFT-ILX-MavCam, but for simplicity, I also provided files that I already prebuilt in our google drive here, so you don't have to worry about building it yourself.

Simplified Hardware Connections Diagram:

Video

Last updated