Advertisement

Quick Links

BOLYMIN, INC.
5F, 38 Keya Rd., Daya Dist., Taichung City 42881, Taiwan, R.O.C.
WEB SITE:
http://www.bolymin.com.tw
BE220C
USER MANUAL
Features:
ARM 9 CPU
7" 800X480 TFT with Touch Panel @18bit color
Wi-Fi
10/100Mbps Ethernet LAN
RS-232/485/422
Audio
Host USB1.1 x 1
Device USB2.0 x 1
SD/MMC card
Support WINCE 5.0 OS
Support .Net Compact Framework 3.5
TEL: +886-4-2565-8689 FAX: +886-4-2565-8698

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BE220C and is the answer not in the manual?

Questions and answers

Summary of Contents for Bolymin BE220C

  • Page 1 BE220C USER MANUAL Features:  ARM 9 CPU  7” 800X480 TFT with Touch Panel @18bit color  Wi-Fi  10/100Mbps Ethernet LAN  RS-232/485/422  Audio  Host USB1.1 x 1  Device USB2.0 x 1  SD/MMC card ...
  • Page 2: Declaration Of Conformity

    The use of the system in any other combination (such as co-located antennas transmitting the same information) is expressly forbidden. This BE220C must be installed and used in strict accordance with the manufacturer's instructions as described in the user documentation that comes with the product. Any other installation or use will violate FCC Part 15 regulations.
  • Page 3 History of Version Version Contents Date Note Original version 2013/12/18 Spec. BE220C USER MANUAL - 3 -...
  • Page 4: Table Of Contents

    Example Code ..............................60     GPIO C ............................64 ONTROL     3.4.1 How to Control GPIO for BE220C ....................... 64     3.4.2 GPIO Control Function for BE220C ......................65     3.4.3 Definition of GPIO Index ..........................66  ...
  • Page 5: General Information

    General Information This chapter provides basic information about Bolymin’s BE220C module and it consists of : 1.1 Introduction 1.2 Specifications 1.3 Mechanical Specifications BE220C USER MANUAL - 5 -...
  • Page 6: Introduction

    BE22C module is a general purpose embedded system and is suitable for versatile applications such as medical probing devices, in-car automation, human machine interface (HMI), etc. And here is the order information for the BE220C family: Order Information Part No.
  • Page 7: Module Layout

    1.1.2 Module Layout Name Description Touch screen To support touch screen operation on BE220C Name Description Use 12V/3A power with a spec. of DC Plug_in φ2.5 socket Power socket GPIOx12, ADCx6。 ADC_GPIO Bus Communication Device USB 2.0,RS-232x3,RS485/422x1(Optional)。 Host-USB 1.1 Connect to USB 1.1 peripheral (keyboard, mouse, etc)
  • Page 8 Name Description Wi-Fi Antenna Connect Wi-Fi antenna socket SD Card socket Connect SD and MMC Card (4GB max.) BE220C USER MANUAL - 8 -...
  • Page 9: Specifications

    1.2 Specifications 1.2.1 System Functional Blocks BE220C USER MANUAL - 9 -...
  • Page 10: Module Specifications

    Dual channels 2 watts speaker output Wi-Fi IEEE 802.11b/g, Wi-Fi compliant WinCE 5.0(default), preloaded with .Net CF3.5 LCD Size 7” TFT LCD LCD Resolution 800x480 LCD Brightness 400 cd/m² Power Supply DC9V~DC28V -20℃ ~ +70℃ Operating Temperature BE220C USER MANUAL - 10 -...
  • Page 11: Mechanical Specifications

    1.3 Mechanical Specifications 1.3.1 Module Specifications BE220C USER MANUAL - 11 -...
  • Page 12: Be220C Installation & Testing

    BE220C Installation & Testing This chapter provides installation information for BE220C module and it consists of : 2.1 Connect Power 2.2 Connect SD/MMC Card 2.3 Connect Host USB 2.4 Connect LAN 2.5 Connect Wi-Fi 2.6 Connect Communication Bus 2.7 Connect ADC_GPIO Bus 2.8 How to Installation the BE220C on equipment...
  • Page 13: Connect Power

    2.1 Connect Power User may prepare a power adaptor with an output of DC12V/3A and a 2.5φas illustrated. DC Plug_in φ2.5 BE220C USER MANUAL - 13 -...
  • Page 14: Connect Asd/Mmc Card

    WinCE will then detect the SD/MMC Card and appears a storage card icon as follows: BE220C USER MANUAL - 14 -...
  • Page 15: Connect Host Usb

    2.3 Connect Host USB Users may connect host USB to any USB1.1 device, for example mouse, keyboard, USB storage, through a mini-USB cable as illustrated. BE220C USER MANUAL - 15 -...
  • Page 16 2.4 Connect to LAN Connect to LAN port as illustrated. STEP1: Click on “ Start-Setting-Networking and Dial-up connections ” to set up a network. STEP2: Select ” DM9ISA1 ” to set up a LAN parameters. STEP3: BE220C USER MANUAL - 16 -...
  • Page 17 Select static IP or DHCP IP as appropriate. STEP4: Select Internet Explorer. STEP5: Enter URL at the Address box STEP6: BE220C USER MANUAL - 17 -...
  • Page 18 Enter URL at the Address box STEP7: BE220C USER MANUAL - 18 -...
  • Page 19: Connect Wi-Fi

    2.5 Connect Wi-Fi Screw up the Antenna on BE220C as illustrated. STEP1: Click on the network icon as highlighted to enter the wireless setup. STEP2: BE220C USER MANUAL - 19 -...
  • Page 20 Click on ” Wireless Information ” tab to set up wireless parameters STEP3: Click on ”Add New…” to add a new wireless connection. STEP4: Set up SSID, WEP, IEEE802.1X Authentications parameters as appropriate on BE220C, STEP5: then click OK. BE220C USER MANUAL...
  • Page 21 Select the wireless access point, or SSID as appropriate, then click ”Connect” to enable STEP6: wireless connection of BE220C. The connection status is shown right beneath the SSID selection box. Select ” IP Information ” tab and click on “renew” to refresh IP address.
  • Page 22 Enter URL address in the ”Address” box STEP9: then the browser will surf to the URL as specified. STEP10: BE220C USER MANUAL - 22 -...
  • Page 23: Connect Communication Bus

    Purple RXD3T Purple/Black VDD2 Grey GND2 Orange/Blue A-422R+ White A-422R- White/Black A-422T+ A-422T- Pink Pink/Black A-485D+ A-485D- VDD2 Grey/Black GND2 Red/Blue Purple/White Purple/Red Light Light green SPIMOSI green/Black SPIMISO Light blue SPICLK Light blue/Black BE220C USER MANUAL - 23 -...
  • Page 24: Serial Port Test

    2.6.2.1 Connect Serial Port set of RS-232 (Debug Port)(for update only) Connect 1 set of RS-232 on BE220C to DB9-female on PC’s COM port. This RS-232 port is used as debug port only with a signal level of +/-12v. Pin Assignment of RS-232...
  • Page 25 RS-232 (COM3) Connect 2 set of RS-232 to PC’s COM port. BE220C reserves COM3 port for the 2 of RS-232 and its signal level is at +/-12 v. Pin Assignment of RS-232 RS-232 DB9 Female BE220C Pin No...
  • Page 26 RS-232(COM4) Connect 3 set of RS-232, which is defaulted to COM4 on BE220C, to DB-9 COM port of PC. The signal level runs at +/-12v. Pin assignment of RS-232 RS-232 DB9 Female BE220C Pin No Pin Name Pin No Pin Name —...
  • Page 27 RS-422 (Option)(COM1) BE220C supports 1 set of RS-422 serial interface and defaulted to COM1 port. It is supported to use a RS-232 to RS-422/485 converter board to connect to PC’s COM port for connectivity test. Pin Assignment of RS-422 Pin No...
  • Page 28: Serial Port Test Procedure

    Run “ hyper-terminal ” program under start-program-accessories-communication”, STEP1: then enter a name for this session and click ok. Select PC’s COM port in ”Connect using” box to connect to serial port on BE220C. STEP2: Then click OK. BE220C USER MANUAL...
  • Page 29 Pull down ” Bits per second ” to set up communication speed (usu. Ranges from STEP3: 9600 to 115200). Make sure the baud rate value is identical to that on BE220C. Select None for ” Flow control ”, then click ” Apply ”, and click ” OK ”.
  • Page 30 BE220C set up procedure: Select ” My Device ” on BE220C STEP1: Select “ Windows ” folder STEP2: Run ” SerialPortTest ” STEP3: BE220C USER MANUAL - 30 -...
  • Page 31 Select COM port as appropriate. Pull down at Baud Rate ranged between 9600 to STEP5: 115200 and use the same value at both BE220C and PC end. Then click on “ Open port ” to activate a serial connection. Serial port select...
  • Page 32 At PC end, you will see the same text entered echoed back. STEP8: Enter some text at PC end and note an echo of the text will appear at RX window at STEP9: BE220C end. BE220C USER MANUAL - 32 -...
  • Page 33: Device Usb Installation

    2.6.3 Device USB installation BE220C supports one set of Device USB to communicate with a PC through ActiveSync software for data sync. Here illustrates the connection of Device USB. Please refer to chapter 3.1.1 for ActiveSync operation. Pin assignment of Device USB...
  • Page 34: Speaker Installation

    2.6.4 Speaker installation BE220C offers 2 sets of speaker circuits to connect to 8Ω/2W speaker. Connect speakers as illustrated to support audio playback. set of Speaker Pin Assignment of Speaker Speaker BE220C Pin No Pin Name Pin No Pin Name...
  • Page 35: Adc_Gpio Bus

    ADCT2 Brown/Black 13 ADCT5 Purple Orange/Blac White KEY1 KEY6 Purple/Black KEY2 Yellow KEY7 White/Black KEY3 Red/Black KEY8 Grey KEY4 Yellow/Black 18 KEY9 Light Blue KEY5 Green KEY10 Grey/Black Light KEY11 Green/Block 20 KEY12 blue/Black BE220C USER MANUAL - 35 -...
  • Page 36: Gpio Test

    2.7.2 GPIO Test BE220C offers 12 general purpose programmable I/O ports (GPIO). Please refer to sample code at chapter 4.4.The typical signal length is around 10 to 15 cm and the rated voltage is as follows Item Symbol Unit High Level Input Voltage —...
  • Page 37 Run ” GpioTest_220A ”. STEP3: Here is the initial screen of ” GpioTest_220A ” and defaulted to test all keys as STEP4: inputs. A green light at key stands for a high input signal. STEP5: BE220C USER MANUAL - 37 -...
  • Page 38 To test output, pull down the Input and change the key to output. STEP6: While key is defined as OUTPUT as step6, check on red circle to the left of key to STEP7: generate a high output voltage. BE220C USER MANUAL - 38 -...
  • Page 39: Adc Test

    ADCT0 to be 1.6 volt ( ADC readout as 4095, 12-bit unsigned ). Then run the ADC test by using test program as BE220C provided. Note that the maximum voltage of ADCTO should not exceed 1.6 volt.
  • Page 40: Adc Test Procedure

    2.7.3.2 ADC test procedure Select” My Device ”on BE220C STEP1: select “ Windows ” folder. STEP2: Run “ ADCTest ” program by double-clicking the icon. STEP3: BE220C USER MANUAL - 40 -...
  • Page 41 Click ” Start ” button to start testing ADC. STEP5: Adjust variable resistor (VR) and observe the changes in read-out of ADC Port STEP6: value. Click on “ Stop ” to finish the ADC test. BE220C USER MANUAL - 41 -...
  • Page 42: How To Installation The Be220C On Equipment

    How to installation the BE220C on equipment How to installation the BE220C on the users equipment, please refer to the following as illustrated. The user need to open a frame of window, the dimension is 180.8mm*115.7mm. STEP1: BE220C USER MANUAL...
  • Page 43 The Mounting Clip assembled into BE220C according to the direction of the arrow STEP2: following as illustrated. The Mounting Clip the screws into the user equipment to fixed BE220C. STEP3: BE220C USER MANUAL - 43 -...
  • Page 44 After assembly finished as illustrated. STEP4: (Front view) (Bottom view) BE220C USER MANUAL - 44 -...
  • Page 45 (Side view) BE220C USER MANUAL - 45 -...
  • Page 46: Be220C Programming Guide

    3 BE220C Programming Guide This chapter demonstrates connection from BE220C to PC and how to use software to control serial port, GPIO, ADC, and Backlight. This chapter consists of the following: Transfer File Between BE220C and PC Programming for BE220C...
  • Page 47: Transfer File Between Bega220C And Pc

    3.1 Transfer File Between BEGA220C and PC 3.1.1 Connect PC and BE220C User may setup the connection between desktop PC and BE220C by following steps: Install Microsoft ActiveSync 4.5 on desktop PC. You may download ActiveSync from: STEP 1. http://www.microsoft.com/downloads/details.aspx?familyid=9e641c34-6f7f-404d-a04b- dc09f8141141&displaylang=en&tm...
  • Page 48 Power on BE220C and connect BE220C and PC by USB cable. For the first connection, STEP 3. windows system on PC will request the USB device driver of BE220C. Please install USB driver by following procedures. (1). Select the advance item on below dialog and click “Next” button.
  • Page 49 (3). Click “Continue” button (4). Click “Finish” button. Now BE220C may connect to PC by ActiveSync. BE220C USER MANUAL - 49 -...
  • Page 50 (5). Select “No” and click “Next” button to cancel the synchronization. BE220C USER MANUAL - 50 -...
  • Page 51: Transfer Files

    After connecting PC and BE220C, below screen will display. The green cycle means the connection between PC and BE220C has been built. Execute ”Explore” program and move into the folder of BE220C, you can transfer files between PC and BE220C.
  • Page 52: Programming For Be220C

    After the patch, the eVC sp4 version is 4.00.1610.0. 3. Connect BE220C and Desktop PC by procedures in section 3.1.2 4. Install SDK of BE220C provided by Bolymin. The installation file may be found in the product CD. Here is the download URL: http://www.bolymin.com.tw/manual/BEGA220A_INX_SDK_101109_v094.msi...
  • Page 53: Create New Project

    Select your application type, setup the location and name of your project and. Please STEP 3: select “WCE MFC AppWizard(exe)” as application type. Project name Project location Application type Only select “ARMV4I” as CPU type BE220C USER MANUAL - 53 -...
  • Page 54 Select “Dialog based” and “language” setting. Click “Next” button. STEP 4: Click “Next” button. STEP 5: BE220C USER MANUAL - 54 -...
  • Page 55 Click “Next” button. STEP 6: Click “Finish” button. STEP 7: Now you can add your codes into this new project. STEP 8: You can get more development information from below MSDN website. http://msdn.microsoft.com/en-us/library/bb847963.aspx BE220C USER MANUAL - 55 -...
  • Page 56: Serial Port Function

    3.3 Serial Port Function 3.3.1 Overview There are 4 serial ports in BE220C. The following table lists the function of each serial port: Name Function Comment COM1: RS-422 or RS485 port Option COM3: Used by application program. 2 wire RS-232 COM4: Used by application program.
  • Page 57: Serial Port Control-Cserialport Class

    3.3.2 Serial Port Control-CSerialPort class Bolymin provided a class, CSerialPort, which implements basic control logic for serial port. Application may use this class by adding “CSerialPort.cpp” and “CSerialPort .h” into project. Customer may modify the source code of class CSerialPort to expand the serial port functions.
  • Page 58: Member Function Of Class Cserialport

    Handle of the window that will receive message. Parameters receive_msg User defined message value. Return value None Close current serial port. Close Function: BOOL Close ( Syntax None Parameters Return value TRUE: Close serial port successfully. FALSE: Cloas serial port fail. BE220C USER MANUAL - 58 -...
  • Page 59: How To Catch The Receive Message

    STEP 1: const UINT WM_CMD_OK = WM_USER+1; Declare a message processing function in the window that will process receive STEP 2: message. Create message mapping. STEP 3: Implement the receive message processing function. STEP 4: BE220C USER MANUAL - 59 -...
  • Page 60: Example Code

    3.3.3 Example Code Bolymin provide a test application and its source code for example. Below picture is the screen shot of the serial port test program: Select serial port and setup its parameter values. Open/Close selected serial port. Data will be sent by...
  • Page 61 Implement function used to process receive data from serial port ********************************************************************************************/ LRESULT CSerialPortDlg::OnCommRecv(WPARAM wParam, LPARAM lParam) CString tmp; char *buf; DWORD buflen; buf = (char *)wParam; // memory pointer of received data buflen = (DWORD)lParam; // received data length CEdit *pRecvStrEdit = (CEdit*)GetDlgItem(IDC_REC_DISP); BE220C USER MANUAL - 61 -...
  • Page 62 BOOL ret = m_pSerialPort->Open(strPort, baud, databit, stopbit, parity); if (ret == FALSE) MessageBox(_T("Open ") + strPort + _T(" Fail!")); return; m_ButOpen.EnableWindow(FALSE); /* Disable "open" button */ m_ButClose.EnableWindow(TRUE); /* Enable "close" button */ MessageBox(_T("Open ") + strPort + _T(" is OK!")); BE220C USER MANUAL - 62 -...
  • Page 63 BOOL status = m_pSerialPort->Send(m_cSendBuffer, len); if (!status) MessageBox(_T("Can't write string to COM"),_T("Error"),MB_OK); /******************************************************************************************* Destory function of serial port test dialog ********************************************************************************************/ void CSerialPortDlg::OnDestroy() CDialog::OnDestroy(); Close current serial port and delete m_pSerialPort->Close(); CSerialPort object. delete m_pSerialPort; delete m_cSendBuffer; BE220C USER MANUAL - 63 -...
  • Page 64: Gpio Control

    3.4 GPIO Control 3.4.1 How to Control GPIO for BE220C Bolymin provides a DLL file “pGPIO_220A.dll”,which is already included in your WinCE OS as a hidden file, to control the General Purpose Input and Ouput(GPIO) signal. In BEGA220A, there are 12 user defined GPIO. User may read current value of all GPIO of BEGA220A, change values of GP output signal and set the attribute of GPIO by functions in “pGPIO_220A.dll”.
  • Page 65: Gpio Control Function For Be220C

    3.4.2 GPIO Control Function for BE220C Get current status of specified GPIO. GetGPInput Function: BOOL GetGPInput ( Syntax int gpio_index gpio_index The index of specified GPIO. Refer to section 3.4.3 for Parameters the value definition. Return value TRUE: Current status of specified GPIO is HIGH.
  • Page 66: Definition Of Gpio Index

    User defined general purpose input/output. (KEY11) GIO_KEY12 User defined general purpose input/output. (KEY12) GO_BLIGHT_ENABLE Backlight control. Default value : HIGH. GO_LCD_POWER_ENABLE LCD power control. Default value : LOW. GO_AMP_SWITCH Amplifier switch. Default vale: LOW. GO_EN485 Reserved for internal use. BE220C USER MANUAL - 66 -...
  • Page 67: Adc Converter And Backlight Adjustment

    For A/D converter, there are 6-ch A/D converters with 12-bit resolution in BEGA220A. User may read the value from selected A/D converter channel by functions provided by Bolymin. Suggested hardware wiring about A/D converter may be found in user manual. Detail description of control functions of A/D converter may be found in section 3.5.2.
  • Page 68: Control Function Of A/D Converter

    Read A/D converted data from specified A/D converter channel. ReadADC Function: Int ReadADC( Syntax int adc_channel adc_channel The index of specified A/D converter channel. Parameters ADC_CHANNEL0~ADC_CHANNEL5 Return value A/D converted data from specified A/D converter channel. BE220C USER MANUAL - 68 -...
  • Page 69: Function About Backlight Adjustment

    Return value Current brightness value of backlight. (0~100) Set brightness value of backlight. SetBrightness Function: Int SetBrightness( Syntax int new_value new_value New brightness value of backlight. (0~100) Parameters 0: Turn OFF the backlight Return value Original brightness value of backlight. BE220C USER MANUAL - 69 -...
  • Page 70: Troubleshooting

    File-Property to view folder details. Repeat above steps for PocketMory1. Click Start-Control-Storage Manager to view partition info. Cross reference storage and property to know PocketMory and PocketMory1 allocation/free/used space on 2GB flash memory. BE220C USER MANUAL - 70 -...
  • Page 71 When this case occurred, you could first release the IP settings of LAN manually and the Wi-Fi connection would be available then. Step 1. Double click the LAN icon from WinCE desktop. Step 2. Click ‘Renew’ button to release the previous IP setting of LAN port. BE220C USER MANUAL - 71 -...
  • Page 72 <End of BE220C User Manual > BE220C USER MANUAL - 72 -...
  • Page 73 Copyright Copyright © 2010-2012 BOLYMIN, INC. All rights reserved. No part of the materials may be reproduced in any form or by any means without prior written consent of BOLYMIN, INC. Disclaimer THE CONTENTS OF THIS DOCUMENT ARE SUBJECT TO CHANGE WITHOUT NOTICE.

Table of Contents