Pages: [1]   Go Down
Author Topic: 0.56" RED 7 SEGMENT LED DISPLAY COMMON ANODE 41056 - (SOLVED)  (Read 2030 times)
0 Members and 1 Guest are viewing this topic.
Rhode Island - USA
Offline Offline
Full Member
***
Karma: 0
Posts: 156
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

k, i bought this: http://www.ebay.com/itm/170894855752?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2648





and been following this - (as i did for the radio shack one): http://www.hacktronics.com/Tutorials/arduino-and-7-segment-led.html

and i hook it up exactly as it says, but nothing happens when i run the code..

yet another helping hand from grumpymike?  smiley-lol
« Last Edit: January 13, 2013, 11:15:23 am by Ruffsta » Logged

Rhode Island - USA
Offline Offline
Full Member
***
Karma: 0
Posts: 156
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

is there a way to test pins to see which light up without hooking them all up? i hook up pin 7 to arduino pin 8 and then i can get some to light up by playing around.. but it doesn't work no matter what i do..  smiley-confuse
Logged

Ohio USA
Offline Offline
Jr. Member
**
Karma: 1
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I used that same tutorial a few days ago, good starting place in my opinion.

The code written in that example is for a common cathode 7 segment display.

since yours is a common anode, you need to reverse the code a little.

basically, in the array used to display the digits, you need to switch the ones to zeros and the zeros to ones.
once you do that, it should work, provided this is the issue you are having.

as to your second question, yes, you can test the pins that way.
just write arduino pin 8 LOW and connect the common anode (either display pin 3 or 8 ) to a resistor and the 5v on your arduino.  then hook arduino pin 8 to each of the cathode pins (display pins 1, 2, 4, 5, 6, 7, 9 and 10) and see which one light up.  pin 7 on the display should be the top middle segment
Logged

absence of proof is not proof of absence

Rhode Island - USA
Offline Offline
Full Member
***
Karma: 0
Posts: 156
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yep it was the 0's and 1's in the code.. thank you
Logged

Ohio USA
Offline Offline
Jr. Member
**
Karma: 1
Posts: 57
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

glad that worked!

I am very very new at this, and have been struggling with my own project today...
it is nice to be able to help someone else for a change smiley-razz
Logged

absence of proof is not proof of absence

Rhode Island - USA
Offline Offline
Full Member
***
Karma: 0
Posts: 156
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

you're not the only one very very new.. son just open his arduino for x-mas and all the little stuff i got to go with it. him and i are both learning.. it's a struggle - but we are doing ok.. very very slowly.
Logged

Pages: [1]   Go Up
Jump to: