Smart Industrial Helmet - Open Source - Part I
How install Android TV 12 and remote controller your Orange Pi Zero 2W?

We begin this series of articles with the goal of utilizing open source hardware and software to democratize access to advanced security technology in small and medium-sized companies.

Hardware Open Source

It's important to have open source hardware that offers long-term support. Orange Pi offers a comprehensive service based on open source products, and for that reason, we began our project by choosing one of its SBCs: Orange Pi Zero 2W


The choice of this SBC is due to:

  • Reduced SBC format

  • Processing power with 4 cores and RAM DDR4

  • Low energy consumption

Software Open Source

Android TV 12 offers a modern, flexible, and visually optimized platform for embedded devices. By integrating it with the Orange Pi Zero 2W, we have access to Android apps and multimedia support, ideal for viewing live video, controlling sensors, or interacting with monitoring software.


Install - Step by Step

Requeriments:

  • MicroSD Card (16 GB or more, class 10)

  • Power Supply USB-C 5V/2A

  • Android TV 12:  Download

  • For burn Android TV 12 image:  Phoenix Card 4.2.8 NOTE: Currently only available for Windows. For the rest of the steps, we'll be using Linux.

  • PC with Android Debug Bridge: Android Debug Bridge - ADB 

Steps:

  1. Open Phoenix Card

  2. Select the Micro SD (Example, unit I: 32Gb or 29565MB) and the "Start Up" option

  3. Click Burn. Once complete, safely remove the card.

  4. Insert the SD card into the Orange Pi Zero 2W. Android TV 12 should boot. The first time, it may take 1–3 minutes. Connect to Wi-Fi and obtain the IP address.

  5. Connection via ADB and Installation of AnyDesk

    1. Run in terminal: adb connect <ip_orange_pi>:5555 

    2. Download and install Anydesk, Plugin AD1 y Plugin AOSP:                          anydesk.apk   com.anydesk.adcontrol.aosp  com.anydesk.adcontrol.ad1

    3. Install AnyDesk and plugins: adb install <carpeta descarga>/andesk.apk

    4. Disable the "Start recording or casting in AnyDesk" prompt. Run the following command in Terminal: adb shell cmd appops set com.anydesk.anydeskandroid PROJECT_MEDIA allow

    5. Configure AnyDesk permissions on Android

    6. Activate the unattended profile with a password and access without an application running

With Android 12 TV installed, plus AnyDesk and its plugins, we'll be able to remotely control the Orange Pi Zero 2W located in the industrial building. In the next article, we'll:

  • Configure USB Camera for loop recording with audio.

  • Power Orange Pi Zero 2W with 18650 batteries

3D Printing Farm - Part II
How automate your 3D store?