Schlagwort-Archive: RAKwireless

RAKwireless Meshtastic Starterkit Enclosure

In the blog posts Meshtastic – Off-Grid Open-Source Mesh Network and Visualization of Meshtastic Data with Datacake, I presented a Meshtastic network and the visualization of measurement data.

The Meshtastic node is not only characterized by sensor technology and networking. Its enclosure is equally decisive for its intended use. Boards alone can be used for evaluation, but not in real use.

While visiting the RAKwireless booth at Embedded World 2024, I saw the enclosure for the RAKwireless starter kit shown here and have now tried it out.

You can download the data for the housing from the Printables website or order it from the QuantumShadow3D store.

As the following pictures show, this is a very successful enclosure design for this purpose.

In den Blog Posts Meshtastic – Off-Grid Open-Source Mesh Network und Visualization of Meshtastic Data with Datacake hatte ich ein Meshtastic Netzwerk und die Visualisierung von Messdaten vorgestellt.

Der Meshtastic Knoten selbst zeichnet sich nicht nur durch die Sensorik und die Vernetzung aus. Sein Gehäuse ist gleichermaßen bestimmend für den Einsatzzweck. Für die Evaluierung kann mit Boards gearbeitet werden, im realen Einsatz nicht.

Bei meinem Besuch am Stand von RAKwireless zur Embedded World 2024 konnte ich das hier gezeigte Gehäuse für das RAKwireless Starterkit sehen und habe es nun auch ausprobieren können.

Sie können die Daten für das Gehäuse von der Printables Website herunterladen oder im Shop von QuantumShadow3D bestellen.

Wie die folgenden Bilder zeigen, ist das eine sehr gelungene Gehäusekonstruktion für diesen Zweck.


2024-04-14/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

Visualization of Meshtastic Data with Datacake

In the Meshtastic network, a router can send data via MQTT to any MQTT broker on the Internet.

This makes it possible to have data from one or more Meshtastic devices processed or visualized by an external instance.

My Meshtastic network has differently equipped Meshtastic devices. The WisBlock Meshtastic Device is equipped with a RAK1901 sensor for measuring temperature and humidity and a RAK12500 GNSS GPS Location Module u-blox ZOE-M8Q, whose measured values are to be visualized with a Datacake dashboard.

Im Meshtastic Netzwerk kann ein Router Daten über MQTT an jeden beliebigen MQTT Broker im Internet senden.

Dadurch besteht die Möglichkeit, Daten eines oder mehrerer Meshtastic Devices durch eine externe Instanz bearbeiten oder visualisieren zu lassen.

Mein Meshtastic Netzwerk weist unterschiedlich ausgestattete Meshtastic Devices auf. Das WisBlock Meshtastic Device ist mit einem RAK1901 Sensor zur Messung von Temperatur und Luftfeuchtigkeit und einem RAK12500 GNSS GPS Location Module u-blox ZOE-M8Q ausgestattet, deren Messwerte mit einem Datacake Dashboard visualisiert werden sollen.

Visualization of Meshtastic Data with Datacake

The WisBlock Meshtastic Device is installed in an outdoor enclosure with a solar cell.

The test is intended to show whether the buffering provided by the solar cell is sufficient

Das WisBlock Meshtastic Device ist in einem Outdoor Gehäuse mit Solarzelle untergebracht.

Der Test soll zeigen, ob die Pufferung durch die Solarzelle ausreichend ist

Solar Unify Outdoor Enclosure

A Heltec LoRa32 V3 device is configured as a router and the MQTT module sends messages to an MQTT router.

Of the messages sent, only the telemetry and position messages of the WisBlock Meshtastic device are here of interest. The device has the ID 2692927950.

The following JSON fragments show the payload to be decoded.

Ein Heltec LoRa32 V3 Device ist als Router konfiguriert und das MQTT Modul sendet Messages an einen MQTT Router.

Von den versendeten Messages sind hier nur die Telemetry und Position Messages des WisBlock Meshtastic Devices von Interesse. Das Device weißt die ID 2692927950 auf.

Die folgenden JSON-Fragmente zeigen die zu decodierende Payload.

{
  "channel": 0,
  "from": 2692927950,
  "id": 647220954,
  "payload": {
    "air_util_tx": 0.0718611106276512,
    "battery_level": 59,			
    "channel_utilization": 11.1266660690308,
    "voltage": 3.8199999332428			
  },
  "rssi": -123,
  "sender": "!fa66367c",
  "snr": -10,
  "timestamp": 1707662825,
  "to": 4294967295,
  "type": "telemetry"
}
{
  "channel": 0,
  "from": 2692927950,
  "id": 198387353,
  "payload": {
    "barometric_pressure": 0,
    "current": 0,
    "gas_resistance": 0,
    "relative_humidity": 77.9700012207031,
    "temperature": 6.55000019073486,
    "voltage": 0
  },
  "rssi": -108,
  "sender": "!fa66367c",
  "snr": 4,
  "timestamp": 1707671407,
  "to": 4294967295,
  "type": "telemetry"
}

{
  "channel": 0,
  "from": 2692927950,
  "id": 1607030652,
  "payload": {
    "PDOP": 769,
    "ground_speed": 24,
    "ground_track": 20434000,
    "latitude_i": 471919845,
    "longitude_i": 88149573,
    "sats_in_view": 3,
    "time": 1707662920,
    "timestamp": 1707662805
  },
  "rssi": -123,
  "sender": "!fa66367c",
  "snr": -10,
  "timestamp": 1707662922,
  "to": 2692927950,
  "type": "position"
}

After Datacake is connected to the MQTT broker, the received payload can be decoded using JavaScript.

The Datacake dashboard can then be set up for the desktop according to the following image.

Nach Verbindung von Datacake mit dem MQTT Broker kann die Decodierung der empfangenen Payload mit Hilfe von JavaScript vorgenommen werden.

Das Datacake Dashboard kann dann gemäss folgendem Bild für den Desktop eingerichtet werden.

Datacake Dashboard

But Datacake also allows you to create dashboards for mobile devices, as the following image shows

Datacake ermöglicht aber auch das Erstellen von Dashboards für Mobilgeräte, wie das folgende Bild zeigt.

Datacake Mobil Dashboard

2024-03-21/CK

Meshtastic – Off-Grid Open-Source Mesh Network

Meshtastic® is an open-source project that uses low-cost LoRa modules to build a long-range, off-grid mesh network in areas without reliable communications infrastructure.

Meshtastic uses LoRa, a long-range radio protocol that is widely available in most regions without the need for additional licenses or certifications. The license-free ISM band is reserved for this type of communication.

The radios rebroadcast messages they receive, ensuring that every node, even those at the furthest distance, can receive messages. Depending on the settings, the Meshtastic mesh network can simultaneously support up to 100 nodes.

Meshtastic radios can be paired with a single phone to send messages directly to an addressed radio. Please note that each device can only support a connection from one user at a time.

The mesh algorithm implements the principle of „flooding.“ Each node sends each packet to its neighbor node, which forwards the packet accordingly. This hop is a chain of wireless links leading ultimately to the destination node. When the packet is forwarded, the hop limit (HL) is reduced by one. The default HL is 3, but it can be set to 7. A packet with a HL of 0 will not be forwarded.

For more information on setting up and operating a Meshtastic network, I must refer you to the extensive information on the Meshtastic website. A very good introduction in German can be found here.

Meshtastic® ist ein Open-Source-Projekt, das kostengünstige LoRa-Module verwendet, um ein netzunabhängiges Mesh-Netzwerk mit großer Reichweite in Gebieten ohne zuverlässige Kommunikationsinfrastruktur aufzubauen.

Meshtastic verwendet LoRa, ein Long-Range Funkprotokoll, das in den meisten Regionen verfügbar ist, ohne dass zusätzliche Lizenzen oder Zertifizierungen erforderlich sind. Das lizenzfreie ISM-Band ist für diese Art der Kommunikation reserviert.

Die LoRa-Module senden die empfangenen Nachrichten weiter, so dass jeder Knoten, auch der am weitesten entfernte, Nachrichten empfangen kann. Je nach Einstellung kann das Meshtastic Mesh-Netzwerk bis zu 100 Knoten gleichzeitig unterstützen.

Meshtastic-Knoten können mit einem Mobiltelefon gepaart werden, um Nachrichten direkt an einen adressierten Knoten zu senden. Jeder Knoten kann immer nur eine Verbindung von einem Benutzer gleichzeitig unterstützen.

Der Mesh-Algorithmus setzt das Prinzip des „Flooding“ um. Jeder Knoten sendet jedes Paket an seinen Nachbarknoten, der das Paket entsprechend weiterleitet. Dieser Hop ist eine Kette von Weiterleitungen, die schließlich zum Zielknoten führt. Bei der Weiterleitung des Pakets wird das Hop-Limit (HL) um eins verringert. Das Standard-HL ist 3, kann aber auch auf 7 gesetzt werden. Ein Paket mit einem HL von 0 wird nicht mehr weitergeleitet.

Für weitere Informationen zur Einrichtung und zum Betrieb eines Meshtastic-Netzwerks muss ich Sie auf die umfangreichen Informationen auf der Meshtastic-Website verweisen. Eine sehr gute Einführung in deutscher Sprache finden Sie hier.


For initial tests, I set up the Meshtastic network shown in the picture.

Für erste Tests habe ich das im Bild gezeigte Meshtastic Netzwerk aufgebaut.

Meshtastic Network

I’m going to show you the first results here, to whet your appetite for a more in-depth exploration of the world of Meshtastic.

The first image shows the router created with a Heltec Lora32 V3 connected to the mobile phone via WiFi (192.168.1.114). The second shows my own nodes and the third shows external nodes visible on the public primary channel. Depending on the configuration of each node, you can see battery voltage, GPS data, environmental data, and distances. The fourth screen shows the location data on a map of the area. Beam shows the location of my LilyGo T-Beam.

The last two screens show the tracking of a moving node. First, the connection is made via the LilyGo T-Beam, and then, after the position has changed, via the Heltec V3 H01 node. This rerouting shows very well the possibilities of a mesh network.

Ich zeige Ihnen hier erste Ergebnisse, um die Lust am tieferen Erkunden der Meshtastic Welt zu wecken.

Im ersten Bild ist der mit einem Heltec Lora32 V3 gebildete Router über WiFi (192.168.1.114) mit dem Mobilphone verbunden, während im zweiten meine eigenen Knoten und im dritten Bild externe, im öffentlichen Primary Channel sichtbare Knoten zu sehen sind. Je nach Ausstattung der jeweiligen Knoten werden Batteriespannung, GPS-Daten oder Umgebungsdaten und Entfernungen angezeigt. Im vierten Bild sind die Positionsdaten in einem Map angezeigt. Mit Beam sehen Sie die Standortdaten meines LilyGo T-Beam.

Die beiden letzten Bilder zeigen das Tracing eines bewegten Knotens. Zuerst erfolgt die Verbindung über den LilyGo T-Beam und nach der Veränderung der Position über den Knoten Heltec V3 H01. Dieses Re-Routing zeigt die Möglichkeiten eines Mesh Netzwerk sehr gut.

The router supports the organization of network participants and the sending of MQTT messages via its WiFi interface. By connecting to the Internet, it can bridge the boundaries of the mesh network.

For example, an MQTT message in JSON format contains the information shown in the following image

Der Router unterstützt nicht nur die Organisation der Teilnehmer des Netzwerks, sondern ermöglicht durch sein WiFi-Interface auch das Versenden von MQTT-Messages und kann dadurch die Grenzen des Mesh-Netzwerks durch Verbindung ins Internet überbrücken.

Eine MQTT-Message im JSON-Format enthält beispielsweise die im folgenden Bild gezeigten Informationen.

The information can be made readable by parsing the transmitted payload.

I use a separate ESP32 for this, which has subscribed to the messages with the topic msh/#, decodes their payload and displays it via the console. The display can of course also be made more convenient.

Durch Parsing der übermittelten Payload kann die Information lesbar gestaltet werden.

Ich nutze hierfür einen separaten ESP32, der die Messages mit dem Topic msh/# abonniert hat, deren Payload decodiert und über die Console zur Anzeige bringt. Die Anzeige kann natürlich auch komfortabler gestaltet werden.

Telemetry Message
Position Message

The Meshtastic logo trademark is the trademark of Meshtastic LLC.


2024-03-08/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.

RAKwireless WisBlock IAQ Solution Kit

The WisBlock IAQ Solution Kit presented by RAKwireless is a measuring device for determining indoor air quality based on temperature, relative humidity, light, CO2, particulate matter, and VOCs.

It is also possible to record room occupancy.

An optional eInk display is a GUI and can present all measured values to the user.


An RGB LED on the front can be set up as a status display and used as a CO2 traffic light, for example.

Das von RAKwireless vorgestellte WisBlock IAQ Solution Kit ist Messgerät zur Bestimmung der Luftqualität im Innenraum anhand von Temperatur, relativer Feuchte, Licht, CO2, Feinstaub und VOC.

Die Erfassung der Raumbelegung ist ebenfalls möglich.

Ein optinales eInk-Display dient als GUI und kann alles erfassten Messwerte dem Anwender präsentieren.

Eine frontseitige RGB-LED kann als Statusanzeige eingerichtet werden und beispielsweise als CO2-Ampel dienen.

The mentioned features already make the RAK10702 device interesting, but I believe the implementation is more important.

RAK10702 is made up of WisBlock components and is, therefore, completely flexible in terms of both hardware and application software.


In addition, the specially developed housing ensures optimum airflow, which is a prerequisite for accurate measurements of the WisBlock air quality sensors.

All design files for the enclosure are Open Source. RAKwireless offers the 3D-printed housing directly. However, you can also use the design data for your own 3D printing.

The individual components of the RAK10702 kit are shown in the following picture.

Die genannten Eigenschaften machen das RAK10702 Device bereits interessant, doch wichtiger ist aus meiner Sicht die vorgenommene Umsetzung.

RAK10702 ist aus WisBlock Komponenten aufgebaut und ist damit sowohl in der Hardware als auch der Anwendungssoftware vollkommen flexibel.

Hinzu kommt, dass das speziell entwickelte Gehäuse einen optimalen Luftstrom sicherstellt, der Voraussetzung für genaue Messungen der WisBlock Luftqualitätssensoren ist.

Alle Designdateien für das Gehäuse sind Open Source. RAKwireless bietet das 3D-gedruckte Gehäuse direkt an. Sie können aber auch die Designdaten für einen eigenen 3D-Druck verwenden.

Die einzelnen Bestandteile des RAK10702 Kits zeigt das folgende Bild.

The WisBlock IAQ Solution Kit presented here is a very good example of how WisBlock components can be used to build complex industrial-grade IoT devices.

I have described further applications in my eBook IoT projects for makers with WisBlock from RAKwireless. Just browse through the sample to get an impression.


Internationally, you can find the WisBlock components from RAKwireless in their online store or at Aliexpress.

Das hier vorgestellte WisBlock IAQ Solution Kit ist in sehr gutes Beispiel dafür, wie mit WisBlock Komponenten komplexe industrietaugliche IoT-Devices aufgebaut werden können.

In meinem eBook IoT-Projekte für Maker mit WisBlock von RAKwireless habe ich weiter Anwendungen beschrieben. Blättern Sie einfach durch die Leseprobe, um einen Eindruck zu bekommen.

Im DACH-Bereich (D, A, CH) werden Komponenten von RAKwireless mittlerweile von zahlreichen Distributoren angeboten. Das sind u.a.:

CH: https://www.bastelgarage.ch/rak-wireless
https://www.galaxus.ch/de/search?q=RAKwireless

D: https://shop.allnet.de/rak-wireless/
https://www.innet24.de/rak-wireless


2023-12-12/CK

SensorHub – Reduction of Power Consumption

The power supply of the SensorHub by an RAK9154 solar battery enables the autonomous operation of the complete measuring station. I describe this in my eBook SensorHub IoT Applications.

I had to close the chapter describing this application as follows: On sunny days, recharging the battery will hardly be a problem. On cloudy days, this balance looks less favorable, and it remains to be seen whether the weather conditions in my area offer sufficiently good conditions. It is, therefore, essential that the anticipated variant of the SensorHub promises to reduce power requirements further.

I have good news today. I got a new version of SensorHub and replaced the existing one. As you can see in the screenshot of the WisToolBox app, the hardware version changed from VF zu VH and the firmware from V1.1.79 to V1.2.6.

Existing Version of SensorHub
New Version of SensorHub

The following screenshot shows the behavior of the solar battery before and after the SensorHub replacement. The weather conditions are worse over the whole period.

You can see that before the replacement of the SensorHub the current consumption was about 50 mA in the phase of discharge. After the replacement, it is reduced significantly. The same behavior can be seen in the battery capacity curve. Before the replacement, the battery capacity dropped between 10% and 20% per day without recharging.

After the replacement, the discharge remains quite small. The current consumption was about 10 mA in the phase of discharge, and the battery capacity dropped by about 1%. The weather conditions were very bad therefore, the recharging was limited to a short time.

Now, I’m waiting for a sunny day so that the solar cell can charge the battery sufficiently to survive a period of bad weather without losing the connection.

The sun came out for a few hours, and the battery was charged. During this time, the solar cell delivers a considerable charging current.

We are on the right way, as you can see, after two days with a bit of sun.


2023-11-23/CK

SensorHub Measuring Station for Weather and Soil Parameters

The RK900-09 Weather Station described in my post RK900-09 Weather Station on SensorHub is the base for this SensorHub Measuring Station built by RK900-09 Weather Station, RK520-02 Soil Moisture Sensor, and RAK9154 Solar Battery. These components manufactured by RAKwireless 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 battery operation in the darker season on the other hand.

The SensorHub periodically sends the measuring values to the TTN (CE) LNS. Datacake serves as a visualization platform, as the following screenshots show.

Datacake Dashboard

You can follow the acquired data on the Datacake dashboard via this Public Link.

Details of the implementation and required adaptions to the payload decoder for both platforms, as well as further hints to SensorHub, will be published in the eBook mentioned in the post RAKwireless IoT Applications.


2023-10-26/CK

Proyectos IoT para Makers

La edición española ya está disponible en Amazon.es


2023-10-26/CK