Author Topic: Led Dispay with mutiple grounds?  (Read 3906 times)

0 Members and 1 Guest are viewing this topic.

Offline noah4546Topic starter

  • Newbie
  • Posts: 6
  • Country: ca
    • Noah4546 The  Website Of all Noah
Led Dispay with mutiple grounds?
« on: November 05, 2014, 02:14:15 am »
If you look at the image. When i want a certain digit I have to change the ground not the vcc. Why. And what is the type of technology called.
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: Led Dispay with mutiple grounds?
« Reply #1 on: November 05, 2014, 02:27:47 am »
common cathode display. nothing weird about that.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline noah4546Topic starter

  • Newbie
  • Posts: 6
  • Country: ca
    • Noah4546 The  Website Of all Noah
Re: Led Dispay with mutiple grounds?
« Reply #2 on: November 05, 2014, 02:30:38 am »
common cathode display. nothing weird about that.

Well, how do I use it with an arduino to display time. (Not asking for code)
 

Offline Paul Moir

  • Frequent Contributor
  • **
  • Posts: 926
  • Country: ca
Re: Led Dispay with mutiple grounds?
« Reply #3 on: November 05, 2014, 02:32:05 am »
Set it up to sink current into the Arduino rather than source current from it.  1s will shut it off and 0s will turn it on.
Hint:
10110111 xor 11111111 = 01001000

 

Offline noah4546Topic starter

  • Newbie
  • Posts: 6
  • Country: ca
    • Noah4546 The  Website Of all Noah
Re: Led Dispay with mutiple grounds?
« Reply #4 on: November 05, 2014, 02:44:29 am »
what I meant was swapping through grounds
 

Offline Paul Moir

  • Frequent Contributor
  • **
  • Posts: 926
  • Country: ca
Re: Led Dispay with mutiple grounds?
« Reply #5 on: November 05, 2014, 02:52:04 am »
You mean multiplexing?  I'm not following your terms.

If so:  hang series resistors off pins 1-7.  Supply current from two arduino output pins to 8 & 9.  Sink the current from the 1-7 resistors into 7 arduino output pins.
You can only turn on one digit at a time, so you switch between the two digits nice and fast so your eye doesn't see them blinking.

I'm assuming there's enough output pins on an arduino.  I've never used one so I don't really know.
 
 

Offline sleemanj

  • Super Contributor
  • ***
  • Posts: 3024
  • Country: nz
  • Professional tightwad.
    • The electronics hobby components I sell.
Re: Led Dispay with mutiple grounds?
« Reply #6 on: November 05, 2014, 04:11:28 am »
If you look at the image. When i want a certain digit I have to change the ground not the vcc. Why. And what is the type of technology called.

The picture you included appears to be a common anode display if you intended that the red lines indicate positive voltage and the grey ones ground.  So if you found you have to do the opposite, you have a common cathode display. 

In terms of multi-digit 7-segment displays, the "common" refers to the "digit selection pin", you can see why that is if you think of it as only a 1 digit display, like this...


Which is the "common" pin in that picture, clearly it's pin 8, so if you have to put positive to 8 and negative to one of the others to light a segment, then it is common anode.  If you have to put negative to 8 and positive to one of the others to light a segment, then it is common cathode.

Either can be driven with a micro controller directly, with shift registers, with discrete logic, with 7-segment drivers.... many ways to skin a cat!

The MAX7129 is a popular way to drive common cathode 7-segment displays.





« Last Edit: November 05, 2014, 04:13:13 am by sleemanj »
~~~
EEVBlog Members - get yourself 10% discount off all my electronic components for sale just use the Buy Direct links and use Coupon Code "eevblog" during checkout.  Shipping from New Zealand, international orders welcome :-)
 

Offline noah4546Topic starter

  • Newbie
  • Posts: 6
  • Country: ca
    • Noah4546 The  Website Of all Noah
Re: Led Dispay with mutiple grounds?
« Reply #7 on: November 05, 2014, 02:44:33 pm »
If you look at the image. When i want a certain digit I have to change the ground not the vcc. Why. And what is the type of technology called.

The picture you included appears to be a common anode display if you intended that the red lines indicate positive voltage and the grey ones ground.  So if you found you have to do the opposite, you have a common cathode display. 

In terms of multi-digit 7-segment displays, the "common" refers to the "digit selection pin", you can see why that is if you think of it as only a 1 digit display, like this...


Which is the "common" pin in that picture, clearly it's pin 8, so if you have to put positive to 8 and negative to one of the others to light a segment, then it is common anode.  If you have to put negative to 8 and positive to one of the others to light a segment, then it is common cathode.

Either can be driven with a micro controller directly, with shift registers, with discrete logic, with 7-segment drivers.... many ways to skin a cat!

The MAX7129 is a popular way to drive common cathode 7-segment displays.

That makes sence.  ;D Thanks for the help.
 

Offline denelec

  • Regular Contributor
  • *
  • Posts: 168
  • Country: ca
Re: Led Dispay with mutiple grounds?
« Reply #8 on: November 05, 2014, 10:48:34 pm »
Multiplexing is used to minimize the number of pins needed to drive a multiple digit display.
The drawback is that only one digit is lighted at each time.
You must adjust the frequency of the scanning so every digit appear lighted without flicker.
Multiplexing also decrease the apparent brightness of the display.  You increase the led current in consequence.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf