[[flash_prepare_pi_zero_image]]

Each camera in the plane is driven by a pi zero. There is a prepared image for this usecase, but some planespecific parameters need to be set for each image.

  • Flash image to SD Card (e.g. using Etcher Tool)
  • Set HostName to a unique name in /etc/hostname and in /etc/hosts : e.g. Freddy-cam-l
  • Set Accesspoint depending on left / right camera :
    • On the /boot partition (which normally gets automounted in windows), open the file wpa_supplicant.conf:
      • Get info for AP names and passwords from the network description.
      • Write info in wpa_supplicant.conf :
        • cam-r : AP1
        • cam-l : AP2

network={ ssid=“AP1” psk=“AP-Password” }

  • Insert image into plane and power up
  • First bootup the filesystem of image (~2Gb) is enlarged to the SD-Card size (64Gb)
    • Implemented by creating a /data partition where the image will be saved
    • Takes ~3-5Minutes
    • Afterwards filesystem resize the camera-capture & webserver service is started
  • You can access each camera via its hostname: ssh searchwing@Freddy-cam-l.local
  • The recorded images can be checked via webserver in the webbrowser: e.g. http:\\Freddy-cam-l.local
  • Preflightcheck can be done with the searchwing-pi-manager on the laptop
  • flash_prepare_pi_zero_image.txt
  • Last modified: 2021/04/18 15:54
  • by wf68spef