Documentation
Pypilot user manual (en)
Pypilot user manuel french (pdf)
ENGLISH : We recommend installing pypilot on a small Pi Zero W or Zero 2W. Adding an IMU compatible with the Pi's 3.3V I2C bus*, installing an SD card with a stable image of tinypilot (pypilot with the lightweight tinycore linux system), and pairing it all with an efficient motor controller is all it takes to make a capable autopilot. Tinypilot computer has the advantage of being very energy-efficient and can be started and stopped with a simple switch, without any precautions. It will work perfectly if the Pi 4 or 5 is not running, but it will still be controllable by the Pi 4 or 5 and the multiple control possibilities enabled by pypilot. You will find higher an electronic diagram of a simple tinypilot computer, showing what is essential and what is optional.
* An ICM2948 module with only a few capacitors in addition to the IC will not be able to be connected directly to the Pi's I2C bus. While all MPU9255 ICs are directly compatible with the Pi's 3.3V I2C bus, the ICM2948 ICs are only compatible with a 1.8V I2C bus. The ICM20948 is more powerful and consumes less power. But even if the ICM20948 integrated circuit can be powered at 3.3V, this is misleading because to be able to use it with a Pi or an Arduino, it is also necessary to supply +1.8V to the pin8 (VDDIO : power supply for the I2C interface supporting +1.95V max) as well as components allowing level shifting to allow I2C communication at 3.3V with a Pi and at 5V with an Arduino. You must check that the ICM20948 module you buy has an I2C bus that is directly compatible with a Pi or an Arduino. It must have a 1.8V regulator and a few transistors in addition to the capacitors.
FRENCH : Pour une bonne robustesse de votre pilote automatique, nous vous conseillons d'installer pypilot sur un petit Pi Zero W ou Zero 2W. A jouter une IMU compatible avec le bus* I2C 3.3V du Pi, installer une carte SD avec une image stable de tinypilot (pypilot avec le système linux allégé tinycore) et associer le tout à un bon contrôleur de moteur pour obtenir un pilote automatique performant. Ce pilote aura l'avantage de consommer très peu et de pouvoir être démarré et arrêté avec un simple interrupteur, sans précaution. Il fonctionnera parfaitement si le gros Pi n'est pas en fonctionnement, mais il restera toujours contrôlable par le gros Pi et les multiples possibilités de contrôles permises par pypilot. Vous trouverez plus haut le schéma d'un calculateur tinypilot simple montrant ce qui est indispensable et ce qui est facultatif
* Un module ICM2948 avec seulement quelques condensateurs en plus du circuit intégré ne pourra pas être connecté directement au bus I2C du Pi. Alors que tous les circuits intégrés MPU9255 sont directement compatibles avec le bus I2C 3,3 V du Pi, les circuits intégrés ICM2948 ne sont compatibles qu'avec un bus I2C 1,8 V. L'ICM20948 est plus puissant et consomme moins d'énergie. Mais même si le circuit intégré ICM20948 peut être alimenté en 3.3V, c’est trompeur car pour pouvoir l’utiliser avec un Pi ou un Arduino, il faut en plus alimenter en +1.8V la broche 8 (VDDIO : alimentation de l’interface I2C supportant +1.95V max) ainsi que des composants permettant le décalage de niveau pour permettre la communication I2C à 3.3V avec un Pi et à 5V avec un Arduino. Vous devez vérifier que le module ICM20948 a bien un bus I2C directement compatible avec un PI ou un Arduino. Il doit impérativement avoir un régulateur 1.8V et quelques transistors en plus des condensateurs.