$ luarocks install luaserial
The Lua serial module provides functions to deal with serial port settings such as bit rates (speed) data bits, parity.
The device/file manipulation such as open, close, read and write are not provided.
Versions
Dependencies
lua >= 5.1, <= 5.4