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
Engineers at Fuel Cell Energy have found a way to take advantage of a side reaction, unique to their carbonate fuel cell that has nothing to do with energy production, as a potential, cost-effective solution to capturing carbon from fossil fuel power plants.
To get to a trillion sensors in the IoT that we all look forward to, there are many challenges to commercialization that still remain, including interoperability, the lack of standards, and the issue of security, to name a few.
Researchers in The Netherlands are testing highway sound barriers that have a two-fold purpose: to block sound and also to harvest solar energy.
This is part one of an article discussing the University of Washington’s nationally ranked FSAE electric car (eCar) and combustible car (cCar). Stay tuned for part two, tomorrow, which will discuss the four unique PCBs used in both the eCar and cCars.
Today, no matter where in the world the device is located, it can call home and ask for the latest-and-greatest firmware with bug fixes and feature updates.
More:Blogs|News
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Jul 6 - 10, Building Raspberry Pi Controllers with Python
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7


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.
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2015 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service