All Projects → JuliaIO → SerialPorts.jl

JuliaIO / SerialPorts.jl

Licence: other
SerialPort IO streams in Julia backed by pySerial.

Programming Languages

julia
2034 projects

Projects that are alternatives of or similar to SerialPorts.jl

Cserialport
基于C++的轻量级开源跨平台串口类库Lightweight cross-platform serial port library based on C++
Stars: ✭ 296 (+957.14%)
Mutual labels:  serial, serial-ports
Raspberry-Pi-Electricity-Monitor
Software for monitoring the electricity consumption of a home with a Raspberry Pi
Stars: ✭ 33 (+17.86%)
Mutual labels:  serial, serial-ports
Node Serialport
Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
Stars: ✭ 5,015 (+17810.71%)
Mutual labels:  serial, serial-ports
SerialProtocol
A protocol for sending data between two Arduino devices, or between an Arduino and another device through a serial port
Stars: ✭ 36 (+28.57%)
Mutual labels:  serial, serial-ports
serialport
PHP Serial Port
Stars: ✭ 42 (+50%)
Mutual labels:  serial-ports
sack.vfs
Node addon which adds a virtual file system interface; websockets; json(6) parsing; sql support(sqlite,odbc); javascript sched_yield; ssl certificate generation; more...
Stars: ✭ 29 (+3.57%)
Mutual labels:  serial
pros-cli
Command Line Interface for managing PROS projects. Works with V5 and the Cortex
Stars: ✭ 92 (+228.57%)
Mutual labels:  serial-ports
R30X-Fingerprint-Sensor-Library
Arduino library for R30X series optical fingerprint scanners.
Stars: ✭ 13 (-53.57%)
Mutual labels:  serial
ESP32-3DPrinter-Bridge
A network <=> ESP32 <=> USB (FTDI) <=> 3D printer Bridge
Stars: ✭ 30 (+7.14%)
Mutual labels:  serial
jacdac-ts
Jacdac TypeScript library
Stars: ✭ 17 (-39.29%)
Mutual labels:  serial
vx8 gps
DIY GPS module for Yaesu VX-8DR/VX-8DE handheld transceiver.
Stars: ✭ 41 (+46.43%)
Mutual labels:  serial
yahdlc
yahdlc - Yet Another HDLC implementation
Stars: ✭ 47 (+67.86%)
Mutual labels:  serial
pigpio-client
A nodejs client for pigpio socket interface.
Stars: ✭ 24 (-14.29%)
Mutual labels:  serial
serial.nim
A Nim library for accessing serial ports.
Stars: ✭ 59 (+110.71%)
Mutual labels:  serial-ports
rzw
Rusty Z-Wave - A native Z-Wave library in Rust
Stars: ✭ 34 (+21.43%)
Mutual labels:  serial
BOSCH-GLM-rangefinder
Python script to remote control a BOSCH GLM 100C rangefinder via its Bluetooth serial interface
Stars: ✭ 41 (+46.43%)
Mutual labels:  serial
asynckit
Minimal async jobs utility library, with streams support
Stars: ✭ 21 (-25%)
Mutual labels:  serial
termission
Cross-platform Serial (COM Port) / TCP Terminal with Scriptable Auto-Response
Stars: ✭ 39 (+39.29%)
Mutual labels:  serial
CSerial
Cross-platform serial port access through C
Stars: ✭ 19 (-32.14%)
Mutual labels:  serial-ports
executive
🕴Elegant command execution for Node.
Stars: ✭ 37 (+32.14%)
Mutual labels:  serial

SerialPorts

Build Status

SerialPorts.jl lets you work with devices over serial communication with Julia. It is designed to mimic regular file IO as in the Base Julia library.

This package requires PySerial, which is used through PyCall. Conda is used as a fallback so cross-platform installation is simple.

Check out LibSerialPort.jl if you want to avoid the Python dependency.

Quick Start

A SerialPort has a minimal API similar to IOStream in Julia.

A brief example:

using SerialPorts
s = SerialPort("/dev/ttyACM1", 250000)
write(s, "Hello World!\n")
close(s)

open, close, read, write, bytesavailable, readavailable, are all defined for SerialPort.

In order to see the attached serial devices, use list_serialports().

The Arduino submodule provides functionality for manipulating Arduinos over serial. SerialPorts.Arduino.reset(s::SerialPort) will reset an Arduino.

License

Available under the MIT License. See: LICENSE.md.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].