SIGNALDuino Empfänger Firm- und Hardware

Begonnen von Ralf9, 02 Oktober 2016, 22:59:51

Vorheriges Thema - Nächstes Thema

Ralf9

Du kannst mal in der cc1101.h in Zeile 346 beim return das false durch true ersetzen. Damit wird dann der cc1101check deactiviert.
https://github.com/RFD-FHEM/SIGNALDuino/blob/dev-r33_cc1101/cc1101.h
Nach dem neu flashen kannst Du dann mal im seriellen Monitor folgendes senden:
C99
e     (factoryreset)
C99


Danach kannst Du mal in der cc1101.h ab Zeile 410 schrittweise folgendes ändern und danach jeweils neu flashen:
Zuerst die (45) auf 100 und 500 erhöhen,
und dann die beiden (30) auf 100 und 500 erhöhen
void CCinit(void) {                              // initialize CC1101

cc1101_Deselect();                                  // some deselect and selects to init the cc1101
delayMicroseconds(30);

cc1101_Select();
delayMicroseconds(30);

cc1101_Deselect();
delayMicroseconds(45);

cmdStrobe(CC1101_SRES);



Gruß Ralf

FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

HomeAuto_User

#256
Zitat von: Sidey am 05 Februar 2017, 15:10:26
Schade, wäre wohl zu einfach gewesen...

@Sidey - Wir bleibe dran.
Mir fiel was auf. Du fragst via #ifdef ARDUINO_AVR_ICT_BOARDS_ICT_BOARDS_AVR_RADINOCC1101 das Board ab.
Nachdem ich nun die Abfrage einfach mal in einen Sketch nahm und testete, bekomme ich keine Übereinstimmung und somit bin ich in der Sonst-Schleife.
Woher nimmst du diesen Wert? Hast du oder dein Programm die Board.txt ergänzt / geändert?

Wenn ich nach dem ergänzen der Herstellerdateien in Arduino IDE nachsehe, so habe ich neue Einträge aber keine die sich so benennen wie du Ihn abfragst.
(Windows 10 / Arduino) Nicht das dies bei versch. Programmen / Betriebssystemen anders gehandhabt wird.

@Ralf, ich werde das mal testen.

Edit: Es war spät und selbst erklärend :) Dennoch gibt es eine warme Spur!
"Developer" heißt nicht, das man alles wissen kann!
- FHEM v5.9 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) - Sensoren: purer Dschungel querbeet

Brandenburger

Hallo Sidey,

seit ich meine TFA30.3121 mit dem SIGNALduino empfange, tauchen in den logs sporadische Temperaturwerte von 30.0°C auf.

2017-02-06_03:33:42 Sensor1 humidity: 81.0
2017-02-06_03:36:40 Sensor1 humidity: 80.0
2017-02-06_03:58:10 Sensor1 temperature: 30.0
2017-02-06_03:59:09 Sensor1 temperature: 2.7
2017-02-06_04:18:44 Sensor1 temperature: 30.0
2017-02-06_04:19:43 Sensor1 temperature: 2.6
2017-02-06_04:32:28 Sensor1 temperature: 30.0
2017-02-06_04:33:26 Sensor1 temperature: 2.6
2017-02-06_06:00:20 Sensor1 temperature: 2.4
2017-02-06_06:39:16 Sensor1 humidity: 79.0
2017-02-06_06:40:15 Sensor1 humidity: 80.0

Die Versionen von fhem, SIGNALduino und CUL_TX sind aktuell.
Beim CUL433 ware alle empfangenen Werte korrekt.

Grüße aus Brandenburg! :)

HomeAuto_User

#258
Hallo,

@Ralf, deine Variante brachte nichts.

@Sidey, schau bitte mal in deine output.h an.
Zitat#define portOfPin(P)\
  (((P)>=0&&(P)<8)?&PORTD:(((P)>7&&(P)<14)?&PORTB:&PORTC))
#define ddrOfPin(P)\
  (((P)>=0&&(P)<8)?&DDRD:(((P)>7&&(P)<14)?&DDRB:&DDRC))
#define pinOfPin(P)\
  (((P)>=0&&(P)<8)?&PIND:(((P)>7&&(P)<14)?&PINB:&PINC))
#define pinIndex(P)((uint8_t)(P>13?P-14:P&7))
#define pinMask(P)((uint8_t)(1<<pinIndex(P)))

#define pinAsInput(P) *(ddrOfPin(P))&=~pinMask(P)
#define pinAsInputPullUp(P) *(ddrOfPin(P))&=~pinMask(P);digitalHigh(P)
#define pinAsOutput(P) *(ddrOfPin(P))|=pinMask(P)
#define digitalLow(P) *(portOfPin(P))&=~pinMask(P)
#define digitalHigh(P) *(portOfPin(P))|=pinMask(P)
#define isHigh(P)((*(pinOfPin(P))& pinMask(P))>0)
#define isLow(P)((*(pinOfPin(P))& pinMask(P))==0)
#define digitalState(P)((uint8_t)isHigh(P))
Hier werden Ports "umgewandelt" in PIN-Bezeichnunen ABER vermutlich nur bis 13.
Alle Ports/Pins über 13, also 14/15/16/(17) welche für den Radino benutzt werden, würden somit "ausgegrenzt" werde.

Ansatz?
Gegenüberstellung zur Verdeutlichung
""Zitat:  (note that this code only works with ATmega8/168/328-based board such Arduino Uno. ""

Grüße

PS: Später werde ich noch einen Test hochladen, wo du siehst, das bei einem simplen ISP Beispiel (nicht das Ersthochgeladene von den Vorseiten) die Initialisierung klappt.

EDIT: 1)LINK mit ggf. richtiger Erweiterung - Abschnitt "// --- Arduino Leonardo ---"
          2) SPI_Test Sketch womit es auf beiden Systemen klappt
"Developer" heißt nicht, das man alles wissen kann!
- FHEM v5.9 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) - Sensoren: purer Dschungel querbeet

HomeAuto_User

Jippi, und Hallo,  ;)

Zitat von: HomeAuto_User am 06 Februar 2017, 15:48:33
@Sidey, schau bitte mal in deine output.h an.Hier werden Ports "umgewandelt" in PIN-Bezeichnunen ABER vermutlich nur bis 13.
Alle Ports/Pins über 13, also 14/15/16/(17) welche für den Radino benutzt werden, würden somit "ausgegrenzt" werde.
Ansatz?

Bitte folgende Änderungen registrieren und übernehmen. CC1101 wird initialisiert und der Test mit FHEM steht noch aus.!
Es wurde für den radinoCC1101 umgesetzt mit Vorbereitung für das Mark433_PIN.
Parallel dazu habe ich die Version auch schon auf den NANO getestet.

Änderungen zusammengefasst und Files liegen bei. Sie basieren auf den "letzten Source" von vor 2 Tagen.
Zitat// output.h
// Radino
#define portOfPin(P) \
((((P) >= 0 && (P) <= 4) || (P) == 6 || (P) == 12 || (P) == 24 || (P) == 25 || (P) == 29) ? &PORTD : (((P) == 5 || (P) == 13) ? &PORTC : (((P) >= 18 && (P) <= 23)) ? &PORTF : (((P) == 7) ? &PORTE : &PORTB)))
#define ddrOfPin(P) \
((((P) >= 0 && (P) <= 4) || (P) == 6 || (P) == 12 || (P) == 24 || (P) == 25 || (P) == 29) ? &DDRD : (((P) == 5 || (P) == 13) ? &DDRC : (((P) >= 18 && (P) <= 23)) ? &DDRF : (((P) == 7) ? &DDRE : &DDRB)))
#define pinOfPin(P) \
((((P) >= 0 && (P) <= 4) || (P) == 6 || (P) == 12 || (P) == 24 || (P) == 25 || (P) == 29) ? &PIND : (((P) == 5 || (P) == 13) ? &PINC : (((P) >= 18 && (P) <= 23)) ? &PINF : (((P) == 7) ? &PINE : &PINB)))
#define pinIndex(P) \
(((P) >= 8 && (P) <= 11) ? (P) - 4 : (((P) >= 18 && (P) <= 21) ? 25 - (P) : (((P) == 0) ? 2 : (((P) == 1) ? 3 : (((P) == 2) ? 1 : (((P) == 3) ? 0 : (((P) == 4) ? 4 : (((P) == 6) ? 7 : (((P) == 13) ? 7 : (((P) == 14) ? 3 : (((P) == 15) ? 1 : (((P) == 16) ? 2 : (((P) == 17) ? 0 : (((P) == 22) ? 1 : (((P) == 23) ? 0 : (((P) == 24) ? 4 : (((P) == 25) ? 7 : (((P) == 26) ? 4 : (((P) == 27) ? 5 : 6 )))))))))))))))))))
// fehlt in pins_arduino.h
#define pinMask(P)((uint8_t)(1<<pinIndex(P)))


// output.h
// Nano
#define portOfPin(P)\
  (((P)>=0&&(P)<8)?&PORTD:(((P)>7&&(P)<14)?&PORTB:&PORTC))
#define ddrOfPin(P)\
  (((P)>=0&&(P)<8)?&DDRD:(((P)>7&&(P)<14)?&DDRB:&DDRC))
#define pinOfPin(P)\
  (((P)>=0&&(P)<8)?&PIND:(((P)>7&&(P)<14)?&PINB:&PINC))
#define pinIndex(P)((uint8_t)(P>13?P-14:P&7))
#define pinMask(P)((uint8_t)(1<<pinIndex(P)))



//RF_Receiver.ino
#define VERSION_2               0x1d

//// Änderungsbeginn  --->
#ifdef CMP_CC1101
  #ifdef ARDUINO_AVR_ICT_BOARDS_ICT_BOARDS_AVR_RADINOCC1101
    // radinoCC1101
    #define PIN_LED               13  // Message-LED gn
    #define PIN_SEND              9   // gdo0Pin TX out
    #define SS   8                    // CSN out - NOTWENDIG !!!!
    #define PIN_RECEIVE           7   // GDO2
    #define PIN_MARK433           4   // LOW -> 433Mhz | HIGH -> 868Mhz
    // fehlt in pins_arduino.h - ICT
    #define digitalPinToInterrupt(p) ((p) == 0 ? 2 : ((p) == 1 ? 3 : ((p) == 2 ? 1 : ((p) == 3 ? 0 : ((p) == 7 ? 4 : NOT_AN_INTERRUPT)))))
  #else
    // CC1101 ohne radino
    #define PIN_LED               LED_BUILTIN   // Message-LED gn
    #define PIN_SEND              3   // gdo0Pin TX out
    #define PIN_RECEIVE           2
  #endif
#else
    // getrennte Funkempf.
  #define PIN_LED               13   // Message-LED
  #define PIN_SEND              11
  #define PIN_RECEIVE           2
#endif
//// Änderungsende --->

#define BAUDRATE          57600


  pinAsOutput(PIN_LED);

//// Änderungsbeginn  ---> 
  // radino
#ifdef ARDUINO_AVR_ICT_BOARDS_ICT_BOARDS_AVR_RADINOCC1101
  pinAsOutput(PIN_MARK433);
  if (isLow(PIN_MARK433)) {
    Serial.println("433Mhz radino CC1101");
    } else {
    Serial.println("868Mhz radino CC1101");
    }
#endif
//// Änderungsende ---> 

  // CC1101
#ifdef CMP_CC1101

Grüße
"Developer" heißt nicht, das man alles wissen kann!
- FHEM v5.9 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) - Sensoren: purer Dschungel querbeet

Ralf9

Bei den Superheterodyne Empfängern gibt es auch den RXB8. Weiß zufällig jemand wie gut dieser im Vergleich zum RXB6 2.0 ist?

Gruß Ralf
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

Sidey

Ich habe einen... Der funktioniert gut... Ob er besser oder schlechter ist konnte ich nicht feststellen.
Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

HomeAuto_User

#262
Guten Tag,

Zitat von: HomeAuto_User am 07 Februar 2017, 15:42:07
Jippi, und Hallo,  ;)
...
Änderungen zusammengefasst und Files liegen bei. Sie basieren auf den "letzten Source" von vor 2 Tagen.
Grüße

ich muss mich selber korrigieren, da die Modulvariante nicht korrekt ausgewertet wurde.
Der Code wurde angepasst und nun vollständigkeit halber erneut das File noch einmal um diese einbauen zu können.
In FHEM läuft der radino perfekt, somit ist die Realisierung auf dem ATmega32U4 erfolgt.

Grüße
"Developer" heißt nicht, das man alles wissen kann!
- FHEM v5.9 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) - Sensoren: purer Dschungel querbeet

HomeAuto_User

#263
Guten Abend,

Ich lasse soeben die Firmware arbeiten...
Gibt es schon Erfahrungen beim Verhalten mit mehreren Sendern welche sehr zeitgleich senden aber auch sehr häufig?

Die Protokolle können nur teilweise entschlüsselt werden aber öfters kommen immer andere Protokollfindungen.
Das "Durcheinader" scheint den SIGNALduino kurzzeitig zu trennen bzw. zu restarten.

Zitat2017.02.09 20:56:23 5: SIGNALduino/RAW READ: /MU;P0=-982;P1=494;P2=-1956;P3=-3888;P4=800;P5=144;P6=-18240;P7=96;D=0
2017.02.09 20:56:23 5: SIGNALduino/RAW READ: MU;P0=-982;P1=494;P2=-1956;P3=-3888;P4=800;P5=144;P6=-18240;P7=96;D=0/101012121
2017.02.09 20:56:23 5: SIGNALduino/RAW READ: MU;P0=-982;P1=494;P2=-1956;P3=-3888;P4=800;P5=144;P6=-18240;P7=96;D=0101012121/212121210121210121
2017.02.09 20:56:23 5: SIGNALduino/RAW READ: MU;P0=-982;P1=494;P2=-1956;P3=-3888;P4=800;P5=144;P6=-18240;P7=96;D=0101012121212121210121210121/012121212
2017.02.09 20:56:23 5: SIGNALduino/RAW READ: MU;P0=-982;P1=494;P2=-1956;P3=-3888;P4=800;P5=144;P6=-18240;P7=96;D=0101012121212121210121210121012121212/101010101
2017.02.09 20:56:24 5: SIGNALduino/RAW READ: MU;P0=-982;P1=494;P2=-1956;P3=-3888;P4=800;P5=144;P6=-18240;P7=96;D=0101012121212121210121210121012121212101010101/212101213101212121
2017.02.09 20:56:24 5: SIGNALduino/RAW READ: MU;P0=-982;P1=494;P2=-1956;P3=-3888;P4=800;P5=144;P6=-18240;P7=96;D=0101012121212121210121210121012121212101010101212101213101212121/010101212101010121
2017.02.09 20:56:24 5: SIGNALduino/RAW READ: MU;P0=-982;P1=494;P2=-1956;P3=-3888;P4=800;P5=144;P6=-18240;P7=96;D=0101012121212121210121210121012121212101010101212101213101212121010101212101010121/212121212
2017.02.09 20:56:24 5: SIGNALduino/RAW READ: MU;P0=-982;P1=494;P2=-1956;P3=-3888;P4=800;P5=144;P6=-18240;P7=96;D=0101012121212121210121210121012121212101010101212101213101212121010101212101010121212121212/101212101
2017.02.09 20:56:24 5: SIGNALduino/RAW READ: MU;P0=-982;P1=494;P2=-1956;P3=-3888;P4=800;P5=144;P6=-18240;P7=96;D=0101012121212121210121210121012121212101010101212101213101212121010101212101010121212121212101212101/210121212421010101
2017.02.09 20:56:24 5: SIGNALduino/RAW READ: MU;P0=-982;P1=494;P2=-1956;P3=-3888;P4=800;P5=144;P6=-18240;P7=96;D=0101012121212121210121210121012121212101010101212101213101212121010101212101010121212121212101212101210121212421010101/012121012567;CP=1;R=233;

2017.02.09 20:56:24 4: SIGNALduino/msg READ: MU;P0=-982;P1=494;P2=-1956;P3=-3888;P4=800;P5=144;P6=-18240;P7=96;D=0101012121212121210121210121012121212101010101212101213101212121010101212101010121212121212101212101210121212421010101012121012567;CP=1;R=233;
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: /MC;LL=-1008;LH=941;SL=-517;SH=457;D=68B59EFC16F2AB98CA8;C=487;
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: MC;LL=-1008;LH=941;SL=-517;SH=457;D=68B59EFC16F2AB98CA8;C=487;/L=73;R=0;

2017.02.09 20:56:43 4: SIGNALduino/msg READ: MC;LL=-1008;LH=941;SL=-517;SH=457;D=68B59EFC16F2AB98CA8;C=487;L=73;R=0;
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: /MC;LL=-1015;LH=945;SL=-497;SH=465;D=5A2D77BF05BCAAE6B92;C=486;
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: MC;LL=-1015;LH=945;SL=-497;SH=465;D=5A2D77BF05BCAAE6B92;C=486;/L=75;R=5;

2017.02.09 20:56:43 4: SIGNALduino/msg READ: MC;LL=-1015;LH=945;SL=-497;SH=465;D=5A2D77BF05BCAAE6B92;C=486;L=75;R=5;
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: /MU;P0=-1033;P1=448;P2=-528;P3=926;D=01212303012
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: MU;P0=-1033;P1=448;P2=-528;P3=926;D=01212303012/121212321
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: MU;P0=-1033;P1=448;P2=-528;P3=926;D=01212303012121212321/210121230
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: MU;P0=-1033;P1=448;P2=-528;P3=926;D=01212303012121212321210121230/32121212
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: MU;P0=-1033;P1=448;P2=-528;P3=926;D=0121230301212121232121012123032121212/1012;CP=1;R=0;

2017.02.09 20:56:43 4: SIGNALduino/msg READ: MU;P0=-1033;P1=448;P2=-528;P3=926;D=01212303012121212321210121230321212121012;CP=1;R=0;
2017.02.09 20:56:43 4: Found matched Protocol id 21 -> einhell garagedoor
2017.02.09 20:56:43 5: Starting demodulation at Position 0
2017.02.09 20:56:43 5: restarting demodulation at Position 2+2
2017.02.09 20:56:43 5: restarting demodulation at Position 6+2
2017.02.09 20:56:43 5: restarting demodulation at Position 14+2
2017.02.09 20:56:43 5: restarting demodulation at Position 20+2
2017.02.09 20:56:43 5: restarting demodulation at Position 24+2
2017.02.09 20:56:43 4: Found matched Protocol id 8 -> TX3 Protocol
2017.02.09 20:56:43 5: Starting demodulation at Position 5
2017.02.09 20:56:43 5: restarting demodulation at Position 19+2
2017.02.09 20:56:43 5: restarting demodulation at Position 25+2
2017.02.09 20:56:43 4: Found matched Protocol id 16 -> Dooya shutter
2017.02.09 20:56:43 5: Starting demodulation at Position 1
2017.02.09 20:56:43 5: restarting demodulation at Position 7+2
2017.02.09 20:56:43 5: restarting demodulation at Position 16+2
2017.02.09 20:56:43 5: restarting demodulation at Position 21+2
2017.02.09 20:56:43 5: restarting demodulation at Position 28+2
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: /MC;LL=-1035;LH=928;SL=-541;SH=431;D=5ADF7E0B7955CCE84;C=489;L=
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: MC;LL=-1035;LH=928;SL=-541;SH=431;D=5ADF7E0B7955CCE84;C=489;L=/66;R=0;

2017.02.09 20:56:43 4: SIGNALduino/msg READ: MC;LL=-1035;LH=928;SL=-541;SH=431;D=5ADF7E0B7955CCE84;C=489;L=66;R=0;
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: /MC;LL=-1035;LH=928;SL=-541;SH=431;D=75F0C74;C=489;L=26;R=0;

2017.02.09 20:56:43 4: SIGNALduino/msg READ: MC;LL=-1035;LH=928;SL=-541;SH=431;D=75F0C74;C=489;L=26;R=0;
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: /MC;LL=-1015;LH=944;SL=-525;SH=439;D=7FE6EEEBE2BA8;C=487;L=49;R
2017.02.09 20:56:43 5: SIGNALduino/RAW READ: MC;LL=-1015;LH=944;SL=-525;SH=439;D=7FE6EEEBE2BA8;C=487;L=49;R/=228;

2017.02.09 20:56:43 4: SIGNALduino/msg READ: MC;LL=-1015;LH=944;SL=-525;SH=439;D=7FE6EEEBE2BA8;C=487;L=49;R=228;
2017.02.09 20:56:44 5: SIGNALduino/RAW READ: /MC;LL=-1020;LH=924;SL=-545;SH=437;D=51D668B59B0C1522D5B2A68;C=
2017.02.09 20:56:44 5: SIGNALduino/RAW READ: MC;LL=-1020;LH=924;SL=-545;SH=437;D=51D668B59B0C1522D5B2A68;C=/487;L=89;R=63;

2017.02.09 20:56:44 4: SIGNALduino/msg READ: MC;LL=-1020;LH=924;SL=-545;SH=437;D=51D668B59B0C1522D5B2A68;C=487;L=89;R=63;
2017.02.09 20:56:44 5: SIGNALduino/RAW READ: /MC;LL=-1013;LH=944;SL=-536;SH=445;D=2D76C30548B56C222;C=489;L=67;R=63;

2017.02.09 20:56:44 4: SIGNALduino/msg READ: MC;LL=-1013;LH=944;SL=-536;SH=445;D=2D76C30548B56C222;C=489;L=67;R=63;
2017.02.09 20:56:45 5: SIGNALduino/RAW READ: /MC;LL=-1008;LH=935;SL=-532;SH=450;D=BB0C1522D5B3BC8;C=487;L=57
2017.02.09 20:56:45 5: SIGNALduino/RAW READ: MC;LL=-1008;LH=935;SL=-532;SH=450;D=BB0C1522D5B3BC8;C=487;L=57/;R=63;

2017.02.09 20:56:45 4: SIGNALduino/msg READ: MC;LL=-1008;LH=935;SL=-532;SH=450;D=BB0C1522D5B3BC8;C=487;L=57;R=63;
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: /MU;P0=-1992;P1=-991;P2=-148;P3=-444;P4=467;P6=-9152;D=
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-1992;P1=-991;P2=-148;P3=-444;P4=467;P6=-9152;D=/34243464040414141
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-1992;P1=-991;P2=-148;P3=-444;P4=467;P6=-9152;D=34243464040414141/404141404
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-1992;P1=-991;P2=-148;P3=-444;P4=467;P6=-9152;D=34243464040414141404141404/14141404
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-1992;P1=-991;P2=-148;P3=-444;P4=467;P6=-9152;D=3424346404041414140414140414141404/04040404040414140
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-1992;P1=-991;P2=-148;P3=-444;P4=467;P6=-9152;D=342434640404141414041414041414140404040404040414140/414140404040414141
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-1992;P1=-991;P2=-148;P3=-444;P4=467;P6=-9152;D=342434640404141414041414041414140404040404040414140414140404040414141/414141414
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-1992;P1=-991;P2=-148;P3=-444;P4=467;P6=-9152;D=342434640404141414041414041414140404040404040414140414140404040414141414141414/14;CP=4;R=230;

2017.02.09 20:56:49 4: SIGNALduino/msg READ: MU;P0=-1992;P1=-991;P2=-148;P3=-444;P4=467;P6=-9152;D=34243464040414141404141404141414040404040404041414041414040404041414141414141414;CP=4;R=230;
2017.02.09 20:56:49 4: Found matched Protocol id 8 -> TX3 Protocol
2017.02.09 20:56:49 5: Starting demodulation at Position 11
2017.02.09 20:56:49 5: restarting demodulation at Position 17+2
2017.02.09 20:56:49 5: restarting demodulation at Position 23+2
2017.02.09 20:56:49 5: restarting demodulation at Position 43+2
2017.02.09 20:56:49 5: restarting demodulation at Position 49+2
2017.02.09 20:56:49 5: restarting demodulation at Position 61+2
2017.02.09 20:56:49 4: Found matched Protocol id 16 -> Dooya shutter
2017.02.09 20:56:49 5: Starting demodulation at Position 11
2017.02.09 20:56:49 5: restarting demodulation at Position 17+2
2017.02.09 20:56:49 5: restarting demodulation at Position 23+2
2017.02.09 20:56:49 5: restarting demodulation at Position 43+2
2017.02.09 20:56:49 5: restarting demodulation at Position 49+2
2017.02.09 20:56:49 5: restarting demodulation at Position 61+2
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: /MU;P0=-4040;P1=441;P2=-1856;P3=-1026;D=0121
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-4040;P1=441;P2=-1856;P3=-1026;D=0121/21313131
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-4040;P1=441;P2=-1856;P3=-1026;D=012121313131/21313121313131212
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-4040;P1=441;P2=-1856;P3=-1026;D=01212131313121313121313131212/121212121
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-4040;P1=441;P2=-1856;P3=-1026;D=01212131313121313121313131212121212121/213131213
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-4040;P1=441;P2=-1856;P3=-1026;D=01212131313121313121313131212121212121213131213/13121212121313131
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-4040;P1=441;P2=-1856;P3=-1026;D=0121213131312131312131313121212121212121313121313121212121313131/3131313131012;CP=1;R=229;

2017.02.09 20:56:49 4: SIGNALduino/msg READ: MU;P0=-4040;P1=441;P2=-1856;P3=-1026;D=01212131313121313121313131212121212121213131213131212121213131313131313131012;CP=1;R=229;
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: /MU;P0=-212;P1=473;P2=-1995;P3=-997;D=0121313
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-212;P1=473;P2=-1995;P3=-997;D=0121313/131213131
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-212;P1=473;P2=-1995;P3=-997;D=0121313131213131/21313131212121212
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-212;P1=473;P2=-1995;P3=-997;D=012131313121313121313131212121212/12121313121313121
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-212;P1=473;P2=-1995;P3=-997;D=01213131312131312131313121212121212121313121313121/212121313
2017.02.09 20:56:49 5: SIGNALduino/RAW READ: MU;P0=-212;P1=473;P2=-1995;P3=-997;D=01213131312131312131313121212121212121313121313121212121313/10;CP=1;R=229;

2017.02.09 20:56:49 4: SIGNALduino/msg READ: MU;P0=-212;P1=473;P2=-1995;P3=-997;D=0121313131213131213131312121212121212131312131312121212131310;CP=1;R=229;
2017.02.09 20:56:49 4: Found matched Protocol id 8 -> TX3 Protocol
2017.02.09 20:56:49 5: Starting demodulation at Position 3
2017.02.09 20:56:49 5: restarting demodulation at Position 9+2
2017.02.09 20:56:49 5: restarting demodulation at Position 15+2
2017.02.09 20:56:49 5: restarting demodulation at Position 35+2
2017.02.09 20:56:49 5: restarting demodulation at Position 41+2
2017.02.09 20:56:49 5: restarting demodulation at Position 53+2
2017.02.09 20:56:49 4: Found matched Protocol id 16 -> Dooya shutter
2017.02.09 20:56:49 5: Starting demodulation at Position 3
2017.02.09 20:56:49 5: restarting demodulation at Position 9+2
2017.02.09 20:56:49 5: restarting demodulation at Position 15+2
2017.02.09 20:56:49 5: restarting demodulation at Position 35+2
2017.02.09 20:56:49 5: restarting demodulation at Position 41+2
2017.02.09 20:56:49 5: restarting demodulation at Position 53+2
2017.02.09 20:56:50 5: SIGNALduino/RAW READ: /MS;P1=462;P2=-1976;P3=-997;P4=-4068;P5=328;D=
2017.02.09 20:56:50 5: SIGNALduino/RAW READ: MS;P1=462;P2=-1976;P3=-997;P4=-4068;P5=328;D=/14521213
2017.02.09 20:56:50 5: SIGNALduino/RAW READ: MS;P1=462;P2=-1976;P3=-997;P4=-4068;P5=328;D=14521213/131312131312131313
2017.02.09 20:56:50 5: SIGNALduino/RAW READ: MS;P1=462;P2=-1976;P3=-997;P4=-4068;P5=328;D=14521213131312131312131313/121212121212121
2017.02.09 20:56:50 5: SIGNALduino/RAW READ: MS;P1=462;P2=-1976;P3=-997;P4=-4068;P5=328;D=14521213131312131312131313121212121212121/313121313
2017.02.09 20:56:50 5: SIGNALduino/RAW READ: MS;P1=462;P2=-1976;P3=-997;P4=-4068;P5=328;D=14521213131312131312131313121212121212121313121313/12121212
2017.02.09 20:56:50 5: SIGNALduino/RAW READ: MS;P1=462;P2=-1976;P3=-997;P4=-4068;P5=328;D=1452121313131213131213131312121212121212131312131312121212/1313131313131313;CP=1;SP=4;R=228;

2017.02.09 20:56:50 4: SIGNALduino/msg READ: MS;P1=462;P2=-1976;P3=-997;P4=-4068;P5=328;D=14521213131312131312131313121212121212121313121313121212121313131313131313;CP=1;SP=4;R=228;
2017.02.09 20:56:50 4: Found matched Protocol id 7 -> weatherID7
2017.02.09 20:56:50 5: Starting demodulation at Position 2
2017.02.09 20:56:50 5: Found wrong signal, aborting demodulation
2017.02.09 20:56:50 5: SIGNALduino/RAW READ: /MU;P0=-488;P1=424;P2=-1984;P3=-1013;P4=-3992;P5=-8800;P6=168;D
2017.02.09 20:56:50 5: SIGNALduino/RAW READ: MU;P0=-488;P1=424;P2=-1984;P3=-1013;P4=-3992;P5=-8800;P6=168;D/=0
2017.02.09 20:56:50 5: SIGNALduino/RAW READ: MU;P0=-488;P1=424;P2=-1984;P3=-1013;P4=-3992;P5=-8800;P6=168;D=0/12121313121313121
2017.02.09 20:56:50 5: SIGNALduino/RAW READ: MU;P0=-488;P1=424;P2=-1984;P3=-1013;P4=-3992;P5=-8800;P6=168;D=012121313121313121/212121313131313131
2017.02.09 20:56:50 5: SIGNALduino/RAW READ: MU;P0=-488;P1=424;P2=-1984;P3=-1013;P4=-3992;P5=-8800;P6=168;D=012121313121313121212121313131313131/31314156;CP=1;R=219;

2017.02.09 20:56:50 4: SIGNALduino/msg READ: MU;P0=-488;P1=424;P2=-1984;P3=-1013;P4=-3992;P5=-8800;P6=168;D=01212131312131312121212131313131313131314156;CP=1;R=219;
2017.02.09 20:56:50 4: Found matched Protocol id 16 -> Dooya shutter
2017.02.09 20:56:50 5: Starting demodulation at Position -1
2017.02.09 20:56:52 5: SIGNALduino/RAW READ: /MU;P0=-2054;P1=449;P2=-4064;P3=-7528;P4=112;D=012101210121212
2017.02.09 20:56:52 5: SIGNALduino/RAW READ: MU;P0=-2054;P1=449;P2=-4064;P3=-7528;P4=112;D=012101210121212/121212121
2017.02.09 20:56:52 5: SIGNALduino/RAW READ: MU;P0=-2054;P1=449;P2=-4064;P3=-7528;P4=112;D=012101210121212121212121/010121010101010121
2017.02.09 20:56:52 5: SIGNALduino/RAW READ: MU;P0=-2054;P1=449;P2=-4064;P3=-7528;P4=112;D=012101210121212121212121010121010101010121/01210101012101012
2017.02.09 20:56:52 5: SIGNALduino/RAW READ: MU;P0=-2054;P1=449;P2=-4064;P3=-7528;P4=112;D=01210121012121212121212101012101010101012101210101012101012/134;CP=1;R=229;

2017.02.09 20:56:52 4: SIGNALduino/msg READ: MU;P0=-2054;P1=449;P2=-4064;P3=-7528;P4=112;D=01210121012121212121212101012101010101012101210101012101012134;CP=1;R=229;

Grüße
"Developer" heißt nicht, das man alles wissen kann!
- FHEM v5.9 | Rasberry PI 3
- radino CC1101 433Mhz (SIGNALduino)| - radino CC1101 868Mhz (CUL) | nano 433Mhz (SIGNALduino) - Sensoren: purer Dschungel querbeet

Ralf9

Ich habe mir mit dem 3,3V 8 MHz pro mini und dem cc1101 einen Signalduino zusammengebaut. Dies hat den Vorteil, daß damit keine Levelshifter notwendig sind.

Hier habe ich was über die Baudrate beim AVR gefunden:
http://wormfood.net/avrbaudcalc.php?bitrate=9600%2C19.2k%2C28.8k%2C38.4k%2C57.6k%2C76.8k%2C115.2k%2C230.4k%2C250k&clock=8%2C16&databits=8

Demnach ist bei 8 MHz die Baudrate 57600 nicht so gut. Der error ist mit 2.1% zwischen recommended and absolute max error rates.
Weiß zufällig jemand ob mit diesem Baudraten error von 2,1% noch ein stabiler und zuverlässiger Betrieb möglich ist oder kann es bei ungünstigen Umständen zu Bitfehlern kommen?

Gruß Ralf
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

BlackStone

#265
ich habe noch einen nanocul bei mir rumstauben, mit RF1100SE (433 mhz variante), kann ich den einfach umflashen ?


rageltus

Ja. Geht. Der signalduino ist dann analog dem Selbstbau cul im wiki. Dran denken, dass du die richtige Hex nimmst nanoc1101 aus dem dev33 Branch vom signalduino Modul!
Raspberry 3,HM-USB, SIGNALDuino 433, nanoCUL 868 SlowRF, Homematic, IKEA Tradfri Beleuchtung, FHEMApp

BlackStone

#267
hab zwar den source gefunden, nur leider kann ich hier grade ned kompilieren.
https://github.com/RFD-FHEM/SIGNALDuino/tree/dev-r33_cc1101

ok, ich nutze mal die einfache variante. ^^
https://forum.fhem.de/index.php/topic,61774.msg554241.html#msg554241

rageltus

Genau. Aber beachten, dass du bei dem Arzt model die c1101 Variante auswählst!!
Raspberry 3,HM-USB, SIGNALDuino 433, nanoCUL 868 SlowRF, Homematic, IKEA Tradfri Beleuchtung, FHEMApp

BlackStone

nu, scheint zu funktionieren. jedoch noch keine signale reinbekommen, von meinen somfy`s (RTS)


ccconf freq:433.920MHz bWidth:325KHz rAmpl:42dB sens:4dB (DataRate:1500.13Baud) 2017-02-19 00:28:39
cmds V R t X F S P C r W x e 2017-02-19 00:29:17
config MS=1;MU=1;MC=1 2017-02-19 00:29:24
freeram 879 2017-02-18 23:05:45
ping OK 2017-02-19 00:31:48
raw  2017-02-19 00:06:35
state opened 2017-02-19 00:25:42
uptime 0 00:04:14 2017-02-19 00:29:56
version V 3.3.1-dev SIGNALduino cc1101 - compiled at Jan 12 2017 23:04:38