Wildcat (BL2000)
4.2 Sample Programs................................................................................................................................38
4.2.1 General BL2000 Sample Programs............................................................................................38
4.2.2 Digital I/O...................................................................................................................................38
4.2.3 Serial Communication................................................................................................................ 39
4.2.4 A/D Converter Inputs................................................................................................................. 39
4.2.5 D/A Converter Outputs...............................................................................................................40
4.2.6 Real-Time Clock ........................................................................................................................ 40
4.2.7 TCP/IP Sample Programs........................................................................................................... 40
4.3 BL2000 Libraries ...............................................................................................................................41
4.4 BL2000 Function Calls ...................................................................................................................... 42
4.4.1 Board Initialization..................................................................................................................... 42
4.4.2 Digital I/O...................................................................................................................................44
4.4.3 Serial Communication................................................................................................................ 45
4.4.4 Relay and LED Outputs..............................................................................................................46
4.4.5 A/D Converter Inputs................................................................................................................. 47
4.4.6 D/A Converter Outputs...............................................................................................................50
Chapter 5. Using the TCP/IP Features 53
5.1 TCP/IP Connections...........................................................................................................................53
5.2 TCP/IP Sample Programs................................................................................................................... 55
5.2.1 How to Set IP Addresses in the Sample Programs.....................................................................55
5.2.2 How to Set Up your Computer’s IP Address for a Direct Connection ...................................... 56
5.3 Run the PINGME.C Sample Program................................................................................................57
5.4 Running More Sample Programs With a Direct Connection............................................................. 58
5.5 Where Do I Go From Here?............................................................................................................... 58
Appendix A. Specifications 59
A.1 Electrical and Mechanical Specifications.......................................................................................... 60
A.1.1 Headers...................................................................................................................................... 63
A.2 Conformal Coating............................................................................................................................64
A.3 Jumper Configurations ......................................................................................................................65
A.4 Use of Rabbit 2000 Parallel Ports ..................................................................................................... 67
Appendix B. Plastic Enclosure 69
B.1 Assembly...........................................................................................................................................70
B.2 Dimensions........................................................................................................................................ 72
Appendix C. Power Supply 73
C.1 Power Supplies.................................................................................................................................. 73
C.1.1 Power for Analog Circuits.........................................................................................................74
C.2 Batteries and External Battery Connections......................................................................................74
C.2.1 Replacing the Backup Battery ...................................................................................................75
C.2.2 Battery-Backup Circuit.............................................................................................................. 75
C.2.3 Power to VRAM Switch............................................................................................................76
C.2.4 Reset Generator..........................................................................................................................77
C.3 Chip Select Circuit............................................................................................................................. 78
Appendix D. Demonstration Board 81
D.1 Connecting Demonstration Board.....................................................................................................81
Index 85
Schematics 89