Questions tagged [mcp3008]

The tag has no usage guidance.

0
votes
1answer
37 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
56 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
61 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
49 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
419 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
120 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
159 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
46 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
171 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
58 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
102 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
102 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 (...