Fox (LP3500)
Chapter 4. Software 39
4.1 Upgrading Dynamic C .......................................................................................................................41
4.1.1 Patches and Bug Fixes................................................................................................................41
4.1.2 Extras..........................................................................................................................................41
4.2 Sample Programs................................................................................................................................42
4.2.1 Power Modes.............................................................................................................................. 42
4.2.2 Digital I/O...................................................................................................................................42
4.2.3 Serial Communication................................................................................................................43
4.2.4 A/D Converter Inputs................................................................................................................. 43
4.2.5 PWM Outputs............................................................................................................................. 44
4.2.6 Relay Output............................................................................................................................... 44
4.2.7 Vcc Monitoring ..........................................................................................................................44
4.2.8 LP3500 Calibration ....................................................................................................................44
4.2.9 LCD/Keypad Module Sample Programs.................................................................................... 45
4.3 LP3500 Libraries................................................................................................................................46
4.4 LP3500 Function Calls.......................................................................................................................47
4.4.1 LP3500 Power Modes ................................................................................................................47
4.4.2 Board Initialization.....................................................................................................................51
4.4.3 Digital I/O...................................................................................................................................52
4.4.4 Serial Communication................................................................................................................54
4.4.5 A/D Converter Inputs................................................................................................................. 56
4.4.6 Vcc Monitoring (LP3500 only)..................................................................................................68
4.4.7 PWM Outputs............................................................................................................................. 69
4.5 Relay Output (LP3500 only)..............................................................................................................70
Appendix A. LP3500 Specifications 71
A.1 Electrical and Mechanical Characteristics ........................................................................................72
A.1.1 Exclusion Zone..........................................................................................................................75
A.1.2 Headers......................................................................................................................................76
A.2 Conformal Coating............................................................................................................................77
A.3 Jumper Configurations...................................................................................................................... 78
A.4 Use of Rabbit 3000 Parallel Ports .....................................................................................................81
Appendix B. Prototyping Board 85
B.1 Mechanical Dimensions and Layout .................................................................................................86
B.2 Using the Prototyping Board............................................................................................................. 87
B.2.1 Interface to LP3500 ...................................................................................................................87
B.2.2 Demonstration Board.................................................................................................................88
B.2.3 Prototyping Area........................................................................................................................88
Appendix C. LCD/Keypad Module 89
C.1 Specifications.....................................................................................................................................89
C.2 Contrast Adjustment..........................................................................................................................91
C.3 Keypad Labeling................................................................................................................................92
C.4 Header Pinouts...................................................................................................................................93
C.4.1 I/O Address Assignments ..........................................................................................................93
C.5 Bezel-Mount Installation...................................................................................................................94
C.6 Connect the LCD/Keypad Module to Your LP3500.........................................................................96
C.7 LCD/Keypad Module Function Calls................................................................................................ 97
C.7.1 LEDs..........................................................................................................................................97
C.7.2 LCD Display.............................................................................................................................. 98
C.7.3 Keypad.....................................................................................................................................115
C.8 Sample Programs.............................................................................................................................118
Appendix D. Plastic Enclosure 119
D.1 Assembly Instructions..................................................................................................................... 120
D.2 Dimensions......................................................................................................................................122