Posts

Showing posts with the label M-BUS

Decoding wM-Bus with Arduino/SX1278

Image
5.7.2020 Decoding wM-Bus with Arduino/SX1278 Hardware: Arduino Due & Dragino Lora Module 868 MHz (Semtech SX1278) https://en.wikipedia.org/wiki/Meter-Bus http://uu.diva-portal.org/smash/get/diva2:847898/FULLTEXT02.pdf   #include <SPI.h> #define SERIAL_SPEED        38400 #define S_MODE_BPS          32768 #define T_MODE_BPS          100000 #define R_MODE_BPS          4800 #define C_MODE_BPS          100000 #define S_MODE_FREQ         868.287 // 868.3 #define T_MODE_FREQ         868.95 #define R_MODE_FREQ         868.33 #define C_MODE_FREQ         868.95 #define STATE_SLEEP     ...