free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
Luqman
Sat Sep 27 2008, 10:39PM
 User Offline
Registered Member #1962
Joined: Wed Jul 04 2007, 03:13AM

Posts: 19
Thanked 0 times in 0 posts
Ajay, i want to add a backup battery(or some other convenient source) just to run the RTC for infinite period of time, what modifications will be necessary in the schematic and C code


Back to top


Arun Kumar V
Sun Sep 28 2008, 02:14AM

 User Offline
Registered Member #426
Joined: Sun Jan 28 2007, 11:50PM

Posts: 465
Thanked 196 times in 166 posts


a battery and a diode !



Arun
Back to top


pdi33
Sun Sep 28 2008, 08:07AM

 User Offline
Registered Member #1329
Joined: Mon Jun 04 2007, 09:28AM

Posts: 659
Thanked 144 times in 140 posts
there are a couple of doubts for ur requirement before we proceed:
1. do u want the whole system operable (including keys/display ) on battery or only the internal RTC clock?
2. What is the type of battery u plan to use?rechargeable like Ni-Mh /Ni-Cd or Dry cell like Zn-Cl/Alkaline?

If u want to run the whole system , these are suggestions to reduce power consumption of the circuit:
1. change the hardware using the diode/cell as suggested by arun and take care that the backlite LED is only run by mains source ( it is the only part which takes a lot of current).
2. try reducing the crystal frequency of the uC and change the time period appropriately in the code. the power consumption of the uC in directly proportional to the frequency of operation. Use a optmum crystal frequency to suit the application.
3. isolate the alarm output ciruitry to operate only on the mains power source ( a buzzer too takes a lot of current )
4. Increase the pullup resistor values of the peripheral circuitry to the maximum possible value.

Note that though some external components consume only a few mA of current , a difference of a few mA matters a lot while running a battery operated circuit if u want the battery to run the circuit for a longer time.

Alternately, if u want the uC to operate like a RTC chip ( equivalent to a DS1307/Ds1302), u may have to make major modifications in the peripherals of the uC. the 89C51 does not support tri-states for its port so the current consumption of the uC alone depends upon the peripherals connected even if they are not given supply from the battery. So ideally, u may have to connect the peripherals through a buffer which supports tri-states.

* inspired to develop,developing to inspire *
Back to top


 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems