@kaustubha.mahajani/arduino-js

1.0.3 • Public • Published

ArduinoController

ArduinoController is a simple Node.js class for communicating with Arduino devices over a serial connection. It leverages the serialport package to send commands and read messages from the Arduino.

Features

  • Send commands to an Arduino via serial communication.
  • Read and handle messages received from the Arduino.
  • Easy to set up and use in Node.js projects.

Prerequisites

Before using the ArduinoController, ensure the following:

  • Node.js is installed on your system.
  • Your Arduino device is connected to a serial port.
  • Install the required npm packages (serialport and @serialport/parser-readline).

Installation

Install the necessary dependencies by running:

npm install serialport @serialport/parser-readline

npm install @kaustubha.mahajani/arduino-js

/@kaustubha.mahajani/arduino-js/

    Package Sidebar

    Install

    npm i @kaustubha.mahajani/arduino-js

    Weekly Downloads

    5

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    3.81 kB

    Total Files

    7

    Last publish

    Collaborators

    • kaustubha.mahajani