Arduino ESP32 Serial Port to TCP Converter via WiFi
You can read the complete tutorial at Hackster.io:
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:
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:
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.
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:
Supported data transfer:
You can browse wireless modem category here: https://iiot-shop.com/product-category/modems/
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:
You can read the complete tutorial at Instructables.com:
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.
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.
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.
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/
TECHBASE’s Industrial IoT devices, ModBerry & Moduino series, now supports latest SIMCom global-band SIM7000G eMTC & NB-IoT Module. New SIM7000G supersedes previous 7000E / 7000A / 7000C versions of modem and provides a universal band set with global coverage, in opposite to Europe, America and China-only solutions.
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:
Supported data transfer:
Our ModBerry / Moduino devices with global-band SIM7000G are available for testing and developing purposes, due to pending certifications of this module. For more information please contact our sales managers via live chat or contact forms.
The new 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.
As an addition to Industrial IoT family of TECHBASE’s products, such as ModBerry (Raspberry Pi Compute Module 3 powered) industrial gateways and Moduino (ESP32 powered) end-point devices, the SuperCap UPS-SC01 serves well as an additional, highly efficient and fanless power source to allow continuous operation of connected devices in difficult conditions, such as extended industrial temperature range. Perfect solution for a multi-range applications, especially for embedded IIoT / Industry 4.0 systems, where stability and high availability is most important.
Introduced in November 2017, the ModBerry M300 series, based on NanoPi NEO revolutionised the economic segment of Industrial IoT devices and proved, that automation and monitoring can be done effectively with low expenditure on industrial installations.
Read more: http://linuxgizmos.com/automation-controller-runs-linux-on-a-nanopi-neo-sbc/
To ensure constant development of TECHBASE’s solutions and cutting-edge technology, the NanoPi platform part of ModBerry series is expanded by updated ModBerry M300 N2 product, based on NanoPi NEO2. The new addition features Quad-core Cortex-A53, twice more RAM than previous version of NanoPi NEO and Gigabit Ethernet for fast communication.
For even wider range of communication interfaces and application possibilities, TECHBASE offers now ModBerry M300 N2+ based on the NanoPi NEO Plus2. M300 N2+ is equipped with 8GB eMMC, features more USB ports, Gigabit Ethernet port like M300 N2 and is supported with onboard Wi-Fi/Blutetooth 4.0 to ensure many channels of data management.
ModBerry M300 series can optionally support an external 2.5″ SATA hard disk and 2242 SSD storage units with M.2 interface thanks to onboard JMS567 USB to SATA controller. With extra storage space, data management of specific installations would be more convenient than sending all unprocessed data into cloud or directly to user.
OrangePi capabilities
To meet the Industrial IoT market demands the ModBerry family joined new embedded computer platform, offering adjustable solutions for every industrial installation. ModBerry M300 O1/O2 series is formed by two OrangePi module boards offering different approach to IoT than NanoPi solutions.
ModBerry M300 O1 based on OrangePi Zero Plus features Allwinner H5 (Quad-core Cortex-A53) SoC, moderate 512MB RAM, storage memory option with microSD slot, USB and Gigabit Ethernet port. The wireless communication is supported with onboard Wi-Fi module.
Offering much higher performance and wider feature range, the ModBerry M300 O2 features same SoC as M300 series, but thanks to OrangePi Zero Plus2 means, the device is equipped with onboard 8GB eMMC, extra microSD expansion slot as alternative and wired/wireless interfaces, e.g. HDMI, Wi-Fi, Bluetooth 4.0.
ExCard modules to peak the performance
Every TECHBASE’s industrial computer is supported by ExCard add-on modules for extra RS-232/485 serial ports, Ethernet ports, PCIe slots, analog input and output, digital I/Os, relays, M-Bus interface, opto-isolation, accelerometer, etc. To provide specific communication paths, ModBerry can be rigged with additional Wi-Fi/Bluetooth module, 3G/LTE, NarrowBand-IoT, LoRa, ZigBee, GPS and Wireless M-Bus.
The latest options for ModBerry series are:
The updated M300 availability
Currently all the updated M300 samples, including M300 N2, N2+, O1, O2 are available on demand. Please contact TECHBASE’s sales department via https://modberry.techbase.eu/ contact form with specific requirements to receive an offer that will suit the project’s needs. Since the M300 update is still under the development, specific datasheets will be available in mid-February. The pricing of each unit may vary on the basis of configuration and order quota.
The latest configuration of ModBerry 500 device presents the important milestone in TECHBASE’s offer. The introduction of two platform symbiosis, RaspberryPi Compute Module 3 assisted with Espressif’s ESP32 module brings new possibilities of application to life. High performance of CM3, if compromised by exposition to harsh environmental conditions or sudden drop of power, is aided with low-powered ESP32’s real-time system to continue operation of the device. ESP32 module can be battery powered, same as standalone Moduino series, based on similar solution.
Main difference between ESP32-aided ModBerry device and ESP32-based Moduino is that the first one benefits from low-power module aid to prevent errors and downtimes. ESP32 compared to Compute Module 3 works much longer on battery power supply and offers extended sleep modes. Real-time system of ESP32 and simplified communication between ESP32-aided ModBerry device and Moduino controllers drastically shortens the time needed for the system implementation and the cost of maintaining the application. It also enables the use of Espressif’s Wi-Fi-based technology in the ESP-NOW and ESP-MESH networks.
The separate ModBerry-Moduino Ecosystem, working as a separate devices is a solution for scattered object and installations monitoring – with the use of wireless communication interfaces (e.g. LoRa, NarrowBand-IoT, ZigBee, Wi-Fi, Bluetooth, etc.), rather than standard wired networks. For more information ask TECHBASE via one of contact form at: https://modberry.techbase.eu/ & http://moduino.techbase.eu/
TECHBASE plans further development of the product, particularly the issue of remote access to input/output resources and use of ESP32 as a Security Chip – hardware layer protection against hacking (very important issue in current IoT business).
Introduced with Moduino series, TECHBASE developed further the project of modular aluminum case for their devices. The latest version of housing allows ModBerry to expand in any dimension, supporting additional extension cards (e.g. I/Os, modems, opto-isolation, accelerometer, etc.) and DIN rail mount, that can be retracted into device itself. TECHBASE constantly improves the project to support different platforms (e.g. Raspberry Pi Compute Module 3, NanoPi, ESP32, UpBoard and probably more in the nearest future) and brings them to Industrial IoT world.
To improve the possibilities of ModBerry devices, TECHBASE added supercapacitor UPS option for ModBerry 500 configurations. Additional power supply available at emergency situations, such as power drop or loss, allows the device to log the recently acquired data and send the notifications to user regarding the occurred event. The supercap support for ModBerry ensures safe system shutdown and protects memory from fragmenting, so there is no need to use diagnostic tools afterwards.
Just like ESP32-based Moduino series, the ModBerry computers can be now equipped with OLED 0.96″ 128×64 screen via i2c extension protocol. The is small, only about 1″ diameter, but very readable due to the high contrast of an OLED display. Because the display makes its own light, no backlight is required, therefore reduces the power required to run the OLED.
TECHBASE Industrial Computers are designed for easy integration of LoRa / MQTT networks. ModBerry devices base on Raspberry Pi / NanoPi / Intel UpBoard platform communicate with both Cloud and Sensor layer (backed with ESP32 Moduino devices) of your installation via MQTT protocol. Gateway utilizes the features of many protocol libraries, such as original TECHBASE’s iMod protocol controller – installable both on the Gateway device itself or externally with wide range of possibilities (industrial computer, hosted server, etc.). Our devices fully support Node-RED, CODESYS, OpenHAB and many more open protocol libraries.
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.
iMod | M-Bus, Wireless M-Bus, Modbus TCP/RTU, SNMP, MQTT, SMS, E-MAIL, SQL/CSV |
CODESYS | PROFIBUS, CANopen, EtherCAT, PROFINET, EtherNet/IP |
Node-RED, etc. | MQTT, bacnet, eISCP |
OpenHAB | Commercial product integration |
Other open-source protocols | IEC 61850, IEC 60870-5-104, DLMS/COSEM, KNX, eHz meters, IEC 62056-21, REST |
This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.
OKLearn moreWe may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.
Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.
These cookies are strictly necessary to provide you with services available through our website and to use some of its features.
Because these cookies are strictly necessary to deliver the website, you cannot refuse them without impacting how our site functions. You can block or delete them by changing your browser settings and force blocking all cookies on this website.
We also use different external services like Google Webfonts, Google Maps and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.
Google Webfont Settings:
Google Map Settings:
Vimeo and Youtube video embeds: