ARCHITECTURE:


HARDWARE

Main components to make this system:

QtyPart Description
2Heltec Wi-Fi LoRa 32 V3 board (with antenna & JST battery connector)
1BLE tag – Tile Sticker (per each cat)
1Collar with tag sleeve
12.9" EPD Waveshare display (black and white)
1LiPo battery 3.7V 2200mAh (approx. 35.5 x 77 x 8.4mm)
1HLK TD2010C radar module
1Rotary encoder with push button
1Buzzer (DC 3.3–5V with transistor)
2USB-C female connector, panel mount
2USB-C male connector (with D+ D– or A6 A7 lines)
2Mini rocker switch (slot 13.2 x 9 mm)




Extra materials and small parts:

QtyItem Description
190° male header, 2.54" x 18 (uased at Heltec board J3)
SomeDupont wires (female connectors)
1Long USB-C cable (or power bank)
~10M3x10 conical head screws
~10M3x12 conical head screws
1M4x12 conical head screw
4M2.5x10 bolts (for EPD, often included)
~220gFilament for 3D printed parts (PETG)
-Power supply (standard phone charger, ≥500mA)
-Aluminium tape (for radar shielding)



MAIN BOARDS:

The Heltec Wi-Fi LoRa 32 V3 board has been chosen for this project due to its useful features:

(documentation at: https://heltec.org/project/wifi-lora-32-v3/)


SENSOR CHOICE:

Objective of this system is detecting our cats when they’re out of the door and waiting for us to let them inside. On below table are listed the sensor’s types considered, and the reasons leading to the final choice.

Sensor type

Pros, cons. considerations

Cat’s microchip

Cat’s microchips are passive RFID: These components can be read at no more than 10~15 centimetres of distance, not a reliable option for this application.

These sensors can be reliably used in small and obliged passages, like the cat flap doors.

We cannot modify the door, due to building’s policy, so these cat’s flap doors weren’t an option for us.

PIR

(Passive Infra-Red) sensors are largely influenced by surrounding temperature.

I haven’t tried, but I think it will be difficult to find a setting working both in winter and in summer; Furthermore, our door points to west, so often the sun hits it theoretically reducing the PIR sensors’ reliability.

Camera

I like computer vision, but I haven’t even consider it as a viable option.

This system must especially work in winter, where in The Netherlands there is little light; A camera based, will also require massive training to distinguish our cats from the many others in this large garden, under very different light conditions.

I feared this way would turn into an endless project.

BLE tag

(Bluetooth Low Energy) are small, battery-powered devices using Bluetooth to transmit data wirelessly. This is perfect to distinguish our cats from the others, but determining the distance from the sensor is not reliable.

24GHz FMCW radar

FMCW (Frequency Modulated Continuous Wave) can determine the distance of reflective objects (metal and water); It isn’t influenced much by light or temperature.

Another positive aspect is that it can be place inside, as the 24GHz can still pass through (non-metal) materials.

This technology has become very popular to sense human presence, leading to a good option of choices and rather low cost.

The radar module used in this project has been specifically developed to sense human’s presence, yet it works well with cats as well.

This seemed a good way to only sense the cats once waiting in front of the door.

Others ?

Of course, there might be the technologies out there that didn’t cross my mind 😊

BLE tag + 24GHz FMCW radar

By combining the features of the BLE tag and the 24GHz FMCW radar it seemed the way to go for our specific case.

In case the radar senses a movement, the BLE scanner gets activated.

The sensing from the radar triggesr a visual feedback, while the sensing from the radar and the detection of our cats also trigger the buzzer.


3D PRINT FILES:

There are a total of 10 parts to be printed.

The stl files are avaulable at: https://github.com/AndreaFavero71/cat_at_the_door/tree/main/stl

In case you'd like personalizing your build, step files are also available: https://github.com/AndreaFavero71/cat_at_the_door/tree/main/stp


CODE:

All coded in MicroPython.

The code is availabe at https://github.com/AndreaFavero71/cat_at_the_door/tree/main/src


INSTRUCTIONS:

For the details, I encourage you to give a look to the 70-page instruction  manual:  https://github.com/AndreaFavero71/cat_at_the_door/blob/main/doc/How_to_make_CAT_AT_THE_DOOR.pdf

The manual is organized in several chapters, divided into 8 main sections:

#SectionDescription
1)IntroductionProject presentation
2)SuppliesList of necessary parts
3)Make3D prints, wiring, assembling, etc
4)ProgramProgramming the boards
5)TuningAdjusting the settings to your case
6)TroubleshootingAn initial guide on what could go wrong, and how to move on
7)How to use itExplain how to use this system
8)InfoSide information

CURRENT STATUS:

The system is up and running since a few days (June 01, 2025) , and and it is working as desired.