{"id":2451,"date":"2022-05-08T11:21:28","date_gmt":"2022-05-08T09:21:28","guid":{"rendered":"https:\/\/www.nico-maas.de\/?p=2451"},"modified":"2022-05-08T11:21:33","modified_gmt":"2022-05-08T09:21:33","slug":"taming-the-rak5146-sx1303","status":"publish","type":"post","link":"https:\/\/www.nico-maas.de\/?p=2451","title":{"rendered":"Taming the RAK5146 \/ SX1303"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Its been a while - but good things come to those who wait ;).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Trying to work out a new system you're unfamiliar with can be quite a challenge. In my case I got my first LoRaWAN concentrator along with some CubeCell HTCC-AB01\u00a0and tried to get them to work. It turned out - it was quite hit and miss. On the one hand, the firmware support for the RAK5146 with USB, GPS and LBT was not really ready yet - on the other hand, the CubeCell Arduino code has a <a href=\"https:\/\/github.com\/HelTecAutomation\/CubeCell-Arduino\/issues\/195\" target=\"_blank\" rel=\"noreferrer noopener\">fatal flaw<\/a> with the preamble size so that those cannot join a LoRa network if used in EU868 MHz Band (<a href=\"https:\/\/github.com\/1rabbit\/CubeCell-Arduino\/commit\/58cb65dc7ddd5e7e2ceb5ae23858d678207062d4\">the perfect fix<\/a> by 1rabbit is linked as well!).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the end, as I wanted to get this working as best as possible, I bought myself the <a href=\"https:\/\/store.rakwireless.com\/products\/rak2287-pi-hat\" target=\"_blank\" rel=\"noreferrer noopener\">RAK2287 Pi Hat<\/a> and started modifying it. I was quite sure that the I2C signals should be available somewhere on that board - as well as 5V + 3v3 along with the raw PPS signal of the GPS module within the RAK5146. I was right and could bridge the PPS signal to an used RPi GPIO pin. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/bb69b3ffd44988a128f0123bd5893d0982badd6e.jpeg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-attachment-id=\"2452\" data-permalink=\"https:\/\/www.nico-maas.de\/?attachment_id=2452\" data-orig-file=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/bb69b3ffd44988a128f0123bd5893d0982badd6e.jpeg?fit=1680%2C1260&amp;ssl=1\" data-orig-size=\"1680,1260\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"bb69b3ffd44988a128f0123bd5893d0982badd6e\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/bb69b3ffd44988a128f0123bd5893d0982badd6e.jpeg?fit=1024%2C768&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/bb69b3ffd44988a128f0123bd5893d0982badd6e.jpeg?resize=1024%2C768&#038;ssl=1\" alt=\"\" class=\"wp-image-2452\" srcset=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/bb69b3ffd44988a128f0123bd5893d0982badd6e.jpeg?resize=1024%2C768&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/bb69b3ffd44988a128f0123bd5893d0982badd6e.jpeg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/bb69b3ffd44988a128f0123bd5893d0982badd6e.jpeg?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/bb69b3ffd44988a128f0123bd5893d0982badd6e.jpeg?resize=1536%2C1152&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/bb69b3ffd44988a128f0123bd5893d0982badd6e.jpeg?resize=1100%2C825&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/bb69b3ffd44988a128f0123bd5893d0982badd6e.jpeg?w=1680&amp;ssl=1 1680w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>PPS Pin bridged to GPIO 04<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Using the I2C signal lines, Ground and 3v3 I added an I2C sensor interface (call it an ugly QWIIC connector ;)).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/e4b877ab19c19f918bf0184acee31a6ee8ca0c33.jpeg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-attachment-id=\"2453\" data-permalink=\"https:\/\/www.nico-maas.de\/?attachment_id=2453\" data-orig-file=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/e4b877ab19c19f918bf0184acee31a6ee8ca0c33.jpeg?fit=1680%2C1260&amp;ssl=1\" data-orig-size=\"1680,1260\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"e4b877ab19c19f918bf0184acee31a6ee8ca0c33\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/e4b877ab19c19f918bf0184acee31a6ee8ca0c33.jpeg?fit=1024%2C768&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/e4b877ab19c19f918bf0184acee31a6ee8ca0c33.jpeg?resize=1024%2C768&#038;ssl=1\" alt=\"\" class=\"wp-image-2453\" srcset=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/e4b877ab19c19f918bf0184acee31a6ee8ca0c33.jpeg?resize=1024%2C768&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/e4b877ab19c19f918bf0184acee31a6ee8ca0c33.jpeg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/e4b877ab19c19f918bf0184acee31a6ee8ca0c33.jpeg?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/e4b877ab19c19f918bf0184acee31a6ee8ca0c33.jpeg?resize=1536%2C1152&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/e4b877ab19c19f918bf0184acee31a6ee8ca0c33.jpeg?resize=1100%2C825&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/e4b877ab19c19f918bf0184acee31a6ee8ca0c33.jpeg?w=1680&amp;ssl=1 1680w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>PPS hack and \"poor mans QWIIC connector added\"<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">I installed the latest<a href=\"https:\/\/github.com\/RAKWireless\/udp-packet-forwarder\" target=\"_blank\" rel=\"noreferrer noopener\"> UDP Packet Forwarder <\/a>package by Xose - and everything was working perfectly since then.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I even added brocaars <a href=\"https:\/\/github.com\/brocaar\/chirpstack-packet-multiplexer\" target=\"_blank\" rel=\"noreferrer noopener\">Packet Multiplexer<\/a> and started running a local ChirpStack instance on my home server. Now my sensors are feeding their data directly to my local InfluxDBv2 and Grafana - but at the same time my Gateway is still available for TTNv3 users to receive their data. Its awesome and with that I even receive my private data during WAN outages. Nice!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As added \"bonus\", my <a href=\"https:\/\/www.nico-maas.de\/?p=2370\" target=\"_blank\" rel=\"noreferrer noopener\" title=\"gpsTime\">gpsTime<\/a> project is running on the same RPi, using the GPS time of the RAK5146 and its PPS signal to be an extremely precise GPS timeserver in my network - and an additional BME280 is running as the \"room sensor\", because adding another battery operated device - if you are having more than enough CPU power (in form of the RPi ;)) is really not needed. The whole device fits behind the TV.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/c2b8a0a678bc0ee067bf3143300c637c763a7944.jpeg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-attachment-id=\"2454\" data-permalink=\"https:\/\/www.nico-maas.de\/?attachment_id=2454\" data-orig-file=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/c2b8a0a678bc0ee067bf3143300c637c763a7944.jpeg?fit=1260%2C1680&amp;ssl=1\" data-orig-size=\"1260,1680\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"c2b8a0a678bc0ee067bf3143300c637c763a7944\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/c2b8a0a678bc0ee067bf3143300c637c763a7944.jpeg?fit=768%2C1024&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/c2b8a0a678bc0ee067bf3143300c637c763a7944.jpeg?resize=768%2C1024&#038;ssl=1\" alt=\"\" class=\"wp-image-2454\" srcset=\"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/c2b8a0a678bc0ee067bf3143300c637c763a7944.jpeg?resize=768%2C1024&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/c2b8a0a678bc0ee067bf3143300c637c763a7944.jpeg?resize=225%2C300&amp;ssl=1 225w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/c2b8a0a678bc0ee067bf3143300c637c763a7944.jpeg?resize=1152%2C1536&amp;ssl=1 1152w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/c2b8a0a678bc0ee067bf3143300c637c763a7944.jpeg?resize=1100%2C1467&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/c2b8a0a678bc0ee067bf3143300c637c763a7944.jpeg?w=1260&amp;ssl=1 1260w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><figcaption>\"Not Great, Not Terrible\"<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">All in all, the project was very successful, I am working on some new ideas regarding the sensors, but this is pending on my KiCad 6 skills and deliveries of new RAK hardware currently on the way ;).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I still keep all infos in the <a href=\"https:\/\/forums.balena.io\/t\/lorawan-adventures-with-the-sx1303\/346891\" target=\"_blank\" rel=\"noreferrer noopener\">balena Forums<\/a>, so head over if you want more details.<\/p>\n<div class=\"shariff shariff-align-left shariff-widget-align-left\"><ul class=\"shariff-buttons theme-round orientation-horizontal buttonsize-small\"><li class=\"shariff-button printer shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"javascript:window.print()\" title=\"print\" aria-label=\"print\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 30 32\"><path fill=\"#999\" d=\"M6.8 27.4h16v-4.6h-16v4.6zM6.8 16h16v-6.8h-2.8q-0.7 0-1.2-0.5t-0.5-1.2v-2.8h-11.4v11.4zM27.4 17.2q0-0.5-0.3-0.8t-0.8-0.4-0.8 0.4-0.3 0.8 0.3 0.8 0.8 0.3 0.8-0.3 0.3-0.8zM29.7 17.2v7.4q0 0.2-0.2 0.4t-0.4 0.2h-4v2.8q0 0.7-0.5 1.2t-1.2 0.5h-17.2q-0.7 0-1.2-0.5t-0.5-1.2v-2.8h-4q-0.2 0-0.4-0.2t-0.2-0.4v-7.4q0-1.4 1-2.4t2.4-1h1.2v-9.7q0-0.7 0.5-1.2t1.2-0.5h12q0.7 0 1.6 0.4t1.3 0.8l2.7 2.7q0.5 0.5 0.9 1.4t0.4 1.6v4.6h1.1q1.4 0 2.4 1t1 2.4z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button mailto shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"mailto:?body=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D2451&subject=Taming%20the%20RAK5146%20%2F%20SX1303\" title=\"Send by email\" aria-label=\"Send by email\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#999\" d=\"M32 12.7v14.2q0 1.2-0.8 2t-2 0.9h-26.3q-1.2 0-2-0.9t-0.8-2v-14.2q0.8 0.9 1.8 1.6 6.5 4.4 8.9 6.1 1 0.8 1.6 1.2t1.7 0.9 2 0.4h0.1q0.9 0 2-0.4t1.7-0.9 1.6-1.2q3-2.2 8.9-6.1 1-0.7 1.8-1.6zM32 7.4q0 1.4-0.9 2.7t-2.2 2.2q-6.7 4.7-8.4 5.8-0.2 0.1-0.7 0.5t-1 0.7-0.9 0.6-1.1 0.5-0.9 0.2h-0.1q-0.4 0-0.9-0.2t-1.1-0.5-0.9-0.6-1-0.7-0.7-0.5q-1.6-1.1-4.7-3.2t-3.6-2.6q-1.1-0.7-2.1-2t-1-2.5q0-1.4 0.7-2.3t2.1-0.9h26.3q1.2 0 2 0.8t0.9 2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D2451&text=Taming%20the%20RAK5146%20%2F%20SX1303\" title=\"Share on X\" aria-label=\"Share on X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D2451\" title=\"Share on Facebook\" aria-label=\"Share on Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button linkedin shariff-nocustomcolor\" style=\"background-color:#1488bf\"><a href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D2451\" title=\"Share on LinkedIn\" aria-label=\"Share on LinkedIn\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0077b5; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#0077b5\" d=\"M6.2 11.2v17.7h-5.9v-17.7h5.9zM6.6 5.7q0 1.3-0.9 2.2t-2.4 0.9h0q-1.5 0-2.4-0.9t-0.9-2.2 0.9-2.2 2.4-0.9 2.4 0.9 0.9 2.2zM27.4 18.7v10.1h-5.9v-9.5q0-1.9-0.7-2.9t-2.3-1.1q-1.1 0-1.9 0.6t-1.2 1.5q-0.2 0.5-0.2 1.4v9.9h-5.9q0-7.1 0-11.6t0-5.3l0-0.9h5.9v2.6h0q0.4-0.6 0.7-1t1-0.9 1.6-0.8 2-0.3q3 0 4.9 2t1.9 6z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D2451\" title=\"Share on Reddit\" aria-label=\"Share on Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button pinterest shariff-nocustomcolor\" style=\"background-color:#e70f18\"><a href=\"https:\/\/www.pinterest.com\/pin\/create\/link\/?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D2451&media=https%3A%2F%2Fwww.nico-maas.de%2Fwordpress%2Fwp-content%2Fuploads%2Fbb69b3ffd44988a128f0123bd5893d0982badd6e-1024x768.jpeg&description=Taming%20the%20RAK5146%20%2F%20SX1303\" title=\"Pin it on Pinterest\" aria-label=\"Pin it on Pinterest\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#cb2027; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#cb2027\" d=\"M27.4 16q0 3.7-1.8 6.9t-5 5-6.9 1.9q-2 0-3.9-0.6 1.1-1.7 1.4-2.9 0.2-0.6 1-3.8 0.4 0.7 1.3 1.2t2 0.5q2.1 0 3.8-1.2t2.7-3.4 0.9-4.8q0-2-1.1-3.8t-3.1-2.9-4.5-1.2q-1.9 0-3.5 0.5t-2.8 1.4-2 2-1.2 2.3-0.4 2.4q0 1.9 0.7 3.3t2.1 2q0.5 0.2 0.7-0.4 0-0.1 0.1-0.5t0.2-0.5q0.1-0.4-0.2-0.8-0.9-1.1-0.9-2.7 0-2.7 1.9-4.6t4.9-2q2.7 0 4.2 1.5t1.5 3.8q0 3-1.2 5.2t-3.1 2.1q-1.1 0-1.7-0.8t-0.4-1.9q0.1-0.6 0.5-1.7t0.5-1.8 0.2-1.4q0-0.9-0.5-1.5t-1.4-0.6q-1.1 0-1.9 1t-0.8 2.6q0 1.3 0.4 2.2l-1.8 7.5q-0.3 1.2-0.2 3.2-3.7-1.6-6-5t-2.3-7.6q0-3.7 1.9-6.9t5-5 6.9-1.9 6.9 1.9 5 5 1.8 6.9z\"\/><\/svg><\/span><\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>Its been a while - but good things come to those who wait ;). Trying to work out a new system you're unfamiliar with can be quite a challenge. In my case I got my first LoRaWAN concentrator along with some CubeCell HTCC-AB01\u00a0and tried to get them to work. It turned out - it was &hellip; <a href=\"https:\/\/www.nico-maas.de\/?p=2451\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Taming the RAK5146 \/ SX1303<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<div class=\"shariff shariff-align-left shariff-widget-align-left\"><ul class=\"shariff-buttons theme-round orientation-horizontal buttonsize-small\"><li class=\"shariff-button printer shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"javascript:window.print()\" title=\"print\" aria-label=\"print\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 30 32\"><path fill=\"#999\" d=\"M6.8 27.4h16v-4.6h-16v4.6zM6.8 16h16v-6.8h-2.8q-0.7 0-1.2-0.5t-0.5-1.2v-2.8h-11.4v11.4zM27.4 17.2q0-0.5-0.3-0.8t-0.8-0.4-0.8 0.4-0.3 0.8 0.3 0.8 0.8 0.3 0.8-0.3 0.3-0.8zM29.7 17.2v7.4q0 0.2-0.2 0.4t-0.4 0.2h-4v2.8q0 0.7-0.5 1.2t-1.2 0.5h-17.2q-0.7 0-1.2-0.5t-0.5-1.2v-2.8h-4q-0.2 0-0.4-0.2t-0.2-0.4v-7.4q0-1.4 1-2.4t2.4-1h1.2v-9.7q0-0.7 0.5-1.2t1.2-0.5h12q0.7 0 1.6 0.4t1.3 0.8l2.7 2.7q0.5 0.5 0.9 1.4t0.4 1.6v4.6h1.1q1.4 0 2.4 1t1 2.4z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button mailto shariff-nocustomcolor\" style=\"background-color:#a8a8a8\"><a href=\"mailto:?body=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D2451&subject=Taming%20the%20RAK5146%20%2F%20SX1303\" title=\"Send by email\" aria-label=\"Send by email\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#999; color:#fff\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#999\" d=\"M32 12.7v14.2q0 1.2-0.8 2t-2 0.9h-26.3q-1.2 0-2-0.9t-0.8-2v-14.2q0.8 0.9 1.8 1.6 6.5 4.4 8.9 6.1 1 0.8 1.6 1.2t1.7 0.9 2 0.4h0.1q0.9 0 2-0.4t1.7-0.9 1.6-1.2q3-2.2 8.9-6.1 1-0.7 1.8-1.6zM32 7.4q0 1.4-0.9 2.7t-2.2 2.2q-6.7 4.7-8.4 5.8-0.2 0.1-0.7 0.5t-1 0.7-0.9 0.6-1.1 0.5-0.9 0.2h-0.1q-0.4 0-0.9-0.2t-1.1-0.5-0.9-0.6-1-0.7-0.7-0.5q-1.6-1.1-4.7-3.2t-3.6-2.6q-1.1-0.7-2.1-2t-1-2.5q0-1.4 0.7-2.3t2.1-0.9h26.3q1.2 0 2 0.8t0.9 2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D2451&text=Taming%20the%20RAK5146%20%2F%20SX1303\" title=\"Share on X\" aria-label=\"Share on X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D2451\" title=\"Share on Facebook\" aria-label=\"Share on Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button linkedin shariff-nocustomcolor\" style=\"background-color:#1488bf\"><a href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D2451\" title=\"Share on LinkedIn\" aria-label=\"Share on LinkedIn\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0077b5; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#0077b5\" d=\"M6.2 11.2v17.7h-5.9v-17.7h5.9zM6.6 5.7q0 1.3-0.9 2.2t-2.4 0.9h0q-1.5 0-2.4-0.9t-0.9-2.2 0.9-2.2 2.4-0.9 2.4 0.9 0.9 2.2zM27.4 18.7v10.1h-5.9v-9.5q0-1.9-0.7-2.9t-2.3-1.1q-1.1 0-1.9 0.6t-1.2 1.5q-0.2 0.5-0.2 1.4v9.9h-5.9q0-7.1 0-11.6t0-5.3l0-0.9h5.9v2.6h0q0.4-0.6 0.7-1t1-0.9 1.6-0.8 2-0.3q3 0 4.9 2t1.9 6z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D2451\" title=\"Share on Reddit\" aria-label=\"Share on Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button pinterest shariff-nocustomcolor\" style=\"background-color:#e70f18\"><a href=\"https:\/\/www.pinterest.com\/pin\/create\/link\/?url=https%3A%2F%2Fwww.nico-maas.de%2F%3Fp%3D2451&media=https%3A%2F%2Fwww.nico-maas.de%2Fwordpress%2Fwp-content%2Fuploads%2Fbb69b3ffd44988a128f0123bd5893d0982badd6e-1024x768.jpeg&description=Taming%20the%20RAK5146%20%2F%20SX1303\" title=\"Pin it on Pinterest\" aria-label=\"Pin it on Pinterest\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#cb2027; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#cb2027\" d=\"M27.4 16q0 3.7-1.8 6.9t-5 5-6.9 1.9q-2 0-3.9-0.6 1.1-1.7 1.4-2.9 0.2-0.6 1-3.8 0.4 0.7 1.3 1.2t2 0.5q2.1 0 3.8-1.2t2.7-3.4 0.9-4.8q0-2-1.1-3.8t-3.1-2.9-4.5-1.2q-1.9 0-3.5 0.5t-2.8 1.4-2 2-1.2 2.3-0.4 2.4q0 1.9 0.7 3.3t2.1 2q0.5 0.2 0.7-0.4 0-0.1 0.1-0.5t0.2-0.5q0.1-0.4-0.2-0.8-0.9-1.1-0.9-2.7 0-2.7 1.9-4.6t4.9-2q2.7 0 4.2 1.5t1.5 3.8q0 3-1.2 5.2t-3.1 2.1q-1.1 0-1.7-0.8t-0.4-1.9q0.1-0.6 0.5-1.7t0.5-1.8 0.2-1.4q0-0.9-0.5-1.5t-1.4-0.6q-1.1 0-1.9 1t-0.8 2.6q0 1.3 0.4 2.2l-1.8 7.5q-0.3 1.2-0.2 3.2-3.7-1.6-6-5t-2.3-7.6q0-3.7 1.9-6.9t5-5 6.9-1.9 6.9 1.9 5 5 1.8 6.9z\"\/><\/svg><\/span><\/a><\/li><\/ul><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[756],"tags":[706,394,757,484],"class_list":["post-2451","post","type-post","status-publish","format-standard","hentry","category-lorawan","tag-balena","tag-iot","tag-lorawan","tag-raspberry-pi"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/piXYf-Dx","jetpack-related-posts":[{"id":2651,"url":"https:\/\/www.nico-maas.de\/?p=2651","url_meta":{"origin":2451,"position":0},"title":"Getting LoRaWAN working with STM32WL55 and Radiolib","author":"Nico Maas","date":"28. January 2024","format":false,"excerpt":"Elektor was looking for some ideas regarding their STM32 Design Contest - and so I thought, why not putting the excellent work of the guys behind the RadioLib to good use and getting this board working in LoRaWAN (and it was easier than I thought :)): https:\/\/www.elektormagazine.com\/labs\/getting-lorawan-working-with-stm32wl55-and-radiolib","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.nico-maas.de\/?cat=344"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/IMG_20240128_152105001-2-1024x576.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/IMG_20240128_152105001-2-1024x576.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/IMG_20240128_152105001-2-1024x576.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/IMG_20240128_152105001-2-1024x576.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":2607,"url":"https:\/\/www.nico-maas.de\/?p=2607","url_meta":{"origin":2451,"position":1},"title":"RAK11300 - Getting it to work with Arduino-Pico and RadioLib!","author":"Nico Maas","date":"3. November 2023","format":false,"excerpt":"Intro About a year ago I got some RAK11300 modules - which are a nice combination of an RP2040 alongside a SX1262 radio on one module - designed a breakout board - tested it - and quickly shelved it. Reason was that this module was somewhat Arduino compliant - as\u2026","rel":"","context":"In &quot;Computer&quot;","block_context":{"text":"Computer","link":"https:\/\/www.nico-maas.de\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/rak11300_schematic-207x300.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2590,"url":"https:\/\/www.nico-maas.de\/?p=2590","url_meta":{"origin":2451,"position":2},"title":"[PiAndMore] TinyGS Presentation","author":"Nico Maas","date":"25. April 2023","format":false,"excerpt":"Here is my presentation to TinyGS @ PiAndMore 13 (University of Applied Sciences Trier, 22.04.2023) TinyGS_PiAndMore13.pdf Videorecording can be found here: tbd","rel":"","context":"In &quot;Talks&quot;","block_context":{"text":"Talks","link":"https:\/\/www.nico-maas.de\/?cat=392"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2414,"url":"https:\/\/www.nico-maas.de\/?p=2414","url_meta":{"origin":2451,"position":3},"title":"LoRaWAN with RAKwireless RAK5146: The SX1303 in the field, a rocky start","author":"Nico Maas","date":"10. October 2021","format":false,"excerpt":"Setting the scene Working with the guys over at balena comes with some perks - including the peer pressure of getting into new technologies and trying them out. My go-to person this time was balena Developer Advocate Marc Pous - who is not only no stranger to soldering - but\u2026","rel":"","context":"In &quot;LoRaWAN&quot;","block_context":{"text":"LoRaWAN","link":"https:\/\/www.nico-maas.de\/?cat=756"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2693,"url":"https:\/\/www.nico-maas.de\/?p=2693","url_meta":{"origin":2451,"position":4},"title":"RAK3172T in Arduino","author":"Nico Maas","date":"17. November 2024","format":false,"excerpt":"Updated on 2024-12-01 with latest fixes of STM32LoRaWAN v0.3.0 As the RAK11300 did not really match my requirements (it uses way too much energy), I looked further and found the RAK3172 which is based on an STM32WLE5CCU6 - an STM32 chip which usually include good powersaving modes. As with the\u2026","rel":"","context":"In &quot;Computer&quot;","block_context":{"text":"Computer","link":"https:\/\/www.nico-maas.de\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/rak3172-300x222.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2500,"url":"https:\/\/www.nico-maas.de\/?p=2500","url_meta":{"origin":2451,"position":5},"title":"Advantech AIR-020X Review","author":"Nico Maas","date":"5. March 2023","format":false,"excerpt":"Normally, I am not getting review units. This is due to the fact that I am only hosting this small weblog, along some conference talks - and most companies would probably be better off to send their units along someone with a reach of Linus Tech Tips, or similar. On\u2026","rel":"","context":"In &quot;Computer&quot;","block_context":{"text":"Computer","link":"https:\/\/www.nico-maas.de\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/air020_001.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/air020_001.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/air020_001.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/air020_001.jpg?resize=700%2C400 2x, https:\/\/i0.wp.com\/www.nico-maas.de\/wordpress\/wp-content\/uploads\/air020_001.jpg?resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/posts\/2451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2451"}],"version-history":[{"count":1,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/posts\/2451\/revisions"}],"predecessor-version":[{"id":2455,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=\/wp\/v2\/posts\/2451\/revisions\/2455"}],"wp:attachment":[{"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nico-maas.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}