SZ_IO62R2

Page created: 28/09/2021 Updated: 18/10/2021

SZ_IO62R2 is second code revision of SZ_IO62 controller. Have many improvements over SZ_IO controller.For example, now we can control same outputs from separate inputs. All detail information will be below.

Features

- Support remotely (RS-232) turning on or off added devices
- Support single or toggle input.  
- Supports turning on or off up to 8 separately connected devices
-  Configuration over RS-232.
-  Multiply control outputs from separate outputs (added in SZ_IO62R2)
-  On start controller send to terminal current configuration in one string separated by semicolon.
-  On start controller send to terminal status of inputs and outputs
-  Controller have 6 hardware inputs and 2 additional software inputs
-  Support input output status checking by command via terminal
-  Support controlling outputs independently of inputs by separate command "outX"
Functions

- After controller restart last state only for switch mode
- Allows to control 8 outputs from 6 separate hardware inputs, or from serial port.
- Allows to control 8 outputs from 2 virtual inputs independently of hardware inputs
- Can be integrated Home Assistance or another system throw serial port
- Hardware inputs have two functions single click or toggle
- On start controller outputs is HIGH (+5 Volt 25 mA), then output is active it is LOW (0 Volt)
Parameters

- Package Included: 1pc SZ\_IO\_62R2 Module  
- Size: 6.5 x 7.1 x 2.5 mm (HxWxD)  
- Work Voltage: DC 5-12v correct  
- Work Current: 25 mA (standby)  
- Load Voltage: 5V  
- Load Current: 25mA/Channel(MAX)  
- Output Type: Discrete  
- Control Mode: Physical switch (button), RS-232  
- Communication: RS-232, band rate 115200
Work modes

- Hardware click - one click to turn on or off configured outputs    
- Hardware toggle - if input is shorted, opened to ground then turn on or off configured outputs  

 RS-232 commands:  
-  cI1 - same as hardware click only emulated from console. 
-  sI1 - same as hardware toggle ON/OFF only emulated from console. 
-  out1 - independent output control
-  stat - get status of hardware inputs and outputs
-  rconf - get configuration in one string separated by semicolon.
Commands

To use hardware buttons/switches just connect button/switch to input and load to output. Program input working mode and assign outputs. After all done, just push button/switch.  
Serial commands use RS-232 terminal:  
sIX - turn on input X (where X is input number), if all ok you will see reply with status op inputs and outputs. 
cIX - turn on/off single click input X (where X is input number), if all ok you will see reply with status op inputs and outputs. 
outX - turn on/off output X (where X is input number), if all ok you will see reply with status op inputs and outputs.
stat - show status of inputs and outputs
conf - list all configured inputs  
Reset to default

Reset from terminal:  
D0S1 1 - will reset to default configuration.  
save - saves the config and reboots controller  
Connection scheme
szio62connection

Manual

Gerber files of project

Version 1.00 Arduino IDE code with included libraries

Version 1.01 Arduino IDE code with included libraries

Version 1.02 Arduino IDE code with included libraries

Link to SZ_IO62R2 Serial control application for this module

Page Change log

  • Added 1.01 code version with bug fix
  • 18.10.2021 added 1.02 code version, new revision of manual, screenshot of new help command in controller
WP Twitter Auto Publish Powered By : XYZScripts.com