Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 13th March 2007, 05:09 AM   (permalink)
Default

err: I meant small signal analysis
BOBKA is offline  
Old 13th March 2007, 08:37 AM   (permalink)
Default

Quote:
Originally Posted by BOBKA
Guys,

let's say I want to sample voltages in a range of 40V using pic. I need to reduce the voltage to 5 volts max. You were using voltage dividers, but is there another way of doing that without making a path between Vdd and Vss? Also, according to pic datasheet, the resistance of the source should be less then 2.5k in order to sample it properly, in the case of gramo's post, is the resistance 1k||1k = 0.5k (grounding Vdd like large signal analysis for xtors)?
What's wrong with a potential divider?, it's how your meter works, it's how your scope works - there's really no better solution!.

The impedance problem is simple - check my PIC tutorials for an example, use an opamp buffer to convert the impedance to be suitable for the PIC.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 13th March 2007, 10:32 AM   (permalink)
Default

So the two resistors form a parallel circuit for impedance as the PIC's capacitors charge/discharge through separate resistors?
__________________
Spency.

PIC Micro's - Your mind is the limit

PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net
gramo is offline  
Old 13th March 2007, 10:51 AM   (permalink)
Default

Quote:
Originally Posted by gramo
So the two resistors form a parallel circuit for impedance as the PIC's capacitors charge/discharge through separate resistors?
Not really, it's only a crude approximation - when the input is grounded, then the two resistors are in parallel to discharge the sample and hold capacitor. But if the input is floating then it's only the one resistor. With input voltages it varies depending on the voltage and source impedance feeding the potential divider.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 14th March 2007, 04:08 AM   (permalink)
Default

Nigel: Using voltage divider will introduce resistance to the system, and thus the system might behave in a wrong way. I will probably make a sample-and-hold block, then do the voltage divider at it's output and sample this output using pic's adc. Or I might just create a source follower, then voltage divide it and then sample this voltage using pic's adc.

In my case I just want to avoid introducing additional resistors (such as voltage dividers) to the ckt.
BOBKA is offline  
Old 14th March 2007, 08:49 AM   (permalink)
Default

Quote:
Originally Posted by BOBKA
Nigel: Using voltage divider will introduce resistance to the system, and thus the system might behave in a wrong way.
Why?, you don't seem to understand what one is?, a correctly designed one causes no problems whatsoever - and they are simple to design.

Quote:

I will probably make a sample-and-hold block, then do the voltage divider at it's output and sample this output using pic's adc. Or I might just create a source follower, then voltage divide it and then sample this voltage using pic's adc.
No point whatsoever adding an external sample and hold, as it already has an internal one. Why voltage divide AFTER a buffer?, it pretty well negates the point of the buffer, and of the potential divider - check my tutorial hardware, use the buffer between the potential divider and the PIC.

Quote:

In my case I just want to avoid introducing additional resistors (such as voltage dividers) to the ckt.
Unless your input is 0-5V? (of at least 0-Vref) then there's absolutely no point, and no real alternative!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 14th March 2007, 05:16 PM   (permalink)
Default

Here is Nigels anlaog input section.
http://www.winpicprog.co.uk/pic_tuto...ogue_board.htm
williB is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Microcontroller interface with ADC revjam Chit-Chat 4 1st August 2008 09:21 AM
how to interface a ADC 0809 TO MICROCONTROLLER AND THEN MICROCONTROLLER TO DECODER praneeth22 Micro Controllers 1 9th March 2007 07:20 PM
clock source for microcontroller stk500 hani_a Micro Controllers 0 22nd June 2004 12:37 AM
Connection of Siemens c167 microcontroller to peripherals. Roslan Electronic Projects Design/Ideas/Reviews 3 23rd March 2004 07:52 PM
Interfacing a microcontroller with a modem matt_d82 General Electronics Chat 3 21st March 2004 03:43 AM



All times are GMT. The time now is 09:42 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker