background image

 

 

BE220C USER MANUAL 

                                    - 41 - 

STEP4:

 ” ADCTest ” initial screen is as follows: 

 

 

 

STEP5: 

Click ” Start ” button to start testing ADC. 

 

 

 

STEP6:

 Adjust variable resistor (VR) and observe the changes in read-out of ADC Port 

value. Click on “ Stop ” to finish the ADC test.   

 

 

Summary of Contents for BE220C

Page 1: ...WEB SITE http www bolymin com tw TEL 886 4 2565 8689 FAX 886 4 2565 8698 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...

Page 2: ...FCC Radiation Exposure Statement This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment This equipment should be installed and operated with minimum dista...

Page 3: ...BE220C USER MANUAL 3 History of Version Version Contents Date Note 01 Original version 2013 12 18 Spec...

Page 4: ...36 2 7 3 ADC test 39 2 7 3 1 ADC test set up 39 2 7 3 2 ADC test procedure 40 2 8 HOW TO INSTALLATION THE BE220C ON EQUIPMENT 42 3 BE220C PROGRAMMING GUIDE 46 3 1 TRANSFER FILE BETWEEN BEGA220C AND PC...

Page 5: ...BE220C USER MANUAL 5 1 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...

Page 6: ...for the BE220C family Order Information Part No RS 485 RS 422 WLAN 20 PIN EXT BUS IOX12 ADCX6 BE220C BE220C1 BE220C2 BE220C3 BE220C4 BE220C5 BE220C6 BE220C7 1 1 1 Packing Content A complete package sh...

Page 7: ...on on BE220C No Name Description 2 Power socket Use 12V 3A power with a spec of DC Plug_in 2 5 socket 3 ADC_GPIO Bus GPIOx12 ADCx6 4 Communication Bus Device USB 2 0 RS 232x3 RS485 422x1 Optional 5 Ho...

Page 8: ...BE220C USER MANUAL 8 No Name Description 7 Wi Fi Antenna socket Connect Wi Fi antenna 8 SD Card socket Connect SD and MMC Card 4GB max 7 8...

Page 9: ...BE220C USER MANUAL 9 1 2 Specifications 1 2 1 System Functional Blocks...

Page 10: ...1x USB device USB2 0 for Active Sync only 1XUSB host USB1 1 GPIO Support programmable 12 x IO sharing with Key board interface ADC Support 6 x channel 12 bit high speed A D converter LAN High perform...

Page 11: ...BE220C USER MANUAL 11 1 3 Mechanical Specifications 1 3 1 Module Specifications...

Page 12: ...vides 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 C...

Page 13: ...BE220C USER MANUAL 13 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...

Page 14: ...rated and eject card only when it s not at reading mode Note that there is write protection toggle switch on the card and make sure it s not write protected so data can be written into the card WinCE...

Page 15: ...BE220C USER MANUAL 15 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...

Page 16: ...USER MANUAL 16 2 4 Connect to LAN STEP1 Connect to LAN port as illustrated STEP2 Click on Start Setting Networking and Dial up connections to set up a network STEP3 Select DM9ISA1 to set up a LAN para...

Page 17: ...BE220C USER MANUAL 17 STEP4 Select static IP or DHCP IP as appropriate STEP5 Select Internet Explorer STEP6 Enter URL at the Address box...

Page 18: ...BE220C USER MANUAL 18 STEP7 Enter URL at the Address box...

Page 19: ...BE220C USER MANUAL 19 2 5 Connect Wi Fi STEP1 Screw up the Antenna on BE220C as illustrated STEP2 Click on the network icon as highlighted to enter the wireless setup...

Page 20: ...TEP3 Click on Wireless Information tab to set up wireless parameters STEP4 Click on Add New to add a new wireless connection STEP5 Set up SSID WEP IEEE802 1X Authentications parameters as appropriate...

Page 21: ...SSID as appropriate then click Connect to enable wireless connection of BE220C The connection status is shown right beneath the SSID selection box STEP7 Select IP Information tab and click on renew t...

Page 22: ...BE220C USER MANUAL 22 STEP9 Enter URL address in the Address box STEP10 then the browser will surf to the URL as specified...

Page 23: ...D Orange White 8 TXD1T Orange 28 RXD1T Orange Black 9 RTS1T Yellow 29 CTS1T Yellow Black 10 VBUS Green 30 GND Green Black 11 TXD2T Blue 31 RXD2T Blue Black 12 NC X 32 GND Red White Red Green 13 TXD3T...

Page 24: ...Connect Serial Port 1st set of RS 232 Debug Port for update only Connect 1st 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...

Page 25: ...S 232 to PC s COM port BE220C reserves COM3 port for the 2nd set of RS 232 and its signal level is at 12 v Pin Assignment of RS 232 RS 232 DB9 Female BE220C Pin No Pin Name Pin No Pin Name 1 DCD 2 TD...

Page 26: ...t 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 1 DCD 2 TD 11 TXD...

Page 27: ...time Please connect Pin 14 VDD2 to a voltage of 5 10 voltage 4 75 5 25v from external power and Pin 34 GND2 to ground RS 485 Option COM1 BE220C support one set of RS 485 serial interface and defaulte...

Page 28: ...n the hyper terminal program to test if receiving and sending function normally Here is the step guide PC set up STEP1 Run hyper terminal program under start program accessories communication then ent...

Page 29: ...down Bits per second to set up communication speed usu Ranges from 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...

Page 30: ...BE220C USER MANUAL 30 BE220C set up procedure STEP1 Select My Device on BE220C STEP2 Select Windows folder STEP3 Run SerialPortTest...

Page 31: ...riate Pull down at Baud Rate ranged between 9600 to 115200 and use the same value at both BE220C and PC end Then click on Open port to activate a serial connection STEP6 If everything goes right you w...

Page 32: ...STEP7 Enter text at Tx window and click on Send Tx button STEP8 At PC end you will see the same text entered echoed back STEP9 Enter some text at PC end and note an echo of the text will appear at RX...

Page 33: ...o 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 USB...

Page 34: ...to 8 2W speaker Connect speakers as illustrated to support audio playback 1st set of Speaker Pin Assignment of Speaker Speaker BE220C Pin No Pin Name Pin No Pin Name 1 3 DSPC1 2 23 DSPC2 2nd set of p...

Page 35: ...Orange 12 ADCT4 Blue Black 3 ADCT2 Brown Black 13 ADCT5 Purple 4 GND Orange Blac k 14 GND White 5 KEY1 Red 15 KEY6 Purple Black 6 KEY2 Yellow 16 KEY7 White Black 7 KEY3 Red Black 17 KEY8 Grey 8 KEY4...

Page 36: ...The typical signal length is around 10 to 15 cm and the rated voltage is as follows Item Symbol Min Typ Max Unit High Level Input Voltage VIH 2 3 3 6 V Low Level Input Voltage VIL 0 3 0 9 V High Leve...

Page 37: ...BE220C USER MANUAL 37 STEP3 Run GpioTest_220A STEP4 Here is the initial screen of GpioTest_220A and defaulted to test all keys as inputs STEP5 A green light at key stands for a high input signal...

Page 38: ...C USER MANUAL 38 STEP6 To test output pull down the Input and change the key to output STEP7 While key is defined as OUTPUT as step6 check on red circle to the left of key to generate a high output vo...

Page 39: ...ing connect ADCT0 port as illustrated Use a Vdd of 3 3 volt and voltage divider to limit maximum ADCT0 to be 1 6 volt ADC readout as 4095 12 bit unsigned Then run the ADC test by using test program as...

Page 40: ...BE220C USER MANUAL 40 2 7 3 2 ADC test procedure STEP1 Select My Device on BE220C STEP2 select Windows folder STEP3 Run ADCTest program by double clicking the icon...

Page 41: ...41 STEP4 ADCTest initial screen is as follows STEP5 Click Start button to start testing ADC STEP6 Adjust variable resistor VR and observe the changes in read out of ADC Port value Click on Stop to fi...

Page 42: ...8 How to installation the BE220C on equipment How to installation the BE220C on the users equipment please refer to the following as illustrated STEP1 The user need to open a frame of window the dimen...

Page 43: ...0C USER MANUAL 43 STEP2 The Mounting Clip assembled into BE220C according to the direction of the arrow following as illustrated STEP3 The Mounting Clip the screws into the user equipment to fixed BE2...

Page 44: ...BE220C USER MANUAL 44 STEP4 After assembly finished as illustrated Front view Bottom view...

Page 45: ...BE220C USER MANUAL 45 Side view...

Page 46: ...ion from BE220C to PC and how to use software to control serial port GPIO ADC and Backlight This chapter consists of the following 3 1 Transfer File Between BE220C and PC 3 2 Programming for BE220C 3...

Page 47: ...restart PC STEP 2 Connect desktop PC and BE220C by USB cable Below picture shows the hardware connection between desktop PC and BE220C for file transfer Please note that the USB cable should plug int...

Page 48: ...ver by following procedures 1 Select the advance item on below dialog and click Next button 2 Click Browse button and then select the directory which includes USB device driver file of BE220C Click Ne...

Page 49: ...BE220C USER MANUAL 49 3 Click Continue button 4 Click Finish button Now BE220C may connect to PC by ActiveSync...

Page 50: ...BE220C USER MANUAL 50 5 Select No and click Next button to cancel the synchronization...

Page 51: ...r 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 transf...

Page 52: ...4 for eVC 4 0 and here is the download URL http download microsoft com download a 7 3 a735c7fb dcbd 429f 9090 d09b3b15d3fa e vc4sp4 exe After the patch the eVC sp4 version is 4 00 1610 0 3 Connect BE2...

Page 53: ...t section directly You may create a new project for your application by following steps STEP 1 Execute eVC 4 0 sp4 STEP 2 Select File New function STEP 3 Select your application type setup the locatio...

Page 54: ...BE220C USER MANUAL 54 STEP 4 Select Dialog based and language setting Click Next button STEP 5 Click Next button...

Page 55: ...TEP 6 Click Next button STEP 7 Click Finish button STEP 8 Now you can add your codes into this new project You can get more development information from below MSDN website http msdn microsoft com en u...

Page 56: ...rts 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...

Page 57: ...of class CSerialPort The object of class CSerialPort will handle all data transfer and receive of opened serial port Once there is any data is received by the opened serial port CSerialPort object wi...

Page 58: ...il Send Function Send specified data by this serial port Syntax BOOL Send LPCVOID buf_ptr DWORD data_len Parameters buf_ptr Memory pointer of data will be sent data_len Length of data will be sent UNI...

Page 59: ...o catch the receive message STEP 1 Define a receive message in your code as below const UINT WM_CMD_OK WM_USER 1 STEP 2 Declare a message processing function in the window that will process receive me...

Page 60: ...CLICKED IDC_OPEN_COM OnOpenCom ON_BN_CLICKED IDC_CLOSE_COM OnCloseCom ON_BN_CLICKED IDC_SEND OnSend ON_BN_CLICKED IDC_CLEAR_SEND OnClearSend ON_BN_CLICKED IDC_CLEAR_REC OnClearRec ON_WM_DESTROY AFX_MS...

Page 61: ...m_ComboPort SetCurSel 0 Define searial port COM1 m_ComboStop SetCurSel 0 Define stop bit 1bit m_ButClose EnableWindow FALSE Close Button is disable m_strRecDisp _T m_cSendBuffer new char 60 UpdateDat...

Page 62: ...ion for OPEN button used to open selected serial port void CSerialPortDlg OnOpenCom UpdateData TRUE CString strPort PorTbl m_ComboPort GetCurSel DWORD baud BaudTbl m_ComboBaud GetCurSel DWORD databit...

Page 63: ...Dlg OnSend UpdateData TRUE int len m_strSendEdit GetLength for int i 0 i len i m_cSendBuffer i char m_strSendEdit GetAt i BOOL status m_pSerialPort Send m_cSendBuffer len if status MessageBox _T Can t...

Page 64: ...ction STEP 4 Execute GPIO control functions by the address got at STEP3 Below is a simple example code to use the GPIO control functions variable declaration HINSTANCE m_hModule BOOL m_pGetGPInput int...

Page 65: ...ue definition value New value of specified GP output TRUE Set specified GP output to HIGH FALSE Set specified GP output to LOW Return value None IsOutput Function Check if the specified GPIO is output...

Page 66: ...t KEY5 GIO_KEY6 User defined general purpose input output KEY6 GIO_KEY7 User defined general purpose input output KEY7 GIO_KEY8 User defined general purpose input output KEY8 GIO_KEY9 User defined gen...

Page 67: ...rol functions by GetProcAddress function STEP 4 Execute control functions about A D converter by the address got at STEP3 STEP 5 Call FreeLibrary function to free the reference of CtrlFunc_220A dll wh...

Page 68: ...DC Parameters None Return value TRUE Initial A D converter successfully FALSE Fail to initial A D converter ReadADC Function Read A D converted data from specified A D converter channel Syntax Int Rea...

Page 69: ...ght controller successfully FALSE Fail to initial backlight controller GetBrightness Function Get current brightness value of backlight Syntax int GetBrightness Parameters None Return value Current br...

Page 70: ...eboot A2 There are two folders available as non volatile memory which is partitioned from flash memory Note that on embedded system the whole OS is running on 64MB DDR2 SDRAM meaning most directories...

Page 71: ...then the Wi Fi connection would not be available How to fix this problem A3 When this case occurred you could first release the IP settings of LAN manually and the Wi Fi connection would be available...

Page 72: ...BE220C USER MANUAL 72 End of BE220C User Manual...

Page 73: ...OUT FURTHER NOTICE TO ANY PRODUCTS HERIN TO IMPROVE RELIABILITY FUNCTION OR DESIGN BOLYMIN INC DOES NOT ASSUME ANY LIABILITY ARISING OUT OF THE APPLICATION OR USE OF ANY PRODUCT OR CIRCUIT DESCRIBED H...

Reviews: