0

I want to control a 4-digit multiplexed 7-Segment + Decimal Point Display (SH5461AS).

This diagram (which allegedly comes from the datasheet of this display) suggests to use 4 external transistors to connect ground and therefore 'activate' one of the digits to control it. multiplexed 4 digit 7-segment display with 4 transistors

However, all the tutorials I have found

don't use transistors but use GPIO's as GND or VCC thereby controlling the display without transistors.

My question is: is this method without transistors safe? (of course with resistors) An electrical engineer friend of mine suggested that by using an GPIO as GND the current might flow through the microprocessor itself therefore potentially creating dangerous current in the MC.

julius100
  • 3
  • 1

1 Answers1

1

After spending ~ 20 min searching for an actual data sheet on the SH5461AS - and not finding one - I'm of the opinion this is JAPCJ (just another piece of Chinese junk). My best advice is chuck it in the bin & find a part by a reputable manufacturer. There are lots of manufacturers that publish spec sheets (even on parts as old as this one) - here's an example. I would encourage you to adopt this position when you buy electronic parts: No spec sheet = No sale.

That said, and climbing down from my soap box, it seems that at least one person may have gotten away with using a GPIO pin direct-connected to pins 6, 8, 9 & 12. In the absence of a spec sheet from a reliable manufacturer, the low-risk approach is to use the transistors.

Seamus
  • 23,558
  • 5
  • 42
  • 83