electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software
question about 7-segement led display on a homebrew computer
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [5 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
liquidpaper



Joined: Nov 23, 2007
Posts: 93
Location: venus

PostPosted: Tue Oct 28, 2008 7:17 pm    Post subject: question about 7-segement led display on a homebrew computer Reply with quote  Mark this post and the followings unread

Greetings!

This question is about homebrew computers rather than homebrew synths, but hopefully someone will know the answer. If anyone could suggest another forum on the net that I could ask, feel free to do so. I'm building an ultra-simple homebrew computer. It's from the book "How Things Work" by Neil Ardley. You can enter two 4-bit binary numbers, and the result is displayed on a 7-segement led display. If the result exceeds 9, the display goes blank (see what I mean when I say simple?). I have it all breadboarded up, but I am having a problem with the seven-segment L. E. D. display. The computer seems to add numbers correctly, but the L. E. D.s in the display light up opposite to the way they should. So for example, when the result should say 0, only the horizontal L. E. D. in the middle lights up (that's the only one that is supposed to be dark). When the display is supposed to be blank, all the segements light up (so it looks like it says "8"). It works this way for all the numbers. Do you know what might be causing this problem and how I can fix it? Thanks so much for any help!
Back to top
View user's profile Send private message
Tim Servo



Joined: Jul 16, 2006
Posts: 924
Location: Silicon Valley
Audio files: 11

PostPosted: Tue Oct 28, 2008 10:34 pm    Post subject: question about 7-segement led display on a homebrew computer Reply with quote  Mark this post and the followings unread

Hi Liquid,

It sounds to me like you might have the power hooked up backwards on the display (+ and GND) or more likely, the schematic was written for a "common cathode" display, but the part you're using is a "common anode" (or vice-versa). You might want to double check the display, and maybe rig up a simple test for one segment to see if it lights up in the way you expect.

Tim (lit up) Servo
Back to top
View user's profile Send private message
liquidpaper



Joined: Nov 23, 2007
Posts: 93
Location: venus

PostPosted: Wed Oct 29, 2008 5:21 am    Post subject: Reply with quote  Mark this post and the followings unread

Yeah, I had a common anode, when it requires a common cathode. Can you fix it with NOT gates?
Back to top
View user's profile Send private message
liquidpaper



Joined: Nov 23, 2007
Posts: 93
Location: venus

PostPosted: Wed Oct 29, 2008 5:23 am    Post subject: Reply with quote  Mark this post and the followings unread

Oh, and thanks for the reply!
Back to top
View user's profile Send private message
marinedalek



Joined: Sep 30, 2008
Posts: 6
Location: Stoke-on-Trent

PostPosted: Wed Oct 29, 2008 4:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

There should be a common power/ground pin on the 7-segment display.
Just swap that to the other rail and it should work OK.

EDIT: Actually, I don't think it will - shouldn't post after an 8-hour shift! Not gates would work, but it'd be far easier just to get the right type of display.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [5 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use