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.
So how can I find the calculation time? Also, is it possible to do the calculation in PC itself? Will it be faster if I do the calculation in PC? Please help...
Isn't it true that even if we acquire the digital data from ADC very fast using ISR, the time taken for calculation and converting the values to ASCII outside ISR will take much time and limit the use of ISR?
I removed the delay but its still slow. The calculation is still slowing it down so what shall i do to remove this limitation. Also, I have not worked with interrupt before. Does it include performing the ADC in ISR? Please help me out...
I removed the delay and checked but still I am not getting the desired sample rate. What do you mean by taking average of few samples? How can it be done? Please help...
Thank you for your reply. I calculate Tad as follows:
Tc = -(C hold)(Ric + Rss + Rs) ln(1/2048) us
Tc = -(22pf) (1 kohm + 2 kohm + 4.7 Kohm) ln(1/2048)
Tc = 1.2916 us
Then,
Tacq = Tamp + Tc + Tcoff
Tacq = 0.2 us + 1.2916 us + 0 (since, Tcoff = 0 for temperature < 25 C)
Tacq = 1.4916 us
Since...
I didn't have 15pF capacitor so I used 22 pF. So can the sampling rate be increased by using 15pF capacitor? Don't i need to change anything in the code?? Please help...
Hi
I am using PIC 18F4550 for ADC. I am using an input voltage range from 1 to 4.5 V and I am getting the digital data in hyperterminal of my PC. I can successfully get a corresponding digital signal of an analog input but when the analog input value changes fast, many values are missed when I...
Sorry to reply late. I fell sick so I couldn't carry on the work. The sensor I am using is pretty old and I don't have a datasheet for it. Its manufacturer is Omron and model no. is Z4D-J121. It gives output voltage of -10V to +10V but i used resistor network carefully so as to not allow any...
I don't have much information about the sensor. Its a displacement sensor which gives output from -10V to +10V for -30mm to +30mm displacement. So, I used a resistor circuit to drop down the voltage level between 1 and 4.5V.
Here's the output pin diagram of the sensor. Please help.....
The sensor attached to PIC's ADC module is displacement sensor. I am not really sure about the highest frequency component. And also, I tried to increase the baud rate to 115200 but its not working. It is only working well for 9600 bps. I just changed:
TXSTA = 0b10100110; //Set BRGH = 1;
SPPBRG...
Thank you for all the suggestion. ADC is working fine when the input voltage change slowly but in my case the input voltage change very fast, so in that case, many values are missed and sometimes when the input voltage starts changing rapidly, the data in the hyperterminal stops. What might be...
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.