Hi everyone,
Please help about mcp3008 node in node. How can get output for analog ph sensor using mcp3008 adc
thanx
Have you read the instructions mcp3008 ?
You will need to provide more information about your problem if anyone is going to be able to help you.
yes, I follow all of them
still got error
You will need to provide a lot more detail if you want further help.
for the node red i used mcp3008 node. In the mcp3008 node i choose device mcp3008 , input pin A0, Device id CE0, then SPI bus select 1. after the connect with function node just return msg. and the last node is debug node.
after deploy the flow I got message is
"Error: cannot find SPI device. is SPI enabled in the raspi.config? Error: ENOENT:no such firl or directory, stat''/dev/spidev1.0"
but in the respi i already enable the SPI
Tnx
This sounds like an issue with the config of the RPi, you should check that first.
There is a guide here
it's helpful but got error for enabled SPI in raspberry pi
Can you post output from ls -l /dev/spidev*
Also try putting bus select 0
crw-rw---- 1 root spi 153, 0 Jan 25 02:22 /dev/spidev0.0
crw-rw---- 1 root spi 153, 1 Jan 25 02:22 /dev/spidev0.1
I got this output
You set as bus 1
Bus 1 doesn't exist
Bus 0 does exist
So did you try setting to ?
Did you have any luck getting this to work ?
some how i manage to get output .
Thanks it's working
Was it bus select 0 that worked ?
yes, after select bus 0 it's working
Good to hear, I think I had similar issues some years ago when I was playing with my first Pi
Can you mark it a solution for benefit of others reading this, thanks.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.