engcu90
Newbie level 4
Hello
I want to construct PC based oscilloscope. I made a simple design and these are problems that face me:
1- My adc range from 0:5 v and it doesn't read -ve values. So I thought about make a dc offset to overcome this problem. But the question now is that i want to make Variable offset. I mean for example if signal from -2 to 3 so offset is +2, and if signal is from -1: 2 so the offset should be +1. So how can i make this Variable offset?
2- Signals may be more than 5 v in range. For example signal from 0:10 v. I thought about a cct to multiply the signal by 0.5. But remains the same problem, I want a Variable multiplier. How i can define when to multiply by 0.5 or 0.2 or 0.1 or 1?
Note: I am using pic16f877a and its internal adc.
I would be grateful if you have other comments or ideas of design about my project.
Thanks
I want to construct PC based oscilloscope. I made a simple design and these are problems that face me:
1- My adc range from 0:5 v and it doesn't read -ve values. So I thought about make a dc offset to overcome this problem. But the question now is that i want to make Variable offset. I mean for example if signal from -2 to 3 so offset is +2, and if signal is from -1: 2 so the offset should be +1. So how can i make this Variable offset?
2- Signals may be more than 5 v in range. For example signal from 0:10 v. I thought about a cct to multiply the signal by 0.5. But remains the same problem, I want a Variable multiplier. How i can define when to multiply by 0.5 or 0.2 or 0.1 or 1?
Note: I am using pic16f877a and its internal adc.
I would be grateful if you have other comments or ideas of design about my project.
Thanks