Control your Creations
Control your Creations
const SerialPort = require('serialport')
const Readline = require('@serialport/parser-readline')
const port = new SerialPort(path, { baudRate: 256000 })
const parser = new Readline()
port.pipe(parser)
parser.on('data', line => console.log(`> ${line}`))
port.write('ROBOT POWER ON\n')
//> ROBOT ONLINE
Internet of Things
Internet of Things
The Internet of things is filled with hardware that talks over serial ports. From sensor networks to home hubs SerialPort can help you make it happen.
Powers NodeBots
Powers NodeBots
Nodebots uses SerialPort as the bridge between your javascript and the firmware on thousands of devices from Arduinos to drones.
Consumer Devices
Consumer Devices
SerialPort is used in consumer devices from pancake printing robots to homebrew games. When used with Electron you have fast and easy path from prototype to production.

Commercial Applications
Commercial Applications
From underwater sensors, to drones, to ATMs, to fork lift diagnostics, to medical device communications. SerialPort has found its way into many industries. With an Open Source MIT license and the ability to submit fixes back to the project, SerialPort is an obvious choice for your next project.