Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hellohome:node:node [2016/08/03 08:45] – [Pin Assignment] vdesmedthellohome:node:node [2017/02/02 09:54] (current) – [Assignment] vdesmedt
Line 1: Line 1:
 ====== Node ====== ====== Node ======
 +
 +  * [[./sequence | Sequence Diagram ]]
 +
 +===== Node types =====
 +
 +  * Energy monitoring
 +    * Powered by battery or on main
 +    * 2 Hal, 1 Strait
 +    * 4 current sensors
 +    * Environment sensors
 +  * Relay nodes
 +    * Powered by main
 +    * Can switch N relays
 +    * Can measure current through each relays
 +    * Environment sensors
 +  * Switch nodes
 +    * Powered by main
 +    * Fits in wall sockets
 +    * Has N push buttons
 +    * Has N leds
 +
 +
 ===== Pin Assignment ===== ===== Pin Assignment =====
  
-The moteino has 22 a/d pins from which some are reserved for the internal use of the moteino (flash, rf) 
  
-{{ :hellohome:node:moteino_pins.png?nolink&600 |}} 
 ==== Requirements ==== ==== Requirements ====
   * Two HAL : 2 Dig   * Two HAL : 2 Dig
Line 18: Line 38:
   *  8 Digi   *  8 Digi
   *  1 Interrupt   *  1 Interrupt
 +
 +==== Notes ====
 +  * One interupt pin can be used to monitor multiple inputs with the helps of diodes
 +  * Digital inputs can be extended with I2C Digital extender
 +  * Analog inputs can be extended with ADS1515
 +  * We can easely read 5 digital inputs on an analog input with the help of a tension divider
 +
 ==== Assignment ==== ==== Assignment ====
 +The moteino has 22 a/d pins from which some are reserved for the internal use of the moteino (flash, rf)
 +
 +{{ :hellohome:node:moteino_pins.png?nolink&600 |}}
 +
   * D0,1 : Serial   * D0,1 : Serial
   * D2,10-12 : Transceiver   * D2,10-12 : Transceiver
Line 28: Line 59:
   * D8,11-13 : Flash   * D8,11-13 : Flash
   * D9 : LED   * D9 : LED
-  * D14 : Push Button 1 +  * D14 : Free 
-  * D15 : Push Button 2+  * D15 : Free
   * D16 : Free   * D16 : Free
-  * D17 : Free+  * D17 : ConfigReset
   * D18,19 : I2C   * D18,19 : I2C
   * A6 : Vin   * A6 : Vin
-  * A7 : Free +  * A7 : Free (Could be up to 5 input based on voltage divider)
-  * +
   * I2C 8 Port Extender : DOUN 1-8   * I2C 8 Port Extender : DOUN 1-8
 +
 +MCP23018 Allow 16 Digital I/O with interrupt to control 5 relays, 5 push buttons and 5 leds
 +===== Components =====
 +  * Current Measurement : testing TA12-200 (5A as low as 1.25$ on AliExpress, used in [[http://www.gotronic.fr/art-capteur-de-courant-grove-5a-101020027-18986.htm|Grove]])
 +