All About Circuits Forum  

Go Back   All About Circuits Forum > Software, Microcomputing, and Communications Forums > Embedded Systems and Microcontrollers

Notices

Embedded Systems and Microcontrollers Discussion forum for projects and working with embedded systems and microcontrollers (FPGAs, PICs, AVRs). Get help with hardware issues and embedded programming.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-16-2008, 05:48 AM
kfchoong kfchoong is offline
Junior Member
 
Join Date: Mar 2008
Posts: 10
Default Calculating Power Consumption

Hi,
While building a kit using PIC16F876A, I realized that the power consumption is very high. A new 9V battery will last about 24 hours. Knowing that the power consumption is dependent on the circuit components and design, I have attached the schematic diagram in PDF.

Could anyone please tell me how I can calculate the power consumption?

Thanks,
kfchoong
Attached Files
File Type: pdf Circuit.pdf (23.1 KB, 53 views)
Reply With Quote
  #2  
Old 03-16-2008, 07:10 AM
AlexR AlexR is offline
Senior Member
 
Join Date: Jan 2008
Location: Australia (UTC+10)
Posts: 509
Default

I think you will find that most of the power is taken by LCD backlight.
If you run the cct off a battery turn off the backlight.
Also having the power LED on all the time does not help matters. To get maximum life out of your battery pull that out as well.
__________________
Alex

"A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools."-Douglas Adams

Last edited by AlexR; 03-16-2008 at 07:16 AM.
Reply With Quote
  #3  
Old 03-16-2008, 07:53 AM
kfchoong kfchoong is offline
Junior Member
 
Join Date: Mar 2008
Posts: 10
Default

Thanks for the reply. During one of my test, I removed no only the LCD's backlight, but the entire LCD. Even after doing so, the power consumption is still very high. It probably only added a few more hours to the battery life.

I'm new to circuit, not sure if the variable resistor used to control the LCD brightness is causing the problem. Depending on the resistance set, doesn't it cause some sort of short circuit?
Reply With Quote
  #4  
Old 03-16-2008, 12:29 PM
S_lannan's Avatar
S_lannan S_lannan is offline
Senior Member
 
Join Date: Jun 2007
Location: Australia
Posts: 238
Send a message via MSN to S_lannan
Default

ok.
here's my rule number one of batteries.

9V VOLTS BATTERIES ARE CRAP.

do not ever use them. period.
using a step up converter with a set of 2xaa cells would be waay better.

a single led will use more power than a lcd display.

as far as having any longevity out of a 9v battery don't expect nothing.
They are landfill demons, they have no capacity and are expensive.
I cannot stress this enough.
Reply With Quote
  #5  
Old 03-16-2008, 01:21 PM
kfchoong kfchoong is offline
Junior Member
 
Join Date: Mar 2008
Posts: 10
Default

Thanks for the advice, I will give it a try. But will changing the battery from 9v to AA makes such a big difference? Or is there something wrong fundamentally that causes the battery to only last a day?

Is there a way in which I can measure the mA consume by the circuit?

Thanks again
Reply With Quote
  #6  
Old 03-16-2008, 02:15 PM
hgmjr's Avatar
hgmjr hgmjr is online now
Super Moderator
 
Join Date: Jan 2005
Location: Tennessee, USA (GMT-5)
Posts: 7,146
Blog Entries: 11
Default

Quote:
Originally Posted by kfchoong View Post
Thanks for the advice, I will give it a try. But will changing the battery from 9v to AA makes such a big difference? Or is there something wrong fundamentally that causes the battery to only last a day?

Is there a way in which I can measure the mA consume by the circuit?

Thanks again
If you can obtain a Digital Multimeter you can measure the current with that.

hgmjr
Reply With Quote
  #7  
Old 03-16-2008, 02:23 PM
gurudutt pai gurudutt pai is offline
New Member
 
Join Date: Mar 2008
Posts: 5
Post circuit drawing too much power

Your basic application seems to be a LCD clock or a programmable timer.
I have downloaded your diag. let me study it & will post the bugs in the same.
I have been working with low consumption systems for years. The simplest method to start with is to know the min. curr consumpton of each device which will be powered up by the battery. Take the total consumption , & divide the battery capacity ( mAH ) by cir. consumption to get the life of battery. If the life is unacceptable you have no choice but use a higher capac. battery or change the devices used where avail. in a lo curr. type.
e.g if you are using a pwer hungry LS or similar gate , try using Cmos or
HC mos devices , for normal 555 use C555 .
Reply With Quote
  #8  
Old 03-16-2008, 02:44 PM
kfchoong kfchoong is offline
Junior Member
 
Join Date: Mar 2008
Posts: 10
Default

How do I measure the current with a Digital Multimeter? Must I measure each component individually?

Also, if powered by a 9v battery, how long should I expect the device to work? Articles from different website seem to indicate that the PIC16F876A consumes very little power and could last for months on battery power. Is this true normally or are they stating the best case scenario?

BTW, I have a link to the document, showing what the kit does and how it works. Maybe it will provide a clearer picture of the device.

http://www.cytron.com.my/attachment/.../PR12%20v4.pdf

Last edited by kfchoong; 03-16-2008 at 02:51 PM.
Reply With Quote
  #9  
Old 03-16-2008, 04:19 PM
beenthere's Avatar
beenthere beenthere is offline
Super Moderator
 
Join Date: Apr 2004
Location: Missouri, USA (GMT -6)
Posts: 12,954
Blog Entries: 10
Default

The best indicator for current draw would be on the wall adapter. The visible plate gives the output voltage and the current. It's too small to see in the photograph in the PDF file, though.
Reply With Quote
  #10  
Old 03-16-2008, 04:33 PM
gurudutt pai gurudutt pai is offline
New Member
 
Join Date: Mar 2008
Posts: 5
Default how to do it

You are wasting battery capacity in 9 v to 5 v dc regulator. So i advise you to use 3 x 1.5 v pencil cells or 4 x 1.2 nicads to get around 4.5 v without the need for regulator. The higher mAH cap will also work in your favour.
Also keep the back light & leds off after a set time interval till the display function is activated by user pressing a button. This will have to be added to your cir. Use the pic with as low osc freq as possible to reduce active power consumption. Otherwise , as your basic RTC function is in a micropwer chip
the pic can also be powered into standby mode till user presses the wakeup button as noted above. Also the lcd bias resistor should be disconneced in low per mode to maximise battery life. For leds use hi efficiency types with a suitably higher val resis to reduce active cur.
These modifications will keep your battery alive for several days or more depending on your implementation.
Reply With Quote
Reply   Post New Thread

Bookmarks

Tags
, ,

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Power problem...but not the power supply. BiggerBean Computing and Networks 15 05-22-2008 10:35 PM
Calculating power delivered by supply Distort10n General Electronics Chat 1 02-17-2008 10:20 PM
3 phase motor - calculating power mechanicalEng General Electronics Chat 3 02-01-2008 09:47 AM
POWER consumption wheatstonin' General Electronics Chat 10 11-28-2007 05:50 PM
Calculating Power consumption of RTC Siva_sbj General Electronics Chat 2 10-18-2007 12:22 PM


All times are GMT. The time now is 10:24 PM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License. Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.