Close
0%
0%

LED Matrix display repair

Fried from a previous attempt - now returning it to working order

Similar projects worth following
157 views
0 followers
I purchased a random ali-express dot matrix display and connected it to 12V instead of 5V and cooked everything on board. Documentation of the return to operation.

In one of my less attentive moments I connected the display to the wrong voltage and fried every semiconductor on the board. The board was then put in a box and forgotten. I found it again not long ago and the memories came flooding back.

Step 1. Identify all the cooked components, figure out what the other un-populated ones are and order replacements.

Step 2. Replace all components and install the un-populated ones then write some software to test the dot matrix display. Make a ISP cable to allow programming and serial communcations.

Step 3. Write software to display time from the RTC, Temperature from the DS18B20.

  • 1 × ATMEGA328 Microprocessors, Microcontrollers, DSPs / ARM, RISC-Based Microcontrollers
  • 1 × HT1632C
  • 1 × DS1302 Clock and Timer ICs / Real-Time Clocks
  • 1 × DS18B20
  • 1 × 32.768KHz Crystal

  • Step 2

    Phil10/19/2025 at 07:24 0 comments

    I replaced the cooked Mega8 with a arduino compatible ATMEGA328PU and soldered in a 16MHz crystal. I also replaced the HT1632C ICs I purchased on ebay. I soldered in the DS18B20 and DS1302S ICs and located a 32KHz crystal amongst my spare crystals parts drawer. 

    First thing was to test the Arduino and make sure I could flash the boot loader to it. I then realised since I was using the ISP method to program the MEGA328 I didn't need the boot loader.

    Next was the RTC, I found a basic sketch that programmed the RTC with the compile time and then endlessly outputed the time via the serial port.

    After that was the DS18B20, same this again, I found a simple sketch that read the temperature and sent it out the serial port.

    The last thing was the HT1632C IC. The required a more complicated sketch which I found and this was when I realised the displays where at a odd rotation (to me anyway). The 8x8 matrix displays are layed out so that 1 to 4 is from the Right to the Left and the displays are rotated 90 degrees clockwise.

    The Arduino libraries that have been writen both others are pretty cool and do all the fancy graphics, however I wanted to start simple with just turning on and off pixels and creating my own characters. 

  • Step 1.

    Phil10/18/2025 at 07:10 0 comments

    Flipping the board on its face reveals two main chips. The ATMEGA8 and the HT1632C. The unpopulated components, one of which had a silk screen identifier (DS18B20) and the other was a give away due to the footprint for a tuning fork crystal. Which RTC IC was now the mystery, so out came the trusty multimeter and datasheets.

    The IC (8 pin SOIC) was either going to be a DS1307 or a DS1302. The location of the crystal connections is different for both ICs so the DS1302 was assumed the correct one after a check of the datasheets. The multimeter then told me which pins of the ATMEGA IC they where connected to. 

    My attention them moved to figuring out where the HT1632C pins went and recording them. After that was established the 10pin IDC header was the next stop.

    The IDC header had the pins for programming with an AVR ISP MKII as well as serial. I wanted to use the Arduino IDE however the header didn't have the DTR pin for reset the ATMEGA. So I choose to use the AVR ISP MKII and was able to use the "Upload Via Programmer" function.


View all 2 project logs

Enjoy this project?

Share

Discussions

Does this project spark your interest?

Become a member to follow this project and never miss any updates