Acrosser Technology AR-M9936 Quick Manual

Type
Quick Manual
Page 1 of 2 AR-M9936 Manual
Part No: 220010259
AR-M9936 Serial Manual
Version 1.1
1. System Setting
 The AR-M9936 has in the front site Power Button, 4 LAN connector with build in
LED, 2 USB Port, COM port, Reset button and LCD Panel. Beside that, the
backside board has AC power connector.
1.1 Discrimination (included Rubber Foot)
Description
AR-M9936
CPU Board
AR-B1893
Dimensions
440×210×44 (mm)
1.2 Main System
(1) Dimension
(2) Outlet (front side board)
(3) Outlet (back side board)
2. Fabrication way
 Please remove the mounting screw at the cover, and then open up the cover.
 Please let the fixed nut of CPU board loose and remove it. At this time, user can
plug CF card and DDRAM SODIMM into CPU board.
 Place the CPU board at the original site and then firmly fixed it by the fixed nut.
 Place ATX Power Board on right site and connect the ATX power Cable to Board.
 Inside H.D.D are place into the bracket of H.D.D and attach the H.D.D. IDE Cable.
 Finally, remove the screw cover and lock it into the base.
3. ATX Power Supply
 Input Range: 90 ~ 264 VAC
 Frequency: 47 ~ 63 Hz
 Max Power: 60 W
 Short circuit protection
 Overload protection
Page 2 of 2 AR-M9936 Manual
Part No: 220010259
4. LCD Display
AR-M9936-Board support LCD Display as option and
controlled by RS-232 Interface of COM2. To Install LCD
Module, connect it to CN6 connector & make sure JRS2
Jumper open in all position.
To Test the function of LCD Module, we have developed a
test programm: “9936_LCDTEST.EXE” and it run under
DOS Operating System.
LCD test program source code:
/* AR-M9936 LCD display test program */
#include <stdio.h>
#include <dos.h>
#include <string.h>
#include <conio.h>
typedef unsigned char byte;
const int com2_ioport=0x2F8;
const int com2_intnum=0x0B;
char nul[40];
void out_com2(byte cmd);
void init();
void show_message(char *str);
byte read_key();
void main()
{ char msg_demo[] =" AX-Panel DEMO "; //screen is 16 char wide
char msg_up[] =" Up pushed ";
char msg_down[] =" Down pushed ";
char msg_enter[]=" Enter pushed ";
char msg_esc[] =" ESC pushed ";
char msg_bye2[] =" Bye Bye ^_^ ";
char c;
byte key;
init();
show_message(msg_demo);
while(1) {
if(kbhit())
c=getch();
if(c==27)
break;
key=read_key();
switch(key) {
case 0x4b:
//printf("Up button\n");
show_message(msg_up);
break;
case 0x4d:
//printf("Down button\n");
show_message(msg_down);
break;
case 0x4e:
//printf("Enter button\n");
show_message(msg_enter);
break;
case 0x47:
//printf("ESC button\n");
show_message(msg_esc);
break;
default:
break; }
}
show_message(msg_bye2);
printf("Test finished\n");
}
void out_com2(byte cmd)
{ delay(10);
outportb(com2_ioport,cmd); }
byte read_key()
{ byte key;
out_com2(0xfe); //request
out_com2(0x06);
delay(10);
key=inportb(com2_ioport);
return key; }
void init()
{ char start[16]={0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
0xfe,0x01,0x02,0x03,0x04,0x05,0x06,0x07};
int i;
printf("Initializing LCD com port....");
//set com2
outportb(com2_ioport+3,0x80); // set DLAB on
outportb(com2_ioport+0,0x0C); // 9600bps
outportb(com2_ioport+1,0x00);
outportb(com2_ioport+3,0x03); // set DLAB off. set line: 8 bits, 1 stop
// bit, no parity
for(i=0;i<16;i++) //init magic words
out_com2(start[i]);
out_com2(0xfe); //clear screen
out_com2(0x01);
strset(nul,' '); //prepare nul[]
printf(" LCD com port initialized!\n");
}
void show_message(char *str)
{ char msg_title[]=" Advanced-X ";
int title_len = strlen(msg_title); // supposed to be 16
int i;
out_com2(0xfe); //clear screen
out_com2(0x01);
out_com2(0xfe); //cursor home
out_com2(0x02);
for(i=0;i<title_len;i++) //display title
out_com2(msg_title[i]);
for(i=0;i<(40-title_len);i++) //put the space
out_com2(nul[i]);
for(i=0;i<=strlen(str);i++) //display the string
out_com2(str[i]);
}
  • Page 1 1
  • Page 2 2

Acrosser Technology AR-M9936 Quick Manual

Type
Quick Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI