Linked Questions

3 votes
3 answers
24k views

PH-4502C pH Sensor Calibration and ADC using MCP3008, PCF8591, and ADS1115

I have a pH meter (DIY-4502C) hooked up with Raspberry Pi. However, the instructions to calibrate is in Chinese and seems outdated. Does anybody know how to calibrate it for measuring pH4-7?
TAO's user avatar
  • 39
2 votes
2 answers
16k views

data packet of hex values sent over serial

I have googled, read, experimented etc and still have had no luck sending a packet of 5 hex values over serial. Here is what I have tried: import serial import time ser = serial.Serial( port='...
mScientist's user avatar
2 votes
1 answer
8k views

multiple UARTs on the 40-pin

i am trying to connect two devices via UART to a raspberry 4. one being a stepper driver (i dont need much throughput), one being an image sensor (the higher the baud rate is i can get, the better). ...
rmalchow's user avatar
  • 201
2 votes
1 answer
24k views

Simple command line to write and read data from UART (serial) loopback

I want to connect the TX and RX pins together and from the command line echo some text into /dev/ttyAMA0 and tail the result (from somewhere). I ultimately want to communicate with an Arduino but ...
AJP's user avatar
  • 169
4 votes
2 answers
9k views

How to send and read a string from Raspberry pi to Arduino via serial interface?

I was trying to send and receive data between Raspberry pi and Arduino UNO. I'm able to send and receive a string from Arduino to Pi using Serial.println. I spent hours searching a better tutorial or ...
smc's user avatar
  • 297
3 votes
1 answer
6k views

Rpi3 LIRC Library and UART IR Transceiver Setup Problem

I installed the lirc library and I tried to use it, I need this for a project sudo mode2 -d/dev/lirc0 Using driver default on device /dev/lirc0 Trying device: /dev/lirc0 Please use the --raw option ...
Teofil Sandu's user avatar
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, ...
ram's user avatar
  • 69
2 votes
2 answers
1k views

How to create and connect a virtual printer via RS232?

I try to setup my raspberry pi 3 as a virtual printer. My scenario is the following: Legacy System (running Windows 7) -> COM port -> cross-wired rs232 cable -> rpi rs232 extension board for GPIO -...
Martin Löper's user avatar
1 vote
1 answer
3k views

Rpi Python Serial Test Program

In Terminal its working but not working using python code. My Code: import serial from time import sleep ser = serial.Serial ("/dev/ttyS0") while True: received_data = ser.read() ...
Ragul Murugan's user avatar
1 vote
1 answer
4k views

Rpi3B+ buster USB to Serial (/dev/ttyUSB0) Communication Problem

I'm trying to establish a serial communication between my Raspberry PI 3 B+ - running on Raspbian 10 Buster - and a testing machine I have. The normal behavior of the machine is to send test related ...
Emanoel Costa's user avatar
0 votes
1 answer
3k views

Python script to copy files from windows to Pi

I'd like to create a script to copy some files from my Windows computer to the Raspberry Pi over local network and run this on the Pi. As I understand I have to run an SSH server on the PC in order ...
Razero's user avatar
  • 125
1 vote
1 answer
2k views

How can Rpi4B use UART to read and analyze received data at a 3DR FPV Air Radio Module?

I am trying to set up the FPV telemetry radios (Air and Ground Module 433MHz). I have connected the Ground module to my laptop (USB) and air module to Raspberry Pi 4 UART pins. Using Mission planner ...
TheLazy's user avatar
  • 133
-1 votes
1 answer
1k views

Response to a incoming call using python script

I am trying to implement a system using Raspberry-pi and SIM-800 modules. Now I can see incoming calls from my python script, but it can not parse data. import serial serialport = serial.Serial("/...
Sachith Muhandiram's user avatar
1 vote
1 answer
1k views

I would like to switch on the Raspberry GPIO using an NPN transistor (2n2222)

Hello guys I am currently working on a project. and I would like to turn on a GPIO pin when my LED on the circuit below turns on. I'm lost to where I should tie my input GPIO pin. please help. Thanks!
Rikku's user avatar
  • 19
3 votes
1 answer
1k views

Connecting Arduino Uno to a Raspberry Pi

Lets start with i'm a complete novice. Pi Zero W: Used as a water level detector with the 3.3v and 3 GPIO pins soldered with some wires, that are spaced and attached to a pole, the 3.3v at the bottom ...
user1855290's user avatar

15 30 50 per page