TNS
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
AI / Edge Computing / Emerging technologies

Integration of AI With IoT Brings Agents to Physical World

We explore the hardware, software architecture, and integration features of SenseCAP Watcher, highlighting its use cases for AI developers.
Oct 8th, 2024 7:46am by
Featued image for: Integration of AI With IoT Brings Agents to Physical World
Photo by Jorge Ramirez on Unsplash.

The rise of generative AI and LLMs is going to significantly impact the Internet of Things (IoT) and edge computing. With the evolution of small language models and on-device models, edge computing is beginning to leverage AI. Developers can now combine sensors, edge devices running on-device models, and multimodal AI models running in the cloud to build innovative solutions. This approach, when combined with agentic workflows, takes automation to the next level.

One of the early examples of such innovation is the SenseCAP Watcher, an innovative physical AI agent developed by Seeed Studio, which is designed to augment the capabilities of smart environments. It combines IoT, edge computing, on-device models, and multimodal AI models running in the cloud (or a data center) to run agentic workflows.

This article explores the hardware, software architecture, and integration features of the SenseCAP Watcher while highlighting its potential use cases for AI developers.

Hardware Overview

The SenseCAP Watcher stands out due to its comprehensive hardware design. It incorporates several critical components that work in harmony to deliver an intuitive user experience.

At the heart of the Watcher is the OV5647 camera module, which enables advanced computer vision capabilities. This component facilitates real-time monitoring and analysis of the environment.

Equipped with a microphone and speaker, the Watcher supports voice interactions, allowing users to issue commands and receive audio feedback seamlessly. The 1.46-inch touchscreen serves as the primary interface for navigating settings and accessing features, enhancing user engagement.

Built on the ESP32-S3 platform, the Watcher supports both Wi-Fi and Bluetooth Low Energy (BLE) for efficient communication with other devices. It also includes a USB port for charging and data transfer, along with a microSD card slot to expand storage capabilities. The Himax HX6538 chip, featuring Cortex M55 and US5 cores, enables the Watcher to handle AI-related tasks, enhancing its operational intelligence and responsiveness. This chip is capable of running on-device TinyML models, providing local inference.

The I2C interface at the back of the device supports over 100 Grove sensors, facilitating expansion and experimentation. There is also a UART interface to connect to external microcontrollers and boards from Arduino and Raspberry Pi.

Software Architecture

The SenseCraft AI platform powers the software architecture of the SenseCAP Watcher. This platform provides a robust framework for task orchestration, data processing, and user interactions.

The Task Orchestration Service enables the Watcher to process tasks via direct voice commands or through the SenseCraft Mate app. Tasks are routed through an HTTP interface, processed by AI models, and returned to the device for execution. The Watcher’s capability to analyze visual data is a game changer, allowing users to select between SenseCraft’s local models and third-party AI services for versatile image analysis and object detection.

A significant advantage of the SenseCAP Watcher is its hybrid processing capability, which leverages both on-device AI models and cloud-based LLMs. This flexibility allows developers to choose the best processing route based on the task requirements — whether they prioritize speed and responsiveness with local models, or leverage the extensive capabilities of cloud-based LLMs for complex analyses.

The Watcher’s capability to analyze visual data is a game changer.

The integration of SenseCAP Watcher with SenseCraft AI is a key differentiator in its functionality. The device can leverage both local processing and cloud-based LLMs, providing developers with multiple deployment options to enhance application performance. Users can choose between cloud-efficient processing, hybrid smart processing, and local secure processing flows — each offering a unique balance of efficiency, data security, and operational control.

When the agent selects the cloud-based LLM, the software behind the scenes converts the camera’s keyframe into a prompt and sends it to a highly capable multimodal AI model, which extracts the description in a structured format. Based on the response, it triggers the rest of the workflow. It is also possible to send the prompt to a local LLM running in a developer workstation or a powerful edge device, such as Nvidia Jetson Orin.

The device can deliver alerts through various channels, including push notifications via the SenseCraft cloud, UART connections to other hardware, and HTTP connections to local servers, ensuring users receive timely updates on monitored events.

Additionally, the Watcher supports integration with popular IoT platforms, such as Node-RED and Home Assistant. This compatibility allows developers to create complex automations and data flows, making it a versatile tool for various applications.

Key Use Cases and Scenarios

The SenseCAP Watcher’s capabilities make it ideal for a wide range of applications. In smart home environments, the Watcher can monitor activity, detect unusual behaviors, and provide alerts to homeowners. For instance, it can recognize when a person enters a room and send a notification, enhancing security and awareness.

The open source nature of the device encourages developers to explore its capabilities, experiment with different sensors, and contribute to the growing ecosystem around the SenseCraft platform.

In retail settings, the Watcher can track customer movements and interactions, enabling store owners to analyze traffic patterns and optimize layout strategies for improved customer engagement. Similarly, in industrial automation, the device serves as a behavior sensor, providing real-time insights into equipment status and workforce activity, leading to reduced downtime and improved operational efficiency.

Developers looking to leverage the SenseCAP Watcher can easily get started by following comprehensive installation instructions, which include device binding and network configuration. The SenseCraft Mate mobile app serves as the primary interface for managing tasks, monitoring performance, and receiving alerts. It also facilitates firmware updates and device customization. The open source nature of the device encourages developers to explore its capabilities, experiment with different sensors, and contribute to the growing ecosystem around the SenseCraft platform.

The SenseCAP Watcher represents a leap forward in the AIoT landscape — the integration of AI with IoT technologies. By combining robust hardware with a flexible software architecture and extensive integration options, it provides developers with a powerful tool to create intelligent applications across various domains. The hybrid approach of utilizing both on-device models and LLMs allows for optimal performance tailored to specific use cases, enhancing its usability.

In the next part of this series, I will walk you through the steps involved in building a physical AI agent powered by SenseCraft Watcher and a vision language model. Stay tuned!

Group Created with Sketch.
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.