IO Controller with Command Line Interface
This code runs on a PIC 16F627A or 628A (and A.F.A.I.K 627/628 parts). It uses the serial USART on the PIC to communicate with a PC. Through this a simple CLI (Command Line Interface) is implemented that allows commands to be sent to the PIC to control output lines and read and return the status of inputs on the PIC The serial interface is configured to operate at 9600bps, 8bits, No Parity, 1 stop bit. Port A is configured as the output port, not forgetting that RA4 is an ‘input only’. Port B is used as the input port, again RB1 and RB2 are used by the PIC USART so aren’t available.
Read Source: http://picprojects.org.uk/projects/picprojects.htm#IO
Related Links
More circuits about Interface circuits
More circuits about IO Controller circuit
Interface Circuits by IC LM324
Basic USB-RS232 Communication by PIC Microcontroller
Control stepping motor via USB interface
USB Data acquisition with PIC18F4550
Categories: Digital, Microcontroller Tags: interface circuits, IO Controller circuit




or

