We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [mcp3008]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
23 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
37 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
52 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
100 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
104 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 = ...
0
votes
3answers
149 views

MCP3008 minimum current(resistors value)

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 ...
0
votes
2answers
98 views

Circuit wiring issue

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
112 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 ...
1
vote
1answer
2k views

Raspberry Pi 3B+ interface with Heart Monitor AD8232 using MCP3008 and SPI pins

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
284 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
244 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 ...
0
votes
2answers
65 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: ...
0
votes
1answer
271 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
71 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
167 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
108 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 (...