Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 113293

is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. Traditionally "serial" relates to a three (or more with hardware handshaking) wire system (TIA-232-F), now using ∓25V Voltages. Technically speaking the specialized SPI (Serial Peripheral Interface) and I2C (Inter-Integrated Circuit) buses are serial communication systems as well - use one of those tags if they would be more appropriate!

0 votes
1 answer
2k views

Rpi Python interfacing RS232 to RS422/485 Converter Problem

I am working with a project where I need to read data from my device(i.e ADAM 4520)using serial to USB converter. 1st, I tested with my PC using hyper terminal and with Raspberry Pi 3 using GtkTerm, it … Here is my code: import serial import time s=serial.Serial(port='/dev/ttyS0', baudrate=9600, parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE, …
ram's user avatar
  • 69
2 votes

Rpi Python interfacing RS232 to RS422/485 Converter Problem

I am interfacing these two devices with my Raspberry Pi 3 with serial (Rx/Tx)pin. … import serial import time import struct s=serial.Serial(port='/dev/ttyS0', baudrate=9600, parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE, …
ram's user avatar
  • 69
0 votes
1 answer
1k views

How to implement serial event detection for request /response operation with Tkinter

My issue is in my application I have to response request from master PC through serial port (So this is an interrupt driven application ).But as per my knowledge there is no serial interrupt detection … Here is my threading code demo: import serial import tkinter as tk import threading serialport= serial.Serial(port='/dev/ttyS0',baudrate=9600) i2c = busio.I2C(board.SCL,board.SDA) rate = 32 ads = ADS.ADS1115 …
ram's user avatar
  • 69