CIRCUIT DESIGN MU-D1-R Скачать руководство пользователя страница 1

 

OG_MU-D1-R_v10e

 

OPERATION GUIDE 

 

 
 

 

Embedded low power radio modem 

             

MU-D1-R 

915MHz

 

 

 

 
 
 

 

 
 

 

 

Operation Guide 

 

Version 1.0 (Dec. 2010)

 

 
 
 
 
 
 
 

 
 
 

 
 

 
 
 
 

 
 

CIRCUIT DESIGN, INC. 

 
 

7557-1 Hotaka, Azumino

 

Nagano 399-8303, JAPAN

 

Tel: +81-(0)263-82-1024

 

Fax: +81-(0)263-82-1016 

 

E-mail: [email protected] 

Web site:

 

http://www.circuitdesign.jp 

 
 

 

 

Содержание MU-D1-R

Страница 1: ...low power radio modem MU D1 R 915MHz Operation Guide Version 1 0 Dec 2010 CIRCUIT DESIGN INC 7557 1 Hotaka Azumino Nagano 399 8303 JAPAN Tel 81 0 263 82 1024 Fax 81 0 263 82 1016 E mail info circuitdesign jp Web site http www circuitdesign jp ...

Страница 2: ... 1 Station types and link parameters 14 4 1 2 Basic data transmission 15 4 1 3 The link parameters 15 4 1 4 Conditions for establishing a link 16 4 2 System Configuration 17 4 2 1 Communication within a group 17 4 3 Modes 18 4 3 1 Command mode 18 4 3 2 Text mode 18 4 3 3 Binary mode 18 4 3 4 Mode setting 19 4 4 Resetting 20 4 5 Initializing 20 4 6 Power amplifier On Off setting 20 Chapter 5 Comman...

Страница 3: ...e level measurement 32 5 4 4 Test commands and test responses 33 5 4 4 1 CT Test data transmission 33 5 4 4 2 CP Packet test 33 5 4 5 Receive response 34 5 4 6 Error response 34 Chapter 6 How to Develop a Program 36 6 1 Outline of User Processes 36 6 2 The Operations of the MU D1 R 37 6 3 Command Transmission 38 6 3 1 Issuing commands 38 6 3 2 Issuing data transmission command 38 6 3 3 Issuing com...

Страница 4: ...MU D1 R 1 UART Universal Asynchronous Receiver Transmitter 2 The RS232C interface board with a D Sub 9 pin connector is available 1 1 1 Features FCC part15 247 compliant Command compatible with the MU 1 and MU 2 series Serial data can be transmitted with a simple system of commands Offers a wide communication range with stable operation The true diversity receiving system achieves stable communica...

Страница 5: ...D VCC GND RF Chip select Port RXD TXD RESET Port Port Port Ports RXD Port Note SAW Surface Acoustic Wave λ 4 Antenna Port Port DVCC for Digital parts Regulator 3 8v for Power AMP RF IC IRQ TXEN CLK ANT_N ANT_P MISO TCXO Clock RF λ 4 Antenna RF SW RF SW RF Power AMP RF IC ANT_N ANT_P CLK 16MHz Regulator 2 5v for RFIC MISO IRQ TXEN SYSCLK MOSI MOSI SELECT SELECT Port Port 16MHz Ports RXB RX LED Port...

Страница 6: ...terface of the on board CPU RXD TXD CTS Port RTS Port Port User CPU With UART Peripheral DC 4 0v to 5 0v Regulator 4 0v to 5 0v DC Power Tx RX A RX B Indicator AntennaA MU D1 R TXD 1 RXD 2 RTS 3 CTS 4 MOD 5 INI 6 RST 7 NC 8 9 NC 10 RXB 11 TXL 12 RXA 13 VCC 14 GND A A A A B B B B AntennaB 1 3 2 Example 2 Controlling the MU D1 R via RS232C 1 Using the RS232 port of your computer you can develop a ne...

Страница 7: ...ange varies with the temperature conditions Storage temperature 25ºC to 70ºC No dew condensation Operating voltage 4 0 V to 5 0 V Absolute maximum rated voltage 5 5 v Consumption current PA ON TX 130 mA RX 58 mA PA OFF TX 55 mA RX 58 mA When the supply voltage is 5 v Number of EEPROM conversions 100 000 times Data storage time About 10 years External dimensions 36 mm 26 mm 8 mm W D H Not including...

Страница 8: ...Ω 47kΩ Vcc CPU Port Terminal 2 RXD I The serial data receive terminal 470Ω 47kΩ Vcc CPU Port Terminal 3 RTS O The hardware flow control signal output terminal If the internal status is not busy the status is Low and data can be received via the RXD terminal If the internal status is busy the status is High and data cannot be received 470Ω 47kΩ Vcc CPU Port Terminal 4 CTS I The hardware flow contro...

Страница 9: ... current is within 1 mA In addition add a 470 pF multilayer ceramic capacitor in parallel with the LED 1kΩ 47kΩ Vcc CPU Port Terminal 11 TXL TX LED O The terminal for the transmission monitor LED On when data is transmitted The signal line includes an internal 1 kΩ resistor With external resistors ensure that the LED current is within 1 mA In addition add a 470 pF multilayer ceramic capacitor in p...

Страница 10: ... the channel following CH with 2 ASCII hexadecimal characters Control command CH 0F CRLF Control response CH 0F CRLF Default channel MU D1 R 915 MHz Channel Frequency Channel Frequency Dec Hex MHz Dec Hex MHz 1 01 905 5 11 0B 915 5 2 02 906 5 12 0C 916 5 3 03 907 5 13 0D 917 5 4 04 908 5 14 0E 918 5 5 05 909 5 15 0F 919 5 6 06 910 5 16 10 920 5 7 07 911 5 17 11 921 5 8 08 912 5 18 12 922 5 9 09 91...

Страница 11: ...OG_MU D1 R_v10e Circuit Design Inc 11 OPERATION GUIDE 2 4 1 External dimensions 2 4 2 Diagram of dimensions for hole positions Top view 2 4 Dimensional Drawing ...

Страница 12: ...ntenna below 4 If the MU D1 R power supply line is used jointly with the power supply lines of other circuits in the system such as the CPU it may cause malfunctions and the unit may not perform properly For the power supply of the MU D1 R always use a separate line from the system power circuit and install bypass capacitors at the receiving point The bypass capacitors should be an electrolytic ca...

Страница 13: ...nnas that substitute the ground as one end of a dipole antenna For this reason the ground plays a very important role Although the main unit of the MU D1 R has the function of a ground in order to exploit its performance fully connect it to the largest possible ground pattern when mounting the MU D1 R on your circuit board The antenna A and B should be kept apart as much as possible If the antenna...

Страница 14: ...rget station The station that receives data The target station outputs the received data to the user controller 2 The link parameter In order to establish communication between the radio stations it is necessary first to set the link parameters UI User ID An ID given to the MU D1 R user for identification of the user If all the equipment within the user system is not set to the same User ID no lin...

Страница 15: ...s use the Group ID for identification The User ID setting command is UI User ID password The product default User ID is 0000 and this can be used as it is when no particular User ID is required However we recommend that you set a User ID to prevent radio interference within a given area If you require a User ID please contact Circuit Design Inc The 16 User IDs listed in the explanation of User ID ...

Страница 16: ...ink is established for communications when the following conditions are met simultaneously 1 There are no errors in the received packet 2 The User ID and Group ID match 3 The Equipment ID specified as the Destination ID and the Equipment ID of the target station match 4 The channel used is the same ...

Страница 17: ...ID for transmitting it is possible to communicate with another group Broadcast communication If the Destination ID is specified as 00h at the source station and data is transmitted all target stations will receive the data at the same time irrespective of the Equipment ID 4 2 System Configuration Group1 1 N system Same area Group2 1 N system Group3 1 N system UI 0055 GI 01 EI 02 UI 0055 GI 01 EI 0...

Страница 18: ...eives data since only correctly received data is output to the user application as a data receive it is processed on the user side properly 4 3 2 Text mode for testing This mode is used to check operation using RS232C communication software HyperTerminal and the like on a PC Text data can be input and output directly This mode is convenient for transmitting and receiving characters entered using a...

Страница 19: ... W the MU D1 R cannot be set to the command mode without initializing it To initialize the MU D1 R set the INI terminal to Low and turn on the power and after turning off the power briefly set the INI terminal to High and turn on the power again 3 By setting the MODE terminal to High level the MU D1 R can be set to the command mode whatever the setting in the MU D1 R mode register irrespective of ...

Страница 20: ... and after setting to the INI terminal to open turn it on again 2 Issue the initialize command IZ After issuing it always issue the software reset command SR After initialization the main parameter values default values are as follows For details of the default values refer to the relevant command in the manual 1 Link parameters User ID UI 0000 Group ID GI 00 Equipment ID EI 01 Destination ID DI 0...

Страница 21: ...ta transmit response Control response Monitor response Test response Errorresponse Datatransmitcommand Source station Target station Monitorcommand ControlCommand Commandresponse 1 Receiveresponse Receive Commands Responses Testcommand Datatransmit command1 The command response is a command receipt response corresponding to the issued command Command issued Command responses Data transmit command ...

Страница 22: ...1 R Example Change CH to 05 05h Controlcommand Controlresponse Source station side CH05 CH 05 Changeto05 05h ch Source station User controller 3 Monitor command and monitor response Commands and responses for performing the various monitoring functions Example Source station side Source station User controller Check the RSSI level RA 50 RA Monitorcommand Monitorresponse 4 Test command and test res...

Страница 23: ... type Command name Command format Control response format Command response Reference page User ID setting UI XXXX XXXX UI XXXX Group ID setting GI XX GI XX Equipment ID setting EI XX EI XX Destination ID setting DI XX DI XX Radio link related setting and acquisition commands Channel setting CH XX CH XX UART baud rate setting BR ww BR ww UART parity setting PB ww PB ww UART parameter setting comman...

Страница 24: ... processing result is output from the source station as a receive response The content of the receive response depends on the command issued For details refer to the explanation of the relevant command 5 2 7 Error response A response returned if there are errors in the format of the transmit command control command and so on By specifying the option W as continuation of a command command values ca...

Страница 25: ...d In particular note that if the UART related parameters are changed communication will not be possible unless the UART parameters on the control side are also changed 2 The maximum number of EEPROM conversions is 100 000 Do not design a program which needs to be rewritten repeatedly 3 Do not issue other commands during conversion of the EEPROM ...

Страница 26: ... R DT 06 abc123 CRLF 40 44 54 30 36 61 62 63 31 32 33 0D 0A Data transmission response basic format Prefix command name value terminator Prefix 2Ah a code that indicates the start of the response string Command name The ASCII characters DT Value The size of data received with the DT command Data transmit response code 255 byte data transmission Transmit response character string Hexadecimal code a...

Страница 27: ...0h to FFh The data is sent to the target station set in the Destination ID DI Format DT ss DD D CRLF ss Shows the data size in 2 hexadecimal digits Value 00h to FFh DD D D expresses 1 byte data Value 00h to FFh amount of data maximum 255 bytes Example Transmit the 10 bytes of data 0Ah 0123ABC to the target station set in the Destination ID The target station Equipment ID 01h The source station Equ...

Страница 28: ...ually returned from the MU D1 R CH 0D CRLF 2A 43 48 3D 30 44 0D 0A The command parameter is applied immediately after the command to change it is issued In particular note that if the UART related parameters are changed communication will not be possible unless the UART parameters on the control side are also changed 5 4 2 1 BR UART baud rate setting Sets the UART baud rate The change of setting i...

Страница 29: ...34 CRLF Control response EI 34 CRLF 5 4 2 5 GI Group ID setting Sets the Group ID Refer also to the explanation of the User ID There are 256 Group IDs Maintain these IDs for use as identification numbers when building other user systems Default 00h Value 00h FFh Example Change the Group ID to 34h Control command GI 34 CRLF Control response GI 34 CRLF 5 4 2 6 IZ Initialize Returns the MU D1 R to th...

Страница 30: ...o High or Low Default 10 High RF power approx 8 mW Value 10 High RF power 01 Low RF power Example Set the RF power to High Control command PW 10 CRLF Control response PW 10 CRLF The power amplifier will not be automatically turned off when the RF power is lowered while the power amplifier is ON When switching the RF power make sure to check the power amplifier setting 5 4 2 11 RM Response display ...

Страница 31: ...alculate the setting value with 0 5 s per 1 count Default 00h No limit for input time Value 00h FFh Example Set waiting time to 0Ah 10 x 0 5 s 5 s Control command TB 0A CRLF Control response TC 0A CRLF 5 4 2 17 UI User ID setting User IDs are IDs about 30 000 that are meant to prevent data interference with other systems within a given area and if all the equipment within the same user system does...

Страница 32: ...quired is minus Format 1 RA CRLF Details Format RA CRLF Range of the hexadecimal value that indicates the RSSI absolute value 00h to FFh Example Measure the RSSI absolute value of the current channel Monitor command RA CRLF Monitor response When RM CD RA 63 65 CRLF 63h 99 RSSI absolute value of the antenna A 65h 101 RSSI absolute value of the antenna B When RM TX RA 63 99dBm 65 101dBm CRLF 5 4 3 2...

Страница 33: ... response CT OF CRLF Example 3 Transmit data for 60 seconds Test command CT 06 CRLF Test response CT ON CRLF Data receive DR 00 Sourcestation5Fstatus Issuethetestcommand CT06CRLF Test response CT ONCRLF Status ofall target stations User controller User controller Target station Source station Transmit test data Transmit test data If theDestinationIDmatches data receiveis outputforspecified time To...

Страница 34: ...ode of the type shown below is sent in response These error codes are required during product development but you should ensure that errors do not occur with your product It is possible to change the display format by issuing the response display mode setting command RM TX or RM CD In the default settings only error codes are displayed Format Prefix response name value terminator Prefix 2Ah a code...

Страница 35: ...ommand 10 EI command format error The EI command format is wrong 11 TC command format error The TC command format is wrong 12 TB command format error The TB command format is wrong 13 Command input time exceeds limit The time limit for inputting the command was exceeded 14 15 CT command format error The CT command format is wrong 16 17 UI command error Use a 4 digit Hex character for the UI comman...

Страница 36: ... if there are no frame errors and the Link IDs match User controller Radio frame structure User controller Send data Link parameter settings Receive data Link parameter settings Response processing Response processing Note Set the same UI and GI for all equipment in the user system group UI User ID GI Group ID EI Equipment ID DI Destination ID Sync Synchronized signal FCS Frame check sequence Targ...

Страница 37: ...ary of the MU D1 R are switched as follows a Switching between the command mode and binary mode To switch from the command mode to the binary mode issue the MD BI command then set the MODE terminal to Low To switch from the binary mode to the command mode set the MODE terminal to High b Switching between the command mode and text mode To switch from the command mode to the text mode issue the MD T...

Страница 38: ...h the 5 byte transmission data 45 Make the command string DT 05 45 CRLF First obtain the 2 digit hexadecimal value for the number of bytes of the transmission data 45 and enter the DT command data size component in ASCII characters The response is DT 05 CRLF The MU D1 R can send data with a size of 255 bytes or less at one time although internally it has a 255 byte double buffer structure In addit...

Страница 39: ...CRLF Preparation 1 Create a transmit command string Example EI33 CRLF CH03 CRLF DI05 CRLF 2 Set the number of the command string 3 Enable issuing of the command Yes No Yes No Check the response to the previous command and set the flag Command strings transmitted in order Are there any remaining command strings Can a command be issued EI33 CRLF 6 3 4 Issuing commands continuously when ignoring the ...

Страница 40: ... a 2 character response BR CH CP CT DI DT EI ER GI IZ MD RA PB RM SB SR TB TC VR Example Command CH 1A CRLF Response CH 1A CRLF The value 1A consists of 2 ASCII characters that express a hexadecimal number 2 4 character response The response parameter is a 4 character response UI Example Command UI 800F xxxx CRLF Response UI 800F CRLF The value 800F consists of 4 ASCII characters that express a he...

Страница 41: ...s and receives and make a comparative judgement It is convenient to return the result of comparison as an integer of the response or receive position on the table and for the value to diverge to the processing routine Arrange the responses and receives in the table divided into groups by type Example array BR CH CT DI DR DT EI ER GI MD PB RA RM SB TC TB UI VR Response and receive values are ASCII ...

Страница 42: ...OG_MU D1 R_v10e Circuit Design Inc 42 OPERATION GUIDE ...

Страница 43: ...om the unit itself and from peripheral equipment and the signal level from the source station To measure the signal level from the target station it is possible to issue a command requesting continuous issue of data CT xx at the target station 6 5 2 Packet test When transmitting data packets with the CP command the data packet is returned from the target station wtihout change Using this it is pos...

Страница 44: ...rames the MU D1 R outputs only frames that are received correctly and discards those frames that experience errors There is no response issued for dropped frames When transmitting large volumes of data such as files it is performed using two way communication such as ARQ Automatic Repeat Request and it is necessary to provide measures against dropped frames caused by wireless errors Data frames in...

Страница 45: ...ode 2 Reset RST terminal 1 3 Initialize INI terminal 2 BI binary mode CD command mode TX text mode Command mode There are two ways to set the MU D1 R to the command mode as follows 1 If the MODE terminal is set to H the MU D1 R is set to the command mode irrespective of the setting in the MU D1 R mode register 2 If the MODE terminal is set to L when the power is turned on the MU D1 R starts in the...

Страница 46: ...al to L Use the command W option to fix the channel User ID Destination ID and so on in the EEPROM 3 Connection example These are examples of connections in which hardware flow control is used and not used Normally with the MU D1 R in order to prevent buffer overflow of the data buffer hardware flow control is fixed as the flow control for serial communication This also applies to the binary mode ...

Страница 47: ...arious settings using a dedicated board 2 Set the MODE terminal of the MU D1 R to L or H with the switch to switch between the command mode and binary mode Since the various setting commands of the MU D1 R are only a few bytes there is no particular need for a flow control line RXD TXD Open Command mode Equipment RS232 Transceiver AntennaA AntennaB MU D1 R TXD 1 RXD 2 RTS 3 CTS 4 MOD 5 INI 6 RST 7...

Страница 48: ...mand length A 5 VR SN SR IZ RA A 7 GI EI DI CH PB SB MD TC TB CT RI RM SI A 14 UI B Response length B 8 GI EI DI CH BR PB SB MD TC TB CT RI RM SR IZ SI B 10 UI B 11 RA B 15 SN Units are ms Br UART bit rate Commands can be issued Power ON Power supply VCC MU D1 R operation 100ms Period when issuing commands is prohibited when turning on power Period when commands is prohibited Chapter 7 Timing ...

Страница 49: ... response timing 23ms Issue the RA command RA response RA RA Command command response timing when w option is specified 65ms Issue command with w Response 60ms when CH w written in the EEPROM BR command command response timing 1ms Issue the BR command BR response BR BR Commands can be issued MU D1 R operation 200ms Period when commands is prohibited ...

Страница 50: ... tP tUser tR DT Data transmit response DR data receive DT tR tC tUser User program processing time tLink tLink Time to establish link Command time tC n 7 x 10000 br Radio transmission time tP n 0 2 15ms Data receive time tR n 8 x 10000 br Data transmit command time Data transmit response time tR 8 x 10000 br Data transmit command time tC N x 10000 br Source station Data transmit command DT Data tr...

Страница 51: ...S232C related parameters Baud rate 19 200 bps Data bits 8 bits Parity none Stop bit 1 Flow control RTS CTS hardware control Initialization using the RESET SW initializes all of the MU D1 R parameters so do not press it for any other reason than initialization Evaluation Start up HyperTerminal then set the communication parameters using the example at right for reference Refer to the Cautions for i...

Страница 52: ...evice must not be co located or operating in conjunction with any other antenna or transmitter This equipment has been tested and found to comply with the limits for a Class B digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio fr...

Страница 53: ...e connections may result in overheating and damage and must be avoided at all costs Ensure that the power supply has been switched off before attempting any wiring work The case is connected to the GND terminal of the internal circuit so do not make contact between the side of the power supply terminal and the case When batteries are used as the power source avoid short circuits recharging dismant...

Страница 54: ..._v010e Circuit Design Inc 54 Version Date Description Remark 0 9 Aug 2010 Preliminary 0 91 Oct 2010 Preliminary Timing charts updated 1 0 Dec 2010 Regulatory information External view and Evaluation method added ...

Отзывы: