STN1110 Can't connect


#1

Hello!
Recently tried to connect my STN1110 to imp001 on uart 1289, at start it shows me

|2018-12-04 18:47:26 +02:00|[Device]|ERROR: Error initializing STN1110 UART interface: UART read timed out while waiting for newline
|2018-12-04 18:47:26 +02:00|[Device]|ERROR: in reset …ricimp#stn1110.class.nut#1.0.0:68|
|2018-12-04 18:47:26 +02:00|[Device]|ERROR: from constructor …ricimp#stn1110.class.nut#1.0.0:44|

With code

#require “STN1110.class.nut:1.0.0”

stn1110 <- STN1110(hardware.uart1289);

function sender(){
server.log(stn1110.getElmVersion());
}

imp.wakeup(10.0, sender);

Am I doing something wrong?

Best regards,
Pavels


#2

I haven’t looked at that library in quite a while. I’ll dust off the test hardware we built and see if I can reproduce the issue.


#3

A little update.
Left it powered on, after 30 minutes it has connected to STN1110, tried few commands and they worked. :man_shrugging:t2: