Monitoring x crime prevention IoT system

With the development of technology, our lives have become richer. DX is progressing in various fields, and its momentum will increase more and more in the future. Nursing care is one of the fields where DX is desired. The aging of the population is accelerating in Japan, and it is expected that the number of elderly people living alone will continue to increase.

This time, we will introduce an IoT solution example based on the concept of watching over the elderly living alone. In addition, it is possible to switch to the function as a security camera when the user goes out. These functions were realized by mainly using Infineon 's sensors and PSoC.

Operation overview

Motion sensor x camera x Wi-Fi x cloud IoT solution

Human sensor x wireless x cloud IoT solution
Human sensor x wireless x cloud IoT solution

Video used

List of products used this time

  • MCU: Infineon PSoC® 6 (Arm Cortex-M0+, Arm Cortex-M4)
  • Wi-Fi: Infineon CYW43012
  • Human sensor: Infineon BGT60LTR11AIP (60GHz millimeter wave radar)
  • Camera module: I2C, SPI interface, JPEG compression (640x480)

Block Diagram

<Processing flow>

(1) Human sensor constantly senses human movement

(2) After a certain amount of time has elapsed without motion being detected ⇒ Take a picture and send the image to the cloud

(3) Image display on website

(1) Human detection by 60GHz millimeter-wave radar

A 60GHz millimeter-wave radar (BGT60LTR11AIP) provided by Infineon is used as a motion sensor. BGT60LTR11AIP can detect human movement up to 5m away without a microcomputer. The control is done with the GPIO pins of PSoC® 6, and it sends a signal when it detects human movement.

As of February 2022, the Radar module used in this demonstration has not yet acquired domestic technical compliance certification, so Radar is not operating during shooting, and has been edited so that you can see the operation image.

(2) Taking pictures with PSoC® 6 + CYW43012 and sending image data to the cloud

Cloud service used: AWS (Amazon Web Service)


<Watch over mode>

If a person's movement cannot be detected for a certain period of time, it is assumed that the person has fallen. In that case, after taking a picture with the camera module, connect to the network with WLAN by CYW43012. The captured photos are sent to AWS by socket communication.


<Security mode>

When users go out, they can switch to security mode from the website. Security mode will take a picture when a person is detected by the 60GHz mmWave radar and send the data to AWS.

(3) Display on the website

This time, I created a website by using AWS.
On the website, in addition to the photo and the time it was taken, you can check the last log of when human movement was detected.
Also, when an image is uploaded, AWS notifies LINE of the message and URL.

Enclosure outline

The box I made this time is as shown in the figure below.

<First layer>
We have installed a motion sensor to detect human movement, a camera module, and a red LED that lights up when taking a picture.

<Second layer>
CY8CKIT-062S2-43012 with Infineon 's PSoC® 6 and CYW43012 is used to control each module and transmit data to the cloud via Wi-Fi.

<Power supply>
Mobile battery: 5V/2.1A, USB output

FW development

Development environment

I used ModusToolbox, an integrated development environment provided by Infineon.

Modus Toolbox 2.3

Functions list

  1. 60GHz millimeter-wave radar interrupt processing and measurement of elapsed time due to human detection signal
  2. Camera module control by PSoC® 6 (I2C communication, SPI communication)
  3. Scanning APs with CYW43012, Wi-Fi connection
  4. TCP client in socket communication with AWS

  -Send detection signal, JPEG image data

  - Receive monitoring mode/security mode switching signal from AWS when a button on the web page is pressed

Product detail page

Inquiry

Please contact us if you have any questions regarding the article.

Infineon manufacturer information Top

If you want to return to Infineon Manufacturer Information Top, please click below.