Difference between revisions of "TIAO Smart Network Sprinkler Controller Hardware Layout"

From TIAO's Wiki
Jump to: navigation, search

10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!
 
(9 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
For system connection diagram, please refer to [[TIAO Smart Network Sprinkler Controller System Connection Diagram]].
 
For system connection diagram, please refer to [[TIAO Smart Network Sprinkler Controller System Connection Diagram]].
  
The [http://www.diygadget.com/lawn-sprinkler-controller-and-accessories/tiao-smart-network-sprinkler-controller-16-station-sprinkler-controller-open-source-desktop-mobile-app.html TIAO Smart Network Sprinkler Controller (TSS)] is a piece of hardware controls your irrigation systems.  It replaces your traditional sprinkler controller.  [http://www.diygadget.com/lawn-sprinkler-controller-and-accessories/tiao-smart-network-sprinkler-controller-16-station-sprinkler-controller-open-source-desktop-mobile-app.html TSS] has many benefits over the traditional sprinkler controller:
+
The [https://www.diygadget.com/lawn-sprinkler-controller-and-accessories/155-tiao-smart-network-sprinkler-controller-16-station-sprinkler-controller-open-source-desktop-mobile-app.html TIAO Smart Network Sprinkler Controller (TSS)] is a piece of hardware controls your irrigation systems.  It replaces your traditional sprinkler controller.  [https://www.diygadget.com/lawn-sprinkler-controller-and-accessories/155-tiao-smart-network-sprinkler-controller-16-station-sprinkler-controller-open-source-desktop-mobile-app.html TSS] has many benefits over the traditional sprinkler controller:
  
 
* Web interface - program the watering schedule using your PC or mobile phone
 
* Web interface - program the watering schedule using your PC or mobile phone
Line 41: Line 41:
 
# [[#USB B|USB B - for updating firmware]]
 
# [[#USB B|USB B - for updating firmware]]
 
# [[#RF Header|RF Header - Radio Frequency (RF) transmitter Header]]
 
# [[#RF Header|RF Header - Radio Frequency (RF) transmitter Header]]
# [[#ISP Header|ISP header]]
+
# [[#ISP header|ISP header]]
 
# [[#Extension board header|Extension board header - connect extension boards]]
 
# [[#Extension board header|Extension board header - connect extension boards]]
# [[#MicroSD socket||MicroSD socket - optional]]
+
# [[#MicroSD socket|MicroSD socket - optional]]
 
# [[#AVR Power selector|AVR Power selector - AVR power voltage selector]]
 
# [[#AVR Power selector|AVR Power selector - AVR power voltage selector]]
# [[#Relay Header|Relay header]]
+
# [[#Relay header|Relay header]]
 
# [[#Soft button 1|Button 1]]
 
# [[#Soft button 1|Button 1]]
 
# [[#Soft button 2|Button 2]]
 
# [[#Soft button 2|Button 2]]
 
# [[#Soft button 3|Button 3]]
 
# [[#Soft button 3|Button 3]]
 
+
# [[#LCD display header|LCD display header]]
# [[#Analog header|Analog input and output (connect to onboard PCF8591]]
+
# [[#Ethernet receptacle|Ethernet receptacle]]
# [[#I2C header 1|I2C pins connect to Raspberry Pi's I2C pins]]
+
# [[#Fuse holder|Fuse holder holds the 2A fuse]]
# [[#Power header|DC power header (output)]]
+
# [[#Power switch|Power switch]]
# [[#Expansion header|To connect to expansion boards]]
+
# [[#Power status LED|Power Status LED]]
# [[#Hardware button|To start or stop the schedule]]
 
# [[#I2C header 2|I2C pins connect to Raspberry Pi's I2C pins]]
 
# [[#Raspberry Pi female header|Female header so you can mount Raspberry Pi directly on top of TSSPi]]
 
# [[#Fuse holder|Holds the 2A fuse]]
 
# [[#Status LEDs|Status LEDs]]
 
 
# [[#24V AC and rain sensor header|AC In, Common wire and rain sensor connector]]
 
# [[#24V AC and rain sensor header|AC In, Common wire and rain sensor connector]]
 
# [[#Station 1-16 header|Connect to each individual valve]]
 
# [[#Station 1-16 header|Connect to each individual valve]]
# [[#Raspberry mounting holes|To mount Raspberry Pi and TSSPi]]
 
  
 
==== Pin Out ====
 
==== Pin Out ====
Line 274: Line 268:
 
|}
 
|}
  
==== Analog header ====
 
[[Image:TSSPi-c2.png||None]]
 
 
The TSSPi has on board PCF8591 8 bit AD/DA converter.  The JP1 header on the board maps to the pins on PCF8591.
 
 
{|
 
! align="left"|Pin #
 
! PCF8591 Pin
 
! Description
 
|-
 
| 1
 
| AIN0 (1)
 
| Analog input 0
 
|-
 
| 2
 
| NC
 
| 5V
 
|-
 
| 3
 
| AIN1 (2)
 
| Analog input 1
 
|-
 
| 4
 
| A0 (5), A1 (6), A2 (7), VSS (8), AGND (13), EXT (12)
 
| GND
 
|-
 
| 5
 
| AIN2 (3)
 
| Analog input 2
 
|-
 
| 6
 
| VDD (16)
 
| Vcc
 
|-
 
| 7
 
| AIN3 (4)
 
| Analog input 3
 
|-
 
| 8
 
| VDD (16)
 
| Vcc
 
|-
 
| 9
 
| AOUT (15)
 
| Analog output
 
|-
 
| 10
 
| A0 (5), A1 (6), A2 (7), VSS (8), AGND (13), EXT (12)
 
| GND
 
|}
 
 
 
==== I2C header 1 ====
 
[[Image:TSSPi-c3.png||None]]
 
 
PI2C heard connects to Raspberry Pi's I2C pins:
 
{|
 
! align="left"|Pin #
 
! Description
 
|-
 
| 1, 2
 
| Vcc
 
|-
 
| 3, 4
 
| SDA
 
|-
 
| 5, 6
 
| SCL
 
|-
 
| 7, 8
 
| GND
 
|}
 
 
==== Power header ====
 
[[Image:TSSPi-c4.png||None]]
 
 
{|
 
! align="left"|Pin #
 
! Description
 
|-
 
| 1, 3, 5
 
| Vcc
 
|-
 
| 7, 9
 
| 5V
 
|-
 
| 2, 4, 6, 8, 10
 
| GND
 
|}
 
 
 
==== Expansion header ====
 
[[Image:TSSPi-c5.png||None]]
 
 
{|
 
! align="left"|Pin #
 
! Description
 
|-
 
| 1
 
| <span style="text-decoration:overline">OE</span>
 
|-
 
| 2, 4
 
| GND
 
|-
 
| 3
 
| STCP
 
|-
 
| 5
 
| SHCP
 
|-
 
| 6
 
| 24V AC
 
|-
 
| 8
 
| Vcc
 
|}
 
 
 
==== Hardware button ====
 
[[Image:TSSPi-c6.png||None]]
 
 
TSSPi has an onboard reset button, this button is connected to Raspberry Pi's GPIO24 (pin 18).  A pull up resistor was installed, thus the GPIO24 is high when the button is not pressed, and it become low when the button is pressed.
 
 
 
 
==== I2C header 2 ====
 
[[Image:TSSPi-c7.png||None]]
 
  
PI2C heard connects to Raspberry Pi's I2C pins:
 
{|
 
! align="left"|Pin #
 
! Description
 
|-
 
| 1
 
| Vcc
 
|-
 
| 2
 
| SDA
 
|-
 
| 3
 
| SCL
 
|-
 
| 4
 
| GND
 
|}
 
  
 +
==== LCD display header ====
 +
[[Image:Tss-LCD.png||none]]
  
==== Raspberry Pi female header ====
+
Insert the LCD module directly on the LCD header. Make sure pins are aligned, otherwise the LCD/controller will be damaged.
[[Image:TSSPi-c8.png||None]]
 
  
The female header, which allows you to put the raspberry pi directly on top of TSSPi without using any wires.
 
  
{|
+
==== Ethernet receptacle ====
! align="left"|Pin #
+
[[Image:Tss-Net.png||none]]
! Raspberry Pi pin #
+
Plug Ethernet cable here for network access.  If wired network is not available, there are many other options, such as using a wireless router in client mode (for example: [http://www.diygadget.com/150mbps-wireless-n-nano-router-micro-usb-power-tl-wr702n.html 150Mbps Wireless N Nano Router (Micro USB Power) TL-WR702N] or [http://www.diygadget.com/150mbps-wireless-n-mini-pocket-router-direct-power-tl-wr700n.html 150Mbps Wireless N Mini Pocket Router (direct power) TL-WR700N]) or powerline network adapter kit ([http://www.diygadget.com/linxe-lsp06-200mbps-etherent-powerline-network-adapter-kit-2.html Linxe LSP06 200Mbps etherent powerline network adapter Kit (2)]).
|-
 
| 1
 
| 17
 
|-
 
| 2
 
| 18
 
|-
 
| 3
 
| 15
 
|-
 
| 4
 
| 16
 
|-
 
| 5
 
| 13
 
|-
 
| 6
 
| 14
 
|-
 
| 7
 
| 11
 
|-
 
| 8
 
| 12
 
|-
 
| 9
 
| 9
 
|-
 
| 10
 
| 10
 
|-
 
| 11
 
| 7
 
|-
 
| 12
 
| 8
 
|-
 
| 13
 
| 5
 
|-
 
| 14
 
| 6
 
|-
 
| 15
 
| 3
 
|-
 
| 16
 
| 4
 
|-
 
| 17
 
| 1
 
|-
 
| 18
 
| 2
 
|}
 
  
  
 
==== Fuse holder ====
 
==== Fuse holder ====
[[Image:TSSPi-c9.png||None]]
+
[[Image:Tss-Fuse.png||None]]
  
The onboard fuse hold.  The fuse is rated at 2A.
+
The on board fuse hold.  The fuse is rated at 2A.
  
 +
==== Power switch ====
 +
[[Image:Tss-Pwr.png]]
  
==== Status LEDs ====
+
The main power switch.  Slide up to turn on the controller, slide down to turn off the controller.
[[Image:TSSPi-c10.png||None]]
 
  
Led indicators.
+
==== Power status LED ====
 +
[[Image:Tss-PwrLED.png||none]]
  
 +
Power status LEDs.
 
{|
 
{|
! align="left"| LED
+
! align="left"|Pin
 
! Description
 
! Description
|-
 
| S1
 
| Connected to Raspberry Pin 12 (GPIO18), TIAO Smart Sprinkler Pi Controller Software uses this pin to indicate the controller has active schedule in queue.  Other controller software may not use this LED.
 
|-
 
| S2
 
| Connected to Raspberry Pin 16 (GPIO23), TIAO Smart Sprinkler Pi Controller Software uses this pin to indicate the active schedule is running.  Other controller software may not use this LED.
 
 
|-
 
|-
 
| PWR
 
| PWR
| ON when TSSPi is connected to 24V AC
+
| ON: VIN (5V) is working
 
|-
 
|-
| Pi
+
| V33
| ON when Raspberry Pi is connected to TSSPi
+
| ON: Vcc (3.3V) is working
 
|}
 
|}
 
  
 
==== 24V AC and rain sensor header ====
 
==== 24V AC and rain sensor header ====
[[Image:TSSPi-c11.png||None]]
+
[[Image:Tss-Header1.png||None]]
  
This header allows you to connect the power (24V, 2A AC) to the TSSPi. This is the only power source needed for the controller.  Raspberry Pi draw power from TSSPi since TSSPi has onboard AC-DC converter.
+
This header allows you to connect the power (24V, 2A AC) to the TSS. This is the only power source needed for the controller.   
 
For power, connect one of the 24V AC 2A transformer's terminal to pin 8 (24V AC In) and the other terminal to pin 7 (GND)
 
For power, connect one of the 24V AC 2A transformer's terminal to pin 8 (24V AC In) and the other terminal to pin 7 (GND)
 
For rain sensor, connect one of the rain sensor's terminal to pin 5 (Rain sensor terminal) and the other terminal to pin 6.
 
For rain sensor, connect one of the rain sensor's terminal to pin 5 (Rain sensor terminal) and the other terminal to pin 6.
Line 539: Line 330:
 
| 24V AC In
 
| 24V AC In
 
|}
 
|}
 
  
 
==== Station 1-16 header ====
 
==== Station 1-16 header ====
[[Image:TSSPi-c12.png||None]]
+
[[Image:Tss-Header2.png||None]]
  
TSSPi can control 16 stations (including master station if you have one) without expansion board.  This header has 16 connectors, so you can connect up to 16 valves.
+
TSS can control 16 stations (including master station if you have one) without expansion board.  This header has 16 connectors, so you can connect up to 16 valves.
  
 
* Example 1: My irrigation system has 10 stations, I do not have a master station.   
 
* Example 1: My irrigation system has 10 stations, I do not have a master station.   
Line 550: Line 340:
 
* Example 2: My irrigation system has 15 stations, I have a master station.   
 
* Example 2: My irrigation system has 15 stations, I have a master station.   
 
** Connect RED wires of the valves to 'Common wire' connectors (see [[#24V AC and rain sensor header]]), then connect BLACK wire of the the master valve to connector 16, and other BLACK wires of regular valves to connector 1 to 15 respectively.
 
** Connect RED wires of the valves to 'Common wire' connectors (see [[#24V AC and rain sensor header]]), then connect BLACK wire of the the master valve to connector 16, and other BLACK wires of regular valves to connector 1 to 15 respectively.
 
==== Raspberry mounting holes ====
 
[[Image:TSSPi-c13-c14.png||None]]
 
 
Raspberry pi mounting holes.  TSSPi comes with screws and posts, so you can mount the raspberry pi on TSSPi.
 

Latest revision as of 21:15, 3 November 2017

TIAO Smart Network Sprinkler Controller

For system connection diagram, please refer to TIAO Smart Network Sprinkler Controller System Connection Diagram.

The TIAO Smart Network Sprinkler Controller (TSS) is a piece of hardware controls your irrigation systems. It replaces your traditional sprinkler controller. TSS has many benefits over the traditional sprinkler controller:

  • Web interface - program the watering schedule using your PC or mobile phone
  • Supports complicate watering schedules
  • Unlimited watering schedules
  • Allow seasonal adjustments
  • Weather API access - automatically adjust watering amount/time by checking online weather forecast (rain/wind etc)
  • Control your sprinkler stations from anywhere in the world
  • Software supports unlimited stations
  • Total of 16 stations (or 1 master station + 15 stations), can expend to unlimited stations using our extension board
  • Software supports unlimited stations
  • Supports rain sensor
  • Open source software - which means you can add your own function to the controller!
  • System ON/OFF hardware switch
  • Status LEDs (5V and 3.3v power)
  • Status LCD - displays system status etc
  • Low cost! It's cheaper than the traditional sprinkler controller!

TSS Hardware Dimensions

The board dimension of TSS is 122.5 x 87mm, or 48.2 x 34.2 inch. It also has 4 mounting holes, the radius of the mounting hole is 2mm:

Tiao-smart-sprinkler-controller-board-2d.png


TSS Connector Layouts

The following picture shows the connector layout of the TSS. You plug the LCD module directly on top of TSS without using any wires.

TSS-layout.png
  1. Pin Out - for testing purpose
  2. USB B - for updating firmware
  3. RF Header - Radio Frequency (RF) transmitter Header
  4. ISP header
  5. Extension board header - connect extension boards
  6. MicroSD socket - optional
  7. AVR Power selector - AVR power voltage selector
  8. Relay header
  9. Button 1
  10. Button 2
  11. Button 3
  12. LCD display header
  13. Ethernet receptacle
  14. Fuse holder holds the 2A fuse
  15. Power switch
  16. Power Status LED
  17. AC In, Common wire and rain sensor connector
  18. Connect to each individual valve

Pin Out

Tss-JP2.png
Pin # Description
1 SDA
2 GND
3 SCL
4 V5
5 ADC5
6 V3.3
7 ADC7
8 ADC6
9 TXD
10 RXD
11 SCK
12 PD2
13 MISO
14 MOSI
15 V3.3
16 AIN0
17 GND
18 PD7

USB B

Tss-USB-B.png

Connect this USB port to PC or laptop (USB A male to USB B female) to update TSS firmware.

RF Header

Tss-RF.png
Pin # Description
1 A3 - Data
2 VIN - 5V
3 GND

Radio Frequency (RF) transmitter header. Works with standard 434MHz or 315MHz RF transmitter.

ISP header

None

Pin # Description
1 MISO
2 VIN - 5V
3 SCK
4 MOSI
5 RESET
6 GND

Extension board header

None

Pin # Description
1 Vcc - 3.3V
2 QH*
3 A4/ADC4
4 Clock/TOSC1
5 GND
6 Latch/AIN1
7 GND
8 OE/T1

Connect any extension boards to this header.

MicroSD socket

None Optional MicroSD socket for logging.

AVR Power selector

None Select power source for AVR Microcontroller. Default is 3.3v. 3.3v Power: jumper over pin 1 and 2. 5V power: jumper over pin 2 and 3.


Relay header

None

Pin # Description
1 NC - Normally closed pin
2 CO - Change over pin
3 NO - Normally open pin

The relay is rated as 250V/3A/AC or 30V/3A/DC, however for safety concerns, please DO NOT connect anything higher than 28V/2A.

Soft button 1

Tss-B1.png

The function of B1/B2/B3 depends on the firmware version. For version 2.1.4, these are the functions:

Press then release Press and hold
Display current IP address Stop all stations immediately.

Soft button 2

Tss-B2.png

The function of B1/B2/B3 depends on the firmware version. For version 2.1.4, these are the functions:

Press then release Press and hold
Display MAC address Restart controller


Soft button 3

Tss-B3.png

The function of B1/B2/B3 depends on the firmware version. For version 2.1.4, these are the functions:

Press then release Press and hold
Toggle between the main controller (MC) and each expansion board (E1, E2, etc). Manually start an existing program or a test program.


LCD display header

Tss-LCD.png

Insert the LCD module directly on the LCD header. Make sure pins are aligned, otherwise the LCD/controller will be damaged.


Ethernet receptacle

Tss-Net.png

Plug Ethernet cable here for network access. If wired network is not available, there are many other options, such as using a wireless router in client mode (for example: 150Mbps Wireless N Nano Router (Micro USB Power) TL-WR702N or 150Mbps Wireless N Mini Pocket Router (direct power) TL-WR700N) or powerline network adapter kit (Linxe LSP06 200Mbps etherent powerline network adapter Kit (2)).


Fuse holder

None

The on board fuse hold. The fuse is rated at 2A.

Power switch

Tss-Pwr.png

The main power switch. Slide up to turn on the controller, slide down to turn off the controller.

Power status LED

Tss-PwrLED.png

Power status LEDs.

Pin Description
PWR ON: VIN (5V) is working
V33 ON: Vcc (3.3V) is working

24V AC and rain sensor header

None

This header allows you to connect the power (24V, 2A AC) to the TSS. This is the only power source needed for the controller. For power, connect one of the 24V AC 2A transformer's terminal to pin 8 (24V AC In) and the other terminal to pin 7 (GND) For rain sensor, connect one of the rain sensor's terminal to pin 5 (Rain sensor terminal) and the other terminal to pin 6. The rain sensor is optional.

Pin Description
1, 2, 3, 4 Common wire, connect to sprinkler valve's common terminals.
5 Rain sensor terminal
6, 7 GND
8 24V AC In

Station 1-16 header

None

TSS can control 16 stations (including master station if you have one) without expansion board. This header has 16 connectors, so you can connect up to 16 valves.

  • Example 1: My irrigation system has 10 stations, I do not have a master station.
    • Connect RED wires of the valves to 'Common wire' connectors (see #24V AC and rain sensor header), then connect BLACK wires of the valves to connector 1 to 10 respectively.
  • Example 2: My irrigation system has 15 stations, I have a master station.
    • Connect RED wires of the valves to 'Common wire' connectors (see #24V AC and rain sensor header), then connect BLACK wire of the the master valve to connector 16, and other BLACK wires of regular valves to connector 1 to 15 respectively.


10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!