Need help finding a 12v <-> 5v level converter
I'm trying to interface a 4021 (8 stage static shift register) chip which is receiving a 12v clock and data input from a remote device to a PIC chip. The PIC needs to talk at 5v TTL levels. The PIC is interfacing to the 8 bit parallel side of the 4021, the remote device connecting serially.
As the 4021 is bi-directional I need to do line level converting in both directions.
Anyone know of a simple solution that can handle the job?
Thanks,
Matt.