Objective Development of a demo module 1.providing utility outlets that can be used for home appliance capable of locally manual control and remotely on/off control through internet. 2.teaching usage of PICNIC. 3.teaching VB programming.
Software Written in Visual Basic v6 (Microsoft, USA) Required PICOCX.ocx (Active X 控制項 )
Device PICNIC SSR: solid state relay Relay or utility outlet
Solid State Relay (SSR) Input terminal Output terminal
5 types of SSR and popular 3 Type (input V range) Output V range DC AC (3-32VDC) V AC AC AC ( VAC) V AC DC DC (3-32VDC) 5-120V DC
3 way and 4 way switch Three-way-switch is used when providing control in two locations for one home appliance. In between 2 three-way-switches, 1 four-way- switch is needed to provide control in 3 locations for one home appliance. In between 2 three-way-switches, installing n four-way-switches can provide control in n ＋ 2 locations.
Home appliance AC 110V On/off control in 2 locations for one home appliance
AC 110V On/off control in 3 locations for one home appliance Home appliance
Home appliance on/off control in 2 locations with one side connect to the internet PICNIC Toggle Switch Home appliance outlet Relay B connect SSR Interne t same outlet from above Relay A connect
An example: Lamps control Control 2 Fans ( 110 VAC ) Control 8 TFLs ( 110 VAC )
SSR RB4 PIC 110V
Demo module ver.1 Replacing relays with utility outlets Up to 8 outlets per Picnic One outlet required one SSR
RB4 Home appliance 1 PIC 110V RB5 RB6 RB7 Outlet#1 SSR#1 To SSR#1 To SSR#3 To SSR#2 To SSR#4 Digital output ports
RB4 Home appliance 2 PICNIC 110V RB5 RB6 RB7 Outlet#2 SSR#2 To SSR#1 To SSR#3 To SSR#2 To SSR#4 Digital output ports
Problem: The person at remote side needs to know the current status (on or off) of the home appliance PICNIC Toggle Switch Home appliance outlet Relay B connect SSR Interne t same outlet from above Relay A connect
Demo module ver.2 Modified version of module ver.1 Up to 4 outlets per Picnic One outlet required 1 SSR and 1 Relay
RB4 Home appliance 2 PICNIC 110V RB5 RB6 RB7 Outlet#2 SSR#2 To SSR#1 To SSR#3 To SSR#2 To SSR#4 Digital output ports RB0 From Relay#2 Relay#2 Digital Input ports Demo module ver.2
A commercial product IP-relay IP Relay is an Ethernet-enabled box containing 1 RS-232 serial port and 2 relays with contacts on a terminal block. The device can be also used as a remote RS-232 serial port (the Virtual Serial Port drives software for windows is free) or as RS232/ethernet converter (terminal server). The remote device can be switched on/off or reset using the ethernet i/o relays.
System topology scheme
Usage examples Remote monitoring of IP camera system's failure Remote control of the network configuration Remote control and restarting of micowawe connections. Remote devices control (ventilation, door opening..)
A commercial product I/O Controller I/O Controller is a unit containing 8x digital input over ethernet, 8x digital output over ethernet and RS-232/485 serial (Terminal server) interface. All the interfaces are accessible over a network using the M2M (Machine to Machine) protocol on TCP/IP.
Applications examples Remote control of technology over RS-232 and RS-485 bus Remote control of displays and signalling Remote reading of PIR sensors, door contacts and security systems Remote relay control Industrial I/O Card readers, RFID readers Sales machines Security alarms Attendance systems UPS controll and logging Bar code readers