Questions tagged [mcp3008]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
47 views

Using WiringPi with more than two chip selects and MCP3008

I am trying to get more than two chip selects available on the Pi. I have the devices present, but am struggling to read a MCP3008 when the CS is plugged into the additional GPIO pins. My end goal is ...
0
votes
0answers
61 views

Raspberry pi 3 spi does not work

[![enter image description here][1]][1]I use MCP3008 adc to see a potentiometer values on raspberry pi 3. My connection same with the link down here. https://roboticadiy.com/potentiometer-analog-input-...
0
votes
1answer
27 views

Is the photoresistor, the MCP3008 or something else wrong/damaged? [closed]

I connected a photoresistor to an MCP3008 as described here by replacing the potentiometer by a photoresistor (wiring should be correct). The LED-s work, I tested them separately and also on the board ...
1
vote
1answer
151 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
3answers
71 views

Why does connection between raspi and potentiometer via SPI fail after one time running code?

I'm pretty new in this forum and generally at wotking with Raspberry Pi. I'm trying to read the value of a potentiometer with my raspberry pi 4 B and am using MCP3008 through spi. My purpous is to ...
1
vote
2answers
129 views

Does Controlling a Servo Motor using a Potentiometer and a Raspberry Pi need an MCP 3800 or can it be done without it?

I am a newbie but I am aware that this question has been asked before here: Controlling a Servo with Potentiometer in Raspberry Pi But my question is do we need an MCP 3800 (Analog to digital ...
0
votes
0answers
116 views

ADC on RPi always produces same value

https://stackoverflow.com/q/63606134/14167364 Please follow the link for my original post was in python forum. I have a moisture sensor and it uses analog so I purchased MCP3008 ADC. I have installed ...
0
votes
1answer
524 views

How can Rpi Python uses Spidev to control MCP3008 ADC?

I'm building a device that will measure soil moisture, and then water the garden if the moisture is too low. I am using a MCP3008 to translate analog signal for my raspberry pi, but I'm new to this ...
1
vote
1answer
311 views

I try to read analog signal with "AD8232" but it suddenly stopped working

My setup is: "Raspberry Pi Zero W" + "MCP3008" + "AD8232" (https://learn.sparkfun.com/tutorials/ad8232-heart-rate-monitor-hookup-guide/all). A few days ago I was able to read ECG signal and print ...
2
votes
0answers
687 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
votes
1answer
36 views

How to make lilypad temperature sensor work with raspberry pi zero?

I discovered a lilypad sensor thought of connecting it with raspberry pi zero to measure living room temperature. But lilypad sensor is analog input and pi doesn’t have analog pin. How can i make ...
0
votes
1answer
434 views

How to increase sampling rate on MCP3008 in python

I am trying to push the MCP3008 to its limits and sample as many samples as possible from a single channel per second. I am also not trying to have to write any C or assembly code, and keep it all as ...
1
vote
1answer
273 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
2answers
652 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 ...
0
votes
1answer
712 views

Python for turbidity sensor

How do i interpret this code to python for my sensor void loop() { volt = 0; for(int i=0; i<800; i++) { volt += ((float)analogRead(sensorPin)/1023)*5; } volt = ...
2
votes
3answers
831 views

Rpi Reading MCP3008 10 bit ADC Result Problem

I want to measure some battery voltage in a range 0V-4.2V with MCP3008(VDD=VREF=3.3V). I used a voltage divider with R1=2.7MOhm and R2=8.2MOhm, but it didn't return correct value, I used resistors ...
1
vote
2answers
359 views

Rpi seemed fried by wrongly connected DHT11 temperature sensor

I'm doing a project for a school assignment and have some issue with my circuit. When I connected the breadboard to pi and to power, everything was working, I could read data from sensors and looked ...
1
vote
1answer
857 views

Connect touch screen 3.5" LCD and MCP3008 at the same time

Reposting this question asked by someone else a few years ago because it was unanswered and I am facing the same problem. I want to use a touchscreen LCD (3.5" TFT) and a MPC3008 ADC at the same time ...
2
votes
1answer
5k views

ECG monitoring using ADS8232 and MCP3008 noise problem

I am making a project of Real-time ECG monitoring device using Raspberry Pi 3B+, Heart monitor AD8232 sensor by Keyes, MCP3008 ADC and 7" HDMI LCD. I am giving supply to RPi using 5V DC charger ...
0
votes
1answer
647 views

MCP3008 and Raspberry Pi Zero

Can I use MCP3008 to input analog signals to Raspberry Pi Zero? If not, Which is the cheapest version of Raspberry Pi?
1
vote
1answer
458 views

spi/mcp3008 trouble with getting a reading from chip, all channels read 0 (zero)

Pi model: Pi 3 A+ Os: Raspbian GNU/Linux 9 (stretch) <- it's stretch lite SPI: On Loop back test: spi mode: 0x0 bits per word: 8 max speed: 500000 Hz (500 KHz) TX | FF FF FF FF FF FF 40 00 00 ...
1
vote
2answers
147 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: ...
1
vote
1answer
544 views

random reading by analog inputs of mcp3008

i ran the simpletest.py program for testing the mcp3008 and it is returning random values with 0 value at intervals to the pins left open and also to the pin getting input from MQ-9 sensor... can ...
2
votes
1answer
157 views

Two data parsing frames for SPI reads of MCP3008 ADC, any advantages or disadvantages of either one?

I am reading an MCP3008 ADC using pigpio, I've abstracted the script below. I have also found a slightly different construction or parsing of the three SPI command bytes and reconstruction of the ADC ...
0
votes
1answer
338 views

Noise while reading analogue signal with an MCP3008

I have an analogue sensor with a signal of 0-12v, I'm then using a voltage divider with R1 100k and R2 33k. I can read this using an MCP3008 connected to a raspberry pi 3 then multiply the 10bit ...
0
votes
1answer
168 views

How do I wire an MCP3004 to the pi?

I've ordered an MCP3004 rather than an MCP3008 from Pimoroni. All searches for "MCP3004" give me datasheets. All searches for "MCP3004 pi" give me guides on the MCP3008. If I can connect ports (...