Difference between revisions of "TIAO Smart Sprinkler Pi Hardware Layout"

From TIAO's Wiki
Jump to: navigation, search

10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!
(Version 2)
 
(38 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
== TIAO Smart Sprinkler Pi ==
 
== TIAO Smart Sprinkler Pi ==
 +
 +
For system connection diagram, please refer to [[TIAO Smart Sprinkler Pi System Connection Diagram]].
  
 
The [http://www.diygadget.com/tiao-smart-sprinkler-pi-16-station-sprinkler-controller-open-source-desktop-mobile-app.html TIAO Smart Sprinkler Pi (TSSPi)] is a piece of hardware controls your irrigation systems.  It replaces your traditional sprinkler controller.  [http://www.diygadget.com/tiao-smart-sprinkler-pi-16-station-sprinkler-controller-open-source-desktop-mobile-app.html TSSPi] has many benefits over the traditional sprinkler controller:
 
The [http://www.diygadget.com/tiao-smart-sprinkler-pi-16-station-sprinkler-controller-open-source-desktop-mobile-app.html TIAO Smart Sprinkler Pi (TSSPi)] is a piece of hardware controls your irrigation systems.  It replaces your traditional sprinkler controller.  [http://www.diygadget.com/tiao-smart-sprinkler-pi-16-station-sprinkler-controller-open-source-desktop-mobile-app.html TSSPi] has many benefits over the traditional sprinkler controller:
Line 20: Line 22:
 
* Status LEDs (power, Pi power, system on, system running)
 
* Status LEDs (power, Pi power, system on, system running)
 
* Low cost!  It's cheaper than the traditional sprinkler controller!
 
* Low cost!  It's cheaper than the traditional sprinkler controller!
 +
* Supports Raspberry Pi 1 Model B (version 1 of TSSPi)
 +
* <font color = red>Supports Raspberry Pi 1 Model B, Raspberry Pi 1 Model B+, Raspberry Pi 2 Model B, Raspberry Pi 3 Model B, Raspberry Pi Zero (version 2 of TSSPi)</font>
  
 
=== TSSPi Hardware Dimensions ===
 
=== TSSPi Hardware Dimensions ===
  
The board dimension of TSSPi 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 4mm:
+
==== Version 1 ====
 +
The board dimension of TSSPi 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:
  
 
[[Image:TSSPi-dimension.png|none]]
 
[[Image:TSSPi-dimension.png|none]]
 +
 +
==== Version 2 ====
 +
The board dimension of TSSPi 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:
 +
 +
[[Image:tsspi-v2-Board2d.png|none]]
  
 
=== TSSPi Connector Layouts ===
 
=== TSSPi Connector Layouts ===
 +
 +
==== Version 1 ====
 +
The following picture shows the connector layout of the TSSPi V1.  You can plug the Raspberry pi directly on top of TSSPi without using any wires.  It also has two mounting holes so you can mount the Raspberry Pi 1 Model B on the TSSPi.
 +
 +
[[Image:TSSPi-layout.png|none]]
 +
 +
==== Version 2 ====
 +
The following picture shows the connector layout of the TSSPi V2.  You can plug the Raspberry pi directly on top of TSSPi without using any wires.  It also has two mounting holes so you can mount the Raspberry Pi 1 Model B, Model B+, Pi2 Model B, Pi 3 Model B and Pi Zero on the TSSPi.
 +
 +
[[Image:tsspi-v2-board2d-pins.png|none]]
 +
 +
# [[#Relay Header|Relay header]]
 +
# [[#Analog header|Analog input and output (connect to onboard PCF8591]]
 +
# [[#I2C header 1|I2C pins connect to Raspberry Pi's I2C pins]]
 +
# [[#Power header|DC power header (output)]]
 +
# [[#Expansion header|To connect to expansion boards]]
 +
# [[#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]]
 +
# [[#Station 1-16 header|Connect to each individual valve]]
 +
# [[#Raspberry Pi 1 Model B mounting holes|To mount Raspberry Pi 1 Model B]]
 +
# [[#Raspberry Pi 1 Model B mounting holes|To mount Raspberry Pi 1 Model B]]
 +
# [[#Raspberry Pi 1 Model B+, Pi 2 B, Pi 3 B, Pi Zero mounting holes|To mount Raspberry Pi 1 Model B+, Pi 2 Model B, Pi 3 Model B and Pi Zero]]
 +
# [[#Raspberry Pi 1 Model B+, Pi 2 B, Pi 3 B, Pi Zero mounting holes|To mount Raspberry Pi 1 Model B+, Pi 2 Model B, Pi 3 Model B and Pi Zero]]
 +
# [[#Raspberry Pi 1 Model B+, Pi 2 B, Pi 3 B, Pi Zero mounting holes|To mount Raspberry Pi 1 Model B+, Pi 2 Model B, Pi 3 Model B and Pi Zero]]
 +
# [[#Raspberry Pi 1 Model B+, Pi 2 B, Pi 3 B, Pi Zero mounting holes|To mount Raspberry Pi 1 Model B+, Pi 2 Model B, Pi 3 Model B and Pi Zero]]
 +
# [[#Raspberry Pi 1 Model B+, Pi 2 B, Pi 3 B, Pi Zero mounting holes|To mount Raspberry Pi 1 Model B+, Pi 2 Model B, Pi 3 Model B and Pi Zero]]
 +
# [[#Raspberry Pi 1 Model B+, Pi 2 B, Pi 3 B, Pi Zero mounting holes|To mount Raspberry Pi 1 Model B+, Pi 2 Model B, Pi 3 Model B and Pi Zero]]
 +
 +
==== Relay header ====
 +
[[Image:TSSPi-c1.png||None]]
 +
 +
{|
 +
! align="left"|Pin #
 +
! Description
 +
|-
 +
| 1
 +
| NC - Normally closed pin
 +
|-
 +
| 2
 +
| CO - Change over pin
 +
|-
 +
| 3
 +
| NO - Normally open pin
 +
|}
 +
 +
The relay is rated as 120V/2A, however for safety concerns, please connect anything higher than 36V/2A.
 +
 +
 +
==== 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
 +
|}
 +
 +
 +
==== Raspberry Pi female header ====
 +
[[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.
 +
 +
{|
 +
! align="left"|Pin #
 +
! Raspberry Pi pin #
 +
|-
 +
| 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 ====
 +
[[Image:TSSPi-c9.png||None]]
 +
 +
The onboard fuse hold.  The fuse is rated at 2A.
 +
 +
 +
==== Status LEDs ====
 +
[[Image:TSSPi-c10.png||None]]
 +
 +
Led indicators.
 +
 +
{|
 +
! align="left"| LED
 +
! 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
 +
| ON when TSSPi is connected to 24V AC
 +
|-
 +
| Pi
 +
| ON when Raspberry Pi is connected to TSSPi
 +
|}
 +
 +
 +
==== 24V AC and rain sensor header ====
 +
[[Image:TSSPi-c11.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.
 +
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.
 +
 +
{|
 +
! align="left"| 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 ====
 +
[[Image:TSSPi-c12.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.
 +
 +
* 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.
 +
 +
==== Raspberry Pi 1 Model B mounting holes ====
 +
[[Image:TSSPi-c13-c14.png||None]]
 +
 +
Raspberry pi 1 B mounting holes.  TSSPi comes with screws and posts, so you can mount the raspberry pi on TSSPi.
 +
 +
==== Raspberry Pi 1 Model B+, Pi 2 B, Pi 3 B, Pi Zero mounting holes ====
 +
[[Image:Mountingholes2.png||None]]
 +
 +
Raspberry pi 1 B+, Pi 2 B, P3 B and Pi Zero mounting holes.  TSSPi comes with screws and posts, so you can mount the raspberry pi on TSSPi.

Latest revision as of 11:38, 23 April 2016

TIAO Smart Sprinkler Pi

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

The TIAO Smart Sprinkler Pi (TSSPi) is a piece of hardware controls your irrigation systems. It replaces your traditional sprinkler controller. TSSPi 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 (power, Pi power, system on, system running)
  • Low cost! It's cheaper than the traditional sprinkler controller!
  • Supports Raspberry Pi 1 Model B (version 1 of TSSPi)
  • Supports Raspberry Pi 1 Model B, Raspberry Pi 1 Model B+, Raspberry Pi 2 Model B, Raspberry Pi 3 Model B, Raspberry Pi Zero (version 2 of TSSPi)

TSSPi Hardware Dimensions

Version 1

The board dimension of TSSPi 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:

TSSPi-dimension.png

Version 2

The board dimension of TSSPi 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:

Tsspi-v2-Board2d.png

TSSPi Connector Layouts

Version 1

The following picture shows the connector layout of the TSSPi V1. You can plug the Raspberry pi directly on top of TSSPi without using any wires. It also has two mounting holes so you can mount the Raspberry Pi 1 Model B on the TSSPi.

TSSPi-layout.png

Version 2

The following picture shows the connector layout of the TSSPi V2. You can plug the Raspberry pi directly on top of TSSPi without using any wires. It also has two mounting holes so you can mount the Raspberry Pi 1 Model B, Model B+, Pi2 Model B, Pi 3 Model B and Pi Zero on the TSSPi.

Tsspi-v2-board2d-pins.png
  1. Relay header
  2. Analog input and output (connect to onboard PCF8591
  3. I2C pins connect to Raspberry Pi's I2C pins
  4. DC power header (output)
  5. To connect to expansion boards
  6. To start or stop the schedule
  7. I2C pins connect to Raspberry Pi's I2C pins
  8. Female header so you can mount Raspberry Pi directly on top of TSSPi
  9. Holds the 2A fuse
  10. Status LEDs
  11. AC In, Common wire and rain sensor connector
  12. Connect to each individual valve
  13. To mount Raspberry Pi 1 Model B
  14. To mount Raspberry Pi 1 Model B
  15. To mount Raspberry Pi 1 Model B+, Pi 2 Model B, Pi 3 Model B and Pi Zero
  16. To mount Raspberry Pi 1 Model B+, Pi 2 Model B, Pi 3 Model B and Pi Zero
  17. To mount Raspberry Pi 1 Model B+, Pi 2 Model B, Pi 3 Model B and Pi Zero
  18. To mount Raspberry Pi 1 Model B+, Pi 2 Model B, Pi 3 Model B and Pi Zero
  19. To mount Raspberry Pi 1 Model B+, Pi 2 Model B, Pi 3 Model B and Pi Zero
  20. To mount Raspberry Pi 1 Model B+, Pi 2 Model B, Pi 3 Model B and Pi Zero

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 120V/2A, however for safety concerns, please connect anything higher than 36V/2A.


Analog header

None

The TSSPi has on board PCF8591 8 bit AD/DA converter. The JP1 header on the board maps to the pins on PCF8591.

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

None

PI2C heard connects to Raspberry Pi's I2C pins:

Pin # Description
1, 2 Vcc
3, 4 SDA
5, 6 SCL
7, 8 GND

Power header

None

Pin # Description
1, 3, 5 Vcc
7, 9 5V
2, 4, 6, 8, 10 GND


Expansion header

None

Pin # Description
1 OE
2, 4 GND
3 STCP
5 SHCP
6 24V AC
8 Vcc


Hardware button

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

None

PI2C heard connects to Raspberry Pi's I2C pins:

Pin # Description
1 Vcc
2 SDA
3 SCL
4 GND


Raspberry Pi female header

None

The female header, which allows you to put the raspberry pi directly on top of TSSPi without using any wires.

Pin # Raspberry Pi pin #
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

None

The onboard fuse hold. The fuse is rated at 2A.


Status LEDs

None

Led indicators.

LED 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 ON when TSSPi is connected to 24V AC
Pi ON when Raspberry Pi is connected to TSSPi


24V AC and rain sensor header

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. 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

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.

  • 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.

Raspberry Pi 1 Model B mounting holes

None

Raspberry pi 1 B mounting holes. TSSPi comes with screws and posts, so you can mount the raspberry pi on TSSPi.

Raspberry Pi 1 Model B+, Pi 2 B, Pi 3 B, Pi Zero mounting holes

None

Raspberry pi 1 B+, Pi 2 B, P3 B and Pi Zero mounting holes. TSSPi comes with screws and posts, so you can mount the raspberry pi on TSSPi.



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