LCD BARgraphs


Closed Thread
Results 1 to 40 of 233

Thread: LCD BARgraphs

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Post

    Quote Originally Posted by savnik View Post
    CA3089 is a monolithic integrated circuit that provides all the functions of a comprehensive FM-IF system, which include a three-stage FM-IF amplifier/limiter ,a doubly-balanced quadrature FM detector.
    AND a level detector output at pin 13 ....

    AND it works down to audio frequencies too ...

    AND NE604 an CA3089 show same functionnal blocks ( of interest here ...) inside

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    Hi, Ioannis

    could you PM me a mail adress for sending the scheme... ( and explanations of the NE 604 use ... if you can read French ( sorry ...))

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Alain,

    Finally got a chance to run your bargraph. (it works)
    But I'm still not crazy about the 5-bars. Here's what it looks like
    <script type="text/javascript"src="http://www.pbpgroup.com/DT_INTS-14/V-LCD_Disp.js"></script>
    <script type="text/javascript"src="http://www.pbpgroup.com/js/AceBargraph.js"></script>
    It's not as noticable when it moves fast, but that jump is still there.

    And while it compiles to about 100 words less than mine, it doesn't have all those features like placing it anywhere on the screen, making it any width of characters, scaling the input values to any range up to 32768, multiple bars on the screen and 3 different styles.

    But it definately does a 1-line 3/5-bar graph.
    DT

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    AND a level detector output at pin 13 ....

    AND it works down to audio frequencies too ...

    AND NE604 an CA3089 show same functionnal blocks ( of interest here ...) inside

    Alain
    Well, I tested NE604 and was amazed at Audio freqs. A nearly 65dB range was obtainable on a breadborad! Incredible! So the LCD_Bargraph has now a friend for audio signals making great VU-meter. One catch is that NE604 is expensive one. Here about 10 Euros in small qts. Thanks Alain for the tip.

    C/O Darrel:

    While trying to develop my project using your interrupts, I stuck on, I think for sure, stupid one. The attached sample code does not respond to PORTB.0 interrupt. Is there any mistake I 've made and can't see?

    Ioannis
    Attached Files Attached Files
    Last edited by Ioannis; - 24th June 2007 at 19:03.

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default 5 bars Bargraph

    Hi, Darrel

    Yes, ... I know the big problem at "high speed" is unequal calculating times upon the place pointed at ...
    but we must remember it's not a GLCD ... "some holes in the somewhere" ...

    Your picture's really nice !!! ...

    By the way ... I have a beautiful 122x32 GLCD here ... hmmmmmm, I might give a look to that !!!

    read you soon

    Alain
    Last edited by Acetronics2; - 24th June 2007 at 20:07.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    By the way ... I have a beautiful 122x32 GLCD here ... hmmmmmm, I might give a look to that !!!
    Alain
    I've got some 'pre-fab' code for the 122x32 types. Nothing wild, just the basic setup/configure routines, some basic 'x,y' plotting, and some text output routines. But it works great for me...

    EDIT: I just started a new thread with the code described above attached. Again, nothing fancy, but I've been using the same block of code for a couple of years now...
    Last edited by skimask; - 24th June 2007 at 22:29. Reason: EDIT: added thread notice

  7. #7
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ioannis View Post
    C/O Darrel:

    While trying to develop my project using your interrupts, I stuck on, I think for sure, stupid one. The attached sample code does not respond to PORTB.0 interrupt. Is there any mistake I 've made and can't see?

    Ioannis
    Possibly...

    OPTION_REG = $81 ; Set TMR0 Prescaler to /2, RBPU on

    The comment says RBPU on, but it's actually leaving the pull-ups turned off.
    <br>
    DT

  8. #8
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default

    Thanks Darrel, but it really doesn't matter since there is a real resistor for Pull-up on the pcb (Picdem2+).

    I have not found why is not responding...

    Ioannis

  9. #9
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Ioannis,

    I can't see any other problems with the program. Or, any reason why it wouldn't work with the PICDEM2+.

    Which PIC are you using with the PICDEM?
    <br>
    DT

  10. #10
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default

    Currently the 16F877. I have handy also other to try. Maybe a 18F452.

    To be sure that Portb.0 is OK, I tested with a simple loop of the kind:

    while portb.0=1
    wend
    high LED1

    and worked OK. So electrically there is no problem.

    PICDEM2+ is connected to ICD2 working in programmer mode only. So, there is for sure no other source of interference.

    Skimask: could you post the link you mentioned? Thanks

    Ioannis
    Last edited by Ioannis; - 26th June 2007 at 06:57.

  11. #11
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    Quote Originally Posted by Ioannis View Post

    Skimask: could you post the link you mentioned? Thanks

    Ioannis
    Hi, Ioannis

    There : http://www.picbasic.co.uk/forum/showthread.php?t=6574

    << While trying to develop my project using your interrupts, I stuck on, I think for sure, stupid one. The attached sample code does not respond to PORTB.0 interrupt. Is there any mistake I 've made and can't see? >>

    Thanks to PbP ... TRISB = 255 and led on PORTB.2 will work ...

    BUT does your PORTB.0 change state when button ( ?) pushed ... in other words, is the pullup or pulldown resistor the OTHER side of the Pushbutton ... ( yes, I know it's a really stupid mistake ...but ...)


    have a nice day

    Alain
    Last edited by Acetronics2; - 26th June 2007 at 10:13.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. Is this code not initialising the LCD properly?
    By Platypus in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 30th January 2010, 19:14
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 19:54
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30

Members who have read this thread : 2

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