Differences

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

Link to this comparison view

Next revision
Previous revision
hellohome:node:node [2016/08/03 08:38] – created 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 =====
  
-==== Requirements ==== 
  
 +==== Requirements ====
   * Two HAL : 2 Dig   * Two HAL : 2 Dig
   * One Dry Pulse : 1 Digi   * One Dry Pulse : 1 Digi
Line 17: 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 
-D3 : Interrupt +  D3 : Interrupt 
-D4 : HAL1 +  D4 : HAL1 
-D5 : HAL2 +  D5 : HAL2 
-D6 : Dry Pulse 1 +  D6 : Dry Pulse 1 
-D7 : Vin Trigger +  D7 : Vin Trigger 
-D8,11-13 : Flash +  D8,11-13 : Flash 
-D9 : LED+  D9 : LED 
 +  * D14 : Free 
 +  * D15 : Free 
 +  * D16 : Free 
 +  * D17 : ConfigReset 
 +  * D18,19 : I2C 
 +  * A6 : Vin 
 +  * A7 : Free (Could be up to 5 input based on voltage divider) 
 +  * I2C 8 Port Extender : DOUN 1-8
  
-D14 : Push Button 1 +MCP23018 Allow 16 Digital I/O with interrupt to control 5 relays, 5 push buttons and 5 leds 
-D15 : Push Button 2 +===== Components ===== 
-D16 Free +  * Current Measurement testing TA12-200 (5A as low as 1.25$ on AliExpressused in [[http://www.gotronic.fr/art-capteur-de-courant-grove-5a-101020027-18986.htm|Grove]])
-D17 : Free +
-D18,19 : I2C +
-A6 : Vin +
-A7 Free+
  
-I2C 8 Port Extender : DOUN 1-8