friend gave me a weird 7-segment display, and i'm keen to try to use it with arduino, but as i've not found a library for it, and it has 10 extra LED's embedded, i was wondering if anyone had any pointers on how exactly would i go about converting a standard library to utilize the extra LED's.
I've gone through with a multimeter, and mapped out the pins (1 - 13)
Here's an image of the module front & back, as well as the pin-map
i have an uno, a mega, several nano's, soo, any of those would be fine.
I wouldn't think a driver IC would be required, but if so, i have a couple ICM722AIPIZ IC's, as well as several types of I2C IO expanders (mcp2317 16bit, pcf8574 8bit) or some 8bit shift register's
Of course you can drive a LED matrix from Arduino pins, using a library like: https://github.com/sigvaldm/SevenSeg
but it uses up pins and requires that you run a service routine continuously. That can interfere with other devices, or other devices will interfere with it. Also with no display driver, you need current limiting resistors on the matrix.
I tried to Google ICM722AIPIZ and came up blank. What is it?
Apparently, you could use a MAX7219 to drive that display, even thought it's common anode and MAX7219s are presented as driving common cathode displays. There's an interesting article here:
Okay, well you have reverse engineered it and it looks like it is just an array of LEDs in common anode configuration.
I would say its RED LEDs, is it?
If so then calculate LED volt drop as 1.6V.
Current I would start at 20mA and see how bright they are.
As the display has a white frame, it would have been designed to operate with a red filter over the front.
Seems obvious enough: Pins 1, 2, 4, and 5 are common anodes and pins 13, 12, 11, 9, 8, 7, and 6 are cathodes for the 7 A...G segments, as in a conventional 7segment display. The top 5 LEDs and the colon (7 LEDs total, again) have their anode on pin 3, and the bottom 5 LEDs are "8th segment" for each of the cathodes.
Well done for getting those working. The problem with them is the need for 10(?) Arduino pins. Max7219 needs only 3. Not so much of a problem if you are using Mega, but with Uno/Nano that would leave you with only a few pins left. I guess you could use pcf8574 to drive the 8 data lines, but then you would need to modify that library you found to use the pcf chip.