Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from vad7/master
Browse files Browse the repository at this point in the history
upd
  • Loading branch information
vad7 authored Feb 24, 2023
2 parents 460f717 + 42d8e2c commit 4802f00
Show file tree
Hide file tree
Showing 4 changed files with 176 additions and 317 deletions.
30 changes: 15 additions & 15 deletions Distr/nrf24batch/CO2_mini.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ Info: CO2 sensor mini
Rate: 1
Ch: 121
CRC: 2
DPL: 0
Address: C8C8CF
Delay_ms: 10
Resend: 3
Delay_ms: 30

Payload struct: 2,1,1
EEPROM=0; RAM=1; PROGMEM=2; ID=3; RESET=4

R default: ,EEPROM,0xC1
W default: n,,0x81
Write start: ,,0x8F
Write start: 0,0,0x8F

R: ID*=,ID
R: OSCCAL=0x51,RAM
Expand All @@ -24,10 +26,7 @@ R: Ch=2
W: Ch=,2

R: nRF RETR=3
W: nRF RETR 1/750uS=0x21,3

R: AnswerDelay=9
W: AnswerDelay=,9
W: nRF RETR=,3

R: Send period=4
W: Send period=,4
Expand All @@ -38,19 +37,20 @@ W: CO2 threshold=,5,0x82
R: CO2 correct*2=7,,0xC2
W: CO2 correct=,7,0x82

R: FanLSB[10]=i:10
W: FanLSB=,i:19
R: FanLSB[10]=i:9
W: FanLSB=,i:9

W: Reset=,RESET,0xC1

RBatch: Settings: ID;OSCCAL;RxAddr;Ch;nRF RETR;CO2 threshold;CO2 correct;FanLSB
RBatch: Settings2: OSCCAL;OSCCAL_EMEM;RxAddr;Ch;nRF RETR;CO2 threshold;CO2 correct;FanLSB

WBatch: Default Ch-121: RxAddr=0xCF;Ch=121;CO2 threshold=1000;CO2 correct=0;Send period=30;FanLSB={0xC1,0xC2,0xC3,0};Reset
WBatch: Default Ch-10: RxAddr=0xCF;Ch=10;CO2 threshold=1000;CO2 correct=0;Send period=31;FanLSB={0xC1,0};Reset
WBatch: Default Ch-121: RxAddr=0xCF;Ch=121;CO2 threshold=1000;CO2 correct=0;Send period=30;nRF RETR=0x17;FanLSB={0xC1,0};Reset
WBatch: Default Ch-10: RxAddr=0xCF;Ch=10;CO2 threshold=1000;CO2 correct=0;Send period=31;FanLSB={0xC1,0xC2,0};Reset
WBatch: CO2: CO2 threshold=1000;CO2 correct=1
WBatch: Fan: FanLSB={0xC2,0xC3,0};Reset
WBatch: DELAY=0: AnswerDelay=0
WBatch: DELAY=100: AnswerDelay=100
WBatch: DELAY=200: AnswerDelay=200
WBatch: DELAY=255: AnswerDelay=255
WBatch: Fan2: FanLSB={0xC2,0xC3,0};Reset
WBatch: RETR 0x17: nRF RETR=0x17
WBatch: RETR 0x2F: nRF RETR=0x2F
WBatch: RETR 0x0F: nRF RETR=0x0F
WBatch: RETR 0x01: nRF RETR=0x01
WBatch: Reset: Reset
Loading

0 comments on commit 4802f00

Please sign in to comment.