Wpisy

Sleep functionality for ModBerry 500 CM4 devices

TECHBASE company designed an extended version of Raspberry Pi Compute Module 4 based devices, ModBerry 500-CM4-PM series for better power management in changing conditions of industrial applications. With the use of GPIO the module can manage boot, sleep mode or safe shutdown of the device in terms of unexpected drop in the power network with help of built-in ESP32 module and Arduino environment.

In the last few years developers marketed a wide range of ARM-based development boards, lacking in enhanced power management, especially sleep and wake up modes, commonly used in PC-grade computing. These boards are not adjusted for battery power supply, so it’s natural that sleep/wake functions should be implemented. In connection with the development of solutions based on Linux-SBC, key factor is adding sleep modes to any remote installation

ESP32 based addon module for Raspberry Pi

With built-in algorithms and the possibility to program on your own, the TECHBASE’s sleep/wake addon module can wake the device using a scheduler/timer. The module itself is based on ESP32-WROVER, used in the Moduino X series. ESP32 as a lightweight and low-powered solution is a perfect aid system for Raspberry Pi. Another option is wake on external triggers, e.g. change of input state, etc. All the options for sleep, shutdown and wake can be configured for various scenarios to ensure constant operation of devices, safety of data and continuity of work in case of power failure in any installation.

Sleep mode with additional power backup

Additional power management option for ModBerry devices is sleep functionality enhanced with SuperCap UPS energy backup device. This solution allows programming scenarios including the execution of chosen actions, in order to save data, send a notification and restart/shutdown the controller after completion.

Advanced power management solution

Most advanced configuration includes use of ESP32 module, known from the successful, lightweight Moduino X series, for extra logic for wake up / sleep scripts. This addon will allow the RaspberryPi-based ModBerry device to be woken up by the internal ESP32 controller

Moduino-ModBerry symbiosis allows a wide range of wake-up/sleep schedule customization, in order to perform best and save energy according to power supply state. Arduino and MicroPython environments provide libraries to control different scenarios of data and power management.

ModBerry 500-CM4-PM availability

The preliminary ModBerry 500-CM4-PM devices are available on request and delivery time will be specified by the Sales Dept. depending on the size of the project. Contact via email or Live Chat here: https://iiot-shop.com/product/modberry-500-cm4-pm/

Sleep functionality for ModBerry 500 CM4 devices

TECHBASE company designed an extended version of Raspberry Pi Compute Module 4 based devices, ModBerry 500-CM4-PM series for better power management in changing conditions of industrial applications. With the use of GPIO the module can manage boot, sleep mode or safe shutdown of the device in terms of unexpected drop in the power network with help of built-in ESP32 module and Arduino environment.

In the last few years developers marketed a wide range of ARM-based development boards, lacking in enhanced power management, especially sleep and wake up modes, commonly used in PC-grade computing. These boards are not adjusted for battery power supply, so it’s natural that sleep/wake functions should be implemented. In connection with the development of solutions based on Linux-SBC, key factor is adding sleep modes to any remote installation

ESP32 based addon module for Raspberry Pi

With built-in algorithms and the possibility to program on your own, the TECHBASE’s sleep/wake addon module can wake the device using a scheduler/timer. The module itself is based on ESP32-WROVER, used in the Moduino X series. ESP32 as a lightweight and low-powered solution is a perfect aid system for Raspberry Pi. Another option is wake on external triggers, e.g. change of input state, etc. All the options for sleep, shutdown and wake can be configured for various scenarios to ensure constant operation of devices, safety of data and continuity of work in case of power failure in any installation.

Sleep mode with additional power backup

Additional power management option for ModBerry devices is sleep functionality enhanced with SuperCap UPS energy backup device. This solution allows programming scenarios including the execution of chosen actions, in order to save data, send a notification and restart/shutdown the controller after completion.

Advanced power management solution

Most advanced configuration includes use of ESP32 module, known from the successful, lightweight Moduino X series, for extra logic for wake up / sleep scripts. This addon will allow the RaspberryPi-based ModBerry device to be woken up by the internal ESP32 controller

Moduino-ModBerry symbiosis allows a wide range of wake-up/sleep schedule customization, in order to perform best and save energy according to power supply state. Arduino and MicroPython environments provide libraries to control different scenarios of data and power management.

ModBerry 500-CM4-PM availability

The preliminary ModBerry 500-CM4-PM devices are available on request and delivery time will be specified by the Sales Dept. depending on the size of the project. Contact via email or Live Chat here: https://iiot-shop.com/product/modberry-500-cm4-pm/

Mannie Peterson (aka FellFromTree) developed an embedded operating system called HeliOS, which is specifically designed for 8-bit and 32-bit Arduino boards and is easy to use with the Arduino IDE. HeliOS is said to only have 21 function calls and implements collaboration, event driven multitasking, task notification / messaging, timers, and memory management.

How does HeliOS work?

HeliOS was written with hobbyists, enthusiasts and researchers in mind who want more functionality than what existing task schedulers offer yet want to avoid the size and complexity of an RTOS. HeliOS has only 21 function calls and implements a wide variety of functionality including cooperative multitasking (run-time balanced), event driven multitasking, task notification/messaging, timers and managed memory. Not only is HeliOS easy to use, it is conveniently available through the Arduino IDE Library Manager or from GitHub as a ZIP file and has out-of-the-box support for Arduino AVR, SAM, SAMD and ESP8266. Either way, HeliOS is compliant with Arduino’s 1.5 (rev 2.2) Library Manager Specifications so getting started is a snap!

Source: https://create.arduino.cc/projecthub/FellFromTree/helios-embedded-operating-system-e311bf

Industrial use of LoRa & ESP32-based solutions

One of industrial IoT devices, supporting LoRa wireless technology is ESP32 based eModGATE from TECHBASE. Economical, ESP32-based solution can serve as an end-point in any installation or works well as a gateway, gathering data from scattered sensor mesh across the installation. For more information and also Raspberry Pi based solutions check Industrial IoT Shop with all the configuration options for eModGATE.

eModGATE with ESP32

Espressif Systems and Amazon recently announced the ESP32-PICO-V3-ZERO Alexa Connect Kit (ACK) module, which provides support for features such as out-of-the-box connectivity to the cloud service ACK, Alexa control, „seamless setup”, and Amazon Dash completion for connected devices.

This new module is as much as 50% lower in cost.

Source: https://developer.amazon.com/en-US/blogs/alexa/device-makers/2020/07/Introducing-the-New-Alexa-Connect-Kit-Module-with-Espressif-Chipset
ESP32-PICO-V3-ZERO

How Alexa Connect Kit Works

With Alexa Connect Kit, you can make nearly any device with power into an Alexa-compatible smart device your customers will love, all at a fixed per-device cost. You simply integrate an Amazon-managed ACK module into your device, connect it to your device’s microcontroller (MCU) over a serial interface, and add interface code to your device’s firmware to interpret control messages from the ACK module. The ACK module adds Wi-Fi, Bluetooth LE, and all the software needed for Alexa control, Frustration Free Setup, security, and log and metric collection – managed and updated by Amazon. For your customers, products built with ACK include Alexa control through voice and the Alexa app, and the option to support Amazon Dash Replenishment. For developers, ACK enables you to connect your devices to Alexa without the need to operate a cloud, create and maintain an Alexa skill, develop a companion app, or deal with IoT firmware integration. With an ACK module on your device, you can focus on building great hardware.

Source: https://developer.amazon.com/en-US/blogs/alexa/device-makers/2020/07/Introducing-the-New-Alexa-Connect-Kit-Module-with-Espressif-Chipset

Industrial use of LoRa & ESP32-based solutions

One of industrial IoT devices, supporting LoRa wireless technology is ESP32 based eModGATE from TECHBASE. Economical, ESP32-based solution can serve as an end-point in any installation or works well as a gateway, gathering data from scattered sensor mesh across the installation. For more information and also Raspberry Pi based solutions check Industrial IoT Shop with all the configuration options for eModGATE.

eModGATE with ESP32
Arduino Portenta H7 - new player on the Industrial IoT market

At the Consumer Electronics Show 2020, Arduino has made a possibly groundbreaking announcement with the Arduino Pro IDE. This could bring the maker scene and classic industrial companies closer together.

Arduino Portenta H7 features

The Portenta H7 is equipped with an STM32H747Xi with a Cortex-M7 and a Cortex-M4. Portenta H7 has 2 megabytes of RAM and a 16 MByte NOR flash. An SD card can be connected via an adapter. The connection to a wireless network is via WiFi 802.11 b/g/n or Bluetooth 5.1. The charging electronics for a 3.7 volt LiPo battery are already integrated.

With the Arduino Portenta H7, the first model of the new Portenta family was announced. This should be tailored specifically to the needs of industrial applications, AI and robotics scenarios.

Arduino Portenta H7
Arduino Portenta H7

The model is equipped with two 80-pin connectors, plus four UART ports. USB Type-C port can output image signals via DisplayPort. The Portenta H7 is also programmable with an interpreter in MicroPython, JavaScript and TensorFlow Light. The single-platinum calculator should be available from February for 90 euros.

Source: https://www.linuxinsider.com/story/86448.html

What the world says about Arduino Portenta?

Fabio Violante, CEO of Arduino, said manufacturers will be able to create modules for robotics, 3D printer and more:

Portenta H7 is directly compatible with other Arduino libraries and offers new features that will benefit hardware manufacturers, such as a DisplayPorl output, much faster ADC multi-channel and high-speed timers.

Arduino Portenta Carrier
Arduino Portenta Carrier

Meanwhile, Charlene Marini, vice president of strategy for Arm’s IoT Services Group commented:

SMEs with industrial requirements require simplified development through secure development tools, software and hardware to economically realize their IoT use cases.

ARM Partnership cooperation

ARM works with Arduino to provide secure, easy-to-manage and manageable devices to a wide range of programmers. Two innovations to date show the results of this partnership.

„Mbed OS Portenty is one of the concrete achievements of the partnership,” said Marini. „Another example is the Arduino SIM card, which uses Pelion connection management.”

She said companies have the ability to provide secure Internet of Things on a large scale. This is the foundation of machine learning, automation and the rapid evolution of applications that cross the physical and digital world.

eModGATE with ESP32

Industrial use of Arduino-like solutions

One of industrial IoT devices, supporting Arduino-like technology is eModGATE from TECHBASE. Economical, ESP32-based solution can serve as an end-point in any installation or works well as a gateway, gathering data from scattered sensor mesh across the installation. For more information check Industrial IoT Shop with all the configuration options for eModGATE.

Raspberry Pi & ESP32 use-hack of OpenMQTTGateway

Many developement boards can be used in home and industrial applications to control and manage data. Check out latest video from open-tech infuencer, Andreas Spiess, in which he uses Raspberry Pi and ESP32 boards to build and visualize weight loss system using Xiaomi scale and Node-RED, influxDB and Grafana. Open MQTT Gateway might come in handy too.

Industrial use of Raspberry Pi & ESP32-based solutions

One of industrial IoT devices, supporting Espressif’s ESP32 technology is eModGATE from TECHBASE. Economical, ESP32-based solution can serve as an end-point in any installation or works well as a gateway, gathering data from scattered sensor mesh across the installation. For more information and also Raspberry Pi based solutions check Industrial IoT Shop with all the configuration options for eModGATE.

eModGATE with ESP32
ESP32-based LoRa / LoRaWAN wireless network

One way of long-range and low-power data transmission is LoRa wireless technology. Since the Internet of Things market (with ESP32 – based solutions) is mainly covered with short-range Wi-Fi and Bluetooth and long-range with 3G / NarrowBand-IoT technologies, LoRa oftens is omitted or simply unknown by IoT users. Below you will find a short representation of what LoRa is and how can it be used.

What is LoRa / LoRAWAN network?

LoRaWAN® network architecture is deployed in a star-of-stars topology in which gateways relay messages between end-devices and a central network server. The gateways are connected to the network server via standard IP connections and act as a transparent bridge, simply converting RF packets to IP packets and vice versa. The wireless communication takes advantage of the Long Range characteristics of the LoRa physical layer, allowing a single-hop link between the end-device and one or many gateways. All modes are capable of bi-directional communication, and there is support for multicast addressing groups to make efficient use of spectrum during tasks such as Firmware Over-The-Air (FOTA) upgrades or other mass distribution messages.

Source: https://lora-alliance.org/about-lorawan

Industrial use of LoRa & ESP32-based solutions

One of industrial IoT devices, supporting LoRa wireless technology is ESP32 based eModGATE from TECHBASE. Economical, ESP32-based solution can serve as an end-point in any installation or works well as a gateway, gathering data from scattered sensor mesh across the installation. For more information and also Raspberry Pi based solutions check Industrial IoT Shop with all the configuration options for eModGATE.

eModGATE with ESP32
ONiO.zero running without battery can revolutionize the IoT market

ONiO, a Norwegian specialist in the field of the Internet of Things (IoT) for the medical industry, announced ONiO.zero, a RISC-V-based microcontroller with very low power consumption, which can work completely from the energy harvested from the environment. ONiO claims that its design can take energy from the radio spectrum and operate up to 24 MHz.

„ONiO.zero is a wireless MCU with very low power consumption, which uses energy acquisition technology,” wrote the company about its creation. This means that ONiO.zero only works on ambient energy. There are no coin cells, supercaps, lithium and batteries, but still offers a lot of performance.

Battery-based solutions have an unavoidable warning about battery replacement. This leads to increased costs over the entire lifetime. ONiO.zero avoids this problem and reduces operating costs. ONiO.zero is self-powered and supports a wide range of power sources, from multi-frequency RF bands supporting GSM and ISM to optional external sources such as solar, piezoelectric, thermal and voltaic.

Source: https://www.hackster.io/news/onio-zero-offers-up-to-24mhz-of-risc-v-microcontroller-performance-on-nothing-but-harvested-energy-70285321d50d

The microcontroller itself is based on the architecture of the RISC-V instruction set of the open source type (in particular RV32EMC) and operates up to 24 MHz with a supply voltage of 1.8 V. The controller will work if necessary with lower voltages. You can get 6 MHz at 1 V and 1 MHz at 0.8 V, and the system still runs slower, but as fast as 450 mV. Includes 1 KB ROM and 2 KB RAM, as well as 8-32 KB of ultra low power flash memory, capable of 100,000 read and write cycles up to 850 mV.

ONIO.zero running without battery can revolutionize the IoT market

ONiO.zero contains a crystalline Low Energy Bluetooth transmitter (BLE) that can operate at a voltage as low as 850mV, an IEEE 802.15.4 (UWB) broadband transmitter operating in the 3.5-10 GHz band, and optional radio transmitter 433 MHz MICS for the industrial, scientific and medical band (ISM).

ONiO.zero hasn’t been released yet. For more information check the ONiO.zero product page.

Battery-ready IoT devices based on ESP32

Battery / SuperCap power support allows the processes and data to be securely executed, saved or transferred, and the operating system to be safely shutdown or reboot, if the power source has been restored. The power failure alert can also be sent to cloud service, to perform custom task, specified by user or self-learning AI algorithm.

The Moduino device is a comprehensive end-point controller for variety of sensors located throughout any installation. It fully supports temperature and humidity sensors and new ones are currently developed, e.g. accelerometer, gyroscope, magnetometer, etc.

Battery powered Moduino ESP32
Battery powered IoT installation. Source: https://moduino.techbase.eu/

ModuinoModBerry symbiosis allows wide range of wake-up/sleep schedule customization, in order to perform best and save energy accordingly to power supply state. Arduino and MicroPython environments provide libraries to control different scenarios of data and power management.

With built-in algorithms and the possibility to program on your own, the TECHBASE’s sleep/wake addon module can wake the device using schedule/timer. Another option is wake on external trigger, e.g. change of input, etc. All the options for sleep, shutdown and wake can be configured for various scenarios to ensure constant operation of devices, safety of data and continuity of work in case of power failure in any installation.

Sleep functionality for ModBerry 500 CM4 devices

TECHBASE company designed an extended version of Raspberry Pi Compute Module 4 based devices, ModBerry 500-CM4-PM series for better power management in changing conditions of industrial applications. With the use of GPIO the module can manage boot, sleep mode or safe shutdown of the device in terms of unexpected drop in the power network with help of built-in ESP32 module and Arduino environment.

In the last few years developers marketed a wide range of ARM-based development boards, lacking in enhanced power management, especially sleep and wake up modes, commonly used in PC-grade computing. These boards are not adjusted for battery power supply, so it’s natural that sleep/wake functions should be implemented. In connection with the development of solutions based on Linux-SBC, key factor is adding sleep modes to any remote installation

ESP32 based addon module for Raspberry Pi

With built-in algorithms and the possibility to program on your own, the TECHBASE’s sleep/wake addon module can wake the device using a scheduler/timer. The module itself is based on ESP32-WROVER, used in the Moduino X series. ESP32 as a lightweight and low-powered solution is a perfect aid system for Raspberry Pi. Another option is wake on external triggers, e.g. change of input state, etc. All the options for sleep, shutdown and wake can be configured for various scenarios to ensure constant operation of devices, safety of data and continuity of work in case of power failure in any installation.

Sleep mode with additional power backup

Additional power management option for ModBerry devices is sleep functionality enhanced with SuperCap UPS energy backup device. This solution allows programming scenarios including the execution of chosen actions, in order to save data, send a notification and restart/shutdown the controller after completion.

Advanced power management solution

Most advanced configuration includes use of ESP32 module, known from the successful, lightweight Moduino X series, for extra logic for wake up / sleep scripts. This addon will allow the RaspberryPi-based ModBerry device to be woken up by the internal ESP32 controller

Moduino-ModBerry symbiosis allows a wide range of wake-up/sleep schedule customization, in order to perform best and save energy according to power supply state. Arduino and MicroPython environments provide libraries to control different scenarios of data and power management.

ModBerry 500-CM4-PM availability

The preliminary ModBerry 500-CM4-PM devices are available on request and delivery time will be specified by the Sales Dept. depending on the size of the project. Contact via email or Live Chat here: https://iiot-shop.com/product/modberry-500-cm4-pm/

Arduino ESP32 Serial Port to TCP Converter via WiFi

TECHBASE posted new class, in which you will create serial port to TCP converter using Arduino code running on ESP32 processor. We will use one of device which uses such processor: Moduino X ESP32. For TCP communication WiFi module will be used.

You will need:

  • Moduino X4 ESP32 device (check this website to find out more)
  • PC with Linux operating system
  • socat application
  • RS-232/RS-485 port in your computer or USB to RS-232/RS-485 converter (for programmming and testing)

Introduction

In example, data sent to serial port (which is used as terminal port in regular Micropython ESP32 device) will be send via WiFi using TCP protocol. It also decodes incomming TCP packets and writes them to serial port. Then virtual serial port can be opened for that TCP packets and perform serial communication. We will use socat application for that.

You can read the complete tutorial at Hackster.io: