Skip to main content

RpiSerial

All Serial Device Interface with Raspberry Pi, Jetson nano, etc For Example Bluetooth, RFID, GPS, GSM, etc

Serial Device Interfacing Examples

For Bluetooth

from RpiSerial import RpiSerial as r a = r.Bluetooth(port = "Your Port Number",baudrate = Your Baudrate)

For Sending Message

a.write("Message you want to send")

For Receive Message

x = a.read() print(x)

For RFID

from RpiSerial import RpiSerial as r a = r.RFID(port = "Your Port Number",baudrate = Your Baudrate)

For Receive Message

x = a.read() print(x)

For GPS

from RpiSerial import RpiSerial as r a = r.GPS(port = "Your Port Number",baudrate = Your Baudrate)

For Receiving Message

Latitude, Longitude, Time, Date = a.read() # Date and Time is in IST(Indian Standard Time) Format print(Latitude, Longitude, Time, Date)

For GSM

from RpiSerial import RpiSerial as r a = r.GSM(port = "Your Port Number",baudrate = Your Baudrate)

For Sending Message

x = a.send_message("Contact Number","Message you want to send") # This Function is returned Acknowledgement print(x) # Print Acknowledgement

For Receiving Message

x = a.recv_message(Message Index Number stored in SIM Card) # This Function is returned Message for Example a.recv_message(0) print(x) # Print Message

For Making Call

x = a.call("Contact Number") # This Function is returned Acknowledgement print(x) # Print Acknowledgement

For Sending AT Command

x = a.call("AT command with carriage return") # This Function is returned Acknowledgement for giving AT command print(x) # Print Acknowledgement

Release files for RpiSerial 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for RpiSerial 0.0.2
File Size Uploaded
RpiSerial-0.0.2.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for RpiSerial 0.0.2
File Interpreter ABI Platform
RpiSerial-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size:6.6 kB

Release files / RpiSerial-0.0.2.tar.gz

Download URL RpiSerial-0.0.2.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c7a11bb8fed8160b1ba3f62b21beed7c1cbc9219826b589a4be885db8bb33d5a
BLAKE2b-256 checksum
How to use checksums
6e620b1e3368b09a4b1768986c8326e6c28f5e89e03332b8488c897f4b953c52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.5

Release files / RpiSerial-0.0.2-py3-none-any.whl

Download URL RpiSerial-0.0.2-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea16cb16e098b646783fd65161584eb23d0f9e618fbea6978b9b84d8b7294947
BLAKE2b-256 checksum
How to use checksums
fd8eabd73b621055e5fb231f98d8ef33dcf72fd83b28ad7fb343b28707dbf4a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page