Forum Tiny Control Solution

Pełna wersja: LK3-NOWY SOFT - KOLEJNE WERSJE
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
Stron: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
ghorvat post_id=12184 time=1499960948 user_id=5770 napisał(a):
wilkxt post_id=12179 time=1499863823 user_id=61 napisał(a):
ghorvat post_id=12175 time=1499776861 user_id=5770 napisał(a):Yes, these are the pins i used. I also connected UART USB bridge to the same pins of the LK3 and nothing is happening, i.e. no data is sent from LK3.

Dp you have other LK3 to test?

Yes, I have tried with another LK3 and the result is the same: the modem does not communicate with LK3, that is, the LK3 sends nothing to the modem via UART.

Check without connected sim900 if tx uart is changed
wilkxt post_id=12186 time=1499970901 user_id=61 napisał(a):
ghorvat post_id=12184 time=1499960948 user_id=5770 napisał(a):
wilkxt post_id=12179 time=1499863823 user_id=61 napisał(a):Dp you have other LK3 to test?

Yes, I have tried with another LK3 and the result is the same: the modem does not communicate with LK3, that is, the LK3 sends nothing to the modem via UART.

Check without connected sim900 if tx uart is changed

Yes I have checked without SIM modem and it is the same: LK3 sends nothing on the UART port.

Also, the voltage level of the UART TX is 0V - according to UART specification the voltage should be +VCC. Sounds to me like UART TX was not initialised property in the firmware?
look at this picture
[attachment=466]
Pin 1(UART_TX) on IDC10-1 should be 3,3V, this pin must be connected to uart_rx pin from simm900

upgrate Lk3 to this software [attachment=465]
In LK3 menu "uart devices" you have to choose GSM SIM800L
wilkxt post_id=12193 time=1500025911 user_id=61 napisał(a):look at this picture
lk3_uart.png
Pin 1(UART_TX) on IDC10-1 should be 3,3V, this pin must be connected to uart_rx pin from simm900

upgrate Lk3 to this software lk3_firmware_1_39b1.bin.tar.gz
In LK3 menu "uart devices" you have to choose GSM SIM800L

Hello, yes it works now, but I had found out that in one of my LK3 the uart port is somehow burned (possibly due to the previous experiments with SDS011 sensor).

Also, this SIM modem was configured to 9600 baud by default, and the LK3 communicates using 115200, so they could not establish communication. I had to manually change the baud rate on the SIM modem. The old firmware works also!

Thanks for all the help!

Also, any news on the implementation of the OLED I2C LCD?
ghorvat post_id=12196 time=1500067630 user_id=5770 napisał(a):Also, any news on the implementation of the OLED I2C LCD?
not finished yet
Mam propozycję dotyczącą wysyłki maili. Bardzo dobrze byłoby gdyby w treści maila zamiast numeru wejścia pojawiła się nazwa (opis) wejścia. Przy kilkunastu zdarzeniach można się teraz pogubić Smile
agrest post_id=12438 time=1500363318 user_id=5676 napisał(a):Mam propozycję dotyczącą wysyłki maili. Bardzo dobrze byłoby gdyby w treści maila zamiast numeru wejścia pojawiła się nazwa (opis) wejścia. Przy kilkunastu zdarzeniach można się teraz pogubić Smile

Zmienimy to
Witam,

Wysyłanie trapów polega na dodaniu Zdarzenia z wyjściem SNMP Trap?
Jeśli tak, to coś jest nie tak, gdyż przez Wiresharka widzę, że kontroler nie wysyła, żadnych Trapów.
Wersja 1.38b. I w ustawieniach zezwoliłem na SNMP Trap.

Pozdrawiam.
Jakie masz warunki w zdarzeniach? Wrzuć screna co masz ustawione
Warunkiem jest zamknięcie kontaktronu w INPD1
[Obrazek: 5R58NG1.png]
[Obrazek: zgUBmKX.png]
Stron: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26