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.
I'll do it, but I dont think thats the problem ...
I told you already, that is never comes to execute any other statement that is written after WHILE(GODONE==1);
---------- Post added at 17:42 ---------- Previous post was at 17:41 ----------
thanks Milind for replying, i m configuring the...
I think the problem is
GODONE=1;//start ADC module
while(GODONE==1);//wait till it completes the conversion
I m giving 5v in proteus on analog pin, but LED is not toggling, I have toggled LED in proteus with simple delay and worked ...
i have used polling technique on ADIF too but didnt work...
hello Zohaib, you are wrong, it doesnt work either, actually by doing your setting, the ADC TAD settings get less than the recommended one, so your way is not right ...
Doing the simulations in Proteus, I have found that the program get stuck at WHILE(GODONE==1) ....
any thing ?
Help me, please !
---------- Post added at 17:44 ---------- Previous post was at 16:09 ----------
I have done simulation in proteus too and there is also problem, means something wrong with ADC ...
I have set different ADC clocks to like Fosc/2, FRC , FOSC/4 etc ... no result :-(
hello Rafeeq, thanks for replying . But i DOnt think that there is a problem in doing in my way ???
---------- Post added at 08:50 ---------- Previous post was at 08:41 ----------
Rafeeq, I simulated your way and actually its wrong. I mean the logic is all wrong.
I have simulated my code...
Hello people, hope that every body is fine.
I m using PIC16f819 ADC module for a pretty simple task, that is if the analog voltage is greater that 0.6volts on RA1 it should start toggling the RB7 pin with a delay of 1second.
My hardware seems to be fine, on default all the outputs are HIGH. LED...
Hello,
My task is pretty much simple. I want to connect a micro-controller (PIC 18 or dspic33f) to a PC and show some different kind of results, now there are 2 problems, i.e:
1 Nowadays PC's don't have a serial port, so what should should I do to connect a micro-controller with a PC and show...
Hello Guys,
Hope you are doing well. I have been working with PIC micro-controllers for last 1 year, usually I have programmed PIC16,PIC18,dspic33f and PIC32 controllers for various kinds of project, this time I am a bit confused of doing one of my project so I need your help.
Here is the...
Re: dspic33f ADC problem
the voltage is constant :(
---------- Post added at 18:49 ---------- Previous post was at 18:49 ----------
so my configurations are right then ???
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.