Spoiler
Show
Скетч для двух модулей ACS712 и MAX471 Лог работы
Spoiler
Show
__ __ ____
| \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___
| |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
| | | | |_| |___| | __/ | | \__ \ _ | | \__ \
|_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/
|___/ 2.3.1
16 MCO:BGN:INIT NODE,CP=RNNNA---,REL=255,VER=2.3.1
26 TSM:INIT
27 TSF:WUR:MS=0
33 TSM:INIT:TSP OK
35 TSM:INIT:STATID=112
37 TSF:SID:OK,ID=112
39 TSM:FPAR
75 TSF:MSG:SEND,112-112-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
518 TSF:MSG:READ,0-0-112,s=255,c=3,t=8,pt=1,l=1,sg=0:0
523 TSF:MSG:FPAR OK,ID=0,D=1
2083 TSM:FPAR:OK
2084 TSM:ID
2085 TSM:ID:OK
2087 TSM:UPL
2091 TSF:MSG:SEND,112-112-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
2107 TSF:MSG:READ,0-0-112,s=255,c=3,t=25,pt=1,l=1,sg=0:1
2112 TSF:MSG:PONG RECV,HP=1
2115 TSM:UPL:OK
2116 TSM:READY:ID=112,PAR=0,DIS=1
2121 TSF:MSG:SEND,112-112-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
2135 TSF:MSG:READ,0-0-112,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
2142 TSF:MSG:SEND,112-112-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.3.1
2151 TSF:MSG:SEND,112-112-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
4161 TSF:MSG:SEND,112-112-0-0,s=255,c=3,t=11,pt=0,l=7,sg=0,ft=0,st=OK:MAX_471
4170 TSF:MSG:SEND,112-112-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.0
4280 TSF:MSG:SEND,112-112-0-0,s=0,c=0,t=30,pt=0,l=9,sg=0,ft=0,st=OK:Amplitude
4391 TSF:MSG:SEND,112-112-0-0,s=1,c=0,t=30,pt=0,l=7,sg=0,ft=0,st=OK:Current
4503 TSF:MSG:SEND,112-112-0-0,s=2,c=0,t=30,pt=0,l=5,sg=0,ft=0,st=OK:Power
4613 TSF:MSG:SEND,112-112-0-0,s=3,c=0,t=30,pt=0,l=12,sg=0,ft=0,st=OK:Amplitude_DC
4720 MCO:REG:REQ
4725 TSF:MSG:SEND,112-112-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
4741 TSF:MSG:READ,0-0-112,s=255,c=3,t=27,pt=1,l=1,sg=0:1
4746 MCO:PIM:NODE REG=1
4749 MCO:BGN:STP
4750 MCO:BGN:INIT OK,TSP=1
Volts: 4.395 Amps: 0.151 Watts: 0.665
Raw Value = 146 mV = 712.891 Amps = -9.660
9766 TSF:MSG:SEND,112-112-0-0,s=1,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:0.2
Message sent and delivered
10329 TSF:MSG:SEND,112-112-0-0,s=0,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:4.4
Message sent and delivered
10887 TSF:MSG:SEND,112-112-0-0,s=2,c=1,t=17,pt=7,l=5,sg=0,ft=0,st=OK:0.7
Message sent and delivered
11447 TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:-9.7
11620 TSF:MSG:READ,0-0-112,s=1,c=1,t=39,pt=7,l=5,sg=0:0.2
11625 TSF:MSG:ACK
Sending a message, try No.1
11631 TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:-9.7
Sending a message, try No.2
12726 !TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=NACK:-9.7
Sending a message, try No.3
13820 !TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=1,st=NACK:-9.7
Volts: 4.419 Amps: 0.156 Watts: 0.690
Raw Value = 139 mV = 678.711 Amps = -9.845
16719 TSF:MSG:READ,0-0-112,s=3,c=1,t=39,pt=7,l=5,sg=0:-9.7
16724 TSF:MSG:ACK
19892 TSF:MSG:SEND,112-112-0-0,s=1,c=1,t=39,pt=7,l=5,sg=0,ft=2,st=OK:0.2
20453 TSF:MSG:SEND,112-112-0-0,s=0,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:4.4
21013 TSF:MSG:SEND,112-112-0-0,s=2,c=1,t=17,pt=7,l=5,sg=0,ft=0,st=OK:0.7
21573 TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:-9.8
21843 TSF:MSG:READ,0-0-112,s=1,c=1,t=39,pt=7,l=5,sg=0:0.2
21849 TSF:MSG:ACK
Volts: 4.419 Amps: 0.156 Watts: 0.690
Raw Value = 119 mV = 581.055 Amps = -10.373
26855 TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:-10.4
Volts: 4.443 Amps: 0.166 Watts: 0.738
Raw Value = 135 mV = 659.180 Amps = -9.950
32416 TSF:MSG:SEND,112-112-0-0,s=1,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:0.2
32977 TSF:MSG:SEND,112-112-0-0,s=0,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:4.4
33539 TSF:MSG:SEND,112-112-0-0,s=2,c=1,t=17,pt=7,l=5,sg=0,ft=0,st=OK:0.7
34096 TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:-10.0
Volts: 4.443 Amps: 0.161 Watts: 0.716
Raw Value = 124 mV = 605.469 Amps = -10.241
| \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___
| |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
| | | | |_| |___| | __/ | | \__ \ _ | | \__ \
|_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/
|___/ 2.3.1
16 MCO:BGN:INIT NODE,CP=RNNNA---,REL=255,VER=2.3.1
26 TSM:INIT
27 TSF:WUR:MS=0
33 TSM:INIT:TSP OK
35 TSM:INIT:STATID=112
37 TSF:SID:OK,ID=112
39 TSM:FPAR
75 TSF:MSG:SEND,112-112-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
518 TSF:MSG:READ,0-0-112,s=255,c=3,t=8,pt=1,l=1,sg=0:0
523 TSF:MSG:FPAR OK,ID=0,D=1
2083 TSM:FPAR:OK
2084 TSM:ID
2085 TSM:ID:OK
2087 TSM:UPL
2091 TSF:MSG:SEND,112-112-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
2107 TSF:MSG:READ,0-0-112,s=255,c=3,t=25,pt=1,l=1,sg=0:1
2112 TSF:MSG:PONG RECV,HP=1
2115 TSM:UPL:OK
2116 TSM:READY:ID=112,PAR=0,DIS=1
2121 TSF:MSG:SEND,112-112-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
2135 TSF:MSG:READ,0-0-112,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
2142 TSF:MSG:SEND,112-112-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.3.1
2151 TSF:MSG:SEND,112-112-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
4161 TSF:MSG:SEND,112-112-0-0,s=255,c=3,t=11,pt=0,l=7,sg=0,ft=0,st=OK:MAX_471
4170 TSF:MSG:SEND,112-112-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.0
4280 TSF:MSG:SEND,112-112-0-0,s=0,c=0,t=30,pt=0,l=9,sg=0,ft=0,st=OK:Amplitude
4391 TSF:MSG:SEND,112-112-0-0,s=1,c=0,t=30,pt=0,l=7,sg=0,ft=0,st=OK:Current
4503 TSF:MSG:SEND,112-112-0-0,s=2,c=0,t=30,pt=0,l=5,sg=0,ft=0,st=OK:Power
4613 TSF:MSG:SEND,112-112-0-0,s=3,c=0,t=30,pt=0,l=12,sg=0,ft=0,st=OK:Amplitude_DC
4720 MCO:REG:REQ
4725 TSF:MSG:SEND,112-112-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
4741 TSF:MSG:READ,0-0-112,s=255,c=3,t=27,pt=1,l=1,sg=0:1
4746 MCO:PIM:NODE REG=1
4749 MCO:BGN:STP
4750 MCO:BGN:INIT OK,TSP=1
Volts: 4.395 Amps: 0.151 Watts: 0.665
Raw Value = 146 mV = 712.891 Amps = -9.660
9766 TSF:MSG:SEND,112-112-0-0,s=1,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:0.2
Message sent and delivered
10329 TSF:MSG:SEND,112-112-0-0,s=0,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:4.4
Message sent and delivered
10887 TSF:MSG:SEND,112-112-0-0,s=2,c=1,t=17,pt=7,l=5,sg=0,ft=0,st=OK:0.7
Message sent and delivered
11447 TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:-9.7
11620 TSF:MSG:READ,0-0-112,s=1,c=1,t=39,pt=7,l=5,sg=0:0.2
11625 TSF:MSG:ACK
Sending a message, try No.1
11631 TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:-9.7
Sending a message, try No.2
12726 !TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=NACK:-9.7
Sending a message, try No.3
13820 !TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=1,st=NACK:-9.7
Volts: 4.419 Amps: 0.156 Watts: 0.690
Raw Value = 139 mV = 678.711 Amps = -9.845
16719 TSF:MSG:READ,0-0-112,s=3,c=1,t=39,pt=7,l=5,sg=0:-9.7
16724 TSF:MSG:ACK
19892 TSF:MSG:SEND,112-112-0-0,s=1,c=1,t=39,pt=7,l=5,sg=0,ft=2,st=OK:0.2
20453 TSF:MSG:SEND,112-112-0-0,s=0,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:4.4
21013 TSF:MSG:SEND,112-112-0-0,s=2,c=1,t=17,pt=7,l=5,sg=0,ft=0,st=OK:0.7
21573 TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:-9.8
21843 TSF:MSG:READ,0-0-112,s=1,c=1,t=39,pt=7,l=5,sg=0:0.2
21849 TSF:MSG:ACK
Volts: 4.419 Amps: 0.156 Watts: 0.690
Raw Value = 119 mV = 581.055 Amps = -10.373
26855 TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:-10.4
Volts: 4.443 Amps: 0.166 Watts: 0.738
Raw Value = 135 mV = 659.180 Amps = -9.950
32416 TSF:MSG:SEND,112-112-0-0,s=1,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:0.2
32977 TSF:MSG:SEND,112-112-0-0,s=0,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:4.4
33539 TSF:MSG:SEND,112-112-0-0,s=2,c=1,t=17,pt=7,l=5,sg=0,ft=0,st=OK:0.7
34096 TSF:MSG:SEND,112-112-0-0,s=3,c=1,t=39,pt=7,l=5,sg=0,ft=0,st=OK:-10.0
Volts: 4.443 Amps: 0.161 Watts: 0.716
Raw Value = 124 mV = 605.469 Amps = -10.241
Spoiler
Show