{"id":15197143,"url":"https://github.com/steveiliop56/rpi-softwareserial","last_synced_at":"2025-10-02T13:30:59.513Z","repository":{"id":234098067,"uuid":"781603522","full_name":"steveiliop56/rpi-softwareserial","owner":"steveiliop56","description":"A simple python library for software serial on raspberry pi.","archived":true,"fork":false,"pushed_at":"2024-04-03T17:40:22.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-23T23:31:02.667Z","etag":null,"topics":["raspberrypi","serial","software-serial"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steveiliop56.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-03T17:40:20.000Z","updated_at":"2024-07-03T19:16:53.000Z","dependencies_parsed_at":"2024-04-18T06:28:21.806Z","dependency_job_id":"13b398fb-f560-4568-9f0c-8cff05e251d9","html_url":"https://github.com/steveiliop56/rpi-softwareserial","commit_stats":null,"previous_names":["steveiliop56/rpi-softwareserial"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveiliop56%2Frpi-softwareserial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveiliop56%2Frpi-softwareserial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveiliop56%2Frpi-softwareserial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steveiliop56%2Frpi-softwareserial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steveiliop56","download_url":"https://codeload.github.com/steveiliop56/rpi-softwareserial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219875703,"owners_count":16554702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["raspberrypi","serial","software-serial"],"created_at":"2024-09-28T00:43:09.693Z","updated_at":"2025-10-02T13:30:54.234Z","avatar_url":"https://github.com/steveiliop56.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Raspberry Pi Python Software Serial\n\nA very simple raspberry pi software serial library made with python and pigpio.\n\n### Installation\n\nThe installation is very simple you just need to have pigpio installed which can be installed with this command:\n\n```Bash\nsudo apt install python3-pigpio pigpio -y\n```\n\nAfter that just copy the library to your project and give the file a name (e.g. `softwareserial.py`).\n\n### Usage\n\nThe usage is very simple you just impot it into your script set the parameters and you are ready. Here is an example:\n\n```Python\nfrom softwareserial import softwareSerial\n\nserial = softwareSerial(txd_pin=17, rxd_pin=27, baudrate=9600)\n\nserial.write(\"hello world!\")\n\nmessage = serial.read()\n\nprint(message)\n```\n\nThe library uses custom new line and end of line indicators which can be changed like so:\n\n```Python\nserial = softwareSerial(txd_pin=17, rxd_pin=27, baudrate=9600, new=\"/n\", eol=\"/n\")\n```\n\nFurthermore you can change the read timeout like so:\n\n```Python\nserial = softwareSerial(txd_pin=17, rxd_pin=27, baudrate=9600, new=\"/n\", eol=\"/n\", timeout=15)\n```\n\n### License\n\nThe project is licensed under the GPL V3 License. You may modify, distribute and copy the code as long as you keep the changes in the source files. Any modifications you make using a compiler must be also licensed under the GPL license and include build and install instructions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteveiliop56%2Frpi-softwareserial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteveiliop56%2Frpi-softwareserial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteveiliop56%2Frpi-softwareserial/lists"}