To achieve an economical basic unit price, we kept the onboard circuitry to the necessary minimum. For example, there is
The summary of Tibbo Project System Tibbo Project System (TPS) is a highly configurable and affordable automation platform. Its flexibility is based on Tibbits® – miniature blocks that implement specific I/O features. Need a certain I/O function? Install the right Tibbit. Have no use for something? There is no need to have it in your device. This module-based approach saves you money by allowing you to precisely define the features you want in your automation controller. With TPS, we have completely rethought not just the hardware, but also the configuration and ordering process. Read on and see for yourself! A Tibbo Project PCB is the foundation of the Tibbo Project System. Available in Tibbo OS (TiOS), as well as two sizes, each board carries a CPU, memory, an Ethernet port, power input for +5V regulated power, and a number of sockets for Tibbit Modules and Connectors. Choose a board, plug in desired Tibbits, put the assembly into an optional Tibbo Project Box, and you've got yourself a cost-effective, highly customized automation device that carries no unwanted excess. To achieve an economical basic unit price, we kept the onboard circuitry to the necessary minimum. For example, there is no built-in power supply – the boards directly accept only regulated +5V power. Realworld power processing (12V, 24V, PoE, etc.) is achieved by adding power supply Tibbits. This "no excess" approach is the cornerstone of the Tibbo Project System.
TPP2 Runs Tibbo OS (TiOS). Up to 6 Tibbit Modules, and up to 6 Tibbit Connectors. Compatible with TPB2 and TPB2L enclosures.
TPP3 Runs Tibbo OS (TiOS). Up to 14 Tibbit Modules, and up to 14 Tibbit Connectors. Compatible with the TPB3 enclosure.
The Basic of Tibbo Project System 1. The detail explain for TPS2 PCB:
Capacity: 24 I/O lines 3 Tiles 6 sockets for Tibbit modules 6 sockets for Tibbit connectors 1 extra socket for Tibbit #37 (RF connector) Compatible with: All Tibbits
GA1000 Wi-Fi add-on TPB2 and TPB2L enclosures
Please reference the following diagram for the Tiles define and placement:
There are two difference version of TPS2 one is general type the another one contain 4” LCD display and 4 touch button called TPS2L
TPS2
TPS2L
2. The detail explain for TPS3 PCB:
PCB 規格:
47 I/O lines
7 Tiles 14 sockets for Tibbit modules 14 sockets for Tibbit connectors 1 extra socket for Tibbit #37 (RF connector) Compatible with: All Tibbits GA1000 Wi-Fi add-on TPB3 enclosure Please reference the following diagram for the Tiles define and placement:
On next chapters, We will start introduce how to use TIDE to connect and communication with TPS2, TPS2L, TPS3 and how to write the Tibbo BASIC to test the Module functions.
The TIDE Installing In this chapter we will start to introduce how to install software programmer TIDE I/O Ninja into Windows system for TPS2 1. Please browse the following web address: http://tibbo.com/downloads.html Please find the TIDE software for windows as below:
Please download the TIDE and install into your Windows system. The software TIDE is a Tibbo Basic or Tibbo C code complier Please go to the following web link to download IO Ninja: http://tibbo.com/ninja.html
Software TIDE is Tibbo Basic or Tibbo C code complier Software IO Ninja is the TCP or SSH connect and test software
2. The following up is a Tibbo Basic or Tibbo C On-line Document 1) http://docs.tibbo.com/taiko/index.html?the_reference.htm Please click the ” THE GUIDE” then choice ”Tibbo BASIC/C” for Tibbo Basic or Tibbo C programming Document. 1) The following web link is a Tibbo Basic or Tibbo C sample code for you reference: http://tibbo.com/programmable/applications.html#/ 3. The following web link is a Tibbo Basic or Tibbo C Reference Guide http://docs.tibbo.com/taiko/index.html?the_reference.htm 4. Please reference the following diagram for TIDE and TPS2 connection :
5. Please browser the following web link to know how to open the new project with TPS2 : http://docs.tibbo.com/taiko/index.html?the_reference.htm -> click THE REFERENCE -> click Tibbo IDE (TIDE) Software -> click Dialogs-> click New Project Dialog
6. Launch TIDE: 1) Launch by click this ICON
2) Click “New Project” button 3) The TIDE will show out a “new Project” dialog box like below: Please type the project name on the “new Project” field
4) Change the “Platform” to “TPP2W” like below diagram:
5) Input the “Project name” like below diagram:
6) Click “Select” button to select your device on the network like below diagram: a). when you press “Select” button, then the system will pop-up Device Explorer, you can select a device for you use.
a. When you select a network device then ”Device Explorer” dialog box will change like following :
If you press the ”Buzz” button then the device’s TPS2 Status LED2 will stop to flashing.
b. After verify the TPS2 connect with TIDE then please click “OK” to complete the setting:
c. After you select the right programming device then press “OK” then the TIDE will show out the following up diagram:
During the programming, sometime you may forget the command or you want to verify the command then you can use the TIDE’s hot-key (like following) to launch the TIDE auto-help: Ctrl+Alt+t or Ctrl+space for the auto-help hot-key
TPS Module placement & Learning Project The Following TPS2 module placement for the TPS2 learning project, we will use this module placement as below for the several lessons, we will use the red square frame this part of lesson.
to show out which module use in
TPS Project programming example 0. Ethernet test: test the Ethernet feedback function: Project name->TCPIP function Test 1 Project environment: the 'setup TPS2 IP address net.netmask="255.255.255.0" sock.num=0 'setup TCP/IP communication level=0 sock.protocol=PL_SOCK_PROTOCOL_TCP sock.localportlist="2000" 'setup TCP/IP port=2000 sock.rxbuffrq(2) 'setup TCP/IP 'open door card number w=ser.get 'setup TPS2 IP adress net.netmask="255.255.255.0" sock.num=0 'setup TCP/IP communication level=0 sock.protocol=PL_SOCK_PROTOCOL_TCP sock.localportlist="2000" 'setup TCP/IP port=2000 sock.rxbuffrq(2) 'setup TCP/IP receive sock.targetport"2000" sys.buffalloc 'system start to create the sock.num=0 sock.protocol=PL_SOCK_PROTOCOL_TCP sock.inconmode=PL_SOCK_INCONMODE_ANY_IP_ANY_PORT sock.reconmode=PL_SOCK_RECONMODE_3 sock.targetip="192.168.1.39" sock.targetport="2000" sock.rxbuffrq(2) sock.txbuffrq(2) sys.buffalloc 'setup Relay GPIO 12 io.num=PL_IO_NUM_12_RX2 'IO position 12 io.enabled=YES 'enable IO position 12 io.state=HIGH 'IO position 12 status = low
end sub sub on_sock_data_arrival() dim x as string if sock.rxlen >= 4 then x = sock.getdata(255) if x = chr(02)+"12"+chr(13) then io.lineset(PL_IO_NUM_12_RX2,LOW) 'trigger inside others device end if end if end sub sub on_sys_timer() sock.num=0 if sock.statesimple PL_SSTS_EST then sock.connect end if if io.lineget(PL_IO_NUM_12_RX2) = LOW then if io_12_counter>2 then io.lineset(PL_IO_NUM_12_RX2,HIGH) io_12_counter=0 else io_12_counter=io_12_counter+1 end if end if end sub 5 After Lesson and extended function design: This lesson we use Server & Client construction to design TPS2 action, when Client GPIO Pin trigger then except the TPS2 actions, it also will trigger the server GPIO Pin by the Ethernet so the Server side will do the other actions, under this kind of structure, we can have the other difference mode like following: 1) 1 TPS2 Server to 2-3 Clients structure
5. Integration application: follow up the TPS2 lesson like above, we can integration a system environment, We can try to use TPS2 to do the home entrance control and temperature control and also security Control and we can use two TPS2 to communication and transfer data for control and reaction, we Can design a sample like below: 1 TPS2 control function description (Client): 1) Entrance control management 2) Automatic control & adjust temperature & humidity in the living room 3) Windows position control 4) IR + Wave detect in the living room 5) Fire detect in the living room 6) IR detect to automatic enable light 2 TPS2 control function description (Server): 1) Server TPS2 & client TPS2real-time data transfer 2) When client TPS2trigger then transfer data to the Server TPS2 then, Server TPS2 will feedback To client TPS2at same time and also light up LED for Server TPS2 already transfer information 3) Client TPS2out-side IR trigger, it will send the data to the Server TPS2and also light up the client TPS2 LED for out-side IR has been triggered In the brief to say, the TPS2 already can management the Home automatic and intelligence control center, I hope every student can pay more attention to learn more TPS2 module and programming for the following projects.