Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: epilot; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    What I meant was how can we introduce (software wise) a peak signal hold for 500 ms whereas a bar that depicts peak of the signal holds for 500 ms and than falls down.

    Example...
  2. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    Thank you, Archangel. I missed your post as I thought that the thread went dead.

    Do you have an idea how we can introduce a peak hold for 500 ms or so ?

    Thank you.
  3. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    George,

    Unfortunately, my experimenting did not work out. Do you have any other recommendations?
  4. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    Thank you George,

    My mistake - I tried to compile for a wrong PIC, not a 16F877.

    On a second run it compiled properly. The PIC does initialize and the "Zaxione" message comes to the display....
  5. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    George:

    These two lines


    ADCON0 = %00000000 'Definir todos los PORTA y PORTE como analógicos
    ADCON1 = %00000001 'Definir todos los PORTA y PORTE como analógicos...
  6. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    Gerge,

    Thank you.

    As far as your suggestion to modify the ADCON1 goes, I did not understand how the code should look like. Perhaps you could post the entire program with your modifications so...
  7. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    Thus far reading section 11.2, I could not understand what is wrong and why the RA3/RA2 arrangement via pot does not work.

    To keep options open I was playing with LM324 arrangement. One issue I...
  8. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    OK, a fixed the problem of the push button acting as a complete reset by adding _LVP_OFF. The damn thing is capricious and unpredictable as weather in May.

    Now, I am back to section 11.2 to...
  9. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    I installed an LM324 yesterday with a gain of 4 and it did the job, but, it requires 5 parts, whereas what Archangel proposed requires only two - a pot and a capacitor to ground the wiper.
    ...
  10. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    Archangel,

    Thank you. I read section 11.2. So, I am going to instal a 10K pot and connect its wiper to RA3 to serve as Vref+. I will ground RA2 and to serve as Vref-. The low pin of the pot will...
  11. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    1. It will not work without diodes because ADC needs RMS voltage to operate properly and the diodes (shotky works the best) provide the required RMS voltage.

    2. Yes WDT_OFF gives a different HEX....
  12. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    Thank you for all replies.

    I rebuilt the VU meter on a different protoboard and with _WDT_OFF it runs properly.


    This is interpretation of the original code:

    Sections labelled "GRAFx"...
  13. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    George,

    Thank you. This gives some food for thought. Since my VU meter still does not work properly I have several questions.

    1. What voltages did you apply to the anodes of the diodes and what...
  14. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    Archangel,

    Thank you. I added the code you supplied just above the define OSC 20 line and it was enough to initialize the PIC. This is the good news. There are bad news, however.

    1. Something...
  15. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    OK, George, I think you meant the original VU meter files. I am attaching a ZIP folder which includes TinyCad, HEX, and PBP files. Please let me know if you need other files posted there.

    I think...
  16. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    George,

    I did not understand what files do I need to download and include in this post Proteus files or the original files of the VU meter? If you mean the original files of the VU Meter, then...
  17. Replies
    38
    Views
    31,755

    Re: 16F877A and LCD HD44780

    Thank you for the reply.

    To answer your questions - I am using PicBasic Pro 3.0.7 evaluation version and I am running it in MicroCode Studio. I downloaded it because the original program was...
  18. Replies
    38
    Views
    31,755

    16F877A and LCD HD44780

    Good day, Everybody,

    I am building a VU meter which uses a 16F877A and HD44780. The link below provides both schematic and code in PicBasic (assembler and HEX are also available via a...
Results 1 to 18 of 18