Skip to main content

All Serial Device Interface with Raspberry Pi, Jetson nano, etc

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for RpiSerial, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size RpiSerial-0.0.2-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size RpiSerial-0.0.2.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page