All Questions
19
questions
0
votes
0
answers
11
views
pymodus unknown message
I am using Pymodbus in Raspberry Pi for data acquisition from Modbus rtu (RS485) sensors. Other sensors worked perfectly fine so coding is ok.
However one particular sensors is giving me this message ...
0
votes
2
answers
152
views
Sensor gives different results using GPIO and USB
I have a RPi4B, MH-Z19C CO2 sensor and a UART to USB adapter.
When I connect to the sensor using USB I get stable readings:
{'co2': 1001, 'temp': 19, 'S': 0, 'U': 0}
{'co2': 1006, 'temp': 19, 'S': 0, '...
1
vote
1
answer
252
views
How to connect multiple sensors to TXD and RXD pins of Raspberry Pi?
I want to connect multiple lidar distance sensors to my Raspberry Pi. (Like the picture below)
The lidar distance measurement sensor has 5v, TXD, RXD and GND pins.
When I looked, it seemed that the ...
2
votes
1
answer
2k
views
Problem with 1-Wire devices not showing up on GPIO4
For a project I want to implement 1-Wire communication in a Raspberry Pi Zero W. The goal is to use a Maxim Integrated Max17313 Fuel Gauge for inspecting battery usage.
To make sure the implementation ...
1
vote
1
answer
316
views
How to open a window with the output of a sensor connected via Bluetooth serial port with Python? [closed]
I connected 3 sensors via Bluetooth serial port to a Raspberry Pi 4 with the following Python program:
import socket
serverMACAddress1 = 'XX:XX:XX:XX:XX:XX'
serverMACAddress2 = 'XX:XX:XX:XX:XX:XX'
...
0
votes
1
answer
5k
views
Connecting Various Devices Using Bluetooth as Serial Port
I managed to connect a sensor via Bluetooth to a serial port on the Raspberry Pi 4 by doing the following:
First, I added the SP profile to the Raspberry by opening and editing the following file:
...
3
votes
1
answer
260
views
ds18b20 + USB serial adapter
I have this "QinHeng Electronics HL-340 USB-Serial adapter" and a couple of DS18B20 temperature/humidity sensor but I can't get to read data using digitemp.
Also tried with this
#include <stdio.h&...
1
vote
1
answer
90
views
DS18B20 reading double after long use
I installed two DS18B20s on a pi almost a year ago. They have worked great until the last couple months. I am doing a bit of a stress test on them and have been polling them every second for almost a ...
-1
votes
2
answers
452
views
Multiple TTL sensors on serial RX GPIO 10
Is it possible to read more than one TTL sensor on serial RX GPIO 10?
I know you can add multiple serial sensors on /dev/ttyUSBx
Does the same apply to /dev/ttyAMAx ?
1
vote
2
answers
208
views
Interfacing Arduino with Raspberry Pi [closed]
Can we interface Arduino with Raspberry Pi?
I need to interface 16 pressure sensors with Arduino. And get the reading through to Raspberry Pi using serial port communication. Is that possible?
-1
votes
1
answer
1k
views
Using Serial to Read Ultrasonic Sensor?
I have an HRLV-EZ4 ultrasonic sensor hooked up to my RPi 3 B+ like so:
Serial output --> pi RX (pin 10)
V+ --> pi 5V
GND --> pi GND
I've already gotten it to work with an analog voltage output and ...
1
vote
0
answers
885
views
Connect multiple sensors on a single USB to RS485 adapter
On tindie I bought a RS485 soil moisture sensor with a USB to RS485 dongle. I want to add more sensors for monotorring multiple plants. Since RS485 is a bus system, it seems basically possible to ...
0
votes
2
answers
3k
views
ZFM-60 fingerprint reader via GPIO
I'm trying to connect a ZFM-60 fingerprint scanner (https://aliexpress.com/item/Free-Shipping-USB-Fingerprint-Sensor-Support-Android-Windows-System-Optical-Fingerprint-Reader-Sensor/32475559052.html?...
2
votes
1
answer
1k
views
UART pins not reading sensor output RPI3
This is my first pi project so im a bit new at this. Im trying to connect a senseair K-30 CO2 sensor to the pi via the UART gpio pins. This is the sensor I am using: https://www.co2meter.com/products/...
0
votes
1
answer
816
views
Lego EV3 infrared sensor to raspberry pi 3 direct connection via UART?
I connected this sensor with raspberry via UART( I have found that this IR sensor is one of few Lego sensors that connects via UART), and make serial_read and serial_write python scripts, just to test ...