ncd-io / ncd-red-mcp23008

MCP23008 library from ncd.io
https://ncd.io
MIT License
1 stars 0 forks source link

MCP23008 node disconnected on RPI4 #1

Open RedNoteFanatic opened 3 years ago

RedNoteFanatic commented 3 years ago

I have tried different versions of NPM and Node.js for installation and finaly i was able to install ncd-red-comm, ncd-red-mcp23008 and ncd-red-ads1115. But when i try to use the nodes ncd-red-mcp23008 and ncd-red-ads1115 in a flow in Node-red they directly goes to status disconnected. I have tried to reach the ads1115-module and the mcp23008-module via node-red-contrib-i2c isc-scan node. And i get the adresses. And via the node-red-contrib-anolog-to-digital-converter-raspberry-pi ads1x15-raspi node i can read the values of the ads1115-module.

Versions in use: npm '6.14.10' node.js 'v12.20.1' ncd-red-ads1115 '1.2.7' ncd-red-mcp23008 '1.5.5'

Why the disconnect?

zaphod-42 commented 3 years ago

I'm sorry for the late response. Did you set a duration on both nodes? I don't currently have the hardware to test this. That is, I have a Rpi4, but not those specific I2C Boards. I'll see if I can get some but it may take some time.

RedNoteFanatic commented 3 years ago

Hello TreyYes duration on both nodes. Tried both 500msec and 1000msec. Both got me out of the disconnected problem. I tried it on a lower value than 500msec but then i still got the disconnected error./FredrikSkickat från min Galaxy -------- Originalmeddelande --------Från: Trey Felton @.> Datum: 2021-06-30 22:49 (GMT+01:00) Till: ncd-io/ncd-red-mcp23008 @.> Kopia: Fredrik Höglund @.>, Author @.> Ämne: Re: [ncd-io/ncd-red-mcp23008] MCP23008 node disconnected on RPI4 (#1) I'm sorry for the late response. Did you set a duration on both nodes? I don't currently have the hardware to test this. That is, I have a Rpi4, but not those specific I2C Boards. I'll see if I can get some but it may take some time.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.