Do you have a question about the BETA903A and is the answer not in the manual?
Questions and answers
Summary of Contents for Bolymin BETA903A
Page 1
BETA903A User Manual Features : ARM926EJ CPU 7” 800x480 TFT Host USB x 1 Device USB x 1 SD/MMC card port 2-wire RS232 x 2 8-wire RS232 x 1 GPIO x 8 Audio WinCE support BOLYMIN, INC. 13F-1, 20, TA-LONG RD., TAICHUNG CITY 403, TAIWAN, R.O.C.
Page 2
History of Version Version Contents Date Note New Version 2010/03/27 SPEC. BETA903A USER MANUAL - 2 -...
2.6. Install battery ..............26 2.7. Connect Power ..............27 2.8. BETA903A power status ............ 28 How to test on BETA903A........29 3.1. Serial Port test ..............30 3.1.1. Connect Serial Port to PC ................ 30 3.1.2. Serial port test ..................32 3.2.
Page 4
Data structure of GPS data............... 80 4.5.3. Example code................... 82 4.6. GPIO And Keypad Control ..........90 4.6.1. How to control GPIO of BETA903A ............90 4.6.2. GPIO control functions for BETA903A ..........91 4.6.3. Definition of GPIO index ................ 92 4.6.4.
1. General Information This chapter provides basic information of BETA903A module and consists of the following: 1.1 Introduction 1.2 Specifications 1.3 Mechanical specifications 1.4 Packing contents BETA903A USER MANUAL - 5 -...
BETA903A builds upon a Win CE operation system. With WinCE’s versatile and solid application support, designer may custom-designed application program with a short development timeframe. In terms of I/O of BETA903A, there are 8 customizable buttons, 3 RS-232, 1 host USB, 1 device USB, 4 sets of general-purpose I/O (GPIO).
Supports GSM for voice communication Push Buttons Supports 8 customized menu buttons (none system default) #1 Status of LED Indicator LED color Description Power on Orange Low power Green GPS transmitting signal Yellow GSM receiving signal BETA903A USER MANUAL - 7 -...
Page 8
Speaker For audio replay GSM/SIM Card slot SIM Card port Mount & holder Fix the module in a car GPS antenna Supports external GPS Antenna(One build-in GPS supported) Battery box Installs optional lithium battery BETA903A USER MANUAL - 8 -...
Page 9
Power input 4x photo-coupler input 4x photo-coupler output Serial I/ 2-wire RS232 x 2, 8-wire RS232 x 1 Host –USB External USB1.0 host for file access Connect to PC for data sync by using ActiveSync Device-USB BETA903A USER MANUAL - 9 -...
Page 11
Name Description GSM Antenna Connects to GSM SD Card port SD/MMC Card slot (up to 4GB max) Name Description Earphone slot Connects to stereo earphone BETA903A USER MANUAL - 11 -...
Accuracy of Time pulse Signal RMS 50 ns Max Navigation Update Rate 4 Hz Dynamics Operational Limits Velocity 515 m/s (1000 knots) All satellites at -130dB All satellites at -155dBm 50%, 24 hours static, -130dBm BETA903A USER MANUAL - 14 -...
Center Frequency 1575.42±1.023 MHz(When covered with a radome on LAN ground plane.) Gain at Zenith 18 dBi typ (for ground 32x8.7 mm) Output Impedance 50 ohm Output VSWR 2.0 typ. Operation Voltage 3.0 ±03 V BETA903A USER MANUAL - 15 -...
Two analog audio interfaces, one digital audio interface(DAI) Speech codec modes: Half Rate (ETS 06.20) Full Rate(ETS 06.10) Enhanced Full Rate(ETS 06.50/06.60/06.80) Audio features Adaptive Multi Rate(AMR) Hands free operation Echo cancellation Noise reduction BETA903A USER MANUAL - 16 -...
1.2.6. GSM antenna specifications Parameter Specifications Frequency Range 880~960 MHz and 1710~1990 MHz Impedance 50 ohm VSWR Gain 0 dBi (Max) Polarization Vertical Radiation pattern Near omni-directional in the horizontal plane BETA903A USER MANUAL - 17 -...
2.1. Install a sucker & mount Follow the sequence shown below, install BETA903A on the sucker & mount and adhere the set onto the front-window. Carefully choose an appropriate adhering spot such that driving safety is ensured. BETA903A USER MANUAL...
2.3. Install a SIM card Open the SIM Card cover as shown below, push left the SIM card holder, lever up and place in the SIM card into its fixed position. Place the cover into its original position. BETA903A USER MANUAL - 23 -...
As shown in the following photo, plug in the SD card. To remove a SD card, first make sure the SD is not in the middle of reading process, then push on the SD card to release it. BETA903A USER MANUAL - 24 -...
2.5. Install external GPS antenna BETA903A comes with a build-in GPS antenna. In case better reception is required, users may purchase GPS antenna with MMCX connector as appropriate and connect it the module as indicated. Stretch the antenna outside the car or outdoors with clear line of sight.
2.6. Install battery Turn off BETA903A before installing battery. First, unscrew the cover of battery box and remove the cover. Then install the battery connector into the socket as indicated, and place the battery as appropriate. Place the cover back and screw it up to complete the battery installation.
2.7. Connect Power The operating voltage of BETA903A ranges from 9 to 28 volt and no more than 1.5A current. Connect pin 1 and 13 to the positive contact of 12/24v car battery, and pin 2 and 14 to the negative.
When no (optional) battery is installed in BETA903A, the power is support by car battery – that is, car switch needs to be “on” position and power switch of BETA903A need to be on to boot up. If optional battery is applicable, simply power on BETA903A module to boot up using the battery power.
3. How to test on BETA903A This chapter provides a step guide to test I/O on BETA903A module and it is broken down into: 3.1 Serial port test 3.2 GSM test 3.3 GPS test 3.4 GPIO test 3.5 Keypad test...
3.1.1. Connect Serial Port to PC BETA903A supports two sets of 2-wire RS232 and one set of 8-wire RS232 for serial interface to a PC. set of 2-wire RS232 (Debug Port) - Via a RS-232 serial cable, connect the 1 set to COM port of PC.
Page 31
RS-232 (Debug Port) RS-232 (COM3) (COM6) Pin No Pin Name Pin No Pin Name Pin No Pin Name Pin No Pin Name DCD5T RXD1T RXD3T RXD5T TXD1T TXD3T TXD5T DTR5T DSR5T RTS5T CTS5T RI5T BETA903A USER MANUAL - 31 -...
3.1.2. Serial port test Upon completion of serial connection of BETA903A to PC, users may use hyper-terminal (or other terminal emulator) to diagnose the communication link. Here is the step guide to install hyper-terminal at PC end. STEP1: Run the hyper-terminal on PC, then enter BETA903A, click on OK.
Page 33
STEP3: A “COMx Properties” window pops up, make sure the “bits per second” (or baud rate) and “flow control” settings match with those on BETA903A. A typical baud rate of BETA903A ranges from 9600 to 115200 and use “None” for flow control. Click on Apply, then OK.
Page 34
BETA903A set up: STEP1: After booting up BETA903A, on Windows CE desktop, click on ”My Device” STEP2: Select “Windows” folder STEP3: Run SerialPortTest” program BETA903A USER MANUAL - 34 -...
Page 35
STEP4: A ”SerialPortTest” running screen. STEP5: Please make sure the baud rate setting on PC and BETA903A are identical with a typical range of 9600 to 115200.then clock on ”Open Port” to connect to PC. Serial port select BaudRate select Open port STEP6: Press ”OK”...
Page 36
STEP7: Enter some trial text message on the “TX” box, then click on “Send Tx” . STEP8: If everything goes fine, user will see a receiving message as the one transmitted. STEP9: Enter text at PC end, those text will be echoed in “Rx” box at BETA903A. BETA903A USER MANUAL...
3.2. GSM test Test procedure: STEP1: On desktop of Windows CE, click on ”My Device” STEP2: Select ”Windows” folder BETA903A USER MANUAL - 37 -...
Page 38
Dial out phone no. STEP5: Before dialing out, enter the phone number in the “Phone number” box, tehn click on “Dial” to make a call. Click on ”Disconnect” to hang up. Phone number Dial Disconnect BETA903A USER MANUAL - 38 -...
Page 39
STEP6: BETA903A will pop up a screen show a ”RING” at status bar when an incoming call occurs. Click on “Connect” to pick up the phone. Click on “Disconnect” to hang up. Disconnect Connect BETA903A USER MANUAL - 39 -...
3.3. GPS test Test Procedure: STEP1: On desktop of Windown CE, click on “My Device” STEP2: Click on “Windows” folder BETA903A USER MANUAL - 40 -...
Page 41
STEP3: Run ”pGPSTest” program STEP4: A ”pGPSTest” running screen STEP5: Click on ”Open GPS” to test GPS connectivity. BETA903A USER MANUAL - 41 -...
Page 42
STEP6: If GPS satellite receiving is valid, the program will show as follows: Data got from SNR(Signal-Noise Ratio) of GPS module. Satellite Vehicles. SV used to fix position will be marked as blue. STEP7: Click on “Close GPS” to terminate GPS connection BETA903A USER MANUAL - 42 -...
GPIO test 3.4.1. Recommended interfacing circuit to GPIO BETA903A supports 4 sets of photo-coupler inputs and 4 sets of photo-coupler outputs for general purpose inputs/outputs. Those I/Os are useful to read out signals and access control devices. Input circuit examples: Shunt IN1 pin and GND with a switch or sensor, and connect IN1 to external voltage with current-limiting resistor, Rext.
Page 44
On the other hand, Device will be turned off if GO_POUT1 is set to high. BETA903A Note: The voltage and current value of OUT1 pin depends upon VIO and Rex, if any. Use caution to keep IIO(min current) to 5mA and IIO(max) to 14mA as rated. BETA903A USER MANUAL - 44 -...
3.4.2. GPIO test BETA903A provides a build-in GPIO test program. Simply follows the recommended GPIO circuit as illustrated on Chapter 3.4.1, then start using this test program to validate the GPIO ports. Test Procedure STEP1: On desktop of Windows CE, click on ”My Device”...
Page 46
STEP3: Run ”GPIO Test_903A” program STEP4: A ”GPIO Test_903A” running screen OUTPUT test items INPUT test items BETA903A USER MANUAL - 46 -...
Page 47
STEP5: PIN1 will be low (red colored) if the switch shunted on IN1 and IN1_GND is open. PIN1 will be high (green colored) if switch is short. STEP6: OUT1 and OUT1_GND will only be active when POUT1 is checked as highlighted ; Inactive if otherwise. BETA903A USER MANUAL - 47 -...
3.5. Keypad Test BETA903A supports 8 custom-defined keypads, usu. defined as menu buttons. Test Procedure: STEP1: On desktop of Windows CE, click on ”My Device” BETA903A USER MANUAL - 48 -...
Page 49
STEP2: Select “Windows” folder STEP3: Run ”KeyPadTest” program BETA903A USER MANUAL - 49 -...
Page 50
STEP4: A ”KeyPadTest” running screen. Keypad Signal Keypad Status Description STEP5: Keypad test program will indicate green light or high level when keypad is pressed;red light or low level if otherwise. BETA903A USER MANUAL - 50 -...
Microsoft Embedded Visual C++ 4.0. Sample program demonstrates how to control GPS , GSM , GPIO, Keypad, and Serial Port through software control. 4.1 Transfer File Between BETA903A And PC 4.2 Programming For BETA903A 4.3 Serial Port Function 4.4 GSM Control...
File Between BETA903A And PC 4.1.1. Connect PC and BETA903A Here is a simple 3 steps to establish a connection between desktop PC and BETA903A : STEP 1. Install Microsoft ActiveSync 4.5 on desktop PC. You may download the ActiveSync program from here: http://www.microsoft.com/downloads/details.aspx?familyid=9e641c34-6f7f-404d-a04b-dc...
Page 53
STEP 3. Connect BETA903A to PC through a USB cable, then power on BETA903A. For the first-time connection, windows system on PC will request for the USB device driver of BETA903A. Please install USB driver as follows: (1). Select the advance item on below dialog and click “Next” button.
Page 54
(3). Click “Continue” button (4). Click “Finish” button. Now BETA903A will connect to PC by ActiveSync. BETA903A USER MANUAL - 54 -...
Page 55
(5). Select “No” and click “Next” button to cancel the synchronization. BETA903A USER MANUAL - 55 -...
Once the USB connection is established, your ActiveSync application will show a “connected” status. The green circle means the connection between PC and BETA903A is done sucessfully. Run ”Explore” program and browse into the folder of BETA903A. You can easily transfer files between PC and BETA903A...
7-FA75AE960856&displayLang=en. 2. Connect BETA903A and Desktop PC by procedures in section 4.1. 3. Install SDK of BETA903A provided by Bolymin. The installation file could be found in the product CD. 4. The platform setting of embedded Visual C++: Following pictures show the necessary setting of eVC 4.0::...
In this section, we will show you how to create a new project in eVC 4.0. You may skip this section if you are already familiar with WinCE development environment. You could create a new project for your application as follows: STEP 1: Execute eVC 4.0. STEP 2: Select “File”-“New…: function BETA903A USER MANUAL - 58 -...
Page 59
STEP 3: Select your application type, set up the location and name of your project and. Please select “WCE MFC AppWizard(exe)” as application type. Project name Project location Application type Only select “ARMV4I” as CPU type STEP 4: Select “Dialog based” and language setting. Click “Next” button. BETA903A USER MANUAL - 59 -...
Page 61
STEP 7: Click “Finish” button. STEP 8: Now you can add your codes into this new project. For learn more about WinCE development environment, please explore the MSDN website. http://msdn.microsoft.com/en-us/library/bb847963.aspx BETA903A USER MANUAL - 61 -...
4.3. Serial Port Function 4.3.1. Overview BETA903A supports 5 serial ports. And through these serial port, designer may control GSM, GPS and internal debug port. Below table lists the function of each serial port: Name Function Comment COM1: GSM control port Detail information could be found in section 4.4...
4.3.2. Serial port control - CSerialPort class Bolymin provided a class, CSerialPort, which implements basic control logic for serial port. Application could use this class by adding “CSerialPort.cpp” and “CSerialPort .h” into project. Customer could modify the source code of class CSerialPort to expand the serial port functions.
Page 64
User need to call this function to set the receiving message value and the window that will receive message. void SetCommMsg( HWND win_handle, Syntax UINT receive_msg win_handle Handle of the window that will receive message. Parameters receive_msg User defined message value. Return value None BETA903A USER MANUAL - 64 -...
Page 65
Close Function: Close current serial port. Syntax BOOL Close ( ); Parameters None TRUE: Close serial port successfully. Return value FALSE: Cloas serial port fail. BETA903A USER MANUAL - 65 -...
Page 66
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 message. STEP 3: Create message mapping. STEP 4: Implement the receive message processing function. BETA903A USER MANUAL - 66 -...
4.3.3. Example code Bolymin provides a test application and its source code for example. The following picture is the screen shot of the serial port test program: Clear received data Open/Close selected serial port. Data will be sent by Received data...
Page 68
*buf; DWORD buflen; buf = (char *)wParam; // memory pointer of received data buflen = (DWORD)lParam; // received data length CEdit *pRecvStrEdit = (CEdit*)GetDlgItem(IDC_REC_DISP); for (int i = 0; i < buflen; i++, buf++) BETA903A USER MANUAL - 68 -...
Page 70
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 CSerialPort object. m_pSerialPort->Close(); delete m_pSerialPort; delete m_cSendBuffer; BETA903A USER MANUAL - 70 -...
GSM Control 4.4.1. Overview User application could communicate with GSM module of BETA903A by COM1 with the following settings: Baud rate = 57600, Data bit = 8, Stop bit = 1, No parity. After opening COM1, user could send AT command to control the GSM module. Here is some...
4.4.2. Example code Bolymin provide a simple application and its source code for example. The simple application demonstrates the operations of dial and answer a phone by GSM module. Below picture is the screen shot of the GSM application: Display response message from GSM module.
Page 73
= _T("Open COM error."); m_btnDial.EnableWindow(FALSE); /* Disable "Dial" button */ UpdateData(FALSE); Open COM1 to communicate with GSM module. return TRUE; Send “Echo off” command to GSM module. CString temp_str; // Echo off temp_str = _T("ATE0\r"); BETA903A USER MANUAL - 73 -...
Page 74
********************************************************************************************/ LRESULT CPGSMTestDlg::OnCommRecv(WPARAM wParam, LPARAM lParam) char *buf; DWORD buflen; CString tmp; buf = (char *)wParam; buflen = (DWORD)lParam; m_strStatus = _T(""); for (DWORD i = 0; i < buflen; i++, buf++) if (*buf>=0x20) BETA903A USER MANUAL - 74 -...
4.5. GPS Message Translator The GPS module of BETA903A will send RMC, VTG, GGA, GSA, GASV and GLL messages of NMEA-0183 format from serial port COM4 with following settings: Baud rate = 9600, Data bit = 8, Stop bit = 1, No parity.
VTG data. Return value None GetGSAData Function: Get data of the last translated GSA message.. void GetGSAData ( Syntax stGSAData *data_ptr Parameters data_ptr memory pointer of GSA data. Return value None BETA903A USER MANUAL - 78 -...
Page 79
GGA data. Return value None GetRMCData Function: Get data of the last translated RMC message.. void GetRMCData ( Syntax stRMCData *data_ptr Parameters data_ptr memory pointer of RMC data. Return value None BETA903A USER MANUAL - 79 -...
Data name Description char cUTCTime[10] UTC time of fix by hhmmss.ss. double dLatitude Latitude of fix. char cLatitudeNS N or S of Latitude. double dLongitude Longitude of fix. char cLongitudeEW E or W of longitude BETA903A USER MANUAL - 80 -...
Page 81
Data of Satellites in view. Data structure: stSVData Data type Data name Description iPRN SV PRN number. iElevInDegree Elevation in degrees. 90 maximum. iAziInDegree Azimuth degrees from true north, 000~359. iSNR Signal-Noise Ratio, 00~99 db BETA903A USER MANUAL - 81 -...
4.5.3. Example code Bolymin provide a simple program and its source code for example. The program could receive GPS data and display. Below picture is the screen shot of the GPS test program: Data got from SNR(Signal-Noise Ratio) of GPS module.
Page 84
Open COM4 to communicate with GPS module. else // OpenGPS if (m_pSerialPort->Open(_T("COM4:"), 9600, 8, ONESTOPBIT, NOPARITY)) m_strGPSMsg += _T("Open GPS OK!\r\n"); SetTimer(1, 1000, NULL); m_btnOpenGPS.SetWindowText(_T("CloseGPS")); m_bOpenGPS = !m_bOpenGPS; else m_strGPSMsg += _T("Open GPS Fail!\r\n"); UpdateData(FALSE); BETA903A USER MANUAL - 84 -...
Page 85
(i = 0; i < buflen; i++, buf++) tmp.Format(_T("%c"), *buf); m_strGPSMsg += tmp; UpdateData(FALSE); // Catch a complete GPS message. Start with '$', end by '*', ignore checksum. i = 0; while (buflen>0) if (m_iCurBufIndex==0) // message start, find '$' BETA903A USER MANUAL - 85 -...
Page 86
CPGPSTestDlg::OnTimer(UINT nIDEvent) UpdateScreen(); CDialog::OnTimer(nIDEvent); /******************************************************************************************* Implement function used to display current GPS data ********************************************************************************************/ void CPGPSTestDlg::UpdateScreen() stRMCData data_RMC; Variables used to get current GPS data. stGSAData data_GSA; stGGAData data_GGA; stVTGData data_VTG; stGSVData data_GSV; BETA903A USER MANUAL - 86 -...
Page 87
= (int)data_RMC.dLongitude-tmp_int[0]*100; tmp_double = (data_RMC.dLongitude-tmp_int[0]*100-tmp_int[1])*60; m_strLongitude.Format(_T("%c %dd %d' %.1f''"), data_RMC.cLongitudeEW, tmp_int[0], tmp_int[1], tmp_double); Get current GSA data m_pGPSTranslator->GetGSAData(&data_GSA); if (data_GSA.iModeValue == 2) m_strAcquire = _T("2D"); else if (data_GSA.iModeValue == 3) m_strAcquire = _T("3D"); else BETA903A USER MANUAL - 87 -...
Page 88
ScreenToClient(&rect); InvalidateRect(&rect); else m_pstrSV_PRN[i]->Format(_T("%c"), '-'); UpdateData(FALSE); // Check if the input SV was used for position fix. BOOL IsFixedSV(int sv_prn, stGSAData *gsa_data) for (int i=0; i<12; i++) if (gsa_data->iPRN[i] == sv_prn) return TRUE; BETA903A USER MANUAL - 88 -...
How to control GPIO of BETA903A Bolymin provides a DLL file “pGPIO_903A.dll” to control the General Purpose Input and Ouput(GPIO) signal. User could read current value of all GPIO of BETA903A and change values of GP output signal by functions in “pGPIO_903A.dll”.
4.6.2. GPIO control functions for BETA903A GetGPInput Function: Get current status of specified GPIO. BOOL GetGPInput ( Syntax int gpio_index gpio_index The index of specified GPIO. Refer to section 4.6.3 for Parameters the value definition. TRUE: Current status of specified GPIO is HIGH.
Earphone switch. Default value : HIGH. GO_EARPHONE_SWITCH Set LOW when earphone is used for GSM function. GO_GSM_MIC_SWITCH Reserved for internal use. Amplifier switch. Default vale: LOW. GO_AMP_SWITCH Set HIGH when amplifier is used for GSM function. BETA903A USER MANUAL - 92 -...
4.6.4. Keypad control The keypad of BETA903A supports 8 user-defined buttons. The buttons of keypad of BETA903A will map to F11~F18 of keyboard. To learn which button of keypad is pressed, you may catch WM_KEYDOWN or WM_KEYUP message in your program and add the process codes. Here is...
Page 94
STEP 3: Add process code into message processing function. BETA903A USER MANUAL - 94 -...
Page 95
< End of BETA903A User Manual > BETA903A USER MANUAL - 95 -...
Need help?
Do you have a question about the BETA903A and is the answer not in the manual?
Questions and answers