Post by above1 on Dec 19, 2020 0:05:20 GMT 2
I was moving at a feverish pace getting the soldering done. Now I'm looking back and kicking myself for not taking my time and testing as I went along. My 3 digit 7 segment displays didn't come in so I'm unable to see if they work, but so far only the ALT and VS display work for me.. the others show no info, garbled info, or 8's as shown below. I'm not sure where to look and how to trace it back. I' redoing the ribbon cables to make sure that they are sound but I did test for continuity across board with the ribbon cable attached and pin1 goes to pin1 and pin40 goes to pin40.. all other checked out as well. It likely not the cable.
If anyone has suggestions on what I can do to try to find the root cause of the issue, I'm all ears and grateful for any assistance.
I did swap the max 7219 chips from the working segments to non-working segments and back and forth. The max chips also seem to be in good working order. I double checked their orientation.
I did use polarair's test script to generate the above.
-- First display
-- Tried with 2-3-4-5 charecters
-- Create a new Max7219 based character display
display_chr_1 = hw_chr_display_add("MAX7219", 8, "ARDUINO_MEGA2560_A_D22", "ARDUINO_MEGA2560_A_D24", "ARDUINO_MEGA2560_A_D23")
-- Set text "12345" on display 0 (first), line 0
hw_chr_display_set_text(display_chr_1, 0, 0, "12345")
hw_chr_display_set_text(display_chr_1, 1, 0, "12345")
hw_chr_display_set_text(display_chr_1, 2, 0, "12345")
hw_chr_display_set_text(display_chr_1, 3, 0, "12345")
hw_chr_display_set_text(display_chr_1, 4, 0, "12345")
hw_chr_display_set_text(display_chr_1, 5, 0, "12345")
hw_chr_display_set_text(display_chr_1, 6, 0, "12345")
hw_chr_display_set_text(display_chr_1, 7, 0, "12345")
-- second display
-- Create a new Max7219 based character display
display_chr_2 = hw_chr_display_add("MAX7219", 8, "ARDUINO_MEGA2560_A_D25", "ARDUINO_MEGA2560_A_D27", "ARDUINO_MEGA2560_A_D26")
-- Set text "12345" on display 0 (first), line 0
hw_chr_display_set_text(display_chr_2, 0, 0, "11")
hw_chr_display_set_text(display_chr_2, 1, 0, "12")
hw_chr_display_set_text(display_chr_2, 2, 0, "13")
hw_chr_display_set_text(display_chr_2, 3, 0, "14")
hw_chr_display_set_text(display_chr_2, 4, 0, "15")
hw_chr_display_set_text(display_chr_2, 5, 0, "16")
hw_chr_display_set_text(display_chr_2, 6, 0, "17")
hw_chr_display_set_text(display_chr_2, 7, 0, "18")
-- third display
-- Create a new Max7219 based character display
display_chr_3 = hw_chr_display_add("MAX7219", 8, "ARDUINO_MEGA2560_A_D28", "ARDUINO_MEGA2560_A_D30", "ARDUINO_MEGA2560_A_D29")
-- Set text "12345" on display 0 (first), line 0
hw_chr_display_set_text(display_chr_3, 0, 0, "21")
hw_chr_display_set_text(display_chr_3, 1, 0, "22")
hw_chr_display_set_text(display_chr_3, 2, 0, "23")
hw_chr_display_set_text(display_chr_3, 3, 0, "24321")
hw_chr_display_set_text(display_chr_3, 4, 0, "25123")
Thank you,
Larry
If anyone has suggestions on what I can do to try to find the root cause of the issue, I'm all ears and grateful for any assistance.
I did swap the max 7219 chips from the working segments to non-working segments and back and forth. The max chips also seem to be in good working order. I double checked their orientation.
I did use polarair's test script to generate the above.
-- First display
-- Tried with 2-3-4-5 charecters
-- Create a new Max7219 based character display
display_chr_1 = hw_chr_display_add("MAX7219", 8, "ARDUINO_MEGA2560_A_D22", "ARDUINO_MEGA2560_A_D24", "ARDUINO_MEGA2560_A_D23")
-- Set text "12345" on display 0 (first), line 0
hw_chr_display_set_text(display_chr_1, 0, 0, "12345")
hw_chr_display_set_text(display_chr_1, 1, 0, "12345")
hw_chr_display_set_text(display_chr_1, 2, 0, "12345")
hw_chr_display_set_text(display_chr_1, 3, 0, "12345")
hw_chr_display_set_text(display_chr_1, 4, 0, "12345")
hw_chr_display_set_text(display_chr_1, 5, 0, "12345")
hw_chr_display_set_text(display_chr_1, 6, 0, "12345")
hw_chr_display_set_text(display_chr_1, 7, 0, "12345")
-- second display
-- Create a new Max7219 based character display
display_chr_2 = hw_chr_display_add("MAX7219", 8, "ARDUINO_MEGA2560_A_D25", "ARDUINO_MEGA2560_A_D27", "ARDUINO_MEGA2560_A_D26")
-- Set text "12345" on display 0 (first), line 0
hw_chr_display_set_text(display_chr_2, 0, 0, "11")
hw_chr_display_set_text(display_chr_2, 1, 0, "12")
hw_chr_display_set_text(display_chr_2, 2, 0, "13")
hw_chr_display_set_text(display_chr_2, 3, 0, "14")
hw_chr_display_set_text(display_chr_2, 4, 0, "15")
hw_chr_display_set_text(display_chr_2, 5, 0, "16")
hw_chr_display_set_text(display_chr_2, 6, 0, "17")
hw_chr_display_set_text(display_chr_2, 7, 0, "18")
-- third display
-- Create a new Max7219 based character display
display_chr_3 = hw_chr_display_add("MAX7219", 8, "ARDUINO_MEGA2560_A_D28", "ARDUINO_MEGA2560_A_D30", "ARDUINO_MEGA2560_A_D29")
-- Set text "12345" on display 0 (first), line 0
hw_chr_display_set_text(display_chr_3, 0, 0, "21")
hw_chr_display_set_text(display_chr_3, 1, 0, "22")
hw_chr_display_set_text(display_chr_3, 2, 0, "23")
hw_chr_display_set_text(display_chr_3, 3, 0, "24321")
hw_chr_display_set_text(display_chr_3, 4, 0, "25123")
Thank you,
Larry