User manual
OLIMEX© 2012 PIC-IO User's Manual
SOFTWARE:
DEMO1: PIC16F628-I/P CONTROL SOFTWARE
This is demo code, which allow control of the PIC-IO inputs/outputs via PC
with Hyper terminal.
Connect PIC-IO RS232 with cable to your PC and run Hyper terminal with
these settings: 9600,8,N,1,NONE. When you apply power this will be seen
on the Hyper terminal window:
***************************
* PIC-IO CONTROL *
* (C) 2007, OLIMEX Ltd*
***************************
>_
To read the inputs in binary format type “r”, PIC-IO will respond with
something like:
%0000 if all inputs are 0 or
%1111 if all inputs are 1 (i.e. +5V is applied)
the inputs are with right less significant bit i.e. the order is: I4 I3 I2 I1
To read the inputs in HEX format type “R”, PIC-IO will respond with
something like:
$0 if all inputs are 0 or
$F if all inputs are 1
To change the outputs type “w0101”, this will switch on relay 1 and relay 3
and will switch off relay 2 and relay 4.
If you want to use HEX value you can write “W5” for instance which will
switch on relay 4 and relay 1 and will switch off relay 2 and relay 3.
Any other commands will not be recognized and PIC-IO will respond with
“ERR”









