Posts

ESP32 Serial Port

Arduino ESP32 Serial Port to TCP Converter via WiFi

In this class, 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 X2 (may be also X1) 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 our 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:

SIMCom SIM7000G

SIMCom NB-IoT modems now available in Industrial IoT Shop

TECHBASE’s Industrial IoT devices, ModBerry & Moduino series supports latest SIMCom global-band SIM7000G eMTC & NB-IoT Module. Now the latest SIM7000G as well as 7000E / 7000A versions of modem are available at IIoT-Shop.

SIMCom SIM7000G

Our ModBerry / Moduino devices equipped with latest SIM7000G modem are perfect for industrial automation solutions, e.g. data logging, metering, telemetrics, remote monitoring, security and data management through all Industrial IoT applications.

Supported bandwidths:

    • Global-Band LTE CAT-M1:  B1/B2/B3/B4/B5/B8/B12/B13/B18/B19/B20/B26/B28/B39;
    • Global-Band LTE CAT NB-IoT1:  B1/B2/B3/B5/B8/B12/B13/B17/B18/B19/B20/B26/B28;
    • GPRS/EDGE 850/900/1800/1900Mhz Control Via AT Commands

Supported data transfer:

    • LTE CAT-M1(eMTC) – Uplink up to 375kbps, Downlink up to 300kbps
    • NB-IoT – Uplink up to 66kbps, Downlink up to 34kbps
    • EDGE Class – Uplink up to 236.8Kbps, Downlink up to 236.8Kbps
    • GPRS – Uplink up to 85.6Kbps, Downlink up to 85.6Kbps

You can browse wireless modem category here: https://iiot-shop.com/product-category/modems/

Moduino X3 ESP32

Economical Moduino X3 with ESP32 on-board available NOW

New version of Moduino ESP32, model X3 designed for various economical applications

Moduino X3 model offers new approach to Industrial IoT by upgrading mainboard elements to ensure high performance and ultra-low cost of implementation. In comparison with X2 version, new X3 limits additional ExCard expansion modules, drasticly changing the price of the device, but maintaining the 3-terminal I/Os of previous model. An important change is providing opto-isolation for DIO interface (optionally interchangeable with Relay interface for that I/O).

New version of Moduino ESP32, model X3 is designed for various economical applications, such as Industrial IoT installations, data management & remote edge-devices control. Basic configurations of X3 can be purchased for a price even lower than X1/X2 models for development purposes. Please contact our Sales Department (via Chat or e-mail) to get best price for these devices.

To read more about Industrial Moduino X solution, check here: PDF datasheet

Full comparison below:

Moduino ESP32 Comparison

To order configurable devices, choose Moduino X3 option in Moduino X product configurator here:
https://iiot-shop.com/product/moduino/

ESP32-WROVER-B

Moduino X with ESP32-WROVER-B now available for purchase

Upgraded Espressif’s ESP32 module platform for Moduino X

Espressif, a manufacturer of popular ESP32-based IoT solutions, has developed a new version of the ESP32-WROVER module, called ESP32-WROVER-B. Updated module, in addition to the dual-core LX6 microprocessor, has now twice the amount of RAM, compared to previous version of the WROVER module. The ESP32 module can work with Pseudo Static RAM. Up to now, modules with up to 4MB RAM have been the most common. Recently Espressif Systems introduced a new ESP32-WROVER-B module, which is equipped with up to 8MB pSRAM.

ESP32-WROVER-B

The new module is compatible with TECHBASE’s Moduino X series of IIoT devices. The system works with MicoPython, ESP-IDF (freemask based on FreeRTOS with light-weight Internet Protocol), Mongoose OS, Zephyr Project and is Arduino compatible. ESP32-WROVER-B is based on the ESP32-D0WD system with dimensions 5 x 5 mm, which replaced the earlier ESP32-D0WDQ6 (6 x 6 mm). The ESP32-D0WD model has 2 CPU cores that can be controlled independently. The CPU clock frequency can also be configured in the range of 80 to 240 MHz.

Updated Moduino X with ESP32-WROVER-B also comes with variety of Flash Memory available: 4MB and 16MB.

To read more about Industrial Moduino X solution, visit: https://moduino.techbase.eu/

To order sample devices, loor for  ESP32-WROVER-B option in Moduino X product configurator module:

Moduino ESP32 controller now powered with Pycom modules

New base platforms for Moduino device

Revised version of TECHBASE’s Moduino edge controller offers now support and compatibility with wide range of Pycom’s compute modules with built-in communication interfaces, e.g. LoRa, Sigfox, NarrowBand-IoT / LTE cat. M1/NB1 and WiFi/BT4.2, similarly to standard Moduino devices, powered by Espressif’s ESP32-WROVER module.

With new Moduino platform you can choose from variety of Pycom modules to power the unit, in order to receive specific wireless features. At the present day Moduino supports these models:

    • WiPy 3.0 with WiFi & Bluetooth 4.2
    • SiPy with WiFi/BT and Sigfox
    • LoPy4 with WiFi/BT and LoRa, Sigfox
    • GPy with WIFi/BT and NarrowBand-IoT / LTE cat.M1/NB1
    • FiPy with WIFi/BT and LoRa, Sigfox, NarrowBand-IoT / LTE cat.M1/NB1

If physical network connection is a must, you can always choose standard Moduino ESP32 with Ethernet expansion module to ensure communication via LAN. Of course the possibility to choose wired-to-wireless communication is also available with the Moduino configurator.

All Pycom-based Moduino solutions are compatible with wide range of interface expansions for standard Moduino ESP32 platform, e.g. RS-232/485, Analog I/Os, Digital I/Os, Relay, CAN and many more, including SuperCap & OLED screen options. You can find the whole list of available expansions here: https://iiot-shop.com/product/moduino/

To read more about Industrial Moduino X solution, visit: https://moduino.techbase.eu/

 

ESP32-WROVER-B

Moduino X now with ESP32-WROVER-B support

Upgraded Espressif’s ESP32 module platform for Moduino X

Espressif, a manufacturer of popular ESP32-based IoT solutions, has developed a new version of the ESP32-WROVER module, called ESP32-WROVER-B. Updated module, in addition to the dual-core LX6 microprocessor, has now twice the amount of RAM, compared to previous version of the WROVER module. The ESP32 module can work with Pseudo Static RAM. Up to now, modules with up to 4MB RAM have been the most common. Recently Espressif Systems introduced a new ESP32-WROVER-B module, which is equipped with up to 8MB SPI PSRAM.

ESP32-WROVER-B

The new module is compatible with TECHBASE’s Moduino X series of IIoT devices. The system works with MicoPython, ESP-IDF (freemask based on FreeRTOS with light-weight Internet Protocol), Mongoose OS, Zephyr Project and is Arduino compatible. ESP32-WROVER-B is based on the ESP32-D0WD system with dimensions 5 x 5 mm, which replaced the earlier ESP32-D0WDQ6 (6 x 6 mm). The ESP32-D0WD model has 2 CPU cores that can be controlled independently. The CPU clock frequency can also be configured in the range of 80 to 240 MHz.

Updated Moduino X with ESP32-WROVER-B also comes with variety of Flash Memory available: 4MB, 8MB and 16MB.

To read more about Industrial Moduino X solution, visit: https://moduino.techbase.eu/

To order sample devices, visit our new Industrial IoT Shop and ask our Sales Department via chat about new Moduino X with ESP32-WROVER-B module:

Connection protocols & MQTT data management solutions

Various data connection protocols & MQTT data management solutions

To take full advantage of the TECHBASE’s Industrial IoT Ecosystem’s capabilities, you can build your own installation, depending on project requirements, choosing from variety of Gateways (Gateway Layer) to control data collected from an array of Moduino edge devices (Sensor Layer). Moduino can be programmed in one of open software platforms, e.g. MicroPython to gather the data and send it, using MQTT standard protocol, further to Gateway and/or cloud service.

Both Moduino ESP32 and Pycom-based Moduino supports open & free libraries, shared by Pycom, tested and approved by constantly growing ESP32/Arduino community. TECHBASE company has plans to provide an open-source platform for managing services & remote configuration and control of endpoint Moduino devices using MicroPython.

MQTT Data Management

Wide range of protocol support

All TECHBASE’s solution can be empowered with iMod software incl. protocol support for industrial interfaces, e.g. M-Bus, Modbus, SNMP, MQTT. iMod software works seamlessly with Node-RED using MQTT protocol, allowing use of bacnet and direct control over devices I/Os with Google’s platform-neutral protobuf – extensible mechanism for serializing structured data and zeroMQ controls to connect the code in any modern language, on any platform. The protocol drivers library can be expanded with CODESYS development system to support PROFIBUS, CANopen, EtherCAT, PROFINET and EtherNet/IP.

Industrial Moduino ESP32

(SALE) Special configurations of Moduino ESP32

New preconfigured Moduino ESP32 devices

Hurry up for special offer including various configurations of industrial Moduino ESP32 devices. To access SALE prices of Moduino just register to IIoT-Shop and wait for user verification from our Sales Department.

Moduino is powered by Espressif’s ESP32 module equipped with ultra-low power Dual-Core Tensilica LX6 240 MHz processor with 4MB* pSRAM and 4/8MB SPI flash memory on-board. Integrated Wi-Fi/BLE modem and extra wireline/wireless interfaces make the Moduino micro-computer a versatile addition to Industrial IoT solutions offered by TECHBASE company.

ESP32 Modbus Master TCP

Welcome to the series of configuration instructions for ModBerry and Moduino ESP32 devices. In this class, you will program ESP32 processor to be Modbus TCP Master.

We will use two devices, which contain this processor: Moduino ESP32 and Pycom. Both devices are running in MicroPytthon environment. Our Modbus Slave will be PC computer with Modbus simulator software running on it.

You will need:

  • Moduino ESP32 or Moduino Pycom device (check this website to find out more about Moduino ESP32 device and this to check Pycom device)
  • PC with Linux operating system
  • RS-232/RS-485 port in your computer or USB to RS-232/RS-485 converter

You can read the complete tutorial at Instructables.com:

 

Sleep mode and power saving for Raspberry Pi based ModBerry devices

Sleep functionality for ModBerry/Raspberry Pi devices

TECHBASE company designed new extension module for RaspberryPi-based devices, ModBerry series for better power management in changing conditions of industrial environments. With the use of GPIO the module can manage sleep mode or safe shutdown of device in terms of unexpected drop in the power network.

In last few years developers marketed 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

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.

The preliminary module for ModBerry devices is available on request and delivery time will be specified by Sales Dept. depending on the size of the project.

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 Moduino ESP32 device for extra logic for wake up / sleep scripts. This addon will allow the RaspberryPi-based ModBerry device to be woken up by Moduino controller via Wi-Fi/GSM/LAN networks.

Moduino-ModBerry 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.

New SuperCap options for Moduino/ModBerry

The SuperCap UPS-SC01 backup power supply is equipped with a highly available backup feature to safely bridge fluctuations, drops or failures accompanying standard 9~30VDC supply voltage and avoid interruption of output voltage in industrial and automation environments. For this purpose SuperCap UPS-SC01 utilizes two supercapacitors (so-called supercaps) as a durable, cycle-resistant and maintenance-free solution for backup energy storage and failure safety.

The UPS-SC01 model is available for purchase at price set to 90€. SuperCap family offers now preliminary and revised models: UPS-SC02 with twice the capacity at 135€ and UPS-SC04 respectively at 180€ with quadrupled capacity of the base device, which can be preordered at our new Industrial IoT Shop, here: https://iiot-shop.com/product/supercap-ups/