This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

LM Ambient and RS-485
#4
Hello buuuudzik,
we use this converter: FTDI  US232R which costs about 22 Eur. You can use it simply like this:



Code:
require('serial')

-- open port on first call
if not port then   
  port = serial.open('/dev/ttyUSB0', { baudrate = 19200, databits = 8, stopbits = 1, parity = 'none', duplex = 'full' })
port:flush()
  log("Port Initialized")
end

-- your code next...
Reply


Messages In This Thread
LM Ambient and RS-485 - by buuuudzik - 04.10.2016, 06:29
RE: LM Ambient and RS-485 - by admin - 04.10.2016, 06:56
RE: LM Ambient and RS-485 - by buuuudzik - 23.10.2016, 16:54
RE: LM Ambient and RS-485 - by Peter - 23.10.2016, 21:55
RE: LM Ambient and RS-485 - by admin - 24.10.2016, 06:24
RE: LM Ambient and RS-485 - by buuuudzik - 24.10.2016, 07:06
RE: LM Ambient and RS-485 - by admin - 24.10.2016, 07:58
RE: LM Ambient and RS-485 - by buuuudzik - 24.10.2016, 08:28

Forum Jump: