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.

analog detection using pic

Status
Not open for further replies.

annirmala

Newbie level 3
Joined
Aug 21, 2010
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,306
I want to know how to detect an analog signal using pic

Because I am doing a project to display analog signal on monitor using pic

kindly help me
 

You could use the analog-to-digital converter.

Mind you, it's all limited to 5V
 

    annirmala

    Points: 2
    Helpful Answer Positive Rating
jumper2high said:
You could use the analog-to-digital converter.

Mind you, it's all limited to 5V

I,m newcomer to pic

please explain more
 

what language u want to use??

C++ or BASIC or assembly??

what type of PIC?

usually the PIC analog port is at port A..u need to set the Port A to analog signal input..
 

    annirmala

    Points: 2
    Helpful Answer Positive Rating
Are you looking something like this...
 

    annirmala

    Points: 2
    Helpful Answer Positive Rating
Read this tutorial and your pics datasheet. You could measure more than 5 volts using a voltage divder.
**broken link removed**

For example if the maximum voltage is 10V, you could divide it by 2 and drop it to 5V. 5V is the maximum voltage a pic can handle so by measuring 5 voltage you can multiply it in the software part knowing that is actually 10Volts. You may use two voltage dividers if the Vmax is 20 and divide it by 4 on the hardware part and multiply by 4 on the software part. I hope it helps!
 

    annirmala

    Points: 2
    Helpful Answer Positive Rating
lockman_akim said:
what language u want to use??

C++ or BASIC or assembly??

what type of PIC?

usually the PIC analog port is at port A..u need to set the Port A to analog signal input..
I would like to use assembly
Iwant to know how to set port A to analog signal input

Added after 25 minutes:

anandpv2009 said:
Are you looking something like this...
video
actually I want to make small oscilloscope using pic and computer
that mean however I want to read analog signal from pic and show it on the computer

Added after 13 minutes:

georgz said:
Read this tutorial and your pics datasheet. You could measure more than 5 volts using a voltage divder.


For example if the maximum voltage is 10V, you could divide it by 2 and drop it to 5V. 5V is the maximum voltage a pic can handle so by measuring 5 voltage you can multiply it in the software part knowing that is actually 10Volts. You may use two voltage dividers if the Vmax is 20 and divide it by 4 on the hardware part and multiply by 4 on the software part. I hope it helps!
thank lot
 

actually the software to make your computer as oscilloscope was already made..
but it use your pc soundcard..

if you want to make it yourself, u need to study more for not only ADC but serial com and visual basic..
im not the one who expert in assembly but i can help u if you want to use BASIC..
 

    annirmala

    Points: 2
    Helpful Answer Positive Rating
lockman_akim said:
actually the software to make your computer as oscilloscope was already made..
but it use your pc soundcard..

if you want to make it yourself, u need to study more for not only ADC but serial com and visual basic..
im not the one who expert in assembly but i can help u if you want to use BASIC..
help me please
 

anirmala:

ok..i can help u little bit..but im really sorry for asemmbly..
im BASIC user.. every programming that i do is in BASIC wheter PIC or Visual Basic.

let me xplain more about serail com..

serial com is one off the way you can communicate your PIC to your PC..
for PIC16F77A the TX and RX pin is at Port C6 and Port C7.
to connect between PC and PIC u need Max233 ic..

Visual BASIC is a software to create another software. U need to learn it because u
should process the input data from PIC and display it.

visit my website for some sample BASIC programming.

www.thelocxresearch.com
 

    annirmala

    Points: 2
    Helpful Answer Positive Rating
I want to know how to detect an analog signal using pic

the answer is surprisingly simple: just ask yourself if you were presented a signal, how could you tell if it is analog or digital?

once you figure out the answer, you just need to program a mcu to follow your thought process.

if you cannot figure out the answer, well, no mcu can either.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top