TPIC6C596 is an open drain device so will work only with a common anode type display.
Post the schematic diagram of the circuit you used to test it and the data sheet of the display you tested it with.
tpic6c596.pdf (1.3 MB)
40011 CDxx.pdf (262.5 KB)
I have sent you in message and datasheet in the reply. Please help me with the code?
Indeed you have but in principle I do not work over PMs for such projects.
You've sent a schematic which you have not published here. I'll leave you to decide whether you publish that in the thread or not. It is not currently much help because it shows neither the TPIC6C596 nor the display. You should show the wiring between these two devices.
Have you got the common anode version of that display. The data sheet refers also to the common cathode version. The common Anode version has the part number suffix DX.
Please open and see the datasheet and you will see the common anode segment diagram. I am asking for that project. My issue is with the seven segment where I get all the segments individually. But when I add the segment LEDs with the decimal point, It shows only the dp.
So only I am asking the code for just the seven segment not the project.
Are we talking about the same thing ?
I don't see, in any of the documents, a schematic where both a 40011DX seven segment display and a TPIC6C596 are connected together with all the other components these require such as current limiting resistors, a decoupling capacitor etc.
Here's a simple way, assuming TPIC6B595 driving a common anode display with current limit resistor per segment.
Make an array to map '595 pins to the segments
byte fontArray[] = {
0b00111111, // 0 DP-g-f-e-d-c-b-a, 0 = off, 1 = segment on
0b00000110, // 1
...
0b01111111, // 8
0b01101111, // 9
};
Segment layout
a
f b
g
e c
d
Then shift data into the register, I like to use SPI.transfer()
digitalWrite (ssPin, LOW); // latch pin
SPI.transfer(fontArray[yourData]); // send out mapped data
digitalWrite (ssPin, HIGH); // outputs update on this rising edge
This is a duplicate thread - now addressing the same suggestions made elsewhere.
We canât help if the OP keeps asking the same question, but gives very limited answers when we ask or suggest solutions.
The old case of asking the same question over and over, but expecting the answer to change.
This guy Manoj is a serial cross-poster. In the old days, he would have been (temporarily) suspended by now. I guess the mods are still getting used to the new forum software.
@manoj_maniyan's account has been suspended for three days due to repeated cross-posting.
@manoj_maniyan, I hope that when you return to the forum you'll be more respectful of our rules.
.
. ![]()
And actually answer questions asked to clarify what you are actually trying to do. ![]()
And not pester individuals with PMs or attempting to find their private email addresses. ![]()