Hallo zusammen,
ich habe gestern Abend einen SignalDuino aus einem Arduino Nano mit einem CC1101 zusammengesteckt (echter CC1101 wie hier https://wiki.fhem.de/wiki/Selbstbau_CUL#Die_unterschiedlichen_Ausf.C3.BChrungen_des_Funkmoduls (https://wiki.fhem.de/wiki/Selbstbau_CUL#Die_unterschiedlichen_Ausf.C3.BChrungen_des_Funkmoduls) abgebildet). Leider habe ich aber das Problem, das ich keinerlei Signale finde...
Internals:
Clients :CUL_EM:CUL_FHTTK:CUL_TCM97001:CUL_TX:CUL_WS:Dooya:FHT:FLAMINGO:FS10:FS20: :Fernotron:Hideki:IT:KOPP_FC:LaCrosse:OREGON:PCA301:RFXX10REC:Revolt:SD_AS: :SD_BELL:SD_GT:SD_Keeloq:SD_RSL:SD_UT:SD_WS07:SD_WS09:SD_WS:SD_WS_Maverick:SOMFY: :Siro:SIGNALduino_un:
DEF /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AL006S5I-if00-port0@57600
DMSG nothing
DevState initialized
DeviceName /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AL006S5I-if00-port0@57600
FD 30
FUUID 613e6aa6-f33f-140d-471a-d9b4088fe725f6d6
IDsNoDispatch 2,72.1,82
LASTDMSG nothing
LASTDMSGID nothing
NAME mySignalDuino
NR 147
PARTIAL
STATE opened
TIME 1631516970.41656
TYPE SIGNALduino
sendworking 0
version V 3.4.0 SIGNALduino - compiled at Jul 16 2020 20:52:15
versionProtocols 1.35
versionmodul 3.5.2+20210829
MatchList:
10:SD_WS07 ^P7#[A-Fa-f0-9]{6}[AFaf][A-Fa-f0-9]{2,3}
11:SD_WS09 ^P9#F[A-Fa-f0-9]+
12:SD_WS ^W\d+x{0,1}#.*
13:RFXX10REC ^(20|29)[A-Fa-f0-9]+
14:Dooya ^P16#[A-Fa-f0-9]+
15:SOMFY ^Ys[0-9A-F]+
16:SD_WS_Maverick ^P47#[A-Fa-f0-9]+
17:SD_UT ^P(?:14|20|24|26|29|30|34|46|56|68|69|76|78|81|83|86|90|91|91.1|92|93|95|97|99|104|105|114)#.*
18:FLAMINGO ^P13\.?1?#[A-Fa-f0-9]+
19:CUL_WS ^K[A-Fa-f0-9]{5,}
1:IT ^i......
20:Revolt ^r[A-Fa-f0-9]{22}
21:FS10 ^P61#[A-F0-9]+
22:Siro ^P72#[A-Fa-f0-9]+
23:FHT ^81..(04|09|0d)..(0909a001|83098301|c409c401)..
24:FS20 ^81..(04|0c)..0101a001
25:CUL_EM ^E0.................
26:Fernotron ^P82#.*
27:SD_BELL ^P(?:15|32|41|42|57|79|96|98|112)#.*
28:SD_Keeloq ^P(?:87|88)#.*
29:SD_GT ^P49#[A-Fa-f0-9]+
2:CUL_TCM97001 ^s[A-Fa-f0-9]+
30:LaCrosse ^(\S+\s+9 |OK\sWS\s)
31:KOPP_FC ^kr\w{18,}
32:PCA301 ^\S+\s+24
3:SD_RSL ^P1#[A-Fa-f0-9]{8}
4:OREGON ^(3[8-9A-F]|[4-6][0-9A-F]|7[0-8]).*
5:CUL_TX ^TX..........
6:SD_AS ^P2#[A-Fa-f0-9]{7,8}
7:Hideki ^P12#75[A-F0-9]+
9:CUL_FHTTK ^T[A-F0-9]{8}
X:SIGNALduino_un ^[u]\d+#.*
OLDREADINGS:
QUEUE:
READINGS:
2021-09-13 08:48:53 cmds V R t X S P C r W s
2021-09-13 08:45:54 config MS=1;MU=1;MC=1;Mred=1
2021-09-13 08:46:04 freeram 990
2021-09-13 09:06:51 ping OK
2021-09-13 09:09:42 state opened
2021-09-13 08:46:51 uptime 0 00:06:33
additionalSets:
keepalive:
ok 1
retry 0
mcIdList:
10
11
12
18
43
47
52
57
58
96
mnIdList:
100
101
102
103
108
112
115
msIdList:
0
0.1
0.2
0.3
0.4
0.5
1
3
3.1
4
6
7
13
13.2
14
15
17
20
23
25
33
33.1
33.2
35
41
49
51
53
54.1
55
65
68
74.1
87
88
90
91.1
93
106
113
muIdList:
8
9
13.1
16
17.1
19
21
22
24
26
27
28
29
30
31
32
34
36
37
38
39
40
42
44
44.1
45
46
48
49.1
49.2
50
54
56
59
60
61
62
64
66
67
69
70
71
72
73
74
76
78
79
80
81
83
84
85
86
89
91
92
94
95
97
98
99
104
105
110
111
114
Attributes:
cc1101_frequency 868.65
hardware nanoCC1101
updateChannelFW stable
verbose 5
Autocreate ist on, verbose auf 5, ich empfange aber rein garnichts... :(
Was mich stutzig macht: get mySignalDuino ccconf wirft die Fehlermeldung "This command is only available with a cc1101 receiver". Genau wie set mySignalDuino cc1101_sens 8. Mit hardware = nanoCC1101 ist aber doch eigentlich alles richtig eingestellt, oder?
Irgendwelche weiteren Ideen?
Ok, einen Fehler habe ich selber gefunden. Ich hatte das falsche USB Device ausgewählt und meinen JeeLink gestern geflashed >:(
Nachdem ich den JeeLink wieder ins Leben gerufen habe, habe ich meinen SignalDuino auf das andere USB Device umgebogen, nun ist der state allerdings "closed".
Hängt das mit falscher Verkabelung zusammen?
Internals:
Clients :CUL_EM:CUL_FHTTK:CUL_TCM97001:CUL_TX:CUL_WS:Dooya:FHT:FLAMINGO:FS10:FS20: :Fernotron:Hideki:IT:KOPP_FC:LaCrosse:OREGON:PCA301:RFXX10REC:Revolt:SD_AS: :SD_BELL:SD_GT:SD_Keeloq:SD_RSL:SD_UT:SD_WS07:SD_WS09:SD_WS:SD_WS_Maverick:SOMFY: :Siro:SIGNALduino_un:
DEF /dev/serial/by-id/usb-Arduino_LLC_Arduino_Nano_Every_B73CA379515146544E4B2020FF0E2B51-if00@57600
DMSG nothing
DevState INACTIVE
DeviceName /dev/serial/by-id/usb-Arduino_LLC_Arduino_Nano_Every_B73CA379515146544E4B2020FF0E2B51-if00@57600
FLASH_RESULT ERROR: avrdude exited with error
FUUID 613e6aa6-f33f-140d-471a-d9b4088fe725f6d6
IDsNoDispatch 2,72.1,82
LASTDMSG nothing
LASTDMSGID nothing
NAME mySignalDuino
NR 147
STATE closed
TIME 1631527264.98555
TYPE SIGNALduino
initResetFlag 1
initretry 3
sendworking 0
version
versionProtocols 1.35
versionmodul 3.5.2+20210829
MatchList:
10:SD_WS07 ^P7#[A-Fa-f0-9]{6}[AFaf][A-Fa-f0-9]{2,3}
11:SD_WS09 ^P9#F[A-Fa-f0-9]+
12:SD_WS ^W\d+x{0,1}#.*
13:RFXX10REC ^(20|29)[A-Fa-f0-9]+
14:Dooya ^P16#[A-Fa-f0-9]+
15:SOMFY ^Ys[0-9A-F]+
16:SD_WS_Maverick ^P47#[A-Fa-f0-9]+
17:SD_UT ^P(?:14|20|24|26|29|30|34|46|56|68|69|76|78|81|83|86|90|91|91.1|92|93|95|97|99|104|105|114)#.*
18:FLAMINGO ^P13\.?1?#[A-Fa-f0-9]+
19:CUL_WS ^K[A-Fa-f0-9]{5,}
1:IT ^i......
20:Revolt ^r[A-Fa-f0-9]{22}
21:FS10 ^P61#[A-F0-9]+
22:Siro ^P72#[A-Fa-f0-9]+
23:FHT ^81..(04|09|0d)..(0909a001|83098301|c409c401)..
24:FS20 ^81..(04|0c)..0101a001
25:CUL_EM ^E0.................
26:Fernotron ^P82#.*
27:SD_BELL ^P(?:15|32|41|42|57|79|96|98|112)#.*
28:SD_Keeloq ^P(?:87|88)#.*
29:SD_GT ^P49#[A-Fa-f0-9]+
2:CUL_TCM97001 ^s[A-Fa-f0-9]+
30:LaCrosse ^(\S+\s+9 |OK\sWS\s)
31:KOPP_FC ^kr\w{18,}
32:PCA301 ^\S+\s+24
3:SD_RSL ^P1#[A-Fa-f0-9]{8}
4:OREGON ^(3[8-9A-F]|[4-6][0-9A-F]|7[0-8]).*
5:CUL_TX ^TX..........
6:SD_AS ^P2#[A-Fa-f0-9]{7,8}
7:Hideki ^P12#75[A-F0-9]+
9:CUL_FHTTK ^T[A-F0-9]{8}
X:SIGNALduino_un ^[u]\d+#.*
QUEUE:
READINGS:
2021-09-13 08:48:53 cmds V R t X S P C r W s
2021-09-13 08:45:54 config MS=1;MU=1;MC=1;Mred=1
2021-09-13 08:46:04 freeram 990
2021-09-13 09:32:21 ping OK
2021-09-13 12:07:38 state closed
2021-09-13 08:46:51 uptime 0 00:06:33
additionalSets:
flash 3.4.0,3.3.1
helper:
avrdudecmd avrdude -c arduino -b 57600 -P /dev/serial/by-id/usb-Arduino_LLC_Arduino_Nano_Every_B73CA379515146544E4B2020FF0E2B51-if00 -p atmega328p -vv -U flash:w:FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex 2>./log/SIGNALduino-Flash.log || avrdude -c arduino -b 115200 -P /dev/serial/by-id/usb-Arduino_LLC_Arduino_Nano_Every_B73CA379515146544E4B2020FF0E2B51-if00 -p atmega328p -vv -U flash:w:FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex 2>./log/SIGNALduino-Flash.log
avrdudelogs flashing Arduino mySignalDuino
hex file: FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex
port: /dev/serial/by-id/usb-Arduino_LLC_Arduino_Nano_Every_B73CA379515146544E4B2020FF0E2B51-if00
command: avrdude -c arduino -b 57600 -P /dev/serial/by-id/usb-Arduino_LLC_Arduino_Nano_Every_B73CA379515146544E4B2020FF0E2B51-if00 -p atmega328p -vv -U flash:w:FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex 2>[LOGFILE] || avrdude -c arduino -b 115200 -P /dev/serial/by-id/usb-Arduino_LLC_Arduino_Nano_Every_B73CA379515146544E4B2020FF0E2B51-if00 -p atmega328p -vv -U flash:w:FHEM/firmware/SIGNALDuino_nanocc11013.4.0.hex 2>[LOGFILE]
mySignalDuino closed
--- AVRDUDE ---------------------------------------------------------------------------------
avrdude: Version 6.1, compiled on Jul 7 2015 at 10:29:47
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/etc/avrdude.conf"
Using Port : /dev/serial/by-id/usb-Arduino_LLC_Arduino_Nano_Every_B73CA379515146544E4B2020FF0E2B51-if00
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
avrdude done. Thank you.
--- AVRDUDE ---------------------------------------------------------------------------------
mySignalDuino reopen started
mcIdList:
10
11
12
18
43
47
52
57
58
96
mnIdList:
100
101
102
103
108
112
115
msIdList:
0
0.1
0.2
0.3
0.4
0.5
1
3
3.1
4
6
7
13
13.2
14
15
17
20
23
25
33
33.1
33.2
35
41
49
51
53
54.1
55
65
68
74.1
87
88
90
91.1
93
106
113
muIdList:
8
9
13.1
16
17.1
19
21
22
24
26
27
28
29
30
31
32
34
36
37
38
39
40
42
44
44.1
45
46
48
49.1
49.2
50
54
56
59
60
61
62
64
66
67
69
70
71
72
73
74
76
78
79
80
81
83
84
85
86
89
91
92
94
95
97
98
99
104
105
110
111
114
Attributes:
cc1101_frequency 868.65
hardware nanoCC1101
updateChannelFW stable
verbose 5
Hier war es noch ok
ZitatDevState initialized
STATE opened
version V 3.4.0 SIGNALduino - compiled at Jul 16 2020 20:52:15
hier aber passt was nicht:
ZitatDevState INACTIVE
STATE closed
FLASH_RESULT ERROR: avrdude exited with error
Der Grund ist evtl ein fehlerhaftes flashen:
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Ja, die Frage ist nur warum das nicht klappt. Zuerst hatte ich meinen Jeelink geflashed, mit dem SignalDuino klappt das nicht... :(
Evtl hängt es damit zusammen, daß der neue nano den opti bootloder drauf hat.
ZitatWas mich stutzig macht: get mySignalDuino ccconf wirft die Fehlermeldung "This command is only available with a cc1101 receiver"
Dies bedeutet, daß der cc1101 nicht erkannt wurde.
Dies lässt sich auch an der Version erkennen
Zitatversion V 3.4.0 SIGNALduino - compiled at Jul 16 2020 20:52:15
wenn der cc1101 erkannt wurde , ist "cc1101" in der Version enthalten
Zitatversion V 3.4.0 SIGNALduino cc1101 - compiled at Jul 16 2020 20:52:15
Ok, mit dem Nano scheint etwas nicht zu stimmen. Ich habe ihn weder an einem Mac noch Windows Rechner in der Arduino IDE direkt flaschen können und das, obwohl das Teil brand neu ist :(
Habe mir gerade auf arduino.cc neue Ware bestellt und werde es dann erneut ausprobieren!
Hast Du auch versucht den nano ohne angeschlossenes cc1101 Modul zu flashen?
Der nano ist mittlerweile für den Signalduino nicht mehr die beste Wahl. Bei einigen neuen Protokollen, z.B. die Protokoll IDs 85, 110 und 111, können die Nachrichten wiederholungen nicht empfangen werden.
Der MapleMini ist viel leistungsfähiger und durch die 3.3V sind keine Levelshifter notwendig.
Es gibt ihn ab ca 7 Euro
https://www.amazon.de/s?k=STM32F103CBT6
Ok, ich bin ein wenig weiter.
Deinen Post habe ich leider zu spät gesehen, da war die Bestellung schon raus. Ich habe allerdings einen Arduino Nano Every bezogen, was wohl nicht die beste Idee war. Der Every hat einen ATmega4809 und keinen ATmega328 was ich zu spät gemerkt habe.
Läßt sich dieser auch passend flashen? Ggf. manuell mit der Arduino IDE? Sonst muss ich wohl noch einmal Hardware beziehen...
Der Arduino Nano Every wird vermutlich ohne anpassungen nicht funktionieren.
Der ATmega4809 ist zwar zum ATmega328 abwärtskompatibel, aber nicht bei Hardware nahem Code.
Bei der Programmierung der SPI-Schnittstelle sind vermutlich Anpassungen notwendig.
Bei der TimerOne Lib sind Anpassungen für den ATmega4809 notwendig
Evtl sind noch weitere Anpassungen notwendig.
Gruß Ralf
Ok, dann spendiere ich weitere 7 €, das ist gut investiertes Geld ;)