Raspberry Pi Zero et Power Bank, first stage

This week j & rsquo; got my first Raspberry Pi Zero W. Finally ! Start d & rsquo; a new project that will slightly change my hotspot Wifi based Raspberry !

First Raspberry Pi Zero for a first drone … Yes j & rsquo; s tried & rsquo; experience. And as I am a player I don & rsquo; have not necessarily made a huge investment (DJI compared to several hundred models & rsquo; euro). J & rsquo; have sought an affordable model that & rsquo; we can tweak. My choice s & rsquo; is placed on the XS809HW to just under 50 €. Possibility & rsquo; improve the range, l & rsquo; autonomy and above all capable of carrying a light load, So a P Zero !

J & rsquo; still waiting for his arrival for the first tests that I will share with you (we will attempt to give the video details) !

first tests : equipment

  • One Raspberry Pi Zero W
  • A camera with the appropriate cable. J & rsquo; have used a ZeroCam camera smaller and with the cable to size
  • One Class preferably SD 10 to ensure a good flow and good capacity for storing videos
  • A Power Bank as this one which does “that” 5000 mAh and widely enough to start and run your project.


Nothing complicated outside of the camera connection. Here's how to connect it safely :


Based on different research or There, consumption to save the video is rotated in the 230 mAh, 120 mAh with no wifi camera. With a 5000mAh power bank I can rotate the & rsquo; set hours. L & rsquo; s goal is to then switch to a lighter Lipo battery.

Preparing the SD card to boot directly Wifi

  • Install Raspbian.
    J & rsquo; always have my preference for the Lite version that n & rsquo; no unnecessary installed packages. I recommend Etcher that runs on Windows, Linux and Mac who for Zip will flash your card (check and if necessary)
  • Enable SSH connection at boot after the & rsquo; Installation.
    Just create the file SSH the FAT32 partition root (where is also located config.txt)
  • Enable Wi-Fi connection at boot after the & rsquo; Installation.
    Again a file to the root of the FAT32 partition, called wpa_supplicant.conf. When boot is moved (therefore deleted) to the / etc /wpa_supplicant. If & rsquo; error, or if that does not work first time, stop Raspberry, and put a new file. I confirm that AC works !
    Here is a sample file, works with Orange Livebox

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
  • Disable HDMI to save the & rsquo; energy. In the file /etc/rc.local, add the following line :
    /usr/bin/tvservice -o
  • Also for the & rsquo; d & rsquo economy; energy, it is possible to turn off Bluetooth. In /boot/config.txt file, you can add to the end :

That's the first step. For the software part, it will, via two buttons, propose small functions such as the & rsquo; stop Raspberry Pi, start / stop & rsquo; recording and can start / stop the Wi-Fi to make a mini hotspot to recover files.

On balance, l & rsquo; set weighs just under 95g unprotected. It is reasonable but I think largely improvable with a LiPo battery, probably less powerful but much lighter : Power Bank weighs about 70g and LiPo just under 30g. Overweight is in addition to consume battery faster drone and make it less reactive.

I'll add a box if my 3D printer Dagoma DiscoEasy (Raspberry-led course) works ! And & rsquo; last stage, a small gimbal.

Follow !

You may also like...