background image

84

Smartcat (BL2100)

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 the LCD/keypad module on header sockets J20, J21, and J22 of the BL2100 main 
board as shown in Figure C-7. Be careful to align the pins over the headers, and do not 
bend them as you press down to mate the LCD/keypad module with the BL2100 main 
board.

Figure C-7.  Install LCD/Keypad Module on BL2100 Main Board

C25

R134

R135

C86

U13

BT1

C48

C52

C46

DI08     DI09     DI10      DI1

1     DI12      DI13     DI14     DI15    RS485  RS485 PE5-INT

  GND     DIO23  DIO22            

    DIO21  DIO20    DIO19  DIO18   DIO17  DIO16   DIO15  DIO14   DIO13  DIO12   DIO1

1  DIO10

R103

R99

C72

Q55

Q43

Q47

Q51

R95

R138

JP1

U7

R82

C61

Q30

Q34

R90

R136

R106

R81

C17

R96

Q52

Q48

J17

D18

C82

RP7

Q44

Q56

C75

D15

Q71

R104

R100

C69

Q67

Q63

Q59

Q4

Q5 RP5

RP6

U4

C14

J16

R11

R10

R186R142

J14

Q78

J22

J20

J4

R78

Q11

R74

Q15

C54

Q19

R70

C15

U5

U10

C1

18

Q21

Q17

R72

C56

Q32

Q36

R84

C63

R88

R92

Q28

Q40

Q25

Q13

R80

R76

D9

C65

R86

Q38

J21

J7

+K2       +K1     DO09    DO08   DO07    DO06   DO05   DO04    DO03    DO02   DO01    DO00                   GND   +RA

W   232CR

  232CT

  232DR   232DT

  DIO0     DIO1    DIO2     DIO3    DIO4     DIO5    DIO6     DIO7

 

ADCIN10  ADCIN9   

ADCIN8   ADCIN7  

ADCIN6   ADCIN5

   DAC03  DAC02  AGND  DAC01

  

DAC02

  ADCIN4   

ADCIN3  ADCIN2   

ADCIN1   ADCIN0

J1

J11

Battery

J1

R2

C3 D2

R7 C27

R8

R36

RT1

R41

R37

R38

D1

R39

Y2 C2

C1

U8 U7

U3

U6

C7

GND

GND

EGND

DS2

LNK

ACT

DS1

R19

Q3

Q4

Q5

Q2

R1

Y1 C4

C17

C8

R9

R13

R1

1

U1

BT1

R

1

5

C12

R17

R20 C13

Y3

R16

R22

R21

C14

R

18 C25

C28

D3

J2

JP4 JP3

JP1

JP6

C30

JP2

JP5

C29

U2

Flas

h

EP

ROM

J1

Summary of Contents for Smartcat

Page 1: ...Smartcat BL2100 C Programmable Single Board Computer with Ethernet and Operator Interface User s Manual 019 0103_M ...

Page 2: ... Digi International reserves the right to make changes and improvements to its products without providing notice Trademarks Rabbit RabbitCore and Dynamic C are registered trademarks of Digi International Inc Rabbit 2000 is a trademark of Digi International Inc The latest revision of this manual is available on the Rabbit Web site www rabbit com for free unregistered download ...

Page 3: ...ogram 15 2 4 1 Troubleshooting 15 2 5 Where Do I Go From Here 16 2 5 1 Technical Support 16 Chapter 3 Subsystems 17 3 1 BL2100 Pinouts 18 3 1 1 Headers and Screw Terminals 19 3 2 Digital I O 20 3 2 1 Digital Inputs 20 3 2 2 Digital Outputs 21 3 3 Serial Communication 23 3 3 1 RS 232 23 3 3 2 RS 485 23 3 3 3 Ethernet Port 26 3 3 4 Programming Port 27 3 4 Programming Cable 28 3 4 1 Changing Between ...

Page 4: ... Run the PINGME C Demo 59 5 2 4 Running More Demo Programs With a Direct Connection 60 5 3 Where Do I Go From Here 60 Appendix A Specifications 61 A 1 Electrical and Mechanical Specifications 62 A 1 1 Exclusion Zone 64 A 1 2 Headers 65 A 2 Conformal Coating 66 A 3 Jumper Configurations 67 A 4 Use of Rabbit 2000 Parallel Ports 69 A 5 I O Address Assignments 71 Appendix B Power Supply 73 B 1 Power S...

Page 5: ...dule Function Calls 92 C 8 1 LEDs 92 C 8 2 LCD Display 93 C 8 3 Keypad 109 Appendix D Plastic Enclosure 113 D 1 Assembly Instructions 114 D 2 Dimensions 116 Appendix E Demonstration Board 119 E 1 Connecting Demonstration Board 119 Index 123 Schematics 127 ...

Page 6: ...Smartcat BL2100 ...

Page 7: ...res Rabbit 2000 microprocessor operating at 22 1 MHz 128K static RAM and 256K flash memory standard may be increased to 512K SRAM and 512K flash memory 40 digital I O 24 protected digital inputs and 16 high current digital outputs provide sinking and sourcing outputs 15 analog channels eleven 12 bit A D converter inputs four 12 bit D A converter 0 10 V outputs selected models One RJ 45 Ethernet po...

Page 8: ...polarized friction lock terminals may be factory installed instead Visit our Web site at www rabbit com or contact your Rabbit sales representative or authorized distributor for further information Table 1 BL2100 Models Feature BL2100 BL2110 BL2120 BL2130 Microprocessor Rabbit 2000 running at 22 1 MHz Static RAM 128K Flash Memory 256K RJ 45 Ethernet Connector Filter Capacitors and LEDs Yes No A D ...

Page 9: ... and a cover for an assembly made up of the BL2100 with the LCD keypad module plugged in Plastic enclosure base LCD keypad module One enclosure base is included with the Tool Kit Further details on these add ons are provided in Appendix C and in Appendix D Visit our Web site for up to date information about additional add ons and features as they become available The Web site also has the latest r...

Page 10: ...ation on disk Programming cable used to connect your PC serial port to the BL2100 Universal AC adapter 12 V DC 1 A includes Canada Japan U S Australia N Z U K and European style plugs Demonstration Board with pushbutton switches and LEDs The Demonstration Board can be hooked up to the BL2100 to demonstrate the I O Wire assembly to connect Demonstration Board to BL2100 Plastic enclosure base with m...

Page 11: ... Web based technical support included at no extra charge a one year telephone based technical support subscription is also available for purchase Visit our Web site at www rabbit com for further information and complete documentation or contact your Rabbit sales representative or authorized distributor 1 4 3 Online Documentation The online documentation is installed along with Dynamic C and an ico...

Page 12: ...ial environment Emissions The BL2100 series of single board computers meets the following emission standards with the Rabbit 2000 spectrum spreader turned on and set to the normal mode The spectrum spreader is only available with Rev C or higher of the Rabbit 2000 microprocessor This microprocessor is used in all BL2100 series boards that carry the CE mark EN55022 1998 Class A FCC Part 15 Class A ...

Page 13: ...0 single board computer has been designed to protect the battery from hazardous conditions such as reverse charging and excessive current flows Do not disable the safety features of the design 1 5 2 Interfacing the BL2100 to Other Devices 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...

Page 14: ...8 Smartcat BL2100 ...

Page 15: ...DI09 DI10 DI11 DI12 DI13 DI14 DI15 RS485 RS485 PE5 INT GND DIO23 DIO22 DIO21 DIO20 DIO19 DIO18 DIO17 DIO16 DIO15 DIO14 DIO13 DIO12 DIO11 DIO10 Q26 D14 C74 R103 R99 C72 Q55 Q43 Q47 Q51 R95 R138 JP1 U7 R82 C61 Q30 Q34 R90 R136 R106 R81 C17 R96 Q52 Q48 J17 D18 C82 RP7 Q44 Q56 C75 D15 Q71 R104 R100 C69 Q67 Q63 Q59 Q4 Q5 RP5 RP6 U4 C14 J16 R11 R9 R10 R119 R186 R142 R8 R7 JP6 J14 Q78 J22 J20 J4 D6 Q23 R...

Page 16: ... C24 C92 C90 R1 48 R1 43 C93 C94 C98 C99 C103 C104 R174 C111 R172 C106 R165 R161 R156 R154 R149 R147 C1 02 C9 7 C9 6 R1 52 C9 1 U18 DI08 DI09 DI10 DI11 DI12 DI13 DI14 DI15 RS485 RS485 PE5 INT GND DIO23 DIO22 DIO21 DIO20 DIO19 DIO18 DIO17 DIO16 DIO15 DIO14 DIO13 DIO12 DIO11 DIO10 Q26 D1 4 C7 4 R1 03 R9 9 C7 2 Q5 5 Q4 3 Q4 7 Q5 1 R9 5 R138 JP1 U7 R8 2 C6 1 Q3 0 Q3 4 R90 R1 36 R106 R81 C17 R9 6 Q5 2 ...

Page 17: ...DI14 DI15 RS485 RS485 PE5 INT GND DIO23 DIO22 DIO21 DIO20 DIO19 DIO18 DIO17 DIO16 DIO15 DIO14 DIO13 DIO12 DIO11 DIO10 Q26 D14 C74 R103 R99 C72 Q55 Q43 Q47 Q51 R95 R138 JP1 U7 R82 C61 Q30 Q34 R90 R136 R106 R81 C17 R96 Q52 Q48 J17 D18 C82 RP7 Q44 Q56 C75 D15 Q71 R104 R100 C69 Q67 Q63 Q59 Q4 Q5 RP5 RP6 U4 C14 J16 R11 R9 R10 R119 R186 R142 R8 R7 JP6 J14 Q78 J22 J20 J4 D6 Q23 RP11 C58 R78 Q11 R74 Q15 C...

Page 18: ...87 C89 R140 U12 R133 C85 R132 C88 R139 C51 C50 C49 C24 C92 C90 R148 R143 C93 C94 C98 C99 C103 C104 R174 C111 R172 C106 R165 R161 R156 R154 R149 R147 C102 C97 C96 R152 C91 U18 DI08 DI09 DI10 DI11 DI12 DI13 DI14 DI15 RS485 RS485 PE5 INT GND DIO23 DIO22 DIO21 DIO20 DIO19 DIO18 DIO17 DIO16 DIO15 DIO14 DIO13 DIO12 DIO11 DIO10 Q26 D14 C74 R103 R99 C72 Q55 Q43 Q47 Q51 R95 R138 JP1 U7 R82 C61 Q30 Q34 R90 ...

Page 19: ...ct the bare ends of the power supply to the RAW and GND positions on screw terminal header J5 IDC header J4 as shown in Figure 6 Figure 6 Power Supply Connections 6 Apply power Plug in the AC adapter If you are using your own power supply it must provide 9 to 36 V DC 13 to 36 V DC if you intend to use the full range of the D A converter outputs voltages outside this range could damage the BL2100 C...

Page 20: ...c tion is COM1 You may select any available port for Dynamic C s use If you are not cer tain which port is available select COM1 This selection can be changed later within Dynamic C Once your installation is complete you will have up to three icons on your PC desktop One icon is for Dynamic C one opens the documentation menu and the third is for the Rabbit Field Utility a tool used to download pre...

Page 21: ... both ends of the programming cable to ensure that they are firmly plugged into the PC and the PROG connector not the DIAG connector is plugged in to the program ming port on the RabbitCore module with the marked colored edge of the program ming cable towards pin 1 of the programming header Ensure that the RabbitCore module is firmly and correctly installed in its connectors on the BL2100 main boa...

Page 22: ...module For advanced development topics refer to the Dynamic C User s Manual and the Dynamic C TCP IP User s Manual also in the online documentation set 2 5 1 Technical Support NOTE If you purchased your BL2100 through a distributor or Rabbit partner contact the distributor or partner first for technical support If there are any problems at this point Use the Dynamic C Help menu to get further assi...

Page 23: ...log Reference Voltage Circuit Memory External Interrupts Figure 7 shows these Rabbit based subsystems designed into the BL2100 Figure 7 BL2100 Subsystems Ethernet SRAM Flash 11 MHz osc 32 kHz osc RabbitCore Module Decoder Control Interface to LCD Keypad Module RABBIT 2000 RS 232 RS 485 Data Register Data Register A D Converter D A Converter Digital Input Digital Output ...

Page 24: ...17 C8 R9 R13 R11 U1 BT1 R15 C12 R17 R20 C13 Y3 R16 R22 R21 C14 R18 C25 C28 D3 J2 JP4 JP3 JP1 JP6 C30 JP2 JP5 C29 U2 Flash EPROM J2 J14 Digital Outputs Digital Inputs RS 232 Power Supply K Digital Inputs Digital Outputs RS 485 Digital Inputs Analog Inputs Analog Inputs Analog Ground Analog Outputs 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 IN07 IN06 IN05 IN04 IN03 IN02 IN01 IN00 TXB RXB TXC RTS RXC CTS...

Page 25: ... available on the BL2110 and the BL2130 J2 J10 J4 J7 IN07 IN06 IN05 IN04 IN03 IN02 IN01 IN00 TXB RXB TXC RTS RXC CTS RAW GND OUT00 OUT01 OUT02 OUT03 OUT04 OUT05 OUT06 OUT07 OUT08 OUT09 K1 K2 39 37 35 33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1 33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1 IN08 IN09 IN10 IN11 IN12 IN13 IN14 IN15 RS 485 RS 485 PE5 INT GND IN23 IN22 1 3 5 7 9 11 13 15 17 19 21 23 2...

Page 26: ...actory Default NOTE If the inputs are pulled up to K2 the voltage range over which the digital inputs are protected changes to K2 36 V to 36 V The actual switching threshold is approximately 2 40 V Anything below this value is a logic 0 and anything above is a logic 1 The digital inputs are each fully protected over a range of 36 V to 36 V and can handle short spikes of 40 V Figure 10 BL2100 Digit...

Page 27: ... function call is made The digoutConfig call sets the initial state of each digi tal output according to the configuration specified by the user and enables the digital out puts to their initial status Figure 11 BL2100 Digital Outputs OUT00 OUT07 are powered by to K1 and OUT08 OUT15 are powered by K2 K1 and K2 can each be up to 36 V They don t have to be same All the sinking current which could be...

Page 28: ...split the 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 the H bridge are on different banks Figure 12 H Bridge K K LOAD A A B B ...

Page 29: ...2100 uses an 11 0592 MHz crystal which is doubled to 22 1184 MHz At this frequency the BL2100 supports standard asynchronous baud rates up to a maximum of 230 400 bps 3 3 1 RS 232 The BL2100 RS 232 serial communication is supported by an RS 232 transceiver This transceiver provides the voltage output slew rate and input voltage immunity required to meet the RS 232 serial communication protocol Bas...

Page 30: ...IO12 DIO11 DIO10 D18 C82 RP7 JP6 J14 ADCIN1 ADCIN0 J11 C48 C52 C46 C44 C43 C13 RP4 RP3 RP15 RP14 C87 C89 R140 R133 C85 R132 C88 R139 C51 C50 C49 DI08 DI09 DI10 DI11 DI12 DI13 DI14 DI15 RS485 RS485 PE5 INT GND DIO23 DIO22 DIO21 DIO20 DIO19 DIO18 DIO17 DIO16 DIO15 DIO14 DIO13 DIO12 DIO11 DIO10 D18 C82 RP7 JP6 J14 ADCIN1 ADCIN0 J11 C48 C52 C46 C44 C43 C13 RP4 RP3 RP15 RP14 C87 C89 R140 R133 C85 R132 ...

Page 31: ...T GND DIO23 DIO22 DIO21 DIO20 DIO19 DIO18 DIO17 DIO16 DIO15 DIO14 DIO13 DIO12 DIO11 DIO10 Q26 D14 C74 R103 R99 C72 Q55 Q43 Q47 Q51 R95 R138 JP1 U7 R82 C61 Q30 Q34 R90 R136 R106 R81 C17 R96 Q52 Q48 J17 D18 C82 RP7 Q44 Q56 C75 D15 Q71 R104 R100 C69 Q67 Q63 Q59 Q4 Q5 RP5 RP6 U4 C14 J16 R11 R9 R10 R119 R186 R142 R8 R7 JP6 J14 Q78 J22 J20 J4 D6 Q23 RP11 C58 R78 Q11 R74 Q15 C54 Q19 R70 C15 U5 U10 C118 Q...

Page 32: ... sometimes numbered opposite to the way shown in Figure 15 Two LEDs are placed next to the RJ 45 Ethernet jack one to indicate an Ethernet link LNK and one to indicate Ethernet activity ACT The transformer connector assembly ground is connected to the BL2100 module printed circuit board digital ground via a 0 resistor jumper R29 as shown in Figure 16 Figure 16 Isolation Resistor R29 The factory de...

Page 33: ... begins executing at address 0x0000 The status pin is used by Dynamic C to determine whether a Rabbit microprocessor is present The status output has three different programmable functions 1 It can be driven low on the first op code fetch cycle 2 It can be driven low during an interrupt acknowledge cycle 3 It can also serve as a general purpose output The RESET_IN pin is an external input that is ...

Page 34: ...Q56 C75 D15 Q71 R104 R100 C69 Q67 Q63 Q59 Q4 Q5 RP5 RP6 U4 C14 J16 R11 R9 R10 R119 R186 R142 R8 R7 JP6 J14 Q78 J22 J20 J4 D6 Q23 RP11 C58 R78 Q11 R74 Q15 C54 Q19 R70 C15 U5 U10 C118 Q21 Q17 R72 C56 Q32 Q36 R84 C63 R88 R92 Q28 Q40 C67 D11 C60 D8 Q25 Q13 R80 R76 D9 C65 R86 Q38 U20 C113 C110 C27 R175 C114 R179 R178 R177 C115 R180 R173 C112 R181 Q74 Q75 R176 C12 C6 C7 C11 U1 J21 U2 J7 K2 K1 DO09 DO08 ...

Page 35: ...gure 18 Buffered A D Converter Inputs The op amp is powered from the V supply The 1 M and 200 k resistors set the gain scale factor which is 0 2 in this case This results in a dynamic input range of 0 2 20 48 V or 4 096 V The center point of this range is set by the 1 707 V reference voltage With the reference set to 1 707 V the center point is at 0 V and the input voltage can range from 10 24 V t...

Page 36: ...urrent is 10 mA per channel for a power supply voltage RAW up to 15 V and drops to 2 mA per channel for a power supply voltage of 36 V Figure 20 Maximum D A Converter Output Current vs Power Supply Voltage The D A converter inputs are factory calibrated and the calibration constants are stored in flash memory You may calibrate the A D converter inputs at a later time using the software functions d...

Page 37: ... to the same degree The reference zener diode in combination with the 300 resistor form a shunt regulator The 4 096 V reference voltage then feeds the A D converter the D A converters and the voltage divider composed of the 10 k and the 14 k resistors The voltage divider gener ates a second reference voltage of 1 707 V to feed the four op amps for the buffered A D converter inputs The 2 048 V refe...

Page 38: ... flash memory since it may be necessary to change the sector size in the future A Flash Memory Bank Select jumper configuration option based on 0 surface mounted resistors exists at header JP2 on the RabbitCore module This option used in conjunction with some configuration macros allows Dynamic C to compile two different co resident programs for the upper and lower halves of the 256K flash in such...

Page 39: ...PWM signal When using pin 11 as a CMOS level digital input or output use the standard Rabbit 2000 register function configuration for PE5 on Parallel Port E to set this pin up for your intended use Be aware that there is no provision for protection against voltage spikes while PE5 is pulled up to Vcc with a 27 k pull up resistor The sample program PWM C in the Dynamic C SAMPLES BL2100 directory il...

Page 40: ...acro as shown below There is no spectrum spreader functionality for BL2100 boards that do not carry the CE mark on their RabbitCore module or when using any BL2100 with a version of Dynamic C prior to 7 30 1 Select the Defines tab from the Dynamic C Options Project Options menu 2 Add the line CLOCK_DOUBLED 0 to always disable the clock doubler The clock doubler is enabled by default and usually no...

Page 41: ...les The disadvantage is that the code and data might not both fit in RAM NOTE An application can be developed in RAM but cannot run standalone from RAM after the programming cable is disconnected Standalone applications can only run from flash memory NOTE Do not depend on the flash memory sector size or type Due to the volatility of the flash memory market the BL2100 and Dynamic C were designed to...

Page 42: ...utility program to load binary images into Rabbit based targets in the absence of Dynamic C Provision for customers to create their own source code libraries and augment on line help by creating function description block comments using a special format for library functions Execution tracing and symbolic stack tracing Standard debugging features Breakpoints Set breakpoints that can disable interr...

Page 43: ...ay overwrite a bug fix of course you may copy over any programs you have written Once you are sure the new patch works entirely to your satisfaction you may retire the existing installation but keep it available to handle legacy applications 4 1 2 Extras Dynamic C installations are designed for use with the board they are included with and are included at no charge as part of our low cost kits Sta...

Page 44: ...Section 5 Using the TCP IP Features 4 2 1 Digital I O The following sample programs are found in the IO subdirectory in SAMPLES BL2100 DIGIN C Demonstrates the use of the digital inputs Using the Demonstration Board you can see an input channel toggle from HIGH to LOW when pressing a pushbutton on the Demonstration Board See Appendix D for hookup instructions for the Demon stration Board DIGOUT C ...

Page 45: ...in both the TLC2543 and TLC1543 A D converter chips The program reads the A D internal volt ages and then uses the STDIO window to display the RAW data AD2 C Demonstrates how to access the A D channels using the anaInVolt func tion The program uses the STDIO window to display the voltage that is being moni tored AD3 C Demonstrates how to access the A D converter channels with the low level A D dri...

Page 46: ...am demonstrates how to retrieve your analog calibration data to rewrite it back to the simulated EEPROM in flash with using a serial utility such as Tera Term NOTE Calibration data must be saved previously in a file by the sample program SAVECALIB C SAVECALIB C This program demonstrates how to save your analog calibration coef ficients using a serial port and a PC serial utility such as Tera Term ...

Page 47: ... libraries specific to using TCP IP functions on the BL2100 Two other library directories provide libraries of function calls that are used to develop applications for the optional BL2100 LCD keypad module DISPLAYS GRAPHIC libraries associated with LCD display KEYPADS libraries associated with the keypad The LCD keypad module functions are described in Section C 8 Other generic functions applicabl...

Page 48: ...ads all the A D converter and D A converter calibration constants from flash memory into SRAM for use by your program If the LCD keypad module is installed this function will turn off LED DS1 to indi cate that the initialization was successful The ports are initialized according to Table A 3 SEE ALSO digOut digIn serMode anaOut anaIn anaInDriver anaOutDriver void brdInit void ...

Page 49: ...n of IN16 IN23 as digital out puts are sinking outputs only and cannot be configured with digOutConfig PARAMETER outputMode is a 16 bit parameter where each bit corresponds to one of the following high current outputs Bit 15 high current output channel OUT15 Bit 14 high current output channel OUT14 Bit 13 high current output channel OUT13 Bit 12 high current output channel OUT12 Bit 11 high curren...

Page 50: ...PARAMETERS channel is the output channel number 0 15 0 23 if IN16 IN23 are configured as digital outputs value is the output value 0 or 1 SEE ALSO brdInit digIn digOutConfig Reads the state of an input channel A run time error will occur for the following conditions 1 channel out of range 2 brdInit was not executed before executing digIn PARAMETER channel is the input channel number 0 23 RETURN VA...

Page 51: ... the BL2100 User interface to set up BL2100 serial communication lines Call this function after serXOpen Whether you are opening one or multiple serial ports this function must be executed after executing the last serXOpen function AND before you start using any of the serial ports This function is non reentrant If Mode 1 is selected CTS RTS flow control is exercised using the serCflowcontrolOn an...

Page 52: ...TERS channel is the A D converter input channel 0 10 value1 is the first A D converter channel value 0 4095 volts1 is the voltage corresponding to the first A D converter channel value 10 V to 10 V value2 is the second A D converter channel value 0 4095 volts2 is the voltage corresponding to the second A D converter channel value 10 V to 10 V RETURN VALUE 0 if successful 1 if not able to make cali...

Page 53: ...D3 D2 Output data length 01 8 bits 00 12 bits normally used as default 11 16 bits not supported by driver D1 Output data format 0 MSB first 1 LSB first not supported by driver D0 Mode of operation 0 Unipolar normally used as default 1 Bipolar len is the output data length 0 12 bit mode 1 8 bit mode RETURN VALUE A value corresponding to the voltage on the A D converter input channel which will be 0...

Page 54: ...volts PARAMETER channel is the A D converter input channel 0 10 RETURN VALUE A voltage value corresponding to the voltage on the analog input channel SEE ALSO anaIn anaInCalib brdInit 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 A D converter input channel 0 10 RETURN VALU...

Page 55: ...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 will be read RETURN VALUE 0 if successful 1 if address is invalid or out of range SEE ALSO anaInEERd brdInit int anaInEEWr unsigned int channel ...

Page 56: ...able _dacCalib PARAMETERS channel is the D A converter output channel 0 3 value1 is the first D A converter value 0 4095 volts1 is the voltage corresponding to the first D A converter value 0 V to 10 V value2 is the second D A converter value 0 4095 volts2 is the voltage corresponding to the second D A converter value 0 V to 10 V RETURN VALUE 0 if sucessful 1 if not able to make calibration consta...

Page 57: ...meters are not considered Two D A converter channels are affected when putting a D A converter output in powerdown or normal mode Powerdown Mode When power_control equals 1 and channel is 0 or 1 then both D A converter channels 0 and 1 are put in powerdown mode channels 2 and 3 not affected When power_control equals 1 and channel is 2 or 3 then both D A converter channels 2 and 3 are put in powerd...

Page 58: ...is the D A converter output channel 0 3 rawcount is a data value corresponding to the voltage desired on the output channel 0 4095 RETURN VALUE 0 if sucessful 1 if rawcount is more than 4095 SEE ALSO anaOutDriver anaOutVolts anaOutCalib Sets the voltage of a D A converter output channel by using the previously set calibration constants to calculate the correct data values PARAMETERS channel is the...

Page 59: ...f successful 1 if address or range is invalid SEE ALSO anaOutEEWr brdInit 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 D A converter output channel 0 3 RETURN VALUE 0 if successful 1 if address or range is invalid SEE ALSO anaOutEERd brdInit int anaOutEERd unsigned int chan...

Page 60: ...54 Smartcat BL2100 ...

Page 61: ...e available from Rabbit in a TCP IP tool kit More information is available at www rabbit com 1 Connect the AC adapter and the programming cable as shown in Chapter 2 Getting Started 2 Ethernet Connections If you do not have access to an Ethernet network use a crossover Ethernet cable to con nect the BL2100 to a PC that at least has a 10Base T Ethernet card If you have Ethernet access use a straigh...

Page 62: ...ed NOTE A hardware RESET is accomplished by unplugging the AC adapter then plug ging it back in or by momentarily grounding the board reset input at pin 9 on screw terminal header J2 When working with the BL2100 the green LNK light is on when a program is running and the board is properly connected either to an Ethernet hub or to an active Ethernet card The orange ACT light flashes each time a pac...

Page 63: ...edit the values in the section that directly follows the General Configuration comment in the TCP_CONFIG LIB library You will find this library in the LIB TCPIP directory 3 You can create a CUSTOM_CONFIG LIB library and use a TCPCONFIG value greater than 100 Instructions for doing this are at the beginning of the TCP_CONFIG LIB library in the LIB TCPIP directory There are some other standard confi...

Page 64: ... network interface card used for the Ethernet interface you intend to use e g TCP IP Xircom Credit Card Network Adapter and click on the Properties button Depending on which version of Windows your PC is running you may have to select the Local Area Connection first and then click on the Properties button to bring up the Ethernet interface dialog Then Configure your interface card for a 10Base T H...

Page 65: ...on is made Note If the LNK light does not light you may not have a crossover cable or if you are using a hub perhaps the power is off on the hub The next step is to ping the board from your PC This can be done by bringing up the MS DOS window and running the ping program ping 10 10 6 100 or by Start Run and typing the command ping 10 10 6 100 Notice that the orange ACT light flashes on the BL2100 ...

Page 66: ...ses high current output OUT00 to indicate that there is an open connection You may change the digital input and output to suit your application needs Run the Telnet program on your PC Start Run telnet 10 10 6 100 As long as you have not modified the TCPCONFIG 1 macro in the sample program the IP address is 10 10 6 100 as shown otherwise use the TCP IP settings you entered in the TCP_CONFIG LIB lib...

Page 67: ...User s Manual 61 APPENDIX A SPECIFICATIONS Appendix A provides the specifications for the BL2100 and describes the conformal coating ...

Page 68: ...l 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: ...ts software toggled as sinking or sourcing 36 V DC 200 mA maximum per channel Analog Inputs Eleven 12 bit res 10 V DC 1 M up to 4 100 samples s None Eleven 12 bit res 10 V DC 1 M up to 4 100 samples s None Analog Outputs Four 12 bit res 0 10 V DC update rate 12 kHz None Four 12 bit res 0 10 V DC update rate 12 kHz None Serial Ports 4 serial ports two RS 232 or one RS 232 with CTS RTS one RS 485 on...

Page 70: ... adjacent boards An exclusion zone of 0 12 3 mm is recom mended below the BL2100 Figure A 2 shows this exclusion zone Figure A 2 BL2100 Exclusion Zone Power 9 36 V DC 1 5 W max without display 3 W max with display Operating Temperature 40 C to 70 C Humidity 5 95 noncondensing Board Size 3 41 4 14 0 93 87 mm 105 mm 24 mm 13 V to 36 V DC supply voltage required to support full 0 10 V DC output range...

Page 71: ... located under the RabbitCore module Figure A 3 User Board Footprint for BL2100 NOTE The same footprint applies for the IDC header and bottom mount socket options Headers J21 J22 and J23 are used to mount the optional LCD keypad module J22 J20 J21 0 513 13 0 0 145 3 7 0 488 12 4 1 520 38 6 1 750 44 5 2 840 72 1 0 475 12 1 1 385 35 2 3 350 85 1 0 055 1 4 0 455 11 6 1 405 35 7 2 110 53 6 2 250 57 2 ...

Page 72: ...8 C99 C103 C104 R174 C111 R172 C106 R165 R161 R156 R154 R149 R147 C102 C97 C96 R152 C91 U18 DI08 DI09 DI10 DI11 DI12 DI13 DI14 DI15 RS485 RS485 PE5 INT GND DIO23 DIO22 DIO21 DIO20 DIO19 DIO18 DIO17 DIO16 DIO15 DIO14 DIO13 DIO12 DIO11 DIO10 Q26 D14 C74 R103 R99 C72 Q55 Q43 Q47 Q51 R95 R138 JP1 U7 R82 C61 Q30 Q34 R90 R136 R106 R81 C17 R96 Q52 Q48 J17 D18 C82 RP7 Q44 Q56 C75 D15 Q71 R104 R100 C69 Q67...

Page 73: ...onfigurations Figure A 5 shows the header locations used to configure the various BL2100 options via jumpers Figure A 5 Location of BL2100 Configurable Positions JP3 JP1 Top Side JP2 Bottom Side R60 R59 R61 R56 R54 R57 R69 R71 R70 ...

Page 74: ...are not actually connected to anything and this configuration is a parking configuration for the jumpers so that they will be readily available should you need to enable the termination and bias resistors in the future JP2 Software I O Configuration Option 1 2 Standard 2 3 Custom IN16 IN23 are config ured as digital sinking outputs JP3 Analog Circuit Option 1 2 Installed BL2100 BL2120 2 3 Not inst...

Page 75: ...PA6 Input IN22 Pulled up PA7 Input IN23 Pulled up PB0 Input DAC_ADC_SDO Pulled up PB1 Input Not Used Pulled up PB2 Input ADC_EOC Driven by A D converter PB3 Input Not Used Pulled up RABBIT 2000 Port A Port B synch Serial Port B Port D Serial Port B Port E PA0 PA7 PB0 PB2 PB4 PB5 PB7 PE0 PE1 PE7 PD0 PD1 PD5 A0 A3 IORD IOWR D0 D7 RESET Data Lines Address Lines I O Control Watchdog 7 Timers Clock Dou...

Page 76: ...d by sock_init PD1 Input Realtek SDO Initialized by sock_init PD2 Output Not used Inactive high PD3 Output DAC CLK Line Inactive high PD4 Output ATXB RS 232 Serial Port B Inactive high PD5 Input ARXB RS 232 Inactive high PD6 Output Not used Inactive high PD7 Output Not used Inactive high PE0 Output Digital I O strobe Inactive high PE1 Output External I O enable Inactive high PE2 N A Realtek IORB s...

Page 77: ...ile PB0 and PB7 are used for data in and data out respectively PD4 and PD5 are used for RS 485 communication The direction of the communication is controlled by the control register PC0 PC1 and PC2 PC3 are used for RS 232 communi cation They can be used separately as two 3 wire RS 232 or they may be combined to work as a 5 wire RS 232 port Table A 4 Digital I O Addresses External Address Name Func...

Page 78: ...72 Smartcat BL2100 ...

Page 79: ...stor R29 This is done to minimize digital noise in the analog circuits and to eliminate the possibility of ground loops External connections to analog ground are made on header J2 J1 and external connections to digital ground are made on headers J5 J4 and J11 J10 B 1 1 Power for Analog Circuits Power to the analog circuits is provided by way of a two stage low pass filter which iso lates the analo...

Page 80: ... will come from the battery The reset generator circuit controls the source of power by way of its RESET output signal A replaceable 265 mA h lithium battery provides power to the real time clock and SRAM when external power is removed from the circuit board The drain on the battery is typically less than 10 µA when there is no external power applied to the BL2100 and so the expected shelf life of...

Page 81: ...e recommended by the battery manufacturer Dispose of used batteries according to the battery manufacturer s instructions B 2 2 Battery Backup Circuit Figure B 2 shows the battery backup circuit located on the BL2100 module Figure B 2 BL2100 Backup Battery Circuit The battery backup circuit serves three purposes It reduces the battery voltage to the SRAM and to the real time clock thereby limiting ...

Page 82: ...ts powered by Vcc will not have a significantly different voltage than VRAM When the BL2100 is not in reset the RESET line will be high This turns on Q2 causing its collector to go low This turns on Q5 allowing VRAM to nearly equal Vcc When the BL2100 is in reset the RESET line will go low This turns off Q2 and Q5 pro viding an isolation between Vcc and VRAM B 2 4 Reset Generator The BL2100 module...

Page 83: ... control the SRAM s CS signal CSRAM So with power applied CSRAM must be the same signal as CS1 and with power removed CSRAM must be held high but only needs to be battery voltage high Q3 and Q4 are MOSFET transistors with com plementary polarity They are both turned on when power is applied to the circuit They allow the CS signal to pass from the processor to the SRAM so that the processor can per...

Page 84: ...78 Smartcat BL2100 ...

Page 85: ...1 Figure C 1 LCD Keypad Module Versions Only the version without the bezel can mount directly on the BL2100 either version can be installed at a remote location up to 60 cm 24 away The version without a bezel is also sold with the enclosure described in Appendix D Contact your Rabbit sales represen tative or your authorized distributor for further assistance in purchasing an LCD keypad module Moun...

Page 86: ...ections Connects to high rise header sockets on BL2100 LCD Panel Size 122 32 graphic display Keypad 7 key keypad LEDs Seven user programmable LEDs The LCD keypad module has 0 1 IDC header sockets at J1 J2 and J3 for physical connection to other boards or ribbon cables Figure C 2 shows the LCD keypad module foot print These values are relative to one of the mounting holes NOTE All measurements are ...

Page 87: ... by setting the voltage for 5 V by removing the jumper that was installed at the factory across pins 1 2 on header J5 as shown in Figure C 3 Only one of these two options is available on these older LCD keypad modules NOTE Older LCD keypad modules that do not have a header at J5 or a contrast adjust ment potentiometer at R2 are limited to operate only at 5 V and will work with the BL2100 These LCD...

Page 88: ...egend and insert your new legend prepared according to the template in Figure C 4 The keypad legend is located under the blue key pad matte and is accessible from the left only as shown in Figure C 5 Figure C 5 Removing and Inserting Keypad Label The sample program KEYBASIC C in the SAMPLES LCD_KEYPAD 122x32_1x7 folder shows how to reconfigure the keypad for different applications 1 10 28 2 35 60 ...

Page 89: ...e C 2 LCD Keypad Module Address Assignment Address Function Exx0 Exx7 LCD control Exx8 LED enable Exx9 Not used ExxA 7 key keypad ExxB bits 0 6 7 LED driver ExxB bit 7 LCD backlight on off ExxC ExxF Not used DB6B DB4B DB2B DB0B A1B A3B GND LED7 LED5 LED3 LED1 RES VCC DB7B DB5B DB3B DB1B A0B A2B GND GND LED6 LED4 LED2 PE7 5BKLT J1 GND GND LED6 LED4 LED2 PE7 5BKLT GND LED7 LED5 LED3 LED1 RES VCC J2 ...

Page 90: ...IO19 DIO18 DIO17 DIO16 DIO15 DIO14 DIO13 DIO12 DIO11 DIO10 R103 R99 C72 Q55 Q43 Q47 Q51 R95 R138 JP1 U7 R82 C61 Q30 Q34 R90 R136 R106 R81 C17 R96 Q52 Q48 J17 D18 C82 RP7 Q44 Q56 C75 D15 Q71 R104 R100 C69 Q67 Q63 Q59 Q4 Q5 RP5 RP6 U4 C14 J16 R11 R10 R186 R142 J14 Q78 J22 J20 J4 R78 Q11 R74 Q15 C54 Q19 R70 C15 U5 U10 C118 Q21 Q17 R72 C56 Q32 Q36 R84 C63 R88 R92 Q28 Q40 Q25 Q13 R80 R76 D9 C65 R86 Q38...

Page 91: ...tween the Program Mode and the Run Mode To avoid the inconvenience of removing and replacing the LCD key pad module each time the programming cable may be disconnected reconnected at the RS 232 CMOS level converter in the middle of the programming cable 1 Peel back plastic shrink wrap as shown in Figure C 8 Figure C 8 Peel Back Plastic Shrink Wrap 2 Disconnect the programming cable at RS 2332 CMOS...

Page 92: ...rogramming Cable Once you have finished programming the LCD keypad module you should disconnect the programming cable from the BL2100 programming port remembering to first remove or at least lift up the LCD keypad module disconnect the programming cable and finally mount the LCD keypad module back firmly on the BL2100 main board PROG DIAG Line up colored edges when reconnecting programming cable T...

Page 93: ...mount installation 1 Cut mounting holes in the mounting panel in accordance with the recommended dimen sions in Figure C 11 then use the bezel faceplate to mount the LCD keypad module onto the panel Figure C 11 Recommended Cutout Dimensions 2 Carefully drop in the LCD keypad module with the bezel and gasket attached 3 400 86 4 3 100 78 8 2 870 72 9 0 230 5 8 0 125 D 4x 3 CUTOUT 0 130 3 3 ...

Page 94: ...he gasket is compressed and the plastic bezel face plate is touching the panel Do not tighten each screw fully before moving on to the next screw Apply only one or two turns to each screw in sequence until all are tightened manually as far as they can be so that the gasket is compressed and the plastic bezel faceplate is touching the panel Bezel Gasket DISPLAY BOARD U1 U2 C1 C2 C3 C4 U3 R17 J1 Q1 ...

Page 95: ... Q47 Q51 R95 R138 JP1 U7 R82 C61 Q30 Q34 R90 R136 R106 R81 C17 R96 Q52 Q48 J17 D18 C82 RP7 Q44 Q56 C75 D15 Q71 R104 R100 C69 Q67 Q63 Q59 Q4 Q5 RP5 RP6 U4 C14 J16 R11 R9 R10 R119 R186 R142 R8 R7 JP6 J14 Q78 J22 J20 J4 D6 Q23 RP11 C58 R78 Q11 R74 Q15 C54 Q19 R70 C15 U5 U10 C118 Q21 Q17 R72 C56 Q32 Q36 R84 C63 R88 R92 Q28 Q40 C67 D11 C60 D8 Q25 Q13 R80 R76 D9 C65 R86 Q38 U20 C113 C110 C27 R175 C114 R...

Page 96: ... Demonstrates the following keypad functions in the STDIO display window default ASCII keypad return values custom ASCII keypad return values keypad repeat functionality KEYMENU C Demonstrates how to implement a menu system using a highlight bar on a graphic LCD display The menu options for this sample are as follows 1 Set Date Time 2 Display Date Time 3 Turn Backlight OFF 4 Turn Backlight ON 5 To...

Page 97: ...he two boards communicate with each other Use PCSEND EXE on the PC console side at the command prompt if you do not have a second board PCSEND EXE is located with source code in the SAMPLES LCD_Keypad Windows directory TCP_RESPOND C waits for a message from another single board computer The mes sage received is displayed on the LCD and you may respond by pressing a key on the keypad The response i...

Page 98: ...nit function executes One function is available to control the LEDs and can be found in the BL21XX LIB library LED on off control This function will only work when the LCD keypad module is installed on the BL2100 PARAMETERS led is the LED to control 0 LED DS1 1 LED DS2 2 LED DS3 3 LED DS4 4 LED DS5 5 LED DS6 6 LED DS7 value is the value used to control whether the LED is on or off 0 or 1 0 off 1 o...

Page 99: ...trast glPlotDot glBlock glPlotDot glPlotPolygon glPlotCircle glHScroll glVScroll glXFontInit glPrintf glPutChar glSetBrushType glBuffLock glBuffUnlock glPlotLine Turns the display backlight on or off PARAMETER onOff turns the backlight on or off 1 turn the backlight on 0 turn the backlight off RETURN VALUE None SEE ALSO glInit glDispOnoff glSetContrast Sets the LCD screen on or off Data will not b...

Page 100: ...y screen to white RETURN VALUE None SEE ALSO glFillScreen glBlock glPlotPolygon glPlotCircle Draws a rectangular block in the page buffer and on the LCD if the buffer is unlocked Any portion of the block that is outside the LCD display area will be clipped PARAMETERS x is the x coordinate of the top left corner of the block y is the y coordinate of the top left corner of the block bmWidth is the w...

Page 101: ...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 If fewer than 3 vertices are specified the function will return without doing anything PARAMETERS n is the number of vertices y1 is the y coordinate of the first vertex x1 is the x coordinate of the first vertex y2 is the y coordin...

Page 102: ... doing anything PARAMETERS n is the number of vertices x1 is the x coordinate of the first vertex y1 is the y coordinate of the first vertex x2 is the x coordinate of the second vertex y2 is the y coordinate of the second vertex are the coordinates of additional vertices RETURN VALUE None SEE ALSO glFillVPolygon glPlotPolygon glPlotVPolygon Draws the outline of a circle in the LCD page buffer and ...

Page 103: ...riptor structure where the font is stored in xmem PARAMETERS pInfo is a pointer to the font descriptor to be initialized pixWidth is the width in pixels of each font item pixHeight is the height in pixels of each font item startChar is the value of the first printable character in the font character set endChar is the value of the last printable character in the font character set xmemBuffer is th...

Page 104: ... the top left corner of the text y is the y coordinate row of the top left corner of the text pInfo is a pointer to the font descriptor code is the ASCII character to display RETURN VALUE None SEE ALSO glFontCharAddr glPrintf Sets the glPrintf printing step direction The x and y step directions are independent signed values The actual step increments depend on the height and width of the font bein...

Page 105: ...ovides an interface between the STDIO string handling functions and the graphic library The STDIO string formatting function will call this function one character at a time until the entire format ted string has been parsed Any portion of the bitmap character that is outside the LCD display area will be clipped PARAMETERS ch is the character to be displayed on the LCD ptr is not used but is a plac...

Page 106: ...d string conversion parameter s EXAMPLE glprintf 0 0 fi12x16 Test d n count RETURN VALUE None SEE ALSO glXFontInit Increments LCD screen locking counter Graphic calls are recorded in the LCD memory buffer and are not transferred to the LCD if the counter is non zero NOTE glBuffLock and glBuffUnlock can be nested up to a level of 255 but be sure to balance the calls It is not a requirement to use t...

Page 107: ...s white pixels turns pixel off PIXXOR draws old pixel XOR ed with the new pixel RETURN VALUE None SEE ALSO glGetBrushType Gets the current method or color of pixels drawn by subsequent graphic calls RETURN VALUE The current brush type SEE ALSO glSetBrushType 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 w...

Page 108: ...nly divisible by 8 otherwise truncates top is the top left corner of the bitmap cols is the number of columns in the window must be evenly divisible by 8 otherwise truncates rows is the number of rows in the window RETURN VALUE None SEE ALSO glHScroll glRight1 Scrolls byte aligned window right one pixel left column is filled by current pixel type color PARAMETERS left is the top left corner of bit...

Page 109: ... rows in the window RETURN VALUE None SEE ALSO glVScroll glDown1 Scrolls byte aligned window down one pixel top column is filled by current pixel type color PARAMETERS left is the top left corner of bitmap must be evenly divisible by 8 otherwise truncates top is the top left corner of the bitmap cols is the number of columns in the window must be evenly divisible by 8 otherwise truncates rows is t...

Page 110: ...8 2 Parameters will be checked to verify that the scrolling area is valid The minimum scrolling area is a width of 8 pixels and a height of one row PARAMETERS left is the top left corner of bitmap must be evenly divisible by 8 top is the top left corner of the bitmap cols is the number of columns in the window must be evenly divisible by 8 rows is the number of rows in the window nPix is the numbe...

Page 111: ...venly divisible by 8 rows is the number of rows in the window nPix is the number of pixels to scroll within the defined window a negative value will produce a scroll up RETURN VALUE None SEE ALSO glHScroll Draws bitmap in the specified space The data for the bitmap are stored in xmem This function calls glXPutFastmap automatically if the bitmap is byte aligned the left edge and the width are each ...

Page 112: ...y characters within the text window using only character row and column coordinates The text window feature provides end of line wrapping and clipping after the character in the last column and row is displayed NOTE Execute the TextWindowFrame function before other Text functions PARAMETERS window is a window frame descriptor pointer pFont is a font descriptor pointer x is the x coordinate of the ...

Page 113: ...LSO TextPutChar TextPrintf TextWindowFrame Gets the current cursor location that was set by a Graphic Text function NOTE Execute the TextWindowFrame function before using this function PARAMETERS window is a pointer to a font descriptor col is a pointer to cursor column variable row is a pointer to cursor row variable RETURN VALUE Lower word Cursor Row location Upper word Cursor Column location SE...

Page 114: ...ted also escape sequences r and n are recognized All other escape sequences will be skipped over for example b and t will print if they exist in the font set but will not have any effect as control characters The text window feature provides end of line wrapping and clipping after the character in the last col umn and row is displayed The cursor then remains at the end of the string NOTE Execute t...

Page 115: ...lue is returned when a key is pressed 0 Unused See keypadDef for default press codes cRelease is a key release code An 8 bit value is returned when a key is pressed 0 Unused cCntHold is a hold tick which is approximately one debounce period or 5 µs How long to hold before repeating 0 No Repeat cSpdLo is a low speed repeat tick which is approximately one debounce period or 5 µs How many times to re...

Page 116: ...ssignment debouncing press and release and repeat NOTE This function is also able to process an 8 x 8 matrix keypad RETURN VALUE None SEE ALSO keyConfig keyGet keypadDef Get next keypress RETURN VALUE The next keypress or 0 if none SEE ALSO keyConfig keyProcess keypadDef Pushes the value of cKey to the top of the input queue which is 16 bytes deep PARAMETER cKey RETURN VALUE None SEE ALSO keyGet v...

Page 117: ... keyConfig 3 R 0 0 0 0 0 keyConfig 6 E 0 0 0 0 0 keyConfig 2 D 0 0 0 0 0 keyConfig 4 0 0 0 0 0 keyConfig 1 U 0 0 0 0 0 keyConfig 5 0 0 0 0 0 keyConfig 0 L 0 0 0 0 0 Characters are returned upon keypress with no repeat RETURN VALUE None SEE ALSO keyConfig keyGet keyProcess Writes 1 to each row and reads the value The position of a keypress is indicated by a zero value in a bit position PARAMETER pc...

Page 118: ...112 Smartcat BL2100 ...

Page 119: ...of a base and a cover The base alone is a convenient surface on which to mount the 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 ...

Page 120: ...1 U1 J21 U2 J7 K2 K1 DO09 DO08 DO07 DO06 DO05 DO04 DO03 DO02 DO01 DO00 GND RAW 232CR 232CT 232DR 232DT DIO0 DIO1 DIO2 DIO3 DIO4 DIO5 DIO6 DIO7 ADCIN10 ADCIN9 ADCIN8 ADCIN7 ADCIN6 ADCIN5 DAC03 DAC02 AGND DAC01 DAC02 ADCIN4 ADCIN3 ADCIN2 ADCIN1 ADCIN0 J1 J11 R162 R155 R153 R145 R146 C26 Battery J1 R2 C3 D2 R7 C27 R8 R36 RT1 R41 R37 R38 D1 R39 Y2 C2 C1 U8 U7 U3 U6 C7 GND GND EGND DS2 LNK ACT DS1 R19 ...

Page 121: ...70 C15 U5 U10 C118 Q21 Q17 R72 C56 Q32 Q36 R84 C63 R88 R92 Q28 Q40 C67 D11 C60 D8 Q25 Q13 R80 R76 D9 C65 R86 Q38 U20 C113 C110 C27 R175 C114 R179 R178 R177 C115 R180 R173 C112 R181 Q74 Q75 R176 C12 C6 C7 C11 U1 J21 U2 J7 K2 K1 DO09 DO08 DO07 DO06 DO05 DO04 DO03 DO02 DO01 DO00 GND RAW 232CR 232CT 232DR 232DT DIO0 DIO1 DIO2 DIO3 DIO4 DIO5 DIO6 DIO7 ADCIN10 ADCIN9 ADCIN8 ADCIN7 ADCIN6 ADCIN5 DAC03 DA...

Page 122: ... IO 20 D IO 19 D IO 18 D IO 17 D IO 16 D IO 15 D IO 14 D IO 13 D IO 12 D IO 11 D IO 10 Q 26 D14 C74 R103 R99 C72 Q55 Q43 Q47 Q51 R95 R 13 8 J P 1 U 7 R82 C61 Q30 Q34 R 90 R136 R 10 6 R 81 C 17 R96 Q52 Q48 J 1 7 D 18 C 82 R P7 Q44 Q56 C75 D15 Q71 R104 R100 C69 Q67 Q63 Q59 Q 4 Q 5 R P5 R P6 U 4 C 14 J 1 6 R11 R 9 R10 R 11 9 R186 R142 R 8 R 7 J P 6 J 1 4 Q78 J 2 2 J 2 0 J 4 D6 Q23 R P1 1 C 58 R78 Q11...

Page 123: ...he total height of the plastic enclosure will be 1 5 38 mm NOTE All measurements are in inches followed by millimeters enclosed in parentheses All dimensions have a manufacturing tolerance of 0 01 0 25 mm 5 5 7 9 1 4 2 2 113 54 1 375 35 0 25 6 4 1 3 7 5 3 5 3 603 92 4 875 124 5 6 0 1 4 2 1 375 35 4 853 123 2 8 3 9 7 2 4 3 2 9 1 1 0 ...

Page 124: ...118 Smartcat BL2100 ...

Page 125: ...d Proceed as follows 1 Use the wires included in the BL2100 Tool Kit to connect header J1 on the Demonstra tion Board to screw terminal headers J5 and J8 on the BL2100 The connections are shown in Figure E 1 for sample program DIGIN C and for sample program SMTP C in Figure E 2 for sample program DIGOUT C and in Figure E 3 for sample program SSI C 2 Make sure that your BL2100 is connected to your ...

Page 126: ...25 R117 JP3 U17 R115 C110 Q52 Q59 R102 R112 R111 R103 C100 R106 Q61 Q62 J17 D15 C106 RP15 Q64 Q63 C108 D13 Q51 R110 R107 C103 Q48 Q49 Q50 Q30 Q29 RP12 RP13 U15 C90 J16 R66 R67 R68 R129 R63 R64 R65 R58 JP1 Q5 J22 J20 D3 Q6 RP9 C73 R76 Q7 R77 Q8 C75 Q9 R80 C77 U11 U13 C88 Q23 Q22 R87 C84 Q33 Q34 R94 C96 R92 R90 Q32 Q31 C94 D8 C82 D6 Q20 Q21 R83 R85 D10 C102 R113 Q42 U1 C4 C13 C17 R15 C15 R14 R18 R4 ...

Page 127: ...1 OUT10 Q60 D16 C116 R123 R127 C118 Q66 Q67 Q68 Q69 R125 R117 JP3 U17 R115 C110 Q52 Q59 R102 R112 R111 R103 C100 R106 Q61 Q62 J17 D15 C106 RP15 Q64 Q63 C108 D13 Q51 R110 R107 C103 Q48 Q49 Q50 Q30 Q29 RP12 RP13 U15 C90 J16 R66 R67 R68 R129 R63 R64 R65 R58 JP1 Q5 J22 J20 D3 Q6 RP9 C73 R76 Q7 R77 Q8 C75 Q9 R80 C77 U11 U13 C88 Q23 Q22 R87 C84 Q33 Q34 R94 C96 R92 R90 Q32 Q31 C94 D8 C82 D6 Q20 Q21 R83 R...

Page 128: ...UT10 Q60 D16 C116 R123 R127 C118 Q66 Q67 Q68 Q69 R125 R117 JP3 U17 R115 C110 Q52 Q59 R102 R112 R111 R103 C100 R106 Q61 Q62 J17 D15 C106 RP15 Q64 Q63 C108 D13 Q51 R110 R107 C103 Q48 Q49 Q50 Q30 Q29 RP12 RP13 U15 C90 J16 R66 R67 R68 R129 R63 R64 R65 R58 JP1 Q5 J22 J20 D3 Q6 RP9 C73 R76 Q7 R77 Q8 C75 Q9 R80 C77 U11 U13 C88 Q23 Q22 R87 C84 Q33 Q34 R94 C96 R92 R90 Q32 Q31 C94 D8 C82 D6 Q20 Q21 R83 R85 ...

Page 129: ... 122 jumper configurations 120 121 122 wire assembly 4 digital I O address assignments 71 configure IN16 IN23 as digi tal inputs or outputs 71 control register bit map 71 function calls digIn 44 digOut 44 digOutConfig 21 43 SMODE0 27 SMODE1 27 digital inputs 20 switching threshold 20 digital outputs 21 sinking or sourcing 21 dimensions BL2100 main board 62 LCD keypad module 79 LCD keypad template ...

Page 130: ...tCursorLocation 107 TextGotoXY 107 TextPrintf 108 TextPutChar 108 TextWindowFrame 106 LDEs function calls ledOut 92 mounting instructions 84 mounting locations 65 remote cable connection 89 removing andinserting keypad label 82 removing and plugging in pro gramming cable 85 86 sample programs 90 versions 79 M memory 32 flash memory configurations 32 SRAM configuration for dif ferent sizes 32 model...

Page 131: ...485 description 23 RS 485 network 24 RS 485 termination and bias resistors 25 serial ports Ethernet port 26 setup 9 attach BL2100 to enclosure base 10 power supply connections 13 programming cable connec tions 12 reconnect RabbitCore module 11 remove RabbitCore module 9 software 5 LCD keypad module LEDs 92 libraries 41 BL2100 41 BL21xx LIB 41 PACKET LIB 45 RS232 LIB 45 TCP IP 41 macros USE_2NDFLAS...

Page 132: ...126 Smartcat BL2100 ...

Page 133: ...e 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 latest schemat...

Page 134: ......

Page 135: ...cs Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Rabbit Semiconductor 101 0546 101 0551 101 0565 101 0566 101 0567 101 0568 101 0569 101 0818 101 0548 101 0463 101 0461 101 0464 ...

Reviews: