Linked Questions

3
votes
3answers
17k 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?
4
votes
2answers
7k 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 ...
2
votes
2answers
8k 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='...
1
vote
1answer
10k 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 ...
3
votes
1answer
4k 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 ...
1
vote
1answer
2k 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() ...
0
votes
1answer
2k 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 ...
1
vote
1answer
2k 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 ...
2
votes
2answers
808 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 -...
0
votes
1answer
1k 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, ...
1
vote
1answer
1k 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 ...
1
vote
1answer
672 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). ...
1
vote
1answer
1k views

Raspberry pi and microbit working together

Can I do a pin out from raspberry pi onto a breadboard and have a microbit setup to receive that pin out and have the microbit run a command on pin in? Or can I have the raspberry pi send a signal to ...
-1
votes
1answer
861 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("/...
1
vote
2answers
826 views

Error while using wiringSerial

I am new to the Raspberry subject and only figure out some basics. I want to use a Nextion-Display withe a Raspberry pi 3b+ and communicate over the UART pins. For this I found wiringPi and that it ...

15 30 50 per page