LCD BARgraphs


Closed Thread
Results 1 to 40 of 233

Thread: LCD BARgraphs

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,175


    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.

  2. #2
    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 " !!!
    *****************************************

  3. #3
    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

  4. #4
    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

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,175


    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

  6. #6
    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

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,175


    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.

  8. #8
    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 " !!!
    *****************************************

  9. #9
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,175


    Did you find this post helpful? Yes | No

    Default

    Thanks Alain for the link.

    About the portb I did not really understood what you meant.

    I test the portb.0 independently from the Interrupts and when pressed the program really see it. Like that:

    while portb.0=1
    wend
    high led1

    If button on Portb.0 is NOT pressed the program loops in the While-wend. If pressed then the LED1 lights, showing that there is no problem in the Setup or connections.

    But when trying the Interrupts nothing happens. Really annoying...

    Ioannis

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