Musisz pokazać co się wyświetla na UART przy starcie urządzenia aż do momentu zalogowania.uchnast.michal pisze: ↑pn paź 17, 2022 7:26 am Wygenerowałem nowy bin i nadal nic:( Testuje pod adresem 0x20, jak uzyskać 0x24? wszystkie 3 zworki mam na - po prawej stronie. Testowałem pod A0, A1 itd. Nie mam nic innego podłączonego. Tylko ekspander i do niego sensor. Wewnętrzy pull-up włączony/wyłączony.
i2c-3.pngi2c-2.pngi2c-1.png
Proszę o testy: MCP23017, PCF8575 oraz PCF8574
https://gui-generic-builder.supla.io/
- uchnast.michal
- Posty: 1074
- Rejestracja: wt cze 04, 2019 11:37 am
Serial monitor "wali" mi krzakami, jaka prędkość powinna być, 19200 czy 115200?krycha88 pisze: ↑pn paź 17, 2022 7:47 amMusisz pokazać co się wyświetla na UART przy starcie urządzenia aż do momentu zalogowania.uchnast.michal pisze: ↑pn paź 17, 2022 7:26 am Wygenerowałem nowy bin i nadal nic:( Testuje pod adresem 0x20, jak uzyskać 0x24? wszystkie 3 zworki mam na - po prawej stronie. Testowałem pod A0, A1 itd. Nie mam nic innego podłączonego. Tylko ekspander i do niego sensor. Wewnętrzy pull-up włączony/wyłączony.
i2c-3.pngi2c-2.pngi2c-1.png
e-talking............
Byłem tam - Supla Offline Party 2023
Byłem tam - Supla Offline Party 2023
74880uchnast.michal pisze: ↑pn paź 17, 2022 8:28 amSerial monitor "wali" mi krzakami, jaka prędkość powinna być, 19200 czy 115200?krycha88 pisze: ↑pn paź 17, 2022 7:47 amMusisz pokazać co się wyświetla na UART przy starcie urządzenia aż do momentu zalogowania.uchnast.michal pisze: ↑pn paź 17, 2022 7:26 am Wygenerowałem nowy bin i nadal nic:( Testuje pod adresem 0x20, jak uzyskać 0x24? wszystkie 3 zworki mam na - po prawej stronie. Testowałem pod A0, A1 itd. Nie mam nic innego podłączonego. Tylko ekspander i do niego sensor. Wewnętrzy pull-up włączony/wyłączony.
i2c-3.pngi2c-2.pngi2c-1.png
https://gui-generic-builder.supla.io/
- uchnast.michal
- Posty: 1074
- Rejestracja: wt cze 04, 2019 11:37 am
Faktycznie, głupie pytanie to było. Tak to jest jak się używa buildera od dłuższego czasu :/
Kod: Zaznacz cały
Config read
Key: 0 Value: ň.ťż>
]Ť_Kt˝˘
Key: 1 Value: e«±PmO]‘&AOk
Key: 2 Value: XXXXXXXXXXX
Key: 3 Value: XXXXXXXXXX
Key: 4 Value: admin
Key: 5 Value: XXXXXXXXXXXXXXXXXX
Key: 6 Value: GUI Generic
Key: 7 Value: svrXX.supla.org
Key: 8 Value: XXXXXXXXXXX
Key: 9 Value: 0
Key: 10 Value: 0
Key: 11 Value: 1
Key: 12 Value:
Key: 13 Value:
Key: 14 Value:
Key: 15 Value:
Key: 16 Value: 0
Key: 17 Value:
Key: 18 Value:
Key: 19 Value: ,,,,,,0,,,,,,,1,
Key: 20 Value:
Key: 21 Value: 0
Key: 22 Value:
Key: 23 Value:
Key: 24 Value: ,,0,1,0,2,2,1,0,0,0,0,,,0,0,1,,,,,,,
Key: 25 Value: 0,0,0,1,0,2,2,,0,3,,,,,,,1,,,,,,,,,,
Key: 26 Value: ,,0,1,,2,2,,,,,,,,,,1,0,,,,,,,,,,,,,
Key: 27 Value: 0,0,0,1,0,2,2,,0,0,,,,,,,1,,,,,,,,,,
Key: 28 Value: 1,9,0,1,0,2,2,,0,0,,,,,,,1,0,,,,,,,,
Key: 29 Value: 1,10,0,1,0,2,2,,0,0,,,,,,,1,,,,,,,,,
Key: 30 Value: ,,0,1,0,2,2,,0,0,,,,,,,1,,,,,,,,,,,,
Key: 31 Value: ,,0,1,0,2,2,,0,0,,,,,,,1,,,,,,,,,,,,
Key: 32 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,,
Key: 33 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,,
Key: 34 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,,
Key: 35 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,,
Key: 36 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,,
Key: 37 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,,
Key: 38 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,,
Key: 39 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,,
Key: 40 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,,
Key: 41 Value: ,,1,1,0,2,2,,,,,,,,,,1,,,,,,,,,,,,,,
Key: 42 Value:
Key: 43 Value:
Key: 44 Value:
Key: 45 Value:
Key: 46 Value: 0
Key: 47 Value: 0
Key: 48 Value: ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 49 Value:
Key: 50 Value:
Key: 51 Value:
Key: 52 Value:
Key: 53 Value:
Key: 54 Value:
Key: 55 Value:
Key: 56 Value:
Key: 57 Value:
Key: 58 Value: 1
Key: 59 Value: 0
Key: 60 Value:
Key: 61 Value:
Key: 62 Value:
Key: 63 Value:
Key: 64 Value: 0
Key: 65 Value:
Key: 66 Value:
Key: 67 Value:
Key: 68 Value:
Key: 69 Value:
Key: 70 Value:
Key: 71 Value:
Key: 72 Value:
Key: 73 Value:
Key: 74 Value: 0.45
Key: 75 Value: 0.45
Key: 76 Value:
Key: 77 Value:
Key: 78 Value:
Key: 79 Value:
Key: 80 Value: 1
Key: 81 Value: ,3,0,3,0,0,,,,0,0,,,
Key: 82 Value:
Key: 83 Value: 0,,,,,,,,,,,,,,
Key: 84 Value:
Key: 85 Value:
PCF8574 1 found!
PCF8574A 1 not found!
PCF8574 2 not found!
PCF8574A 2 not found!
PCF8574 3 not found!
PCF8574A 3 not found!
PCF8574 4 not found!
PCF8574A 4 not found!
Supla - starting initialization
Storage initialization
readStorage: 8; Read: [53 55 50 4C 41 1 0 0 ]
Storage: Number of sections 0
Validating storage state section with current device configuration
Storage state section validation completed. Loading elements state...
Initializing network layer
WiFi: establishing connection with SSID: "XXXX"
Using Supla protocol version 16
Current status: [5] SuplaDevice initialized
Current status: [8] No connection to network
WiFi station disconnected
local IP: 172.22.16.223
subnetMask: 255.255.255.0
gatewayIP: 172.22.16.135
Signal strength (RSSI): -50 dBm
IMPROVä
IMPROVhttp://172.22.16.223ection with: svrXX.supla.org (port: 2015)
Connected to Supla Server
Current status: [10] Register in progress
Device registered (activity timeout 120 s, server version: 19, server min version: 1)
Current status: [17] Registered and ready
Changing activity timeout to 30
Activity timeout set to 30 s
e-talking............
Byłem tam - Supla Offline Party 2023
Byłem tam - Supla Offline Party 2023
Znalazło i poprawnie dodało "PCF8574 1 found!" więc może głupie pytanie ale czy na pewno łączysz pin z GDN? Bo nie widzę u Ciebie żadnego przełączenia.uchnast.michal pisze: ↑pn paź 17, 2022 10:15 am Faktycznie, głupie pytanie to było. Tak to jest jak się używa buildera od dłuższego czasu :/Kod: Zaznacz cały
Config read Key: 0 Value: ň.ťż> ]Ť_Kt˝˘ Key: 1 Value: e«±PmO]‘&AOk Key: 2 Value: XXXXXXXXXXX Key: 3 Value: XXXXXXXXXX Key: 4 Value: admin Key: 5 Value: XXXXXXXXXXXXXXXXXX Key: 6 Value: GUI Generic Key: 7 Value: svrXX.supla.org Key: 8 Value: XXXXXXXXXXX Key: 9 Value: 0 Key: 10 Value: 0 Key: 11 Value: 1 Key: 12 Value: Key: 13 Value: Key: 14 Value: Key: 15 Value: Key: 16 Value: 0 Key: 17 Value: Key: 18 Value: Key: 19 Value: ,,,,,,0,,,,,,,1, Key: 20 Value: Key: 21 Value: 0 Key: 22 Value: Key: 23 Value: Key: 24 Value: ,,0,1,0,2,2,1,0,0,0,0,,,0,0,1,,,,,,, Key: 25 Value: 0,0,0,1,0,2,2,,0,3,,,,,,,1,,,,,,,,,, Key: 26 Value: ,,0,1,,2,2,,,,,,,,,,1,0,,,,,,,,,,,,, Key: 27 Value: 0,0,0,1,0,2,2,,0,0,,,,,,,1,,,,,,,,,, Key: 28 Value: 1,9,0,1,0,2,2,,0,0,,,,,,,1,0,,,,,,,, Key: 29 Value: 1,10,0,1,0,2,2,,0,0,,,,,,,1,,,,,,,,, Key: 30 Value: ,,0,1,0,2,2,,0,0,,,,,,,1,,,,,,,,,,,, Key: 31 Value: ,,0,1,0,2,2,,0,0,,,,,,,1,,,,,,,,,,,, Key: 32 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,, Key: 33 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,, Key: 34 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,, Key: 35 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,, Key: 36 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,, Key: 37 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,, Key: 38 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,, Key: 39 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,, Key: 40 Value: ,,,1,,2,2,,,,,,,,,,1,,,,,,,,,,,,,,,, Key: 41 Value: ,,1,1,0,2,2,,,,,,,,,,1,,,,,,,,,,,,,, Key: 42 Value: Key: 43 Value: Key: 44 Value: Key: 45 Value: Key: 46 Value: 0 Key: 47 Value: 0 Key: 48 Value: ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Key: 49 Value: Key: 50 Value: Key: 51 Value: Key: 52 Value: Key: 53 Value: Key: 54 Value: Key: 55 Value: Key: 56 Value: Key: 57 Value: Key: 58 Value: 1 Key: 59 Value: 0 Key: 60 Value: Key: 61 Value: Key: 62 Value: Key: 63 Value: Key: 64 Value: 0 Key: 65 Value: Key: 66 Value: Key: 67 Value: Key: 68 Value: Key: 69 Value: Key: 70 Value: Key: 71 Value: Key: 72 Value: Key: 73 Value: Key: 74 Value: 0.45 Key: 75 Value: 0.45 Key: 76 Value: Key: 77 Value: Key: 78 Value: Key: 79 Value: Key: 80 Value: 1 Key: 81 Value: ,3,0,3,0,0,,,,0,0,,, Key: 82 Value: Key: 83 Value: 0,,,,,,,,,,,,,, Key: 84 Value: Key: 85 Value: PCF8574 1 found! PCF8574A 1 not found! PCF8574 2 not found! PCF8574A 2 not found! PCF8574 3 not found! PCF8574A 3 not found! PCF8574 4 not found! PCF8574A 4 not found! Supla - starting initialization Storage initialization readStorage: 8; Read: [53 55 50 4C 41 1 0 0 ] Storage: Number of sections 0 Validating storage state section with current device configuration Storage state section validation completed. Loading elements state... Initializing network layer WiFi: establishing connection with SSID: "XXXX" Using Supla protocol version 16 Current status: [5] SuplaDevice initialized Current status: [8] No connection to network WiFi station disconnected local IP: 172.22.16.223 subnetMask: 255.255.255.0 gatewayIP: 172.22.16.135 Signal strength (RSSI): -50 dBm IMPROVä IMPROVhttp://172.22.16.223ection with: svrXX.supla.org (port: 2015) Connected to Supla Server Current status: [10] Register in progress Device registered (activity timeout 120 s, server version: 19, server min version: 1) Current status: [17] Registered and ready Changing activity timeout to 30 Activity timeout set to 30 s
https://gui-generic-builder.supla.io/
- uchnast.michal
- Posty: 1074
- Rejestracja: wt cze 04, 2019 11:37 am
Zasilam sensor z wemosa a D0 sensora pod P1 ekspandera.
Używam https://pl.aliexpress.com/item/40010114 ... TydGxcT0ea
e-talking............
Byłem tam - Supla Offline Party 2023
Byłem tam - Supla Offline Party 2023
Zakładam, że masz taki expander:uchnast.michal pisze: ↑pn paź 17, 2022 10:46 am Zasilam sensor z wemosa a D0 sensora pod P1 ekspandera.
https://botland.com.pl/ekspandery-wypro ... 00456.html
Jeżeli tak to połącz GDN z P0 czy wtedy krańcówka działa? Czy coś się wyświetla się na UART?
https://gui-generic-builder.supla.io/
- uchnast.michal
- Posty: 1074
- Rejestracja: wt cze 04, 2019 11:37 am
Dokładnie taki mam, ale jak P0...P7 połączę z GND to nie reaguje, brak zmiany stanu.krycha88 pisze: ↑pn paź 17, 2022 10:56 amZakładam, że masz taki expander:uchnast.michal pisze: ↑pn paź 17, 2022 10:46 am Zasilam sensor z wemosa a D0 sensora pod P1 ekspandera.
https://botland.com.pl/ekspandery-wypro ... 00456.html
Jeżeli tak to połącz GDN z P0 czy wtedy krańcówka działa? Czy coś się wyświetla się na UART?
e-talking............
Byłem tam - Supla Offline Party 2023
Byłem tam - Supla Offline Party 2023
Czy byś mógł dodać przekaźnik na ten sam pin i przełączyć go z aplikacji i wtedy pokaż co się wyświetla na UART.
https://gui-generic-builder.supla.io/
- uchnast.michal
- Posty: 1074
- Rejestracja: wt cze 04, 2019 11:37 am
OK, tak zrobię ale dopiero jutro, nie mam pod ręką:)
e-talking............
Byłem tam - Supla Offline Party 2023
Byłem tam - Supla Offline Party 2023