Questions tagged [analog-to-digital]

For questions pertaining to signal conversion, either through hardware or software.

Filter by
Sorted by
Tagged with
1
vote
0answers
39 views

(RPi4) AHD to CSI-2 and ENOSPC / PiCameraMMALError: Failed to enable connection: Out of resources

I have a fun one - I'm trying to get an analogue camera input (AHD using a normal BNC connector) over a CSI-2 cable/bus (standard RPi one, not the dual-lane Google ones), and be usable through the CSI ...
0
votes
0answers
34 views

Raspberry pi 4b with ADC Pi and capacitive moisture sensor

I recently bought the following https://thepihut.com/products/capacitive-soil-moisture-sensor https://thepihut.com/products/adc-pizero Note: Raspberry pi 4 is not listed as compatible at Pihut, but ...
1
vote
1answer
94 views

ADS1115 Inconsistent conversion results and full scale setting problem

I have a ADS1115 breakout board from adafruit connected to my RPi 3B connected via I2C. It is powered via the RPi 3.3V pin. The A0 input to the ADC is connected to a sensor that will produce out-...
1
vote
0answers
165 views

Raspberry Pico RP2040 - Circuitpython ULAB FFT Frequencies

I am trying to properly perform FFT and calculate frequencies on my PICO using CircuitPython's (CP) ULAB library: ULAB FFT With traditional Python using NUMPY and SCIPY, this is easily achievable, ...
1
vote
1answer
137 views

Using Rpi python and MCP3008 ADC to read flame (RGB) sensor data for FFT analysis

I have an IR pyroelectic flame sensor which detects flames within the 8-10hz of flame flicker. I am new to the ADC world so any help is very appreciated. Documentation: https://pyreos.com/wp-content/...
0
votes
1answer
49 views

Connecting Differential pressure sensor MPXV7002DP to Raspberry Pi 4

MPXV7002DP is analog sensor which measures differential pressure and requires 5V supply voltage and gives an output voltage of 4.5V. However, I want to get the digital output so I will connect the ...
0
votes
0answers
19 views

do i need another HAT for using K210_7 Mic_v1.1 6+1 microphone array for RPI?

sorry for the novice question. but i could'nt find any specific information on my issue. so... I got a cheap K210_7 Mic_v1.1 - 6+1 microphone circular array. and then i noticed that the respeaker ...
0
votes
1answer
155 views

Remote I/O error 121 with using ADS1115 for long time.sleep()

Hello together, I'm currently trying to read values from a pH-probe via an ADS1115 and the Adafruit_Circuitpython_ADS1x15 library connected to my Raspberry Pi 4. Using the instructions on https://...
1
vote
1answer
213 views

Raspberry pi4 + ADC

I have been working with Raspberry pi 4 to acquire analog signals. I get AD/DA High Precision Board by Waveshare (ADS1256 A/D) to convert analog input and I downloaded python source code from ...
1
vote
1answer
47 views

How can I get different values when reading the config register of an ADS1115 than I had written just before?

I'm trying to read data from an ADS1115 ADC attached to the I²C link of my Raspi 3B using pigpiod, but get nothing. In order to pin down the error, I took a deep look at the config I write beforehand ...
2
votes
1answer
637 views

Real time + High frequency ADC data reading with Raspberry Pi 4

I need to acquire a signal at a minimum sample rate of 10 kHz and processing it real-time using a Python code. Since Raspberry Pi only reads digital signals I get an ADC (High Precision AD/DA Board ...
0
votes
0answers
50 views

OSError: [Errno 5] Remote I/O error

I was setting up a joystick using this tutorial. When I ran import RPi.GPIO as GPIO import smbus import time address = 0x48 bus = smbus.SMBus(1) cmd = 0x40 Z_Pin = 12 def analogRead(chn): value =...
0
votes
0answers
60 views

Gravity TDS to Raspberry with ADC

I have Raspberry pi, and need to calculate ppm of a liquid. I'm using this as my tds: Here is the Schema, Dimension, and Datasheet1, and Datasheet2, with Sample code But it somehow needs an ADC, so I ...
2
votes
2answers
78 views

Full duplex SPI communication with an ADC using the pigpio library

I am trying to read the data from an Analog to Digital Converter (ADC), the ADS1248 from texas instrument using the pigpio library in python with the SPI protocol. When reading the data from the ADC ...
4
votes
4answers
1k views

Voltage monitoring of battery pack (i.e. before voltage regulation)

I am looking to use four 18650 batteries and a step-down DC-DC converter to power my Raspberry Pi 4. The negative terminal of the DC-DC converter is common for the input and the output. I would like a ...
0
votes
0answers
52 views

50 ksps ADC for Raspberry Pi 4

I need to capture 4 Analog signals at a sample rate close to 50ksps. From some posts I have read that this would be unfeasible through SPI or I2C. Is there any recommended ADC chip or breakout board ...
1
vote
1answer
636 views

DIY Rpi Triple Axis RF / EMF Detector using AD8362 / AD8361

I have a 3 axis rf meter. This one. I wanted to see if I could make it with a rasp pi instead. I found this article using the AD8361 but it doesn't go up to 3.5ghz and its not 3 axis. Ideally I would ...
2
votes
1answer
242 views

What is the correct hardware required to connect multiple analog sensors to a Raspberry Pi 4?

I've been an avid Bonsai enthusiast for some time, and have always wanted to automate some of the day to day tasks (and get some data logging in the process). I'd like to be able to detect: soil ...
2
votes
1answer
385 views

Pi Zero W and Light Sensor with LDR

I have a Raspberry PI Zero W and Light Sensor like on the photo: I connected it to Raspberry Pi as follow: GND to GND VCC to 5V SIG to GPIO-3 Using the following code below I am able to detect if ...
2
votes
0answers
186 views

How Can I read data from AD8361 RF Detector

I want to check if my microwave has a leakage. I figured out that I can use AD8361 module as an rf power meter. The question is how can I connect raspberry pi to ad8361 and how can I read the output ...
2
votes
1answer
798 views

Continuous data acquisition from ADC at around 10 MSPS

I would like to continuously stream data from an ADC with 12 to 16 bit to a Raspberry 4 at around 10 MSPS. Since the Raspberry is not realtime, I'm assuming I need some sort of FIFO buffer as ...
4
votes
2answers
2k views

How to use Rpi python to control PCM1802 24-bit HiFi stereo ADC and MAX4466 microphone amplifier

I want to get Analog Audio Input using a PCM1802 ADC Module and MAX4466 microphone module using python. It is actually a project for a very basic and introductory course about Arduino and AVR assembly ...
1
vote
0answers
972 views

Analog PH meter PH-4502C unbootable pi 3

I have the following hardware Raspberry pi 3 B+ 8 Channel relay DHT11 temperature and humidity sensor PH-4502C DIY MORE analog PH meter MCP3008 ATD Keyestudio TDS Meter V1.0 So far I got everything ...
0
votes
0answers
227 views

Two load cells on a ADS1115 gives the same measurements

I have a raspberry Pi 3B+ board connected to an ADS1115 analog-to-digital converter. 2 load cells are attched to the same ADS1115(pins 0-1 and 2-3). I can individually calibrate/read weights from both ...
2
votes
0answers
638 views

Interpreting voltage output on ADC with rated AC current sensor

I know I have asked similar questions before, but I have switched sensors and encountered interesting results that I do not understand. Purpose: I intend to use an AC current sensor to measure ...
1
vote
0answers
258 views

How can Rpi python control MCP3008 ADC?

I've been messing with raspberry pi, and I am learning about interfacing it with analog devices. I am using the MCP3008 for that and following this tutorial here. I wired it up like the pictures below:...
0
votes
1answer
1k views

How many analog pins does a Pi model B + have?

I've read there https://www.raspberrypi.org/documentation/usage/gpio/ that we have 4 pins which can be used as analog, but other people say that we use only 2, so what's the correct answer?
1
vote
1answer
375 views

How to connect a geophone to RaspberryPi?

I'm a seismic geophysicist and would like to attach a geophone - which is basically a transducer - to any type of RP. The types and costs of geophones are both variable and extensive (in some cases). ...
1
vote
1answer
263 views

PCF8591 with Analog Joystick I/O error when reading input PYTHON

I have been trying to create a retropie unit, and I'm in the midst of writing a script to inject uinput events for the analog axis values. This is the code I've written so far, but the issue is that I ...
1
vote
1answer
271 views

AC Current sensing giving low readings (SCT013)

So now that I feel comfortable with using ADCs, I am attempting to measure the AC current with the SCT013 clamp with AC current sensor. Setup: I clamp the SCT013 around the HOT wire of a table lamp ...
1
vote
1answer
266 views

Interpreting 10-bit ADC output

I am having difficulty understanding the output from my ADC. I am using a 10-bit MCP3008 with a photoresistor and CT current sensor connected into the analog inputs. I am reading the signals with this ...
0
votes
1answer
1k views

Piezo sensor to pick up acoustic instrument signal using Rpi and ADC

I want to read analog inputs from piezo sensors like these on Raspberry using python, which ADC do you advise me with 8 or more channels and how to wire and program it to get digital values?
0
votes
2answers
628 views

MCP3008 with photoresistor, analog to digital, noisy readings

I am trying to read values from a photoresistor. I would like to be able to read the 'level' of light, not just a binary signal. So I bought an MCP 3008 analog to digital converter, but I am running ...
2
votes
0answers
521 views

Waveshare ADDA (ADS1256) full scale input issues

My question is about a problem of full scale output with the Waveshare ADDA ADS1256 card. I use the Waveshare High-Precision AD/DA Board based on ADS1256 on a Raspberry Pi 3b and the Python3 examples....
0
votes
0answers
77 views

How can we acquire an analog signal having both positive and negative parts , i.e. a bipolar signal, using Raspberry pi3 B+ module?

I am using raspberry pi 3 B+ board. I have to acquire analog voltage signal having both positive and negative parts, i.e. a bipolar signal How can i acquire this signal with the R-pi? I have tried ...
0
votes
1answer
755 views

Reading analog value Raspberry Pi

I am a newbie with the Raspberry Pi. I want to measure Temperature Reading in 12/16 bit resolution. can someone guide me how CKT should be designed and How can read value using software. usually ...
0
votes
0answers
569 views

Input/output error using Python ADS1115, and a Raspberry Pi

I am trying to read an analog signal using ADS1115 and a raspberry pi. Sometimes it reads and some time result into error. Following is the code snippet response = {} adc = Adafruit_ADS1x15.ADS1115(...
1
vote
1answer
457 views

How to use Rpi [python] to read [SPI MCP3008] ADC of a [water] tank level sensor?

Does anyone have any ideas on how I can use RPI with ADC to measure a tank level sensor which has a range of only 20 to 200 ohm.
-1
votes
2answers
2k views

Reading analog sensor value of 0-10Vdc with 12/16bit resolution

Dear all, I am using below model for reading analog value. I wanted to measure 0-10VDc &0-30Vdc .i wanted use it application where accuracy important. if i wanted to 12/16bit resolution of value ...
1
vote
1answer
3k views

Seeed ADC (ADS1115) with Raspberry Pi 3 B+to read voltage values using python3

I'm using a Seeed 4-Channel 16-Bit ADC (ADS1115) for Raspberry Pi with a Stretch installed Raspberry Pi 3 B+ and successfully configured following below guidelines & GitHub. http://wiki....
1
vote
0answers
127 views

Cant read both SPI Buses of Raspberry Pi 3B+

I want to read 3 analogue sensors simultaneously. I have successfully connected 2 sensors using a MCP 3002 A/D converter which is connected to CS0 of SPI 0 of raspberry pi and I have activated 3 more ...
4
votes
2answers
1k views

Reading Voltage Input on ADC

I'm thinking of using the Waveshare ADC board with a RaspPi 3 to monitor the current driving a DC brushless motor. I've run through the waveshare examples, and I can handle reading inputs ...
2
votes
2answers
805 views

How can Rpi read ADS1256's negative values?

I'm using this Raspberry Pi High-Precision AD/DA Expansion Board from waveshare. I have some questions regarding its ADC (model name: ADS1256) unable to give out negative value. Specifically, only ...
0
votes
1answer
306 views

Waveshare ADC Board Full Scale Issues (ADS1256)

I am using the Waveshare High-Precision AD/DA Board with my Pi to read an analogue 0-5v signal. I am using a 5V reference voltage, but I can't seem to read full scale. Applying 0V reads out -344 ...
1
vote
2answers
2k views

5V-3.3V Sensors Confusion

Most of the sensors available in the market requires 3.3V-5V. The GPIO of the Raspberry Pi is 3.3V max only and not 5V tolerant. I have seen tutorials around the internet that they supply the sensors ...
2
votes
2answers
7k views

Rpi Current Sensing Using ACS712 and INA219

I've been searching through multiple forums, and gone to different links online trying to find a "cheap" solution to my question. I am currently trying to monitor the current and voltage of an ...
0
votes
1answer
238 views

Use ADC with add_event_detect to detect voltage rising

I need to find a solution for my project. Basically I just need to define if there is a voltage or not by using GPIO event detection. For my basic scheme I used 3.3v pin and one of the GPIO pin for ...
0
votes
0answers
29 views

Analog input together with LoRaWAN

I am looking for a hardware configuration enabling me to read an analog input from ammeter and collect the historical data and send them over LoRa to a server. So I could use something like Monarco ...
1
vote
2answers
145 views

Get different values from potentiometer even not touching

I have a potentiometer that is used to adjust volume level along with MCP3008 but even if I don't touch it, its values are going and coming as following. Press Ctrl-C to quit... Channel 0 minus 1: ...
2
votes
2answers
512 views

MCP3008 analogue digital converter… how can I use it for the complete opposite of what it was made for?

I have set up an mcp3008 chip and a slide pot on my pi because I wanted a nice old fashioned volume control, and all of that seems to working fine and I am quite happy with it. Now I have 7 ...