0
\$\begingroup\$

I have a customized LED display in which AIP1640 driver IC mounted on it and I think it's equivalent to TM1640. So does anyone have a working library for this driver?

I want to interface it with PIC16F886. None of the code available on internet seems to be working for me.

\$\endgroup\$
6
  • 3
    \$\begingroup\$ "I think its equivalent to" Please don't. Compare the datasheets and verify. \$\endgroup\$
    – winny
    Commented Aug 9, 2023 at 15:05
  • \$\begingroup\$ Okay I have compared and its euivalent only. \$\endgroup\$ Commented Aug 9, 2023 at 15:18
  • 1
    \$\begingroup\$ Could you elaborate on "I have a customized LED display"? You may not need the driver IC. \$\endgroup\$
    – Rodo
    Commented Aug 9, 2023 at 16:44
  • \$\begingroup\$ No I need this driver since there are 11 digits. \$\endgroup\$ Commented Aug 9, 2023 at 17:39
  • 1
    \$\begingroup\$ I would try "bit-banging" a test first. That is, study the datasheet carefully, and create a routine that toggles SCLK and DIN manually. May find an oscilloscope or logic analyzer to be very helpful. Get it to display "1 2 3 4 5 6 7 8 9 A b." Once you have that, optimize it and convert to a library if desired. Note from the datasheet that this chip has two main modes of operation: [command+address+data] (single-character mode), and [command+address+data1+data2+data_n...] (multiple-character mode.) Either mode may need a final command to turn on the display. \$\endgroup\$
    – rdtsc
    Commented Aug 9, 2023 at 17:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.