This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hellohome:node:node [2017/01/25 10:06] – vdesmedt | hellohome:node:node [2017/02/02 09:54] (current) – [Assignment] vdesmedt | ||
---|---|---|---|
Line 2: | Line 2: | ||
* [[./ | * [[./ | ||
+ | |||
+ | ===== 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 ===== | ||
Line 19: | 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) | The moteino has 22 a/d pins from which some are reserved for the internal use of the moteino (flash, rf) | ||
Line 33: | 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:// | ||