7 segment commands?


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    May 2005
    Posts
    49

    Wink 7 segment commands?

    Yes.If PBP can handle LCD with basic commands.Why 7 segment not?
    Asking is not a shame but not learning is a SHAME!!!

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Most LCD's have a high-level embedded controller, and most follow the same origianal Hitachi pattern. PBP provides for this nicely.

    7 segment displays are basically a bunch of lights. There's a hundred different ways you can connect them up. You can have common anode, or common cathode, with one limiting Resistor, or with seven. Driven or undriven. Time multiplexed or constant. etc etc.

    It is assumed by manufacturers that most people can connect up a bunch of LED's and make them work in one way or another (LED example at the start of the PBP manual just expanded up seven times is a good start) - folks that can't (or don't want to sit down with a protoboard and play) should really consider a different hobby.

  3. #3
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    See URL:
    http://picbasic.com/resources/articles/ledart.htm

    LED displays are difficult to read when viewed in sunlight.

    Luciano

  4. #4
    Join Date
    Jul 2005
    Posts
    65


    Did you find this post helpful? Yes | No

    Smile

    Hello

    There is no need for the support of SEVEN SEGMENT DISPLAYS any way, as they always need some kind of multiplexing/refreshing issues that causes annoyance to the PIC programmer, the simplesy way is to use TMR0 overflow, which will then have to be polled, or used in interrupt.

    So why bother your self my friend, if I want to use four seven segment displays then this will cost me 9$, while when I go for an LCD I will pay 14$, also think about it as more cost effective option, as you can view text also

    Have a nice day

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I agree with you, but sometimes some customer need bigger display, see simple bigger number. So you have 3 choice IMHO
    1. Care about everything with timer interrupt or else method...
    2. Use a dedicated PIC who will do only that and receive data via USART or SERIN blah blah (sefull when you still have those dusty 16C54 and ooooh HOW many others)
    3. Use dedicated ICs like those from national who work with a simple I2C bus
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Jul 2005
    Posts
    65


    Did you find this post helpful? Yes | No

    Smile

    Hello mister_e

    I think you made your point loud and clear, yes, some times we need to see bigger numbers.

    As you said, there are other ways to do this, for example we can use ICL7218 and ICL7228 which is a nice idea to use also, kicking out the PIC16F84A capabilities, instead of going to a larger I/O PIC, etc...

    Regards

  7. #7
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    > So why bother... four seven segment displays then this will cost me 9$, while when I go for an LCD I will pay 14$...

    I think the disparity is much greater... a two digit seven segment display in bulk costs about 30 cents (US) whilst the cheapest LCD Display (Hitachi compatible) is just under $1.25. Despite all the drawbacks, the seven segment display remains the cheapest solution for many applications. My original comments at the start of this thread still stand... if you can connect up and program an LED, you can connect up and program a device with seven of them.

Similar Threads

  1. LED Machine Tach For Tired Eyes
    By Archangel in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 27th January 2010, 14:55
  2. Replies: 1
    Last Post: - 6th April 2007, 10:50
  3. How to drive 7 segment using multiple ports?
    By guess79 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th December 2006, 19:43
  4. 7 segment digit problem (using Mister E's code)
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th September 2005, 20:25
  5. WRITE not working
    By servo260 in forum mel PIC BASIC Pro
    Replies: 31
    Last Post: - 29th December 2004, 02:02

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts