HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
REGISTER   |   LOGIN   |   HELP
Comment
Jon Titus
User Rank
Blogger
Re: Part V: Tricks With PIC: Using the Trusty PIC Microcontroller
Jon Titus   1/20/2012 5:36:05 PM
NO RATINGS
Q: What would be your recommendation for measuring Battery voltage thru a micro A/D, say a 9-volt battery?  Simply using a voltage divider causes current draw while the micro is shut down.

 

A:  Yes, if you use two resistors to create a voltage divider you continue to draw current all the time.  Use a small NPN transistor between the resistors and ground and turn it on with an output pin at logic 0.  Then current will flow through the resistors and you can measure the voltage.  Just account for the voltage drop across the NPN transistor when you calculate the resistor values needed to get a voltage you can measure.



Partner Zone
Latest Analysis
Eric Chesak created a sensor that can detect clouds, and it can also measure different sources of radiation.
Festo's BionicKangaroo combines pneumatic and electrical drive technology, plus very precise controls and condition monitoring. Like a real kangaroo, the BionicKangaroo robot harvests the kinetic energy of each takeoff and immediately uses it to power the next jump.
Practicing engineers have not heeded Yoda's words.
Design News and Digi-Key presents: Creating & Testing Your First RTOS Application Using MQX, a crash course that will look at defining a project, selecting a target processor, blocking code, defining tasks, completing code, and debugging.
Rockwell Automation recently unveiled a new safety relay that can be configured and integrated through existing software to program safety logic in devices.
More:Blogs|News
Design News Webinar Series
3/27/2014 11:00 a.m. California / 2:00 p.m. New York / 7:00 p.m. London
2/27/2014 11:00 a.m. California / 2:00 p.m. New York / 7:00 p.m. London
12/18/2013 Available On Demand
11/20/2013 Available On Demand
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Apr 21 - 25, Creating & Testing Your First RTOS Application Using MQX
SEMESTERS: 1  |  2  |  3  |  4  |  5


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Next Class: April 29 - Day 1
Sponsored by maxon precision motors
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Copyright © 2014 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service