mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Add notes that mcp3008 is and A/D Converter
to fix #248 Thanks @ukmoose
This commit is contained in:
parent
1e31652073
commit
791b246f19
@ -5,6 +5,8 @@ A <a href="http://nodered.org" target="_new">Node-RED</a> node to read from
|
|||||||
the MCP3008 Analogue to Digital Converter,
|
the MCP3008 Analogue to Digital Converter,
|
||||||
such as the <a href="http://rasp.io/analogzero" target="_new">Rasp.io analogzero</a>, though it will work with breadboard versions also.
|
such as the <a href="http://rasp.io/analogzero" target="_new">Rasp.io analogzero</a>, though it will work with breadboard versions also.
|
||||||
|
|
||||||
|
It will appear in the menu as ` A/D Converter `.
|
||||||
|
|
||||||
**Warning**: Input voltages must not exceed 3.3V
|
**Warning**: Input voltages must not exceed 3.3V
|
||||||
|
|
||||||
### Pre-requisites
|
### Pre-requisites
|
||||||
@ -24,6 +26,8 @@ Run the following command in your Node-RED user directory - typically `~/.node-r
|
|||||||
|
|
||||||
npm install node-red-node-pi-mcp3008
|
npm install node-red-node-pi-mcp3008
|
||||||
|
|
||||||
|
**Note**: It will appear in the menu as ` A/D Converter `.
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
Reads from an MCP3008 Analogue to Digital (ADC) chip on the Pi SPI CE0 connection.
|
Reads from an MCP3008 Analogue to Digital (ADC) chip on the Pi SPI CE0 connection.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "node-red-node-pi-mcp3008",
|
"name" : "node-red-node-pi-mcp3008",
|
||||||
"version" : "0.0.3",
|
"version" : "0.0.4",
|
||||||
"description" : "A Node-RED node to read from the MCP3008 Analogue to Digital Converter",
|
"description" : "A Node-RED node to read from the MCP3008 Analogue to Digital Converter",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
"mcp-spi-adc": "^0.0.1"
|
"mcp-spi-adc": "^0.0.1"
|
||||||
@ -10,7 +10,7 @@
|
|||||||
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware"
|
"url":"https://github.com/node-red/node-red-nodes/tree/master/hardware"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"keywords": [ "node-red", "pi", "adc", "mcp3008" ],
|
"keywords": [ "node-red", "pi", "adc", "mcp3008", "a/d converter" ],
|
||||||
"node-red" : {
|
"node-red" : {
|
||||||
"nodes" : {
|
"nodes" : {
|
||||||
"pimcp3008": "pimcp3008.js"
|
"pimcp3008": "pimcp3008.js"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user