Close

What is Open Smart Kit?

A project log for Open Smart Kit

Open source, flexible, modular hardware modules with Home Assistant compatibility for any of your automation needs

strangerandstrange.rand 08/08/2023 at 13:580 Comments

Open Smart Kit (OSK) is a set of open-source ESP32-based modules ideal for a variety of automation tasks, including home automation. Each of the modules has its purpose or, let's say, unique capability, but all of them belong to the same ecosystem.

A bit of history

This project started years ago, intending to create a more or less universal module for different kinds of automation. Initially, we were using an ATmega 328P microcontroller from Microchip. Those early versions were relatively limited due to the selected microcontroller (not much RAM and flash, no native Ethernet support) though they defined the main characteristics:

It was clear that the module requires a better microcontroller with more resources, computation power, and better connectivity. At that time, ESP32 was slowly replacing ESP8266 as the main chip for DIY projects, so we selected it as a 328P successor. In addition to more resources (2 fast cores, up to 16 MB flash, Wi-Fi, Bluetooth) while keeping full Arduino compatibility, it allowed us to use FreeRTOS with its broad capabilities.

Why we started this project? Is there nothing similar that is ready to use?

The answer is yes and no. When we started the automation setup for our own homes, we found a gap between ready-to-use devices and Arduino-like hobby tools. But let's start with the requirements:

With different Arduino modules, we can satisfy all requirements except the first one. While those modules are great for prototyping, they are for sure not ready-to-use, not compact, and rarely enclosed properly.

 With modules from big brands, we see a bunch of different problems:

What OSK offers?

Open Smart Kit tries to combine things from two different worlds and provide ready-to-use modules (hardware-wise) while kipping all benefits of a DIY solution. We define such primary features/advantages of the OSK:

Modularity

Each OSK module consists of four required PCBs (power supply, IO, controller, and main board), one communication board to support RS485 or CAN bus, and an optional extension board (SD card, Ethernet, RTC, etc.).

The power supply converts the input voltage to the voltage required for the module components. It achieves this in two stages:

  1. High-efficient (step-down) DC-DC converter to convert voltage from 12V to 5V.
  2. Low dropout linear regulator - from 5V to 3.3V.

All stages additionally have different kinds of protection: overcurrent, thermal shutdown, etc.

IO board responsible for:

The controller board is the heart of the whole module. It contains the ESP32 microcontroller and additional components required to drive it properly and comfortably, including USB to UART interface, USB Type-C socket, status LED, voltage supervisory circuits, etc.

The main board is the only board that has a different schematic per each module type. Also, it has sockets for all previously described bords (except the communication board, as it connects directly to the controller board) and pluggable terminal blocks to connect power, sensors, and different devices.

Schematics for the boards are available in the OSK_Hardware repository.

Available modules

In the current stage, we developed three types of modules:

  1. The Relay S1 comes with 8 mechanical relays that have two contacts each, as well as 16 I/O. With these relays, users can easily control up to 6A for both 250VAC and 30VDC.
  2. The Relay A1 comes with 8 solid-state relays and 16 I/O. A user can control up to 2A 240VAC using those relays.
  3. The DC S1 has 6 power MOSFETs and 16 I/O. A user can control up to 6A 48VDC using those MOSFETs.

Different sensors or output devices can be connected using 5V/12V tolerant I/O terminals to all OSK modules.

In the table below, you can see a comparison of the available modules.

* Available via extension board

Who are the modules for?

Open Smart Kit was created by programmers for programmers (with the initial intention to automate our homes) so users can develop custom firmware and effortlessly flash it with no limitations. At the same time, users who don’t wish to program OSK can set it up in minutes by using a friendly, plug-and-play software like ESPHome.

Where to buy OSK modules?

Currently, we are starting a Crowd Supply campaign to understand the demand and to produce modules in larger quantities at a reduced price.

Discussions