Not sure if this is the right place for this.
I'm trying to read in serially via pins 1 & 2 on the uno. I want to read in a binary count number off two counters, CD40193BE. It is a 5 bit number. Can someone suggest a serial communcation chip for the uno that would allow me to do this. In other words, I need something like a shift register where I can load in my 5 bits and then shift them serially to a serial port which can then be read by the uno. I don't know what chip would allow me to do this, I think it needs to have some kind of TX and RX pin to interface to the UNO. I think I would need a shift register additionally so I could load the binary counter number?.?
shift bits in - http://www.arduino.cc/en/Tutorial/ShiftIn - google 74HC165
shift bits out - http://www.arduino.cc/en/Tutorial/ShiftOut - google 74HC595
Not through the serial port but very usefull chips that can be cascaded.
Thanks. I think I was thinking to complicated with a serial port chip. After all its just a 5 bit number. I will use the shiftregister directly in combination witht he shift in functions.
I'm trying to read in serially via pins 1 & 2 on the uno
You really should plan on a different set of pins. Pins 0 and 1 are the hardware serial port pins. Unless absolutely necessary, those two pins should not be used for other purposes. Doing so will, of course, disable/interfere seriously with serial communications, including debugging using the serial monitor.