8 blinds 16 buttons
-
- Posts: 30
- Joined: Thu Apr 19, 2018 7:51 pm
Hello. I have a question, is it possible to use monostable buttons ?? The first press the blind is opened, the second press stops, the third blind is closed, etc.
-
- Posts: 1482
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
only works with monostable buttons:
button up = up, stop, up, stop, ETC ..
button close = close, stop, close, stop, ETC ..
always with 2 monostable buttons per blind.
button up = up, stop, up, stop, ETC ..
button close = close, stop, close, stop, ETC ..
always with 2 monostable buttons per blind.
-
- Posts: 30
- Joined: Thu Apr 19, 2018 7:51 pm
Hello. At the beginning I would like to apologize for my English . At the weekend I submitted a project with my friend Elmaya to 4 blinds. At the beginning, after pressing the button, the system lived its life. But we gave a pullup, i.e. a resistor connected to each button and given to the power supply (+ 3.3V). Everything started working great. Big applause for the project. Today we decided to use the project for 8 blinds. We also soldered resistors with power connection (+ 3.3V). And when connected, everything works great. But after a few operations on the blinds (closing and opening) with both Supla and buttons, the system stops responding. In supli, everything is active but nothing works. Similarly with buttons. I would ask for help.
Code: Select all
19:41:58.733 ->
19:41:58.733 -> CONNECTED
19:41:58.733 -> local IP: 192.168.1.33
19:41:58.733 -> subnetMask: 255.255.255.0
19:41:58.733 -> gatewayIP: 192.168.1.1
19:41:58.733 -> Signal Strength (RSSI): -13 dBm
19:41:59.683 -> status: 10
19:41:59.750 -> status: 17
19:42:35.672 -> Mcp 2A input 223
19:42:35.740 -> 5 Shut
19:43:53.817 -> write position 3:100
19:44:04.919 -> write position 3:1926
19:44:33.949 -> write position 5:3999
19:44:49.086 -> write position 5:100
19:45:30.423 -> Mcp 2B input 247
19:45:30.490 -> 3 Reveal
19:45:35.934 -> write position 3:100
19:47:12.179 -> write position 4:100
19:47:19.288 -> write position 4:1286
19:47:19.592 -> write position 2:10100
19:47:20.578 -> write position 2:10100
19:47:21.292 -> write position 4:1675
19:47:21.599 -> write position 1:10100
19:47:21.599 -> write position 2:10100
19:47:22.341 -> write position 4:1861
19:47:22.894 -> write position 0:10100
19:47:23.617 -> write position 5:823
19:47:24.363 -> write position 4:2252
19:47:25.042 -> write position 3:1293
19:47:26.067 -> write position 3:1505
19:47:26.370 -> write position 4:2651
19:47:27.086 -> write position 3:1708
19:47:27.397 -> write position 4:2829
19:47:28.085 -> write position 3:1889
19:47:28.733 -> write position 5:1595
19:47:29.106 -> write position 3:2090
19:47:29.413 -> write position 4:3246
19:47:30.160 -> write position 3:2293
19:47:30.429 -> write position 4:3447
19:47:30.765 -> write position 5:1923
19:47:31.177 -> write position 3:2522
19:47:31.449 -> write position 4:3676
19:47:32.167 -> write position 3:2721
19:47:32.471 -> write position 4:3897
19:47:32.785 -> write position 5:2272
19:47:33.201 -> write position 3:2934
19:47:33.503 -> write position 4:4107
19:47:34.216 -> write position 3:3155
19:47:34.519 -> write position 4:4304
19:47:34.753 -> write position 5:2619
19:47:35.231 -> write position 3:3346
19:47:35.534 -> write position 4:4515
19:47:36.282 -> write position 3:3547
19:47:36.548 -> write position 4:4712
19:47:36.785 -> write position 5:2968
19:47:37.264 -> write position 3:3779
19:47:37.575 -> write position 4:4923
19:47:38.293 -> write position 3:3979
19:47:38.599 -> write position 4:5140
19:47:38.803 -> write position 5:3292
19:47:39.347 -> write position 3:4192
19:47:40.332 -> write position 3:4405
19:47:40.605 -> write position 4:5556
19:47:40.840 -> write position 5:3631
19:47:41.351 -> write position 3:4621
19:47:41.621 -> write position 4:5767
19:47:42.366 -> write position 3:4845
19:47:42.677 -> write position 4:5966
19:47:43.401 -> write position 3:5045
19:47:43.672 -> write position 4:6184
19:47:44.687 -> write position 4:6393
19:47:44.892 -> write position 5:4324
19:47:45.432 -> write position 3:5481
19:47:45.705 -> write position 4:6599
19:47:46.420 -> write position 3:5678
19:47:46.757 -> write position 4:6815
19:47:47.480 -> write position 3:5886
19:47:47.760 -> write position 4:7041
19:47:47.861 -> write position 2:10100
19:47:48.476 -> write position 3:6072
19:47:48.881 -> write position 2:10100
19:47:48.915 -> write position 1:10100
19:47:49.187 -> write position 0:10100
19:47:49.492 -> write position 3:6270
19:47:49.794 -> write position 4:7406
19:47:49.897 -> write position 2:10100
19:47:49.931 -> write position 1:10096
19:47:50.001 -> write position 5:5125
19:47:50.205 -> write position 0:10100
19:47:50.541 -> write position 3:6492
19:47:50.812 -> write position 4:7589
19:47:50.880 -> write position 2:10100
19:47:50.915 -> write position 1:10100
19:47:51.222 -> write position 0:10096
19:47:51.828 -> write position 4:7798
19:47:51.897 -> write position 2:10100
19:47:51.964 -> write position 1:10100
19:47:51.999 -> write position 5:5450
19:47:52.241 -> write position 0:10100
19:47:52.549 -> write position 3:6939
19:47:52.861 -> write position 4:8039
19:47:52.931 -> write position 2:10100
19:47:52.966 -> write position 1:10100
19:47:53.279 -> write position 0:10100
19:47:53.549 -> write position 3:7161
19:47:53.888 -> write position 4:8256
19:47:53.955 -> write position 2:10100
19:47:53.990 -> write position 1:10100
19:47:54.263 -> write position 0:10100
19:47:54.604 -> write position 3:7388
19:47:54.909 -> write position 4:8475
19:47:55.012 -> write position 1:10100
19:47:55.282 -> write position 0:10100
19:47:55.924 -> write position 4:8663
19:47:56.061 -> write position 5:6183
19:47:56.602 -> write position 3:7806
19:47:56.939 -> write position 4:8893
19:47:57.632 -> write position 3:8035
19:47:57.975 -> write position 4:9095
19:47:58.317 -> write position 0:10100
19:47:58.625 -> write position 3:8214
19:47:58.965 -> write position 4:9269
19:47:59.103 -> write position 5:6653
19:47:59.645 -> write position 3:8375
19:47:59.987 -> write position 4:9432
19:48:00.125 -> write position 5:6784
19:48:00.669 -> write position 3:8586
19:48:01.144 -> write position 5:6943
19:48:01.681 -> write position 3:8790
19:48:02.025 -> write position 4:9858
19:48:02.742 -> write position 3:9010
19:48:03.054 -> write position 4:10079
19:48:03.156 -> write position 5:7296
19:48:03.728 -> write position 3:9225
19:48:04.066 -> write position 4:10100
19:48:04.740 -> write position 3:9426
-
- Posts: 1482
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
I have seen the serial log and it seems that the Mcp23017 that controls the relays is not connected or does not work.Lesik wrote: ↑Thu Jun 04, 2020 5:59 pm Hello. At the beginning I would like to apologize for my English . At the weekend I submitted a project with my friend Elmaya to 4 blinds. At the beginning, after pressing the button, the system lived its life. But we gave a pullup, i.e. a resistor connected to each button and given to the power supply (+ 3.3V). Everything started working great. Big applause for the project. Today we decided to use the project for 8 blinds. We also soldered resistors with power connection (+ 3.3V). And when connected, everything works great. But after a few operations on the blinds (closing and opening) with both Supla and buttons, the system stops responding. In supli, everything is active but nothing works. Similarly with buttons. I would ask for help.
Code: Select all
19:41:58.733 -> 19:41:58.733 -> CONNECTED 19:41:58.733 -> local IP: 192.168.1.33 19:41:58.733 -> subnetMask: 255.255.255.0 19:41:58.733 -> gatewayIP: 192.168.1.1 19:41:58.733 -> Signal Strength (RSSI): -13 dBm 19:41:59.683 -> status: 10 19:41:59.750 -> status: 17 19:42:35.672 -> Mcp 2A input 223 19:42:35.740 -> 5 Shut 19:43:53.817 -> write position 3:100 19:44:04.919 -> write position 3:1926 19:44:33.949 -> write position 5:3999 19:44:49.086 -> write position 5:100 19:45:30.423 -> Mcp 2B input 247 19:45:30.490 -> 3 Reveal 19:45:35.934 -> write position 3:100 19:47:12.179 -> write position 4:100 19:47:19.288 -> write position 4:1286 19:47:19.592 -> write position 2:10100 19:47:20.578 -> write position 2:10100 19:47:21.292 -> write position 4:1675 19:47:21.599 -> write position 1:10100 19:47:21.599 -> write position 2:10100 19:47:22.341 -> write position 4:1861 19:47:22.894 -> write position 0:10100 19:47:23.617 -> write position 5:823 19:47:24.363 -> write position 4:2252 19:47:25.042 -> write position 3:1293 19:47:26.067 -> write position 3:1505 19:47:26.370 -> write position 4:2651 19:47:27.086 -> write position 3:1708 19:47:27.397 -> write position 4:2829 19:47:28.085 -> write position 3:1889 19:47:28.733 -> write position 5:1595 19:47:29.106 -> write position 3:2090 19:47:29.413 -> write position 4:3246 19:47:30.160 -> write position 3:2293 19:47:30.429 -> write position 4:3447 19:47:30.765 -> write position 5:1923 19:47:31.177 -> write position 3:2522 19:47:31.449 -> write position 4:3676 19:47:32.167 -> write position 3:2721 19:47:32.471 -> write position 4:3897 19:47:32.785 -> write position 5:2272 19:47:33.201 -> write position 3:2934 19:47:33.503 -> write position 4:4107 19:47:34.216 -> write position 3:3155 19:47:34.519 -> write position 4:4304 19:47:34.753 -> write position 5:2619 19:47:35.231 -> write position 3:3346 19:47:35.534 -> write position 4:4515 19:47:36.282 -> write position 3:3547 19:47:36.548 -> write position 4:4712 19:47:36.785 -> write position 5:2968 19:47:37.264 -> write position 3:3779 19:47:37.575 -> write position 4:4923 19:47:38.293 -> write position 3:3979 19:47:38.599 -> write position 4:5140 19:47:38.803 -> write position 5:3292 19:47:39.347 -> write position 3:4192 19:47:40.332 -> write position 3:4405 19:47:40.605 -> write position 4:5556 19:47:40.840 -> write position 5:3631 19:47:41.351 -> write position 3:4621 19:47:41.621 -> write position 4:5767 19:47:42.366 -> write position 3:4845 19:47:42.677 -> write position 4:5966 19:47:43.401 -> write position 3:5045 19:47:43.672 -> write position 4:6184 19:47:44.687 -> write position 4:6393 19:47:44.892 -> write position 5:4324 19:47:45.432 -> write position 3:5481 19:47:45.705 -> write position 4:6599 19:47:46.420 -> write position 3:5678 19:47:46.757 -> write position 4:6815 19:47:47.480 -> write position 3:5886 19:47:47.760 -> write position 4:7041 19:47:47.861 -> write position 2:10100 19:47:48.476 -> write position 3:6072 19:47:48.881 -> write position 2:10100 19:47:48.915 -> write position 1:10100 19:47:49.187 -> write position 0:10100 19:47:49.492 -> write position 3:6270 19:47:49.794 -> write position 4:7406 19:47:49.897 -> write position 2:10100 19:47:49.931 -> write position 1:10096 19:47:50.001 -> write position 5:5125 19:47:50.205 -> write position 0:10100 19:47:50.541 -> write position 3:6492 19:47:50.812 -> write position 4:7589 19:47:50.880 -> write position 2:10100 19:47:50.915 -> write position 1:10100 19:47:51.222 -> write position 0:10096 19:47:51.828 -> write position 4:7798 19:47:51.897 -> write position 2:10100 19:47:51.964 -> write position 1:10100 19:47:51.999 -> write position 5:5450 19:47:52.241 -> write position 0:10100 19:47:52.549 -> write position 3:6939 19:47:52.861 -> write position 4:8039 19:47:52.931 -> write position 2:10100 19:47:52.966 -> write position 1:10100 19:47:53.279 -> write position 0:10100 19:47:53.549 -> write position 3:7161 19:47:53.888 -> write position 4:8256 19:47:53.955 -> write position 2:10100 19:47:53.990 -> write position 1:10100 19:47:54.263 -> write position 0:10100 19:47:54.604 -> write position 3:7388 19:47:54.909 -> write position 4:8475 19:47:55.012 -> write position 1:10100 19:47:55.282 -> write position 0:10100 19:47:55.924 -> write position 4:8663 19:47:56.061 -> write position 5:6183 19:47:56.602 -> write position 3:7806 19:47:56.939 -> write position 4:8893 19:47:57.632 -> write position 3:8035 19:47:57.975 -> write position 4:9095 19:47:58.317 -> write position 0:10100 19:47:58.625 -> write position 3:8214 19:47:58.965 -> write position 4:9269 19:47:59.103 -> write position 5:6653 19:47:59.645 -> write position 3:8375 19:47:59.987 -> write position 4:9432 19:48:00.125 -> write position 5:6784 19:48:00.669 -> write position 3:8586 19:48:01.144 -> write position 5:6943 19:48:01.681 -> write position 3:8790 19:48:02.025 -> write position 4:9858 19:48:02.742 -> write position 3:9010 19:48:03.054 -> write position 4:10079 19:48:03.156 -> write position 5:7296 19:48:03.728 -> write position 3:9225 19:48:04.066 -> write position 4:10100 19:48:04.740 -> write position 3:9426
please check your connections.
-
- Posts: 30
- Joined: Thu Apr 19, 2018 7:51 pm
Hello. I checked with an i2c scanner and detects two modules. I corrected one connection and everything works ok. The buttons work and the system correctly saves the position of the blind. However, when I connect the relays, everything returns to normal. The system just hangs. The relays are controlled high. I still have relays but controlled low. Could someone embed a compiled project to control low state relays?
-
- Posts: 1482
- Joined: Wed Jun 27, 2018 5:48 pm
- Location: El Saucejo - Sevilla
software is incompatible with relays active in low state, precisely because of what happens to you.
!! It will only work with high level active relays !!
there will be no other version.
!! It will only work with high level active relays !!
there will be no other version.