More PIC Applications:Temperature Controller Test Program

Temperature Controller Test Program Program 13.1 was written to exercise the hardware and to get started in developing applications for the TEMCON2 system, using hardware built to this design or the simulation download. The program will read in the analogue inputs (select the test inputs by setting the dual in-line (DIL) switches on) and display […]
Continue reading…

 

More PIC Applications:Hardware Development

Hardware Development The circuit was developed using Labcenter™ ISIS schematic capture software, a component of Proteus VSM, which provides animated drawing objects for integrated software and hardware testing (see Appendix E for details). When the circuit had been tested by simulation, a stripboard implementation was devised (Figure 13.4). This layout was designed for an earlier […]
Continue reading…

 

More PIC Applications:TEMCON2 Temperature Controller

TEMCON2 Temperature Controller The 16F887 has a comprehensive set of peripheral features, including 14 analogue inputs, three timers, four ECCP (Enhanced Capture Compare PWM) channels, extended universal synchronous asynchronous receiver transmitter (EUSART), MSSP (Master Synchronous Serial Port) and in-circuit debugging (ICD). The ’887 is a pin-compatible replacement for the 16F877A, with some extra features such […]
Continue reading…

 

Hardware Prototyping:Dizi84 Board Design

Dizi84 Board Design A circuit will now be designed, and a set of programs provided, to illustrate the hardware design process and programming principles discussed in previous sections. The DIZI board will allow the user to experiment with the various features of the PIC hardware and programming techniques. Hardware Specification The microcontroller demonstration board will […]
Continue reading…

 

Program Debugging:Logical Errors

Logical Errors When all syntax errors have been eliminated the program will assemble successfully, and the hex file will be created. However, this does not necessarily mean that it will function correctly when downloaded to the chip; in fact, it probably won’t! Usually there will be logical errors, particularly when learning the programming method. Mistakes […]
Continue reading…