LightningATM Docs
  • This is the Bitcoin LightningATM
  • What will it look like?
  • Requirements
    • Hardware requirements
    • Software requirements
  • LightningATM Setup
    • Hardware Setup
      • Hardware Overview
      • RaspberryPi and Display
      • Assembly and Software
      • Wiring Details
    • Software Setup
      • Configuring the ATM
      • Activating the camera
      • Monitoring the log file
    • Wallet Setup
      • LND (on BTCPayServer)
      • Lntxbot
  • FAQ and common problems
    • Wallet Communication
    • Starting Automatically
Powered by GitBook
On this page

Was this helpful?

  1. LightningATM Setup
  2. Software Setup

Activating the camera

PreviousConfiguring the ATMNextMonitoring the log file

Last updated 5 years ago

Was this helpful?

We will now enable the camera 📸 on the ATM since it is set to disabled by default. Whenever you encounter an error in the log file, that is related to the camera, make sure this is setup correctly.

Go into the config menu of the Raspberry Pi with:

sudo raspi-config
  1. Choose 5 Interfacing Options

  2. Then P1 Camera

    It will ask you Would you like the camera interface to be enabled?

  3. Confirm <Yes>

  4. Confirm <Finish>

    Then you'll be asked Would you like to reboot now?

  5. Confirm <Yes>

As your ATM has restarted, it should now have the camera enabled and be ready to take pictures 🖼 and scan QR codes.

If your camera doesn't recognize QR codes, make sure the focus of the camera is properly adjusted. You might need to adjust it manually with a pair of pliers. Check this

link for more details.