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 support@ccsinfo.com

Simple probe for measure

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Userr
Guest







Simple probe for measure
PostPosted: Tue Dec 07, 2004 11:36 am     Reply with quote

I want create Simple probe for measure AC,DC,scope diagram, and resistance.

please look and tell how I can measure AC voltage, does this correct?

http://c.1asphost.com/Userr/probe.jpg

- DC measure(R1 and R2 - not 10k - devider by 30)
- RX measure - simple (maybe not stable) current source with n-channel
transistor.

PGA use Microchip msp6s22 for choose gain and switch channel
(Can I by software in PIC measure AC without using RTS-to-DC
converter?) Maybe masure peak of signal?


For view scope-signal use nokia3310 lcd.

For high-speed measure different signal and place to lcd - PIC18F2431
with 200kbs 10bit A/D converter

Power from battery nokia - 3.6V
Help with ref voltage - chip with 2.5 vref.
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Tue Dec 07, 2004 1:02 pm     Reply with quote

That is a REALLY crude way to measure resistance. I think a simpler and better way is in Microchip App note 512. It uses a software controlled RC oscillator with two port pins and gives very good performance with minimal parts.
_________________
The search for better is endless. Instead simply find very good and get the job done.
Userr
Guest







PostPosted: Wed Dec 08, 2004 2:19 pm     Reply with quote

Thanks . maybe else some circuits for measure resistance.



See at analog.com rms-to-dc ad737 ;maybe this device I can use for
AC measure.
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Wed Dec 08, 2004 2:35 pm     Reply with quote

For AC measurement you have to know what the signal is and what you want to measure. If the AC is 60Hz power line the PIC can probably use the DC circuit and use software to find peak to peak and RMS. If the AC is audio you may still be able to do this. You have to look at the sampling speed of the A/D, the processing speed of the PIC, and the speed at which the signal moves.

If the signal is too fast you will need either a RMS to DC chip, or a peak detector circuit, depending on which measurement you want to make.

There are litterally thousands of ways to do this. Tell us more and we can narrow the choices.
_________________
The search for better is endless. Instead simply find very good and get the job done.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group