1. Home
  2. /
  3. Projects
  4. /
  5. A Control Panel for IoT-Based Smart Home Automation System
Integra Sources home button.

GET IN TOUCH

A Control Panel for IoT-Based Smart Home Automation System

Embedded hardware development IoT Kernel and driver development Linux Smart Home

A home automation system is a complex network of items that typically involve lights, appliances, electrical outlets, and heating and cooling systems. To control various home automation systems, manufacturers provide a control panel which is operated intuitively by means of a touchscreen display.

A tablet-style smart home control panel with a touchscreen

Request

A provider of a smart home system based in France was looking for a reliable supplier experienced in electronics engineering. They needed to build a custom control panel for their IoT-based home automation system.

Solution

Integra Sources developed a tablet-style smart home head unit based on the Allwinner A20 microprocessor. We made the schematics, designed the layout and provided prototype testing. The device has a 7-inch touchscreen, NFC module to control access to the system, and a radio frequency (RF) module for integrating the tablet into the IoT ecosystem. We also provided software development for a custom Linux build and driver development for different modules of the system.

The segment of the main PCB for the home automation system
The part of the main Smart home control panel PCB

Follow us

Follow us

Technologies Used:

  • We used Allwinner A20 SoC with 2 ARM cores as CPU in this project.
  • We built a custom Linux image for the device.
  • The device firmware was stored on SD Card flash.
  • CMOS sensor (camera) with CSI bus was used.
  • The device has an onboard WiFi module for networking and Ethernet connector.
  • All software was implemented in C/C++ language.
  • The device has several buttons, switches, LEDs, light sensor, microphone, and speaker.
  • For the GUI, the device has an LCD with a touchscreen.
  • We ported Linux kernel driver from a different kernel version for NFC reader.
  • For LED-stripe backlight we implemented a special Linux kernel driver using an existing SPI driver.
  • The device has a special RF-module for custom communication protocol.
  • UI interface was implemented using the QT framework and compiled to support EGLFS.
  • The device has 2 power sources: internal LiPO battery and 5V wall adapter.
  • EAGLE CAD IDE was used for Schematics and PCB design.
  • Flexible PCB technology was used for LED-Stripe, NFC antenna and special LCD adapter PCBs.

Scope of work

Embedded hardware development

We provided hardware development for three printed circuit boards: the main board, the LCD adapter board, and the LED backlight board.

  • Schematics design
  • PCB design
  • Generation files for the manufacturer
  • Hardware testing
  • Debugging

Kernel and driver development

  • Customizing Linux image
  • Driver development

Automated testing

We created a console application that tested the performance of the embedded system. This application allowed us to test each component of the tablet: the display, the touchscreen, the speaker, the microphone, the battery, and so on.

The LCD adapter PCB
Flexible PCB connected to the LCD screen

Challenges solved

IoT circuit board

The main circuit board for the home automation system provides broad wireless network connectivity: via Ethernet, Wi-Fi, Bluetooth, NFC, and radio frequency.

LCD adapter PCB 

This board enables the changing of LCD displays connected to the main circuit board without having to change the main board.

LED backlight PCB

The control panel supports multiple backlight colors with the help of the LED printed circuit board. To enable backlight control on the tablet we wrote a custom LED stripe driver.

NFC module 

The existing driver for the NFC module didn't work with the Linux-Sunxi kernel. We adapted the driver to run on the legacy system.

Qt app with EGLFS

For performance optimization, we used the eglfs plugin to run the Qt application on the embedded board with accelerated graphics without using X11.


Result

The smart home control panel is a custom tablet placed on the wall. It integrates all smart home devices in an all-in-one app. With this device, users have the flexibility to monitor and control their home’s temperature, locks, lights, and other items.


Broad network connectivity

Ethernet, Wi-Fi, Bluetooth, NFC, Custom RF network

Boot time

< 3 Seconds