Archiv der Kategorie: LoRaWAN

Modbus Sensors Connected to IoT

Modbus continues to be a widely used communication protocol in industrial automation and control systems. RS-485 provides a robust and reliable physical layer for long-distance communication, and Modbus RTU is a popular protocol for exchanging data between devices from different manufacturers in various industrial applications.

Despite the emergence of newer protocols and technologies, Modbus RTU over RS-485 will continue to be widely used in the industry due to its simplicity, compatibility with existing systems, and broad support.

Various bridges connect a Modbus network to the IoT for further data processing and visualization, which is essential today. Modbus LoRaWAN bridges, offered by various users, can be used to make this connection.

Modbus ist nach wie vor ein weit verbreitetes Kommunikationsprotokoll in industriellen Automatisierungs- und Steuerungssystemen. RS-485 bietet eine robuste und zuverlässige physikalische Schicht für die Kommunikation über große Entfernungen, und Modbus RTU ist ein beliebtes Protokoll für den Austausch von Daten zwischen Geräten verschiedener Hersteller in verschiedenen industriellen Anwendungen.

Trotz des Aufkommens neuerer Protokolle und Technologien wird Modbus RTU über RS-485 aufgrund seiner Einfachheit, der Kompatibilität mit bestehenden Systemen und der breiten Unterstützung weiterhin in der Industrie weit verbreitet sein.

Verschiedene Bridges verbinden ein Modbus-Netzwerk mit dem IoT zur weiteren Datenverarbeitung und -visualisierung, was heute unerlässlich ist. Modbus LoRaWAN-Bridges, die von verschiedenen Anwendern angeboten werden, können für diese Verbindung genutzt werden.

In my book IoT Projects for Makers, I introduced among others a solution for publishing measuring values of a Modbus sensor by Pushover to a mobile phone by use of WisBlock modules.

In meinem Buch IoT Projects for Makers habe ich unter anderem eine Lösung vorgestellt, um Messwerte eines Modbus-Sensors per Pushover mit Hilfe von WisBlock-Modulen auf ein Mobiltelefon zu veröffentlichen.

The same technology can be used to transfer messages to a LoRaWAN network server. The WisBlock ecosystem helps with rapid prototyping.

Mit der gleichen Technologie können Sie Nachrichten an einen LoRaWAN-Netzwerkserver übertragen. Das WisBlock-Ökosystem hilft bei der schnellen Entwicklung von Prototypen

RAK7431

RAKwireless offers an industrial solution with the WisNode Bridges and in particular the RAK7431 WisNode Bridge Serial, an RS485 to LoRaWAN converter for industrial applications. The device transmits data from Modbus sensors over LoRaWAN for wireless transmission to and from end devices.

Using the LoRaWAN 1.0.3 protocol stack, the device supports LoRaWAN Class A, B and C, enabling cloud management of ModBus/RS-485 devices.

Eine industrielle Lösung bietet RAKwireless mit den WisNode Bridges und hier vor allem mit der RAK7431 WisNode Bridge Serial, einem RS485 to LoRaWAN converter für industrielle Anwendungen. Das Gerät übermittelt Daten von Modbus-Sensoren über LoRaWAN zur drahtlosen Übertragung von und zu Endgeräten.

Mit dem LoRaWAN 1.0.3 Protokollstack unterstützt das Gerät LoRaWAN Class A, B und C und ermöglicht so ein Cloud-Management von ModBus/RS-485-Geräten.


2024-05-19/CK

QingPing Temperature & Humidity Monitor

Environmental sensors monitor the temperature and humidity levels in different rooms of a building and enable the system to intelligently adjust the HVAC settings. A dynamic control ensures a comfortable and healthy indoor environment

RAKwireless offers the QingPing Temperature & Humidity Pro S a professional-grade sensor specifically tailored for environmental and greenhouse applications.

The device supports configurable reporting and notification options, keeping users informed about critical changes in temperature and humidity levels.

Umgebungssensoren überwachen Temperatur- und Luftfeuchtigkeit in den verschiedenen Räumen eines Gebäudes und ermöglichen eine intelligente Anpassung der HLK-Einstellungen. Eine dynamische Steuerung sorgt für ein angenehmes und gesundes Raumklima.

RAKwireless bietet mit dem QingPing Temperature & Humidity Pro S einen professionellen Sensor, der speziell für Umwelt- und Gewächshausanwendungen entwickelt wurde.

Das Gerät unterstützt konfigurierbare Berichts- und Benachrichtigungs-optionen, die den Benutzer über kritische Änderungen der Temperatur- und Luftfeuchtigkeitswerte informieren.

Features

  • Temperature: ±0.2°C (within 0°C to 50°C range)
  • Humidity: ±2% (within the 10% to 90% range)
  • LoRaWAN bands: EU868 (default), EU433, RU864, CN470, KR920, IN865, AU915, US915, AS923
  • LoRaWAN Class: A
  • Bluetooth 5.0
  • Battery: Rechargeable lithium battery, 2600 mAh
  • Power supply: USB-C, 5 V – 1 A
  • Remotely configurable settings
  • Dimension: 77 x 77 x 28 mm

For Device Configuration and Data Description read the User Manual.

The sensor sends different messages like historical data, real-time data, events, etc.

At this time, QingPing does not offer a payload decoder; therefore, I wrote a simple one for decoding the real-time data message.

Zur Gerätekonfiguration und Datenbeschreibung lesen Sie bitte das Benutzerhandbuch.

Der Sensor sendet verschiedene Nachrichten wie historische Daten, Echtzeitdaten, Ereignisse usw.

Da QingPing derzeit keinen Payload-Decoder anbietet, habe ich einen einfachen Decoder für die Dekodierung der Echtzeitdaten geschrieben.

function decodeUplink(input) {
  var data = {};
  if (input.bytes[1] == 0x41 && input.bytes[3] == 0x01) {
    data.msg = "RTD";
    data.temp = ((((input.bytes[8] << 8) + input.bytes[9]) >> 4) - 500)/10;
    data.humi = ((((input.bytes[9] << 8) + input.bytes[10]) & 0x0FFF))/10;
    data.bat = input.bytes[13];
  } 
  
  return {
    data: data
  };
}

Using this payload decoder, the TTS console shows the following messages. As you can see, only the real-time data messages beginning with 01 41 xx 01 are decoded.

Bei Verwendung dieses Payload-Decoders zeigt die TTS-Konsole die folgenden Meldungen an. Wie Sie sehen können, werden nur die Echtzeitdatenmeldungen, die mit 01 41 xx 01 beginnen, dekodiert.


Thanks to RAKwireless for this LoRaWAN gift at Embedded World 2024 and the good conversations at the booth. It reminds me of my visit there.


2024-04-13/CK

WisGate Edge Pro – RAKwireless‘ WisGate Edge Gateway

RAK7289 V2 WisGate Edge Pro is the latest edition of the RAK Edge Series.

Its excellent features is described at https://docs.rakwireless.com/Product-Categories/WisGate/RAK7289-V2/Datasheet/. You can see it on Embedded World 2024.

It is a good idea to see the new IoT solutions tomorrow at Embedded World in Hall 3 Booth 3-600.


2024-04-10/CK

SensorHub Weather Data on Meteologix

I have been using Kachelmannwetter’s information and following their weather forecast on YouTube for a long time.

Kachelmannwetter provides extensive weather and environmental data, as well as webcam recordings. Interested parties can also contribute weather data to complete the range of data on offer.

I have taken up the invitation and, as a new Citizen Scientist, I am now also making my SensorHub data available on the Meteologix platform.

The images below display the professional and amateur weather stations in my area. Additionally, the graph depicts the ambient temperature measured at a height of 2 meters over a 72-hour period.

Schon lange nutze ich die Informationen von Kachelmannwetter und verfolge die Wettervorhersage auf Youtube.

Neben der Bereitstellung umfangreicher Wetter- und Umweltdaten sowie Webcam-Aufnahmen können Interessenten Wetterdaten beisteuern und so das Angebot an Daten komplettieren.

Ich habe die Aufforderung aufgegriffen und stelle als neuer Citizen Scientist nun meine SensorHub Daten auch auf der Meteologix Plattform bereit.

In den folgenden Bildern sind die Profi- und Amateur-Wetterstationen meiner Gegend gezeigt. Abschließend ist der 72 h Verlauf der Umgebungstemperatur gemessen in 2 m Höhe gezeigt.

Profi Weather Stations
Amateur Weather Stations
SensorHub 72 h Weather Data

The program Oxocard_MQTT_Client_Weather_Portals uses an Oxocard Connect to retrieve the data from the TTN LNS and prepare it for upload.

The program covers both Meteologix and Weathercloud.

Das Programm Oxocard_MQTT_Client_Weather_Portals nutzt einen Oxocard Connect, um Daten vom TTN LNS abzurufen und für den Upload vorzubereiten.

Das Programm deckt sowohl Meteologix als auch Weathercloud ab.


Die Screenshots wurden mit freundlicher Genehmigung von der Website kachelmannwetter.com übernommen.


2024-02-15/CK

RAKwireless WisBlock

WisBlock is a modular system that easily implements a Low Power Wide Area Network (LPWAN) in your IoT solution. WisBlock accompanies your solution from rapid prototyping to mass production without the need to create new hardware modules for each step.

In the development phase, WisBlock modularity allows you to test different microcontrollers, sensors, communication technology, and IO options by changing modules with simple plug-in modules.
WisBlock industrial-grade modules can be used in mass production without the need to redesign prototypes.
Devices can be modified or repaired even once deployed with minimal waste and effort.

Where to buy international:

store.rakwireless.com

WisBlock ist ein modulares System, das auf einfache Weise ein Low Power Wide Area Network (LPWAN) in Ihre IoT-Lösung implementiert. WisBlock begleitet Ihre Lösung vom Rapid Prototyping bis zur Massenproduktion, ohne dass Sie für jeden Schritt neue Hardwaremodule erstellen müssen.

In der Entwicklungsphase können Sie dank der Modularität von WisBlock verschiedene Mikrocontroller, Sensoren, Kommunikationstechnologien und IO-Optionen testen, indem Sie Module gegen steckbare Module austauschen.
WisBlock-Module in Industriequalität können in der Massenproduktion eingesetzt werden, ohne dass Prototypen neu entwickelt werden müssen.
Die Geräte können auch nach dem Einsatz mit minimalem Aufwand modifiziert oder repariert werden.

Bezugsmöglichkeiten DACH:
D: https://iot-shop.de/
CH: https://www.bastelgarage.ch/


Futher Information: IoT Projects for Makers – 2nd Edition


2024-01-17/CK

IoT-Anwendungen einfach umgesetzt

Im Beitrag „WisBlock von RAKwireless – IoT-Anwendungen einfach umgesetzt“, veröffentlich in ELEKTRONIK 26/2023, S. 44-50 und im elektroniknet.de, wird gezeigt, wie mit WisBlock-Komponenten das Erstellen von IoT-Anwendungen vom Proof-of-Concept über das Prototyping bis hin zum Indus­trieprodukt unterstützt wird.

Der auf WisBlock aufbauende SensorHub stellt eine Ausprägung dieses Konzeptes dar und ermöglicht als Low-Code-System eine schnelle Umsetzung von IoT-Applikationen.

Die Messwerte der Messstation sind bspw. über diesen Public Link abrufbar.

SensorHub IoT Applications

RAKwireless‘ SensorHub is a modular ecosystem consisting of the main body and multiple pre-configured sensor probes. With pluggable, interchangeable probes and the option to add third-party sensors to the system, the Sensor Hub is a suitable and versatile solution platform for various IoT applications where environmental monitoring is needed outdoors.

The SensorHub can work battery-powered by non-rechargeable or solar-powered batteries or with an external power supply, depending on the application and deployment location.

For data transmission into Low-Power Wide-Area Network (LPWAN), LoRaWAN is available. Alternatively, NB-IoT can be used.

As a typical low-code system, it requires configuration with the WisToolBox app from a cell phone. WisToolBox also enables access to the measured values of all connected sensors, as the following screenshots show.

The eBook SensorHub IoT Applications will be available from Amazon from November 15, 2023. Pre-orders are already possible.

This eBook introduces the SensorHub system and its usage in industrial-grade IoT applications using LoRaWAN for communication.

The first image shows a SensorHub with a connected SensorProbe equipped with WisBlock sensors. This application is suitable for powering by batteries, too.

The second image shows a SensorHub Measuring Station built by RK900-09 Weather Station, RK520-02 Soil Moisture Sensor, and RAK9154 Solar Battery. These components build an autonomous working measuring station. The measuring station was installed to test the acquisition of the measuring values via the connected sensors on the one hand and its behavior regarding solar-buffered battery operation in the darker season on the other hand.

You can access the live data at https://app.datacake.de/dashboard/d/8f0da5ea-e1f5-4da8-b951-7c19c98e0de2 and the loading situation of the solar-buffered battery at https://app.datacake.de/dashboard/d/19f2e113-74b9-4950-81be-28f9df871ae0.

This new eBook shows how to create professional IoT applications with the RAKwireless SensorHub system.

I will publish additions and further applications here in this blog.

Your queries are welcome.


2023-11-08/CK

RAKwireless IoT Applications

IoT applications usually require interdisciplinary collaboration between different disciplines during development and implementation.

With WisBlock, RAKwireless created a system accompanying the entire development path to the finished device using industrial-grade yet cost-effective components. Additionally, it offers the possibility to integrate components of prototyping systems from third-party providers into WisBlock.

With these systems, you can solve various tasks. Still, many steps are necessary to get a finished device, e.g., autonomy usable as a sensor node in harsh environments, which can be tedious.

True to the philosophy „IoT Made Easy,“ RAKwireless has ensured with WisBlock that this new solution is as simple as Click – Code – Connect!

I described the WisBlock ecosystem in an eBook titled „IoT-Projects for Makers: with WisBlock from RAKwireless • just Click, Code & Connect • to the finished device.“  

You can order this eBook at Amazon https://www.amazon.com/dp/B0C8VCF4DF.

Continuing this design philosophy, based on WisBlock, RAKwireless developed the RAK2560 WisNode SensorHub.

RAKwireless SensorHub is a modular ecosystem consisting of the main body and multiple pre-configured sensor probes. With pluggable, interchangeable probes and the option to add third-party sensors to the system, the Sensor Hub is a suitable and versatile solution platform for various IoT applications where environmental monitoring is needed outdoors.

The SensorHub can work battery-powered by non-rechargeable or solar-powered batteries or with an external power supply, depending on the application and deployment location.

For data transmission into Low-Power Wide-Area Network (LPWAN), LoRaWAN is available. Alternatively, NB-IoT can be used.

As a typical low-code system, it essentially requires configuration with the WisToolBox app from a cell phone.

I am currently working on applications of SensorHub in IoT using the example of measuring environmental data.

An eBook titled
„SensorHub IoT Applications:
• with WisNode SensorHub from RAKwireless
• just configure & connect
• to the finished application.“
is in preparation.

The planned release date is 11/15/2023, and pre-orders are available on Amazon.

You can order this eBook at Amazon https://www.amazon.com/dp/B0CKFNQX4D.


2023-10-05/CK

RK900-09 Weather Station on SensorHub

The Sensor Hub equipped with a Sensor Probe containing Temperature and Humidity Sensor RAK1901 and Pressure Sensor RAK1902 was used to measure environmental data (Link).

RAKwireless offers the RK900-09 Weather Station more precise equipment for measuring weather conditions.

MEMS sensors measure temperature, humidity, barometric pressure, and ultrasonic sensors wind speed and direction. You will find the technical data on the manufacturer’s website.

The SensorProbeIO associated with the RK900-09 connects the RS-485 output of the RK900-09 to the SensorHub interface.

The payload decoder provided by RAKwireless needed minor adaptations and is available on GitHub.

For visualization, I use Datacake again and get the following data output of this Weather Station.

Datacake Dashboard

Use this QR code or public link to get the actual weather data measured by RK900-09 Weather Station connected to SensorHub.


2023-09-26/CK

Meeting mit RAKwireless

Am 19.09.2023 hatte ich die Gelegenheit den CEO von RAKwireless, Ken Yu, und zwei seiner Mitarbeiter in Zürich zu treffen.

Ich konnte einen Print-Version, des als eBook konzipierten Titels zu WisBlock übergeben.

Mit dem auf WisBlock aufsetzendem SensorHub wird es weitergehen.

Hier ist der Link zu Ken’s Statement auf LinkedIn: https://www.linkedin.com/feed/update/urn:li:activity:7110136146503888896?updateEntityUrn=urn%3Ali%3Afs_feedUpdate%3A%28V2%2Curn%3Ali%3Aactivity%3A7110136146503888896%29


2023-09-21/CK