Manual USB Adapter V01
Manual USB Adapter V01
Manual USB Adapter V01
01
Introduction:
This document tries to briefly explain how to set up and use the USB to RS232 Port adapter
for CASIO FX880P and FX850P calculators.
The Adapter is a design to connect a PC Computer USB port to the side connector placed
in the calculator.
This connector is a propietary by CASIO, and today is practically impossible find it in the
market . The connector is a 30 pin, spaced 50 mils ( 1,27mm), double row by 15.
The solution proposed is a little PCB, with the chip from FTDI FT232RL, and some
associated hardware, enclosed in a 3D printed case.
The pins are very delicate and must be handled with care, both the insertion and the
extraction of it in the calculator.
1
USB to Casio FX-880P Adapter Manual V.01
Plotted PCB:
2
USB to Casio FX-880P Adapter Manual V.01
The complete information of the CAD, gerber and other info is available on request.
The signal levels at the connection pins are selectable 3.3V or 5V.
Normally, they are delivered with 5V levels.
3
USB to Casio FX-880P Adapter Manual V.01
In order to have the adapter fully operational, two steps are necessary:
-A Installation of FTDI drivers
-B Installation of the Windows communication program.
The first thing is to download the drivers from the official page of the manufacturer for the
operating system that is available.
Go to -> https://ftdichip.com/drivers/
4
USB to Casio FX-880P Adapter Manual V.01
5
USB to Casio FX-880P Adapter Manual V.01
Once Completed the installation process. You can check and remap the installed port
to a COM port number that is suitable to work with the communications program, in our
case from 1 to 4 . ( the comms program CASIOPC.EXE only work with these 4 port
numbers).
With the driver fully installed, connect the adapter to the computer's USB port (not
connected to the calculator at the moment). The computer will recognize the adapter,
assigning it a port number.
The following step, is check the assigned port and if necessary, change it to one of the
suitable ones 1 to 4.
To check the installed port, go to CONTROL-PANEL ->SYSTEM->DEVICE
MANAGER .
6
USB to Casio FX-880P Adapter Manual V.01
fig.1
we will see in the dialog box the installed devices. Go to Ports(COM & LPT),
fig.2
The devices that we will see are dependent on the ones that each machine has installed. It
may be something different than those shown.
When we insert the adapter, the box will change and show the new device as
fig.3
Normally, the assigned port can be a value outside the range of 1 to 4, then we have to
remap it to a value within our acceptable range.
To do this, pick over the new assigned port line with the mouse .....
(place mouse over , and then rigth click...
7
USB to Casio FX-880P Adapter Manual V.01
fig.4
fig.5
8
USB to Casio FX-880P Adapter Manual V.01
fig.6
We can see now the assigned COM port and modify if necessary.
fig.7
9
USB to Casio FX-880P Adapter Manual V.01
When we have the correct selections, we accept and close the dialog.
We will now have the adapter correctly installed and configured.
The next step is to install the communications program CASIOOC.EXE and configure it.
This program has been found in the web. No other support of the same is available.
Since several messages and instructions are in spanish, they are detailed in this manual in
english.
Install de executable in your selected or elected directory. Install it normally in your own and
separate from the rest of the applications.
Execute and see :
fig.8
10
USB to Casio FX-880P Adapter Manual V.01
fig.9
If a new is selected, we get a black page where edit our file, and complete menus.
fig.10
11
USB to Casio FX-880P Adapter Manual V.01
In FILE:
fig.11
In EDIT:
fig.12
In these two msub-menús, no more explanations are needed, since they are well known in
the operating system.
12
USB to Casio FX-880P Adapter Manual V.01
In COMMUNICATIONS :
fig.13
As you can see, we only have the RECEPTION options active, since the file to be edited is
blank. Until we edit something, the TRANSMISSION options will not be activated.
In CONFIGURATION:
fig.14
Select the option Comunication ,this is the first option that must be configured, that of the
program and the speed .
13
USB to Casio FX-880P Adapter Manual V.01
fig.15
A good selection for the speed are 2400 bauds. Select the appropiate PORT.
Save and exit.
All other configuration parameters are only to change the screen aspect.
Normally, leave by defaults.
14
USB to Casio FX-880P Adapter Manual V.01
fig.16
The screen gives us the instructions to make the transmission from the PC to the
calculator.
“Escriba en la calculadora”
type on calculator
15
USB to Casio FX-880P Adapter Manual V.01
Actions:
Put the calculator in MODE 1 ( press keys MODE, 1)
_______________________________
P0123456789 35368
Ready P0
_______________________________
LOAD”COM0:5”
fig.17
You can see the program inside the calculator memory, insert LIST EXE...
The calculator command to receive a serial program is LOAD , the parameters COM0
are for serial RS232, :5 is for the elected speed.
See CASIO manual for a complete description of the parameters.
16
USB to Casio FX-880P Adapter Manual V.01
fig.18
messages translation:
“escriba en la calculadora”
write on the calculator
Actions:
Put the calculator in MODE 1 ( press keys MODE, 1)
The calculator screen shows :
_______________________________
P0123456789 35368
Ready P0
_______________________________
17
USB to Casio FX-880P Adapter Manual V.01
If you start this reception over a screen when we have a program edited, the system warns us
that we are going to overwrite the program.
fig.19
If we continue, we see in real time the received characters writen to the file.
When transmission is ended, we see :
fig.20
18
USB to Casio FX-880P Adapter Manual V.01
COM0: 2,E,8,1,N,N,N,B,N
Examples for TX and RX leaving by defaults parameters and set only the Speed to
2400 Bauds. (command to write in the calculator).
As showed in the mentioned pages of the manual, the general mode of the TX/RX
command are :
COM0 :[[Speed],[Parity],[Data],[Stop],[CS],[DS],[CD],[Busy],[Code]]
Paremeters in detail:
19
USB to Casio FX-880P Adapter Manual V.01
Note: 2400 (5) or less should be specified when comms are specified by OPEN
statement.
PARITY:
N : No parity bit
E : Even parity
O : Odd parity
20
USB to Casio FX-880P Adapter Manual V.01
For file transfer to or from a computer, any program that is capable of handling the
computer's RS232 port is in principle suitable.
The communications protocol is very simple, it involves sending/receiving in ASCII , with
each line ending with the control characters, CR (Carry Return), LF (Line Feed ) .
See an example of a file edited in HEX...
10 A = 0
20 PRINT A
30 A = A+1
40 GOTO 20
50 END
Internally is coded as :
21
USB to Casio FX-880P Adapter Manual V.01
This simple programm, enables the comunication in a basic mode, nut ONLY from
PC to calculator.
22
USB to Casio FX-880P Adapter Manual V.01
hypertrm.dll
hypertrm.exe
When application start, assing a name of the connection ,or open one saved previosly.
Named and ACCEPT.
Then , in the new window, select Conection Using COMx:
23
USB to Casio FX-880P Adapter Manual V.01
Select the serial port assigned to the adapter, in this case COM4. And ACCEPT.
Then the next step is configure the comunication parameters:
24
USB to Casio FX-880P Adapter Manual V.01
To transfer a program from calculator (upload) to the PC, follow the steps...
The hyperterminal program does not show or indicate that reception is complete. But the
received data is displayed on the screen at the rate it is received. Then we can copy the
buffer of received data and save it in a file, for editing.
25
USB to Casio FX-880P Adapter Manual V.01
26