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.

ADC configurations for reading ac current from current transformer (PIC)

Status
Not open for further replies.

Esalasanjaya

Newbie level 5
Joined
May 18, 2010
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Sri Lanka
Activity points
1,351
how to define following tose things!!!What is the meanings????

DEFINE ADC_BITS 8 ' Set number of bits in result
DEFINE ADC_CLOCK 3 ' Set clock source (rc = 3)
DEFINE ADC_SAMPLEUS 50 ' Set sampling time in microseconds
 

ADC programming!!!!

These are the macros defining the values of some constants.

But nobody can tell you more specifically without complete code.
 

Re: ADC programming!!!!

From the lines u have posted it seems that...

ADC is being used in 8bit mode
with frequency of 20KHz
and out of available clock sources third clock source is being used for it....

which micocontroller ur using??
i guess PIC..?
 

Re: ADC programming!!!!

hi

first of all please specify the controller and the compiler

regards

ml
 

ADC programming!!!!

plz tell me how to write a programme for adc m doing a project on automatic temprarure sensing alarm and i need the source code/c programme
 
  • Like
Reactions: khizar

    khizar

    Points: 2
    Helpful Answer Positive Rating
Re: ADC programming!!!!

Before posting any query pls mentioned the controller ur using...
or if any external ADC is using...
which temperature sensor ur using...??
 

Re: ADC programming!!!!

hi,
i m using pic 18f6520 microcontroller...and i want to read ac current from current transformer...for dis purpose wat are adc configurations to be done????
 

hi, navni, i would like to program 18f6520. But, i don't know which compiler to use for programming and how to execute them.
I use high tech c compiler for programming 16f877a and i used this same for 18f6520. But i cant find a solution for it. Would you please tell me which compiler must i have to use for programming PIC 18f6520.?
 

hi, navni, i would like to program 18f6520. But, i don't know which compiler to use for programming and how to execute them.
I use high tech c compiler for programming 16f877a and i used this same for 18f6520. But i cant find a solution for it. Would you please tell me which compiler must i have to use for programming PIC 18f6520.?
The Hi-Tech compiler for PIC16 and PIC18 is different. If you go to hi-tech website, there have compiler for that. Embedded C Compilers and Tools for Software Development: HI-TECH Software
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top