Diferència entre revisions de la pàgina «Siarq's Hybrid 2.2»

De binefa.com
Salta a la navegació Salta a la cerca
Línia 20: Línia 20:
 
== Sensors ==
 
== Sensors ==
 
Modbus baud rate : 4800 bauds
 
Modbus baud rate : 4800 bauds
 +
 +
'''Noise''' sensor modbus address: 0x01
 +
 +
'''PM''' sensor modbus address: 0x02
 +
 +
'''O3''' sensor modbus address: 0x03
 +
 +
'''NO2''' sensor modbus address: 0x04
 +
 +
'''CO2''' sensor modbus address: 0x05
  
 
  Byte '''0''': '''CO2''' sensor or '''Noise''' sensor (Most Significant Byte)
 
  Byte '''0''': '''CO2''' sensor or '''Noise''' sensor (Most Significant Byte)
Línia 32: Línia 42:
  
 
For instance, byte[2]: 0x0F, byte[3]: 0x00, byte[4]:0x10 and byte[5]: 0x00 -> 0x000F = 15 (PM2.5: 15'''ug/m3''') and 0x0010 = 16 (PM10: 16'''ug/m3''')
 
For instance, byte[2]: 0x0F, byte[3]: 0x00, byte[4]:0x10 and byte[5]: 0x00 -> 0x000F = 15 (PM2.5: 15'''ug/m3''') and 0x0010 = 16 (PM10: 16'''ug/m3''')
 +
 +
Byte '''6''': Temperature's '''O3''' sensor (Most Significant Byte)
 +
Byte '''7''': Temperature's '''O3''' sensor (Least Significant Byte)
 +
Byte '''8''': Relative humidity's '''O3''' sensor (Most Significant Byte)
 +
Byte '''9''': Relative humidity's '''O3''' sensor (Least Significant Byte)
 +
Byte '''10''': Ozone's '''O3''' sensor (Most Significant Byte)
 +
Byte '''11''': Ozone's '''O3''' sensor (Least Significant Byte)
  
 
== Epever's MPPT part ==
 
== Epever's MPPT part ==

Revisió del 19:44, 22 jul 2022

This wiki is written to understand current LoRaWAN protocol being sent by Siarq's Hybrid 2.2 (LoRaWAN version).

LoRaWAN version

alpha-omega-tech-hyb The Things Stack Community Edition Application

Credentials

AppEUI, DevEUI and AppKey

For eui-70b3d57ed0053704 device at alpha-omega-tech-hyb application:

static const u1_t PROGMEM APPEUI[8] = { 0x01, 0x00, 0x00, 0x0C, 0x0B, 0x0A, 0x01, 0x05 }; // Little endian format
static const u1_t PROGMEM DEVEUI[8] = { 0x04, 0x37, 0x05, 0xD0, 0x7E, 0xD5, 0xB3, 0x70 }; // Little endian format
static const u1_t PROGMEM APPKEY[16] = { 0x65, 0x31, 0x77, 0x83, 0x4D, 0xE7, 0x2E, 0x04, 0x54, 0x9A, 0xB3, 0x63, 0xBA, 0x1F, 0x25, 0xC1 }; // Big endian format

MQTT(S)

Broker: eu1.cloud.thethings.network:8883
Username: alpha-omega-tech-hyb@ttn
API key:  NNSXS.S52UVHQC54UAR2CMHGFTLNPARYX2VKWKEOE4QMA.QAWCZOCBTDZMMQLCUL7ORXDAOR7IK75MYO5OZHQ37BX346CZUAXA
uplink topic: v3/alpha-omega-tech-hyb@ttn/devices/eui-70b3d57ed0053704/up


Sensors

Modbus baud rate : 4800 bauds

Noise sensor modbus address: 0x01

PM sensor modbus address: 0x02

O3 sensor modbus address: 0x03

NO2 sensor modbus address: 0x04

CO2 sensor modbus address: 0x05

Byte 0: CO2 sensor or Noise sensor (Most Significant Byte)
Byte 1: CO2 sensor or Noise sensor (Least Significant Byte)

For instance, byte[0]: 0x82 and byte[1]: 0x02 -> 0x0282 = 642 (642ppm if it is CO2 sensor o 64.2dBA if it is a noise sensor)

Byte 2: PM2.5 sensor (Most Significant Byte)
Byte 3: PM2.5 sensor (Least Significant Byte)
Byte 4: PM10 sensor (Most Significant Byte)
Byte 5: PM10 sensor (Least Significant Byte)

For instance, byte[2]: 0x0F, byte[3]: 0x00, byte[4]:0x10 and byte[5]: 0x00 -> 0x000F = 15 (PM2.5: 15ug/m3) and 0x0010 = 16 (PM10: 16ug/m3)

Byte 6: Temperature's O3 sensor (Most Significant Byte)
Byte 7: Temperature's O3 sensor (Least Significant Byte)
Byte 8: Relative humidity's O3 sensor (Most Significant Byte)
Byte 9: Relative humidity's O3 sensor (Least Significant Byte)
Byte 10: Ozone's O3 sensor (Most Significant Byte)
Byte 11: Ozone's O3 sensor (Least Significant Byte)

Epever's MPPT part

Modbus baud rate : 115200 bauds

Epever's MPPT Modbus Commands