mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	Add notes that mcp3008 is and A/D Converter
to fix #248 Thanks @ukmoose
This commit is contained in:
		@@ -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,
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
### 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
 | 
			
		||||
 | 
			
		||||
**Note**: It will appear in the menu as ` A/D Converter `.
 | 
			
		||||
 | 
			
		||||
### Usage
 | 
			
		||||
 | 
			
		||||
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",
 | 
			
		||||
    "version"       : "0.0.3",
 | 
			
		||||
    "version"       : "0.0.4",
 | 
			
		||||
    "description"   : "A Node-RED node to read from the MCP3008 Analogue to Digital Converter",
 | 
			
		||||
    "dependencies"  : {
 | 
			
		||||
        "mcp-spi-adc": "^0.0.1"
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
        "url":"https://github.com/node-red/node-red-nodes/tree/master/hardware"
 | 
			
		||||
    },
 | 
			
		||||
    "license": "Apache-2.0",
 | 
			
		||||
    "keywords": [ "node-red", "pi", "adc", "mcp3008" ],
 | 
			
		||||
    "keywords": [ "node-red", "pi", "adc", "mcp3008", "a/d converter" ],
 | 
			
		||||
    "node-red"      : {
 | 
			
		||||
        "nodes"     : {
 | 
			
		||||
            "pimcp3008": "pimcp3008.js"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user