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!
Line 50: Line 50:
 
# [[#Soft button 3|Button 3]]
 
# [[#Soft button 3|Button 3]]
 
# [[#LCD display header|LCD display header]]
 
# [[#LCD display header|LCD display header]]
 +
# [[#Ethernet receptacle|Ethernet receptacle]]
  
 
# [[#Analog header|Analog input and output (connect to onboard PCF8591]]
 
# [[#Analog header|Analog input and output (connect to onboard PCF8591]]
Line 283: Line 284:
  
  
 +
==== Ethernet receptacle ====
 +
[[Image:Tss-Net.png||none]]
 +
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)]).
  
 
==== Analog header ====
 
==== Analog header ====

Revision as of 01:45, 2 September 2015

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
  1. Analog input and output (connect to onboard PCF8591
  2. I2C pins connect to Raspberry Pi's I2C pins
  3. DC power header (output)
  4. To connect to expansion boards
  5. To start or stop the schedule
  6. I2C pins connect to Raspberry Pi's I2C pins
  7. Female header so you can mount Raspberry Pi directly on top of TSSPi
  8. Holds the 2A fuse
  9. Status LEDs
  10. AC In, Common wire and rain sensor connector
  11. Connect to each individual valve
  12. To mount Raspberry Pi and TSSPi

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

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 mounting holes

None

Raspberry pi 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!