The microchip PIC microcontroller incorporates an I2C interface on one side using bit-banging on a 12F675 device and an RS232 serial interface on the other.
The RS232 in this device refers to waveforms that operate at 5V TTL levels and could destroy the PIC device if it operates at 12V levels but between them, an appropriate converter must be used. The diagram of the circuit is simple since it only has the ICSP socket with one diode and one resistor, the PIC with decoupling capacitor, the I2C interface with connector and two pull-up resistors, and the RS232 interface as the connector.
During the operation, it is possible to build up an I2C command in the PIC RAM by sending commands on the RS232 interface. The PIC will run via stored sequence and send it out on the I2C interface after the final byte is sent on the RS232 interface. This stores any data that has been read back. And the whole thing is copied back out of the RS232 interface when the I2C command has finished.
A stripboard is used by the circuit with DIL packaged IC and usual through-hole passive components.
Wire-to-board interconnection options from Sullins feature a wide range of sizes and applications
MCC’s TVS series high-power suppressors protect sensitive components from voltage spikes and transients
Evaluation boards that streamline evaluating circuit protection on RS-485 serial device ports
There are currently no comments.