CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 71 matches
CCS Forum Index
Author Message
  Topic: pic ADC gives erratic readings
POPE19

Replies: 18
Views: 36360

PostForum: General CCS C Discussion   Posted: Tue May 01, 2018 7:37 am   Subject: pic ADC gives erratic readings
Thanks for suggestion. I will purchase one and move ahead. Thanks again.
  Topic: pic ADC gives erratic readings
POPE19

Replies: 18
Views: 36360

PostForum: General CCS C Discussion   Posted: Tue May 01, 2018 5:17 am   Subject: pic ADC gives erratic readings
Thanks mike for the suggestion . I will use the oscilloscope to figure out ripples in my circuit.

However i have used the zener (D1) as 25 volts to reduce the input voltage across the capacitor as ...
  Topic: pic ADC gives erratic readings
POPE19

Replies: 18
Views: 36360

PostForum: General CCS C Discussion   Posted: Tue May 01, 2018 5:11 am   Subject: pic ADC gives erratic readings

You calculate the reactance of the capacitor so you then know what the total equivalent resistance in the AC line is. Then with the load current you can calculate the AC voltage that will be present ...
  Topic: pic ADC gives erratic readings
POPE19

Replies: 18
Views: 36360

PostForum: General CCS C Discussion   Posted: Mon Apr 30, 2018 12:39 pm   Subject: pic ADC gives erratic readings
Thanks for suggestions guys .


If the power for the PIC and the ADC test supply are not tied together, you can get 'ground loops' and BIG variations in voltage levels.


Temtronic, The DC powe ...
  Topic: pic ADC gives erratic readings
POPE19

Replies: 18
Views: 36360

PostForum: General CCS C Discussion   Posted: Mon Apr 30, 2018 11:06 am   Subject: pic ADC gives erratic readings
Thanks Temtronic

This is my initial arrangement. I am strictly focusing on power PIC using Transformerless AC To DC Converter. And then I am using another 5v DC Source, 1 K ohm POT (To vary from 0- ...
  Topic: pic ADC gives erratic readings
POPE19

Replies: 18
Views: 36360

PostForum: General CCS C Discussion   Posted: Fri Apr 27, 2018 3:31 pm   Subject: pic ADC gives erratic readings
Yes I am. But I am using an OPAMP as differential amplifier and it’s output to determine ADC using PIC.

Am I going wrong way ? Please suggest.
  Topic: pic ADC gives erratic readings
POPE19

Replies: 18
Views: 36360

PostForum: General CCS C Discussion   Posted: Fri Apr 27, 2018 1:20 pm   Subject: pic ADC gives erratic readings
Ttelmah,

Thanks for the reply. I realized my mistake, I have already corrected the code. My output is constant 1.001v dc.

You are right again. When I try to power PIC using 5v DC power source i ...
  Topic: pic ADC gives erratic readings
POPE19

Replies: 18
Views: 36360

PostForum: General CCS C Discussion   Posted: Fri Apr 27, 2018 9:48 am   Subject: pic ADC gives erratic readings
I am using PIC16F914 with 20.0000 MHz crystal for reading the voltage input for a voltmeter application. I am using a custom LCD with that to display the raw ADC values of voltage input. I am using PC ...
  Topic: PIC LOWER FREQ. READING PROBLEM
POPE19

Replies: 22
Views: 43522

PostForum: General CCS C Discussion   Posted: Wed Nov 29, 2017 9:18 am   Subject: PIC LOWER FREQ. READING PROBLEM
I have modified my code and it works. I just made following changes. I think it needs more delay to set the capture_flag = False. As soon as i increased the value of capture_interrupt count to 60, i a ...
  Topic: PIC LOWER FREQ. READING PROBLEM
POPE19

Replies: 22
Views: 43522

PostForum: General CCS C Discussion   Posted: Wed Nov 29, 2017 8:08 am   Subject: PIC LOWER FREQ. READING PROBLEM
PCM Programmer,

I have tried the recommended code, but the problem still persists. I am sending the updated piece of code. The lcd displays as soon as the input signal is present but does not displ ...
  Topic: PIC LOWER FREQ. READING PROBLEM
POPE19

Replies: 22
Views: 43522

PostForum: General CCS C Discussion   Posted: Tue Nov 28, 2017 8:02 pm   Subject: PIC LOWER FREQ. READING PROBLEM
Yes without any output from function generator in beginning I am getting zero. But once it detects 0.5 MPH it remains same even if I am removing the signal input from function generator.


The old ...
  Topic: PIC LOWER FREQ. READING PROBLEM
POPE19

Replies: 22
Views: 43522

PostForum: General CCS C Discussion   Posted: Tue Nov 28, 2017 4:38 pm   Subject: PIC LOWER FREQ. READING PROBLEM
YES old code works fine in old hardware compiled in same compiler (version 5.074) but it doesnot work in new hardware . any ways the problem is solve but i need some idea how to make an LCD Display ...
  Topic: PIC LOWER FREQ. READING PROBLEM
POPE19

Replies: 22
Views: 43522

PostForum: General CCS C Discussion   Posted: Tue Nov 28, 2017 2:18 pm   Subject: PIC LOWER FREQ. READING PROBLEM
I have wrote a simple code. it is working now but there is a problem. I am giving 37 Hz Input and getting 0.5 Mph on LCD. But as the freq input to CCP (turning off output of function generator) the d ...
  Topic: PIC LOWER FREQ. READING PROBLEM
POPE19

Replies: 22
Views: 43522

PostForum: General CCS C Discussion   Posted: Mon Nov 27, 2017 3:09 pm   Subject: PIC LOWER FREQ. READING PROBLEM
Ttelmah it is working fine. It counts from 0 to 999. Without missing any digit. Works 100%

Here is a piece of my modified code !!

void counter()
{
if(seconds >=1)
...
  Topic: PIC LOWER FREQ. READING PROBLEM
POPE19

Replies: 22
Views: 43522

PostForum: General CCS C Discussion   Posted: Mon Nov 27, 2017 2:05 pm   Subject: PIC LOWER FREQ. READING PROBLEM
Temtronic i have RB0, RB1 I/O pins available. What exactly you want me to test ? I need little more explanation.
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group