This repository contains complete hardware and software resources for the development and implementation of a new extension module for the HAPCAN home automation system.
Modul DPS is an open-source printed circuit board by Poky88, from the Poky88/HAPCAN_Modul_RFID_CTECKA repository on GitHub. It is a 2-layer board of 57.8 × 46 mm with 52 parts on 79 nets, routed with 530 tracks and 65 vias.
It is built around the ESP32-WROOM-32, TJA1051T/3/1 and TSR 1-2433E, with the TSR 1-2450E, BC817-25-TP and RJ45 among its other parts. Its parts include 15 resistors, 13 capacitors, 7 connectors, 5 ICs and 5 diodes. It belongs with the ESP32 boards of this library.
This repository contains complete hardware and software resources for the development and implementation of a new extension module for the HAPCAN home automation system. The module enables contactless user identification using RFID technology and subsequent control of smart home output elements via the CAN bus. This project was created as part of a bachelor's thesis.
Fig. 1: Module - 3D visualization
Features
Contactless control: Output actuator control using RFID technology
Access management: Setting access rights via the official HAPCAN Programmer application
Universal output: Ability to control any actuator operating at 24 V
Easy installation: Housed in a protective enclosure for standard in-wall flush-mount electrical boxes
Connection options: The module can be connected to the CAN bus using an RJ45 connector or a screw terminal block
Full compatibility: The device respects the HAPCAN protocol and communicates seamlessly with it
Tag indication: Indicator LEDs signal when a tag is scanned
Hardware
The schematic design and printed circuit board (PCB) layout were created using KiCad. All project source files and complete manufacturing files are available in the respective folders.
PCB Model - TOP
PCB Model - BOT
Fig. 2: PCB module visualization
Software
The complete firmware was developed in the Arduino IDE environment and is divided into two main parts. The operation of the NFC reader is handled by the Hapcan_NFC.cpp source file. CAN bus communication, module configuration, and interaction with the Hapcan Programmer application are managed by the second source file, HapcanProtocol.cpp. Both parts include corresponding header files for function declarations and library imports. To help understand the core program logic, flowchart diagrams of both main processes are provided below. The complete source codes are located in the attached folder.
Fig. 3: Flowchart - NFC Reader Operation
Fig. 4: Flowchart - HAPCAN Protocol Operation
Module Construction
The complete module is housed inside a custom-designed protective enclosure. This case serves not only a protective function but also secures the NFC reader in the optimal position for reliable tag scanning. The fully assembled module is designed for easy mounting into a standard flush-mount in-wall electrical box. A detailed assembly and installation guide is described in the attached documentation, and the 3D models required for manufacturing the enclosure are included in the electronic appendices of the thesis.
The following diagram illustrates an example wiring diagram using an electric lock. For correct operation, the module must be connected to the CAN bus and linked with a Button module.
A bass fuzz for my good friend! Don't tell him, it's a surprise. Starting with a Boss MT-2 (I know, ew, don't tell anybody) because that's allegedly how Arion Salazar got most of his fuzz tone's on Third Eye Blind's…
Ce repo est un site de documentation réalisé par l'équipe des première et deusième années pré-ingénieur de l'école Unilasalle-Amiens, membre de l'association de robotique Unimaker, dans le cadre de leur participation à…
gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube
46 parts269
Questions
How big is the Modul DPS PCB?
It measures 57.8 × 46 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Modul DPS use?
52 parts, built around the ESP32-WROOM-32, TJA1051T/3/1, TSR 1-2433E and TSR 1-2450E. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Modul DPS KiCad files?
From the Poky88/HAPCAN_Modul_RFID_CTECKA repository on GitHub, at the commit this page was made from: the board is Hardware/KiCad 9.0/Modul_DPS.kicad_pcb and its schematic Hardware/KiCad 9.0/Modul_DPS.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Modul DPS design in my own project?
Its repository states no licence, so its author keeps all rights: ask Poky88 before reusing the design.