How to control 4 8-bit displays with two pins?

Thread Starter

Pinnacle187

Joined Apr 28, 2016
16
Hello everyone. A professor recently gave us the task to turn on four 8-bit displays with only two pins from a pic. While it seems simple i've had some trouble with this. Any ideas? thank you in advance!
 

shteii01

Joined Feb 19, 2010
4,644
i2c?
Technically it is 3 pin, but if you discount ground because all the devices are sharing it, then it is 2 pins. First pin for serial clock. Second pin for serial data.
Assuming the displays have sleep mode.
In i2c each device on the i2c bus has unique address.
Therefore PIC can selectively address specific device on the bus and turn it on or put it back to sleep. Or turn them all on.
 

Thread Starter

Pinnacle187

Joined Apr 28, 2016
16
i2c?
Technically it is 3 pin, but if you discount ground because all the devices are sharing it, then it is 2 pins. First pin for serial clock. Second pin for serial data.
Assuming the displays have sleep mode.
In i2c each device on the i2c bus has unique address.
Therefore PIC can selectively address specific device on the bus and turn it on or put it back to sleep. Or turn them all on.
Could it word for these kind of displays?
 

Attachments

shteii01

Joined Feb 19, 2010
4,644
Your original post said that you had 8 bit display. You now show a 7 segment display. I am putting you on my ignore list, no need to waste my time.
 

Papabravo

Joined Feb 24, 2006
22,064
Sure. You connect each display to an 8-bit serial in parallel out shift register. You cascade the four shift register together so the shift out bit from one goes to the shift in bit of the next. Using one bit for data and 1 bit for clock you send 32-bits to the shift registers and leave them alone until it is time to change them.
 
Top