Linked Questions

2
votes
3answers
4k 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?
2
votes
2answers
1k 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='...
2
votes
2answers
984 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
1answer
964 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
579 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 ...
0
votes
1answer
521 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 ...
2
votes
2answers
167 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
259 views

Serial Communication from Raspbian using Python to Arduino

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() ...
1
vote
1answer
347 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 ...
1
vote
2answers
214 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 ...
1
vote
1answer
159 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!
0
votes
1answer
228 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
vote
1answer
220 views

USB Barcode Scanner Serial won't work just freezes/hangs

I am trying to build a basic POS System, naturally I would have a usb barcode scanner and a simple code from here to start. Everything went well from scanning using serial to DB entry and then GUI. ...
1
vote
1answer
151 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
3answers
110 views

Reading time off of a cellular modem with python 2.7 and pyserial

TL;DR: I need to read the time off of my Hologram Nova USB cellular modem on /dev/ttyACM0 and update the system clock after the pi restarts. I'd like to do it in Python but it isn't reading the ...

15 30 50 per page