Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

GdSerial

An asset by SujithChristopher
The page banner background of a mountain and forest
GdSerial hero image

Quick Information

0 ratings
GdSerial icon image
SujithChristopher
GdSerial

A Rust-based serial communication library for Godot 4, providing PySerial-like functionality through gdext. This library allows you to easily communicate with serial devices (Arduino, sensors, etc.) directly from your Godot projects.

Supported Engine Version
4.2
Version String
0.2.5
License Version
MIT
Support Level
community
Modified Date
5 days ago
Git URL
Issue URL

GdSerial - Serial Communication for Godot

GdSerial Icon

A Rust-based serial communication library for Godot 4 that provides PySerial-like functionality.


Installation

  1. Download this addon from the Godot Asset Library or GitHub
  2. Copy the addons/gdserial folder to your project's addons/ directory
  3. Enable the plugin in Project Settings > Plugins

Quick Start

extends Node

var serial: GdSerial

func _ready():
    serial = GdSerial.new()
    
    # List available ports
    var ports = serial.list_ports()
    print("Available ports: ", ports)
    
    # Configure and connect
    serial.set_port("COM3")  # Adjust for your system
    serial.set_baud_rate(9600)
    
    if serial.open():
        serial.writeline("Hello Arduino!")
        var response = serial.readline()
        print("Response: ", response)
        serial.close()

API Reference

See the main repository README for complete API documentation.

Requirements

  • Godot 4.2+
  • Appropriate permissions for serial port access (see platform-specific notes in main README)

License

MIT License - see LICENSE file for details.

A Rust-based serial communication library for Godot 4, providing PySerial-like functionality through gdext. This library allows you to easily communicate with serial devices (Arduino, sensors, etc.) directly from your Godot projects.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
GdSerial icon image
SujithChristopher
GdSerial

A Rust-based serial communication library for Godot 4, providing PySerial-like functionality through gdext. This library allows you to easily communicate with serial devices (Arduino, sensors, etc.) directly from your Godot projects.

Supported Engine Version
4.2
Version String
0.2.5
License Version
MIT
Support Level
community
Modified Date
5 days ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers