Download V02 - EleSof
Transcript
USER MANUAL PICBox1 s 3 page e EleSof ® TABLE OF CONTENTS Introduction to PICBox1 Development System……………………………………….…..4 Key Features…………………………………………………………………….…………5 • ICSP Programming………………………….……………………………………..6 • Power Supply…………………………………………………………….…….…..7 • LED’s.……………………………………………………………………………...8 • Seven Segment………………………………………………………………….….9 • Switch’s.………………………………………………………..………….……..10 • PWM………………………………………………………..……………….........11 • Buzzer…………………………………………….………………………………12 • DC Motor................................................................................................................13 • Stepper Motor………………………………………………………………….....14 • ADC…………….………………………………………………………………...15 • 16x2LCD Display…..…………………………………………….……………....16 • Rs232.…………………………………………………………………………….17 2 • I C EEPROM……….…………………………………….……………………...18 • I/O Pins………………………….……………………………………………….19 Schematic of PICBox1………………………………………………………………..…..20 Introduction to Embedded Systems……………………………………………….…........21 Introduction to PIC and CCS Compiler……………………………………….............22-23 Overview of Embedded C………………………………………………………..……24-25 Experiments On Board • Lab[1]: Configuring I/O pins……………….…………………………....….…..26 • Lab[2]: Button Sensing……………….……………………………..……..........27 • Lab[3]: Analog to Digital conversion (ADC)………………………….........…..28 • Lab[4]: Seven Segment Based Timer……………………………………….......29 • Lab[5]: Drive 16x2-LCD Display at 8-Bit mode….………………….……...30-31 • Lab[6]: Rs232 Communication ……….………..………………………….........32 • Lab[7]: Read/Write Internal EEPROM……………………………..……...........33 • Lab[8]: Read/Write External EEPROM ….……………….……………….........34 • Lab[9]: PWM (Pulse Width Modulation)…………………………………....35-36 • Lab[10]: Drive Buzzer............................................................................................37 • Lab[11]: Drive Dc Motor………………………………………………….......38-39 • Lab[12]: Drive Stepper Motor............................................................................40-41