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.

How can i measure events softly?

Status
Not open for further replies.

avr_micro

Member level 3
Joined
Feb 15, 2004
Messages
64
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
514
Hi every body

I have a problem in Analog measurement?When i want to measure an analog sensor (For example output of LM35) by micro controller(For example AVR) i read that input in a loop every time so the value is very unbalanced and as you can see i this picture has some instantly changes and edges.I want to measure and show it soft(As second waveform in the same picture).How can i do this work?IS it possible by code in AVR or it should be done by external elements(Such as capacitors and ...) in circuit?

Here you can find picture.
https://tinypic.com/view.php?pic=6cdimqc

Regards
 

Hi,
The idea of putting a capacitor is good, but you must be careful that it should not affect the timing.


You can easily do it in avr. Just for example have 5 samples average it and display it. The number of samples depends on how smooth you want.

While doing this in programming you can vary smoothness easily while it take some time in hardware.

Regards
Nandhu
 

    avr_micro

    Points: 2
    Helpful Answer Positive Rating
Can Pid Theory help me?If it can,how can i write code?

Regards
 

Hai

I dont know much about PID.

Nandhu

(I have a temp. controller with PID in my hands. I will be able to help you only after completing it.)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top