Questions tagged [analog-to-digital]
For questions pertaining to signal conversion, either through hardware or software.
156
questions
-1
votes
1
answer
906
views
How to install wiringPi in Matlab Simulink for interface Raspberry Pi with ADC?
I like to use IC MCP3008 to change analogue signal to digital signal for Raspberry Pi interface with Matlab Simulink. But I getting the error missing file wiringPi.h and wiringPi.c. May I know how can ...
1
vote
1
answer
303
views
Simultaneous using of Touchscreean LCD and MCP3008 on Raspberry Pi 3
I want to use a touchscreen LCD (3.5" TFT) and a MPC3008 ADC at the same time to monitor data fast and continuously in my project.
And I know the data interface of each three parts (LCD, touch, and ...
0
votes
1
answer
375
views
connect two mcp3002 IC to raspberry pi3 model B
I need use 4 sensor with analog output in raspberry pi3 . in my country we have only mcp3002. I can not get mcp3004.
how I can connect two mcp3002 to raspberry pi3 for read data from 4 analog sensor??...
0
votes
1
answer
548
views
Strange readings when connecting an FSR to Pi using MCP3008
1I have connected a square Adafruit Force Sensitive Resistor 406 up to a Raspberry Pi following the instructions given here: Using an FSR with a Raspberry Pi
I have wired everything up exactly as ...
2
votes
2
answers
2k
views
Hardware for reading a large number of analog inputs?
I need to read a total of 64 analog voltages for a project I'm working on. This is a learning project and I'm starting from scratch, so I'm a bit lost.
I've considered a 64-channel analog to digital ...
2
votes
1
answer
715
views
Is it possible to sample 6 microphones at 11 kHz each with a Raspberry Pi Zero?
I am working on a project that requires me to sample 6 microphones as close to simultaneously as possible at a rate of at least 11 kHz each and then run a processing algorithm on the data in real time....
0
votes
1
answer
1k
views
Real time adc for RPI
I'm thinking about a project with RPI. I need 4 or 6 analog inputs with sample rate between 500 and 1000 samples per second and 2 or 4 digital output as response of processing the input signals. ...
0
votes
0
answers
430
views
reading analog not working
I have a Raspberry Pi3, and I am following this tutorial:
http://raspberrypi-aa.github.io/session3/spi.html
The code I am using is:
#!/usr/bin/env python
#
# Bitbang'd SPI interface with an MCP3008 ...
2
votes
2
answers
18k
views
Analog to Digital Converter (ADC)
I would like to kindly ask if Raspberry Pi 3 can receive an analog signal directly without using an external ADC? and if I do need an external ADC, what is the best ADC that can I use to have the ...
3
votes
2
answers
452
views
Can I do anything with a pre-wired photo resistor and no additional A/D converter?
So I have this SunFounder Photo Resistor module: https://www.sunfounder.com/learn/sensor-kit-v2-0-for-raspberry-pi-b-plus/lesson-20-photoresistor-module-sensor-kit-v2-0-for-b-plus.html
Until five ...
1
vote
1
answer
4k
views
ACS712 connected to Raspberry Pi through MCP3008
Is it possible to bind the ACS712 sensor in the following way?
5V to 5V Raspberry Pi pin
GND to GND pin
Out pin to a MCP3008 channel
The MCP3008 is an analogue to digital converter.
I'm asking this ...
0
votes
2
answers
2k
views
Reading values from MCP3008
First, I'd like to preface the question that I am an electronics noob.
I am trying to read and analog signal from an MCP3008 connected on a breadboard connected to my RPi v3 with a Cobbler.
On the ...
1
vote
0
answers
2k
views
MCP3008 Installation Issues
CH5 is connected to my AO from my moisture sensor.
pi@raspberrypi:~ $ ls -l /dev/spi*
crw-rw---- 1 root spi 153, 0 Jun 18 12:13 /dev/spidev0.0
crw-rw---- 1 root spi 153, 1 Jun 18 12:13 /dev/spidev0....
0
votes
1
answer
1k
views
How fast can I read two analogue sensors using MCP3008 ADC?
I need to get measurements of voltage and current using two sensors connected through an MCP3008 ADC to the Raspberry Pi. I need to get the voltage and current waveforms simultaneously and compare ...
0
votes
1
answer
67
views
Easiest way to listen to analog connection?
I got a MAX 9814 but quickly realized the output is analog and not digital. I found that I could get an Arduino Nano/Micro and connect it to my Pi via a USB to USB-micro cable but I wonder if there's ...
0
votes
2
answers
795
views
Can I connect any ADC to RPi?
I know that MCP 3008 can provide sampling rate around 100Ksps.
I'm looking to connect ADC with sampling rate least 3Msps.
2
votes
0
answers
1k
views
Raspberry Pi Model A+: I2S ADC and DAC connection
I want to connect raspberry pi A+ to external DAC/ADC(audio codec) via I2S interface. Is it possible? If not, what model can I use to perform audio recording/streaming?
2
votes
1
answer
4k
views
Raspberry Pi, LM35 and MCP3008
I want to use Raspberry Pi to measure temperature using LM35 sensors (15-30 Celsius degrees). I can't power up the sensor with 3,3V because it requires at least 4V and also I need about 10 sensors ...
2
votes
1
answer
2k
views
Rasberry Pi 2 analog inputs
I am a newbie with the Raspberry Pi.
I want to measure temperature from 16 sensors. Is it possible to have 16 analog inputs?
If not what controller should I use, I need something with web server.
-1
votes
1
answer
927
views
Reading an analog signal into the raspberry pi 2
Here's the project I am working on: I would like to read in the voltage change on a sensor that I have. It has a positive and negative wire coming from it. I then have the raspberry pi 2. The positive ...
0
votes
0
answers
1k
views
ADC with Raspberry Pi (16 or 24 bits) with sampling rate of at least 1 MHz
Is it possible to use Raspberry Pi 2 to construct an acquisition system that is at least 1 MHz fast and with 24 bits (or 16 if 24 not possible)? Just 1 channel suffices!
Everything I find is either ...
3
votes
1
answer
1k
views
Data logging during power loss
My Raspberry Pi, model B, is going to be sent up on a hydrogen balloon to collect data on some solar panels. I've written a python script to collect data from these panels using 3 INA219s connected to ...
0
votes
1
answer
260
views
Storing data from input pins
I have a RPi and attached to an input pin I have an ADC (MCP3002) and an op-amp (MCP601) and a piezo element connected to them.
The RPi reads the input pin, gets the digital data and at the moment ...
1
vote
4
answers
6k
views
Using Pi to read 1 MHz Analog Ultrasound signals
I am trying to use the Raspberry Pi to read in analog signals at 1MHz and I wanted to know how I would go about doing this. What sort of ADC should I buy, and how many? If not ADC, what do I need to ...
1
vote
1
answer
10k
views
how to change read channels on PCF8591
I have a PCF8591 analog to digital converter. I have it reading from AIN0 (thanks to @joan), but I cant find a reference for getting it to read from multiple channels. How would I get it to read input ...
1
vote
1
answer
6k
views
Converting 3.3V input to degrees Fahrenheit
I have a temp sensor (TMP 36) the same one used in the guide I am following here. I have impossible temp output. Anyone know what I did wrong?
216 temp (def F): 116582.0
216 temp (def F): 116582.0
...
2
votes
2
answers
1k
views
Analog input with MCP3008
I'm trying to connect a Turner C-Sense pCO2 sensor to an RPi2B using an MCP3008 ADC. The probe is powered via dedicated 9V inverter. The probe's analog output wires include a signal out (+) and AGND (-...
1
vote
2
answers
685
views
Trying to use TMP36 via MCP3008 on Windows 10 iot [closed]
Can't get this working right. Any help very appreciated!
I have a TMP36 on channel 0 of MCP3008 analog to digital converter then into my Raspberry Pi 2.
My code and wiring is in the zip available at ...
0
votes
1
answer
2k
views
Raspberry Pi as an Upscaller
I have been looking at better ways of playing my old NES/SNES on modern TV's via HDMI. I like the old hardware, I like the controllers and I like hunting down the cartridges so have little interest in ...
1
vote
0
answers
344
views
Precision ADCs for Raspberry Pi to minimize Gibbs phenomenon?
I would like to generate stable volts from 0 to 5 and to minimize Gibbs phenomenon without losing measurement data.
I get much sudden peaks in Raspberry Pi 1/2 which I can control by adding low-pass ...
2
votes
0
answers
83
views
Has anyone used a Raspberry PI as a double-slope integrating analog-to-digital converter?
I am planning to setup a poor-man's ADC using a Raspberry PI and an operational amplifier wired as a double-slope integrating ADC for extremely low-frequency signals sampling (< 10 Hz). I have ...
0
votes
0
answers
699
views
RTNETLINK Error with spi communication
When I use both PICAN-CAN-Bus module and MCP3008 with different cs on spi, I receive this message on terminal;
RTNETLINK answers: Device or resource busy
I tried to configuration can0 and I received ...
2
votes
1
answer
725
views
How do I read a car turn indicator is on using GPIO
I am brand new to the Raspberry Pi (PM now born-again developer, Pi still in the box etc) and this is my very first ever post so please don't slam me if I use the wrong protocol to ask this question.
...
0
votes
1
answer
106
views
How can I connect an EasyADC board mikroe340?
I've got a 4-channel 12-bit ADC "Mikroe340" from Mikroelektronika (datasheet). I'm wondering how to wire it with GPIO.
1
vote
2
answers
942
views
What happens if I try to read an analog pin's value?
I know there is a simple circuit you can make to be able to read an analog pin but what if I don't know if my device's pin is giving me analog or digital? If I try to read from that pin anyway am I ...
3
votes
1
answer
4k
views
MCP3008 alternative
I have some analog devices like LDR, temperature sensors, and other sensors and I want to use the readings of these sensors in my raspberry pi B+ , for that I need an ADC , to convert the analog ...
4
votes
1
answer
1k
views
Sampling on the Pi using MCP3004
I am trying to sample an analog voltage signal on the Raspberry Pi using an MCP3004 ADC. I am using the spidev package and the basic code is something like:
import spidev
import time
list = []
...
2
votes
2
answers
888
views
Soil moisture sensor compatibility
Can this sensor for ardunino can be used with raspberry pi b+ model?
The specs of the sensor are
Operating voltage: 3.3V~5V
Dual output mode,analog output more accurate
A fixed bolt hole for easy ...
3
votes
0
answers
2k
views
Raspberry Pi Drum Module
I have an old electric drum set with a broken sound module (the brain that you plug each jack into). As a fun DIY project I'd like to resurrect this drum kit by replacing the sound module with the ...
4
votes
1
answer
2k
views
ADC to capture speech (8khz, 16bit)
I am looking to capture speech and save it as a wav (Wave PCM) in RPi. Ideally the speech should be captured in 8khz with 16bit resolution and saved as a raw file or wav file. I also have a need to ...
4
votes
4
answers
3k
views
Sound card for raspberry pi?
Can anyone recommend the best way of recording audio input? Are there any "sound cards" for Raspberry Pis?
Edit: I've seen Linux software for ham radio. And see that Debian Wheezy has a whole lot of ...
3
votes
1
answer
3k
views
Multimeter functionality for raspberry pi
Are there any sensors that would allow me to measure voltage/current/resistance similar to using a multimeter but would allow me to interface with them through a library? (for example, measuring ...
3
votes
2
answers
5k
views
Raspberry PI Audio Input
I am looking to use the GPIO on a Raspberry Pi to get data from an ADC for audio signal processing.
For the purposes of this forum, my project is to produce a spectrum analyzer which will display the ...
3
votes
2
answers
2k
views
Least delay for audio processing
I am working on a project that involves real-time audio processing to do noise cancellation, so basically taking input from a microphone, doing processing, and sending out the output. It heavily ...
5
votes
2
answers
12k
views
Using 5 volts on an mcp3008
I have a couple different types of hall effect sensors I would like to test out using an MCP3008 ADC to interface with my Pi. The sensors run on 4.5 V minimum. Before I configure the ADC for 5 volts I ...
0
votes
1
answer
957
views
Analog to Digital converter
Can I connect a ADC0804LCN to a raspberry pi ?
http://pdf1.alldatasheet.com/datasheet-pdf/view/77309/INTERSIL/ADC0804LCN.html
1
vote
1
answer
2k
views
Connecting an etape using spi
I have an etape liquid level sensor http://www.adafruit.com/datasheets/eTape%20Datasheet%2012110215TC-12_040213.pdf hooked up to my raspberry pi model b through an MCP3008. The MCP3008 is connected ...
4
votes
2
answers
7k
views
ADC for ultrasonic frequency recording?
I'm trying to create a prototype using a breadboard that is able to record sounds at the ultrasonic frequency range. I am looking into purchasing this microphone.
The problem is that the Raspberry Pi ...
0
votes
1
answer
1k
views
Pcf8591 (AD/DA) module I2C, does it work with RPi?
Most of the RPi modules and equipments available online, are not available locally. This is the only ADC that is available locally to me. I'd like to know if it is compatible to use with Raspberry Pi ...
4
votes
2
answers
2k
views
What is the best way to increase digital I/O lines on Pi?
In one of my projects I need six PWM outputs, 12 digital I/O and around six analog inputs to be controlled by a Raspberry Pi. What are some of the best options available to increase the I/O capability ...