101-0549 Rabbit Semiconductor, 101-0549 Datasheet
![no-image](/images/no-image-200.jpg)
101-0549
Specifications of 101-0549
Related parts for 101-0549
101-0549 Summary of contents
Page 1
Smartcat (BL2100) C-Programmable Single-Board Computer with Ethernet and Operator Interface User’s Manual 019–0103_M ...
Page 2
Smartcat (BL2100) User’s Manual Part Number 019-0103 • ©2001–2010 Digi International Inc. • All rights reserved. Digi International reserves the right to make changes and improvements to its products without providing notice. Rabbit, RabbitCore, and Dynamic C are registered trademarks ...
Page 3
Chapter 1. Introduction 1.1 BL2100 Description..............................................................................................................................1 1.2 BL2100 Features...................................................................................................................................1 1.2.1 Connector Options ........................................................................................................................2 1.3 Optional Add-Ons.................................................................................................................................3 1.4 Development and Evaluation Tools......................................................................................................4 1.4.1 Tool Kit .........................................................................................................................................4 1.4.2 Software ........................................................................................................................................5 1.4.3 Online Documentation ..................................................................................................................5 1.5 CE Compliance .....................................................................................................................................6 1.5.1 Design Guidelines .........................................................................................................................7 ...
Page 4
Chapter 4. Software 4.1 Running Dynamic C........................................................................................................................... 35 4.1.1 Upgrading Dynamic C................................................................................................................ 37 4.1.2 Extras.......................................................................................................................................... 37 4.2 Sample Programs................................................................................................................................ 38 4.2.1 Digital I/O................................................................................................................................... 38 4.2.2 Serial Communication ................................................................................................................ 38 4.2.3 A/D Converter Inputs ................................................................................................................. 39 4.2.4 D/A Converter Outputs............................................................................................................... 39 ...
Page 5
C.7 Sample Programs ...............................................................................................................................90 C.8 LCD/Keypad Module Function Calls ................................................................................................92 C.8.1 LEDs...........................................................................................................................................92 C.8.2 LCD Display...............................................................................................................................93 C.8.3 Keypad......................................................................................................................................109 Appendix D. Plastic Enclosure D.1 Assembly Instructions......................................................................................................................114 D.2 Dimensions ......................................................................................................................................116 Appendix E. Demonstration Board E.1 Connecting Demonstration Board ....................................................................................................119 Index Schematics User’s Manual ...
Page 6
Smartcat (BL2100) ...
Page 7
The BL2100 is a high-performance, C-programmable single- board computer that offers built-in digital and analog I/O com- bined with Ethernet connectivity in a compact form factor. A ® Rabbit 2000 microprocessor operating at 22.1 MHz provides fast data processing. An ...
Page 8
Four BL2100 models are available. Their standard features are summarized in Table 1. Feature Microprocessor Static RAM Flash Memory RJ-45 Ethernet Connector, Filter Capacitors, and LEDs A/D Converter Inputs (- D/A Converter Outputs (0 V ...
Page 9
Optional Add-Ons • Plastic enclosure (can be wall-mounted or panel-mounted) with LCD/keypad module that comprises a 122 × 32 LCD graphic display, 7- key keypad, and seven LEDs. The plastic enclosure consists of a base and a cover for ...
Page 10
Development and Evaluation Tools 1.4.1 Tool Kit A Tool Kit contains the hardware essentials you will need to use your own BL2100 single- board computer. The items in the Tool Kit and their use are as follows. • BL2100 ...
Page 11
Software The BL2100 is programmed using version 7.06 or later of Rabbit’s Dynamic C. version is included on the Tool Kit CD-ROM II real-time operating system, point-to-point protocol (PPP), FAT file system, RabbitWeb, and other select libraries that were ...
Page 12
CE Compliance Equipment is generally divided into two classes. CLASS A Digital equipment meant for light industrial use Less restrictive emissions requirement: less than 40 dB µV (40 dB relative to 1 µV/m) or 300 µV/m ...
Page 13
... There are two versions of the LCD/keypad module that may be used with the BL2100: a plug-in version (Part No. 101-0465), and a remote panel-mounted version with bezel (Part No. 101-0502). The BL2100 with the LCD/keypad module plugged in may be regarded as a “maintenance unit” that conforms to the same CE standards as does the BL2100 alone, where the entire assembly is mounted inside an enclosure, and the enclosure is only opened to “ ...
Page 14
Smartcat (BL2100) ...
Page 15
Chapter 2 explains how to connect the programming cable and power supply to the BL2100. 2.1 BL2100 Connections 1. Remove the RabbitCore module from the BL2100 main board, and set the module aside. The module is removed to allow access ...
Page 16
Attach the BL2100 main board to the plastic enclosure base. Position the BL2100 main board over the plastic enclosure base as shown below in Figure 3. Attach the BL2100 to the base using the four 4-40 × ¼ screws ...
Page 17
Reconnect the RabbitCore module to headers J16 and J17 on the BL2100 main board it was removed from earlier as shown in Figure 4. Be careful to align the pins over the headers, and do not bend them as ...
Page 18
Connect the programming cable to download programs from your PC and to program and debug the BL2100. Connect the 10-pin connector of the programming cable to header J1 on the BL2100 PROG RabbitCore module. Ensure that the colored edge ...
Page 19
Connect the power supply. First, prepare the AC adapter for the country where it will be used by selecting the plug. The BL2100 Tool Kit presently includes Canada/Japan/U.S., Australia/N.Z., U.K., and European style plugs. Snap in the top of ...
Page 20
Installing Dynamic C If you have not yet installed Dynamic C version 7.06 (or a later version now by inserting the Dynamic your PC’s CD-ROM drive. The CD will auto-install unless you have disabled ...
Page 21
Starting Dynamic C Once the BL2100 is connected to your PC and to a power source, icon on your desktop or in your clicking on the Dynamic C If you are using a USB port to connect your computer ...
Page 22
If a program compiles and loads, but then loses target communication before you can begin debugging possible that your PC cannot handle the default debugging baud rate. Try lowering the debugging baud rate as follows. • Locate the ...
Page 23
Chapter 3 describes the principal subsystems for the BL2100. •Digital I/O •Serial Communication •A/D Converter Inputs •D/A Converter Outputs •Analog Reference Voltage Circuit •Memory •External Interrupts Figure 7 shows these Rabbit-based subsystems designed into the BL2100. User’s Manual 3. S ...
Page 24
BL2100 Pinouts The BL2100 pinouts are shown in Figure 8(a) and Figure 8(b). Figure 8(a). BL2100 Pinouts (screw-terminal headers) NOTE: Screw-terminal header J2 and the associated analog I/O are not available on the BL2110 and the BL2130. 18 Smartcat ...
Page 25
Headers and Screw Terminals Standard BL2100 models are equipped with two 1 × 12 screw-terminal strips (J8 and J14), and two 1 × 14 screw-terminal strips (J5 and J11). The BL2100 and BL2110 also have the RJ-45 Ethernet jack ...
Page 26
Digital I/O 3.2.1 Digital Inputs The BL2100 has 24 digital inputs, IN00–IN23, each of which is protected over a range of – +36 V. The inputs are factory-configured to be pulled but they ...
Page 27
Digital Outputs The BL2100 has 16 digital outputs, OUT00–OUT15, which can each sink or source up to 200 mA. Figure 11 shows a wiring diagram for using the digital outputs in a sinking or a souring configuration. All the ...
Page 28
GND returns according to the two banks of digital outputs. For the H bridge, which is shown in Figure 12, K1 and K2 should be the same if two digital out- puts used for ...
Page 29
Serial Communication The BL2100 has two RS-232 serial ports, which can be configured as one RS-232 serial channel (with RTS/CTS two RS-232 (3-wire) channels using the function call. Table 2 summarizes the options. Table 2. Serial Communication ...
Page 30
The BL2100 can be used in an RS-485 multidrop network. Connect the 485+ to 485+ and 485– to 485– using single twisted-pair wires (nonstranded, tinned) as shown in Figure 13. Note that a common ground is recommended. Figure 13. BL2100 ...
Page 31
The BL2100 comes with a 220 termination resistor and two 681 bias resistors installed and enabled with jumpers across pins 1–2 and 5–6 on header JP1, as shown in Figure 14. Figure 14. RS-485 Termination and Bias Resistors ...
Page 32
Ethernet Port Figure 15 shows the pinout for the Ethernet port (J2 on the BL2100 module). Note that there are two standards for numbering the pins on this connector—the convention used here, and numbering in reverse to that shown. ...
Page 33
Programming Port The RabbitCore module on the BL2100 has a 10-pin programming header. The program- ming port uses the Rabbit 2000’s Serial Port A for communication. Dynamic C uses the programming port to download and debug programs. The programming ...
Page 34
Programming Cable The programming cable is used to connect the programming port of the RabbitCore module serial COM port. The programming cable converts the RS-232 voltage levels used by the PC serial port to the TTL ...
Page 35
A/D Converter Inputs The single 14-channel A/D converter chip used in the BL2100 has a resolution of 12 bits (models BL2100 and BL2120 only). Eleven of the 14 channels are available externally, and three are used internally for the ...
Page 36
D/A Converter Outputs Only the BL2100 and the BL2120 models are stuffed with D/A converters. The D/A con- verter outputs are buffered and scaled to provide an output from +10 V. NOTE: The D/A converter output ...
Page 37
Analog Reference Voltage Circuit Figure 21 shows the analog voltage reference circuit Figure 21. Analog Reference Voltages This circuit generates the 4.096 V reference voltage, which is used by the A/D converter and by the D/A converters. ...
Page 38
Memory 3.8.1 SRAM The BL2100 module is designed to accept 128K to 512K of SRAM packaged in an SOIC case. The standard BL2100 modules come with 128K of SRAM. 3.8.2 Flash Memory The BL2100 is also designed to accept ...
Page 39
Other Hardware 3.9.1 External Interrupts The BL2100 is already configured to support external interrupts on pin 11 of screw-terminal header J11. The external interrupt circuit is shown in Figure 22. Figure 22. Use of Rabbit 2000 External Interrupt In ...
Page 40
Clock Doubler The BL2100 takes advantage of the Rabbit 2000 microprocessor’s internal clock doubler. A built-in clock doubler allows half-frequency crystals to be used to reduce radiated emis- sions. The 22.1 MHz frequency is generated using an 11.0592 MHz ...
Page 41
Dynamic integrated development system for writing embedded software. It runs on an IBM-compatible PC and is designed for use with single-board computers and other devices based on the Rabbit microprocessor. Chapter 4 provides the libraries, function calls, ...
Page 42
Developing software with Dynamic C is simple. Users can write, compile, and test C and assembly code without leaving the Dynamic C development environment. Debugging occurs while the application runs on the target. Alternatively, users can compile a program to ...
Page 43
Upgrading Dynamic C 4.1.1.1 Patches and Bug Fixes Dynamic C patches that focus on bug fixes are available from time to time. Check our Web site www.rabbit.com/support/ The default installation of a patch or bug fix is to install ...
Page 44
Sample Programs Sample programs are provided in the Dynamic C demonstrates the output to the PONG.C The various directories in the trate the use of the corresponding Dynamic C libraries. The folder provides sample programs specific to the BL2100. ...
Page 45
The following sample programs are found in the —This program demonstrates a simple RS-485 transmission of lower case • MASTER.C letters to a slave BL2100. The slave will send back converted upper case letters back to the master BL2100 and ...
Page 46
D/A and the A/D convert- • DAOUT2.C ers. The user selects both the D/A converter and A/D channel to be used, then sets the D/A converter output voltage to be read by ...
Page 47
BL2100 Libraries Two library directories provide libraries of function calls that are used to develop applica- tions for the BL2100. —libraries associated with features specific to the BL2100. The functions in the • BL2100 library are described in Section ...
Page 48
BL2100 Function APIs 4.4.1 Board Initialization void brdInit (void); Call this function at the beginning of your program. This function initializes the system I/O ports and loads all the A/D converter and D/A converter calibration constants from flash memory ...
Page 49
Digital I/O void digOutConfig(unsigned int outputMode); Each of the BL2100 high-current outputs (OUT00–OUT15) has the capability of being configured in software as either sinking or sourcing using the digOutConfig function. Execute digOutConfig at the start of your application to ...
Page 50
Sets the state of a digital output ( Remember to call the brdInit and the digOutConfig functions before executing this function. A runtime error will occur for the following conditions out of range. ...
Page 51
Serial Communication Library files included with Dynamic C provide a full range of serial communications sup- port. The library provides a set of circular-buffer-based serial functions. The RS232.LIB library provides packet-based serial functions where packets can be delim- PACKET.LIB ...
Page 52
A/D Converter Inputs The functions in this section apply only to the BL2100 and the BL2120 models. int anaInCalib(int channel, int value1, float volts1, int value2, float volts2); Calibrates the response of the A/D converter channel as a linear ...
Page 53
Reads the voltage of an analog input channel by serially clocking out an 8-bit command to the A/D con- verter. The driver has been designed for the Texas Instruments TLC2543 A/D converter used on ...
Page 54
Reads the state of an A/D converter input channel. PARAMETER channel is the A/D converter input channel (0–10) to read. RETURN VALUE A value corresponding to the voltage on the analog input channel (0–4095). SEE ALSO ...
Page 55
Writes the calibration constants, gain, and offset to the simulated EEPROM in flash memory (located in reserved user block memory area 0x1C00–0x1FFF). PARAMETER channel is the A/D converter input channel (0–10) for which the calibration constants ...
Page 56
D/A Converter Outputs The functions in this section apply only to the BL2100 and the BL2120 models. int anaOutCalib(int channel, int value1, float volts1, int value2, float volts2); Calibrates the response of the D/A converter channel desired as a ...
Page 57
Sets the voltage of a D/A converter output channel by serially clocking in 16 bits to a D/A converter using the following format: D15, D12 Register R1, Register R0 00—Write ...
Page 58
D/A converter power control option (0—slow or 1—fast (default)). Mode Speed vs. Power Dissipation 0—slow 12 µs access vs 1—fast (default) 3 µs access vs. 2.3 mA Test conditions from TI's data sheet (TLV5618A D/A ...
Page 59
Reads the calibration constants, gain, and offset from the simulated EEPROM in flash memory (located in reserved user block memory area 0x1C00–0x1FFF). PARAMETER channel is the D/A converter output channel (0–3). RETURN VALUE 0 if successful. ...
Page 60
Smartcat (BL2100) ...
Page 61
U Chapter 5 discusses using the TCP/IP features on the BL2100 and BL2110 boards. The TCP/IP feature is not available on BL2120 and BL2130 versions. 5.1 TCP/IP Connections Before proceeding you will need to have the following items. • ...
Page 62
The PC running Dynamic C through the serial programming port on the BL2100 does not need to be the PC with the Ethernet card. 3. Apply Power Plug in the AC adapter. The BL2100 is now ready to be used. ...
Page 63
TCP/IP Sample Programs We have provided a number of sample programs demonstrating various uses of TCP/IP for networking embedded systems. These programs require that you connect your PC and the BL2100 together on the same network. This network can ...
Page 64
... Half-Duplex” “Auto-Negotiation” connection on the “Advanced” tab. NOTE: Your network interface card will likely have a different name. 3. Now select the IP Address click on “Properties” to assign an IP address to your computer (this will disable “obtain an IP address automatically”): IP Address : 10.10.6.101 Netmask : 255.255.255.0 Default gateway : 10.10.6.1 4. Click <OK> or < ...
Page 65
Run the PINGME.C Demo Connect the crossover cable from your computer’s Ethernet port to the BL2100’s RJ-45 Ethernet connector. Open this sample program from the compile the program, and start it running under Dynamic C. When the program starts ...
Page 66
Running More Demo Programs With a Direct Connection The program ( SSI.C SAMPLES\BL2100\TCPIP\ BL2100 a Web server. This program allows you to turn the LEDs on an attached Demon- stration Board from the Tool Kit on and off from ...
Page 67
A PPENDIX Appendix A provides the specifications for the BL2100 and describes the conformal coating. User’s Manual A. S PECIFICATIONS 61 ...
Page 68
A.1 Electrical and Mechanical Specifications Figure A-1 shows the mechanical dimensions for the BL2100. Figure A-1. BL2100 Dimensions NOTE: All measurements are in inches followed by millimeters enclosed in parentheses. All dimensions have a manufacturing tolerance of ±0.01" (0.25 mm). ...
Page 69
Table A-1 lists the electrical, mechanical, and environmental specifications for the BL2100 without the optional LCD/keypad module plugged in. Appendix C provides specifications for the LCD/keypad. Table A-1. BL2100 Specifications Feature Microprocessor Ethernet Port Flash Memory SRAM Backup Battery Digital ...
Page 70
Table A-1. BL2100 Specifications (continued) Feature Power Operating Temperature Humidity Board Size * supply voltage required to support full 0– output range of D/A converter A.1.1 Exclusion Zone It is recommended that ...
Page 71
A.1.2 Headers The BL2100 has an option for 0.1" IDC headers, friction-lock connectors, or bottom- mount sockets at J1, J4, J7, J10, and J13 for physical connection to other boards or ribbon cables. The holes on the “outside” edges of ...
Page 72
A.2 Conformal Coating The areas around the crystal oscillator and the battery backup circuit on the BL2100 mod- ule have had the Dow Corning silicone-based 1-2620 conformal coating applied. The con- formally coated areas are shown in Figure A-4. The ...
Page 73
A.3 Jumper Configurations Figure A-5 shows the header locations used to configure the various BL2100 options via jumpers. Figure A-5. Location of BL2100 Configurable Positions User’s Manual 67 ...
Page 74
Table A-2 lists the configuration options. Table A-2. BL2100 Jumper Configurations Header Description RS-485 Bias and Termination JP1 Resistors Software I/O Configuration JP2 Option JP3 Analog Circuit Option — IN00–IN07 — IN08–IN15 — IN16–IN23 * Although pins 1–3 and 4–6 ...
Page 75
A.4 Use of Rabbit 2000 Parallel Ports Figure A-6 shows the Rabbit 2000 parallel ports. Figure A-6. BL2100 Rabbit-Based Subsystems Table A-3 lists the Rabbit 2000 parallel ports and their use in the BL2100. Table A-3. Use of Rabbit 2000 ...
Page 76
Table A-3. Use of Rabbit 2000 Parallel Ports (continued) Port I/O PB4 Input PB5 Input PB6 Output PB7 Output PC0 Output PC1 Input PC2 Output PC3 Input PC4 Output PC5 Input PC6 Output PC7 Input PD0 Input PD1 Input PD2 ...
Page 77
A.5 I/O Address Assignments Table A-4 lists the external I/O addresses for the digital inputs and outputs. Table A-4. Digital I/O Addresses External Name Address 0000 DIPA 0001 DOPA 0002 DIPB 0003 DOPB PE1 serves as a system-enable control. When ...
Page 78
Smartcat (BL2100) ...
Page 79
A PPENDIX Appendix B describes the power circuitry provided on the BL2100. B.1 Power Supplies Power is supplied to the BL2100 via header J5/J4. The BL2100 is protected against reverse polarity by a diode shown in Figure ...
Page 80
B.2 Batteries and External Battery Connections The SRAM and the real-time clock have battery backup. Power to the SRAM and the real- time clock (VRAM) is provided by two different sources, depending on whether the main part of the BL2100 ...
Page 81
B.2.1 Replacing the Backup Battery The battery is user-replaceable, and is fitted in a battery holder. To replace the battery, lift up on the spring clip and slide out the old battery. Use only a Panasonic CR2330 or equiv- alent ...
Page 82
B.2.3 Power to VRAM Switch The VRAM switch on the BL2100 module, shown in Figure B-3, allows the battery backup to provide power when the external power goes off. The switch provides an isola- tion between Vcc and the battery ...
Page 83
B.3 Chip Select Circuit Figure B-4 shows a schematic of the chip select circuit located on the BL2100 module. The current drain on the battery in a battery-backed circuit must be kept at a minimum. When the BL2100 is not ...
Page 84
Smartcat (BL2100) ...
Page 85
A PPENDIX An optional LCD/keypad is available for the BL2100. Appendix C describes the LCD/keypad and provides the software APIs to make full use of the LCD/keypad. C.1 Specifications Two optional LCD/keypad modules—with or without a panel-mounted NEMA 4 water- ...
Page 86
Table C-1 lists the electrical, mechanical, and environmental specifications for the LCD/ keypad module. Table C-1. LCD/Keypad Specifications Parameter Board Size Bezel Size Temperature Humidity Power Consumption Connections LCD Panel Size Keypad LEDs * The backlight adds approximately 650 mW ...
Page 87
C.2 Contrast Adjustments for All Boards Starting in 2005, LCD/keypad modules were factory-configured to optimize their contrast based on the voltage of the system they would be used in. Be sure to select a KDU5V LCD/keypad module for use with ...
Page 88
C.3 Keypad Labeling The keypad may be labeled according to your needs. A template is provided in Figure C-4 to allow you to design your own keypad label insert. To replace the keypad legend, remove the old legend and insert ...
Page 89
C.4 Header Pinouts Figure C-6 shows the pinouts for the LCD/keypad module. Figure C-6. LCD/Keypad Module Pinouts C.4.1 I/O Address Assignments The LCD and keypad on the LCD/keypad module are addressed by the PE7 strobe as explained in Table C-2. ...
Page 90
C.5 Mounting LCD/Keypad Module on the BL2100 Finish making any connections involving the analog I/O on screw-terminal header J2 before you install the LCD/keypad module since the LCD/keypad module will block access to the screws on screw-terminal header J2. Install ...
Page 91
C.5.1 Programming Cable Tips Once the LCD/keypad module is in place on the BL2100 not possible to remove or attach the programming cable to/from the BL2100 programming port. You will have to remove least lift up, ...
Page 92
Line up the colored edges of the programming cable when reconnecting the program- ming cable. Reconnect the programming cable as shown in Figure C-10, being careful to align the pins with the jack Figure C-10. Reconnect Programming Cable Once ...
Page 93
C.6 Bezel-Mount Installation This section describes and illustrates how to bezel-mount the LCD/keypad module designed for remote installation. Follow these steps for bezel-mount installation. 1. Cut mounting holes in the mounting panel in accordance with the recommended dimen- sions in ...
Page 94
Fasten the unit with the four 4-40 screws and washers included with the LCD/keypad module. If your panel is thick, use a 4-40 screw that is approximately 3/16" (5 mm) lon- ger than the thickness of the panel. Figure ...
Page 95
C.6.1 Connect the LCD/Keypad Module to Your BL2100 The LCD/keypad module can be located as far as 2 ft. (60 cm) away from the BL2100, and is connected via a ribbon cable as shown in Figure C-13. Figure C-13. Connecting ...
Page 96
C.7 Sample Programs The following sample programs are found in the folder. —Demonstrates how to create messages using the keypad and then dis- • ALPHANUM.C playing them on the LCD display. —Demonstrates cofunctions, the cofunction serial library, and using a ...
Page 97
The following sample programs, found in the folder, are targeted at the Ethernet-enabled versions of the BL2100, the BL2100 TCPIP and the BL2110. Remember to configure the IP address, netmask, and gateway as indi- cated in the sample programs. —This ...
Page 98
C.8 LCD/Keypad Module Function Calls C.8.1 LEDs When power is applied to the LCD/keypad module for the first time, the red LED (DS1) will come on, indicating that power is being applied to the LCD/keypad module. The red LED is ...
Page 99
C.8.2 LCD Display The functions used to control the LCD display are contained in the Dynamic C library folder. When x and y coordinates on the display screen GRAPHIC\GRAPHIC.LIB are specified, x can range from 0 to 121, and y ...
Page 100
Sets display contrast. NOTE: This function is not used with the LCD/keypad module since the support circuits are not available on the LCD/keypad module. void glFillScreen(char pattern); Fills the LCD display screen with a pattern. PARAMETER The ...
Page 101
Plots the outline of a polygon in the LCD page buffer, and on the LCD if the buffer is unlocked. Any portion of the polygon that is outside the LCD display area will be clipped. ...
Page 102
Fills a polygon in the LCD page buffer and on the LCD screen if the buffer is unlocked. Any portion of the polygon that is outside the LCD display area will be clipped. If fewer ...
Page 103
Draws a filled circle in the LCD page buffer and on the LCD if the buffer is unlocked. Any portion of the circle that is outside the LCD display area will be clipped. ...
Page 104
Returns the xmem address of the character from the specified font set. PARAMETERS *pInfo is the xmem address of the bitmap font set. letter is an ASCII character. RETURN VALUE xmem address of bitmap ...
Page 105
Gets the current glPrintf() printing step direction. Each step direction is independent of the other, and is treated as an 8-bit signed value. The actual step increments depends on the height and width of the font being displayed, ...
Page 106
Prints a formatted string (much like printf) on the LCD screen. Only the character codes that exist in the font set are printed, all others are skipped. For example, '\b', ...
Page 107
... Draws a single pixel in the LCD buffer, and on the LCD if the buffer is unlocked. If the coordinates are outside the LCD display area, the dot will not be plotted. PARAMETERS x is the x coordinate of the dot the y coordinate of the dot. RETURN VALUE None. SEE ALSO glPlotline, glPlotPolygon, glPlotCircle User’s Manual (located in the library specifically for the LCD 101 ...
Page 108
Draws a line in the LCD buffer, and on the LCD if the buffer is unlocked. Any portion of the line that is beyond the LCD display area will be clipped. ...
Page 109
Scrolls byte-aligned window up one pixel, bottom column is filled by current pixel type (color). PARAMETERS left is the top left corner of bitmap, must be evenly divisible by 8, otherwise ...
Page 110
Scrolls right or left, within the defined window by x number of pixels. The opposite edge of the scrolled window will be filled in with white pixels. The window ...
Page 111
Scrolls up or down, within the defined window by x number of pixels. The opposite edge of the scrolled window will be filled in with white pixels. The window ...
Page 112
Draws bitmap in the specified space. The data for the bitmap are stored in xmem. This function is like glXPutBitmap, except that it is faster. The restriction is ...
Page 113
TextGotoXY(windowFrame *window, int col, int row); Sets the cursor location to display the next character. The display location is based on the height and width of the character to be displayed. NOTE: Execute the TextWindowFrame PARAMETERS *window is a ...
Page 114
TextPutChar(struct windowFrame *window, char ch); Displays a character on the display where the cursor is currently pointing. If any portion of a bitmap character is outside the LCD display area, the character will not be displayed. The cursor increments ...
Page 115
C.8.3 Keypad The functions used to control the keypad are contained in the located in the Dynamic C library folder. KEYPADS\KEYPAD7.LIB void keyInit(void); Initializes keypad process RETURN VALUE None. SEE ALSO brdInit void keyConfig(char cRaw, char cPress, char cRelease, char ...
Page 116
How many times to repeat after low speed repeat None. RETURN VALUE None. SEE ALSO keyProcess, keyGet, keypadDef void keyProcess(void); Scans and processes ...
Page 117
Configures the physical layout of the keypad with the default ASCII return key codes. Keypad physical mapping ['L'] ['U'] ['–'] where 'D' represents Down Scroll 'U' represents Up Scroll 'R' represents Right ...
Page 118
Smartcat (BL2100) ...
Page 119
... BL2100, and also provides a means to mount the BL2100 on any flat surface. The base and cover are sold together with an LCD/keypad module that plugs into the main BL2100 board (Part No. 101-0466). Appendix D describes how to mount the BL2100 and the LCD/keypad inside the plastic enclosure, and provides details on mounting the assembly. User’ ...
Page 120
D.1 Assembly Instructions 1. Remove the RabbitCore module from the BL2100 main board, and set the module aside. The module will be plugged back in to the main board later. NOTE: If you are working with more than one BL2100 ...
Page 121
Reconnect the RabbitCore module to headers J16 and J17 on the BL2100 main board as shown in Figure D-3. Be careful to align the pins over the headers, and do not bend them as you press down to mate ...
Page 122
Mount plastic enclosure (optional). Use four #10 screws to attach the plastic enclosure at the four outer corner mounting holes to the surface on which it will be mounted. This step applies to production versions of BL2100 units once ...
Page 123
Figure D-6. Plastic Enclosure Dimensions When fully assembled with the BL2100 and the LCD/keypad module installed, the total height of the plastic enclosure will be 1.5" (38 mm). NOTE: All measurements are in inches followed by millimeters enclosed in parentheses. ...
Page 124
Smartcat (BL2100) ...
Page 125
A PPENDIX Appendix E shows how to connect the Demonstration Board to the BL2100. E.1 Connecting Demonstration Board Before running sample programs based on the Demonstration Board, you will have to con- nect the Demonstration Board from the BL2100 Tool ...
Page 126
Figure E-1. General Digital Input Connections Between BL2100 and Demonstration Board 120 · · · · · · Smartcat (BL2100) ...
Page 127
Figure E-2. Digital Output Connections Between BL2100 and Demonstration Board NOTE: +K1 and +K2 on screw-terminal header J8 must be connected to +RAW on screw-terminal header J5 as shown in Figure E-2. User’s Manual ...
Page 128
Figure E-3. SSI.C Connections Between BL2100 and Demonstration Board NOTE: +K1 and +K2 on screw-terminal header J8 must be connected to +RAW on screw-terminal header J5 as shown in Figure E-3. 122 Smartcat (BL2100) ...
Page 129
A A/D converter ....................... 29 buffered inputs .................. 29 calibration constants ......... 29 board serial number ....... 40 function calls anaIn .............................. 48 anaInCalib ..................... 46 anaInDriver ................... 47 anaInEERd .................... 48 anaInEEWr .................... 49 anaInVolts ..................... 48 additional information ...
Page 130
... TextCursorLocation .107 TextGotoXY ............107 TextPrintf .................108 TextPutChar .............108 TextWindowFrame ..106 LDEs function calls ledOut ...
Page 131
RS-232 .................................. 23 RS-485 .................................. 23 RS-485 network .................... 24 termination and bias resistors 25 S sample programs ................... 38 A/D converter AD_CALIB.C ............... 39 AD1.C ........................... 39 AD2.C ........................... 39 AD3.C ........................... ...
Page 132
Smartcat (BL2100) ...
Page 133
BL2100 Schematic www.rabbit.com/documentation/schemat/090-0124.pdf 090-0120 RCM2200 Module Schematic www.rabbit.com/documentation/schemat/090-0120.pdf 090-0119 RCM2300 Module Schematic www.rabbit.com/documentation/schemat/090-0119.pdf 090-0042 Demonstration Board Schematic www.rabbit.com/documentation/schemat/090-0042.pdf 090-0156 LCD/Keypad Module Schematic www.rabbit.com/documentation/schemat/090-0156.pdf 090-0128 Programming Cable Schematic www.rabbit.com/documentation/schemat/090-0128.pdf You may use the URL information provided above to access the ...
Page 134
...