Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by Ram Prasadh

  1. R

    ADC with pic-not able to get desired output

    oh!! I din do that...I will do it and post here
  2. R

    ADC with pic-not able to get desired output

    No No.. i am getting in proteus.. The same hex file , if i load in my board , its making the prob which i told before. I use a 20Mhz oscillator on my board with a pickit3 debugger. My adres value changes for values from 000 to 1FF when i change the pot dynamically. But remains at 1FF after 2.5v.....
  3. R

    ADC with pic-not able to get desired output

    I have the code three threads back... I have made the settings.... Have a look please...(I am using a pic18f4550)
  4. R

    ADC with pic-not able to get desired output

    The same zip file which you would be able to see some two threads before. I use the alike adc as of there module there. Anyway I have zipped it here too. I am using a 50k pot. Regards ram
  5. R

    ADC with pic-not able to get desired output

    I got the output for the applied dc. But I do have an other problem . When I vary the pot , the digital output gets varies only for upto 2.5v of the applied input. After that , it remains as a constant at 1FF(corresponding value for 2.5v).Should I have to provide any external Vref to the...
  6. R

    ADC with pic-not able to get desired output

    Can you upload your proteus file as a zip here??
  7. R

    ADC with pic-not able to get desired output

    I will make it in my board and post sooner... Regards ram
  8. R

    ADC with pic-not able to get desired output

    Find attachment. It must actually be FF on portd. I find it to be FE. Its not a matter. Actually what was the mistake I made. I see no much difference in changes yu have made.. just a change in timer and its value. But what was the mistake I was making?? I will check it with my kit and will...
  9. R

    ADC with pic-not able to get desired output

    I have it uploaded
  10. R

    ADC with pic-not able to get desired output

    Yes , The MCLR is pulled up with a resistor with Vcc. - - - Updated - - - Am new to programming controllers.. How to check that?? I just know that when the interrupt comes,it goes to the routine,but how to find out the duration of the interrupt?I will try what waseem has said.. Will come with...
  11. R

    ADC with pic-not able to get desired output

    Are you coming to say that It is not only enough to see whether the ADIF has gone high? Should I check the DONE bit instead of the ADIF bit? so the code must probably be like while(DONE);...Right? By default , my value 9:3 should reside in the ADRESH and 2:0 in the ADRESL. Why should I do the...
  12. R

    ADC with pic-not able to get desired output

    My input is always going to be a sinewave. Any input coming inside, it is going to make the conversion right?,let it be 0 0r 255 or any value. and moreover i cannot give two interrupts at the same time here right?? I need the timer because my conversion should take place only at specified time...
  13. R

    ADC with pic-not able to get desired output

    I am not using adc interrupt. The adif is polled inside the timer generated interrupt.If I am not using adc interrupt also , this adif flag is going to be set once the conversion is done.. So I am just polling that. Anyway this polling is going to take hardly 11 to 12 clock cycles only. Just...
  14. R

    ADC with pic-not able to get desired output

    adcon0 tells that i have selected channel 0 and and the last bit in adcon0 is the ADON. adcon1 , i have configured all ports as digital except AN0 where I am providing the input. adcon2 ,the Acquisition Time is 20*Tad and the Conversion Clock is ADCS2:ADCS0=110 ( FOSC/64). My oscillator...
  15. R

    ADC with pic-not able to get desired output

    I am using pickit3 debugger. I think it is enough if I can view the ADRES register in the watch window in mplab. after this line "while(ADIF == 0)" i am seeing in Watch window,ADRES register. I have a 20Mhz oscillator. I have given the code again with some changes in the sampling...

Part and Inventory Search

Back
Top