TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (404 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141111 times)
  2. FAT32 Library (73901 times)
  3. Network Ethernet Library (58554 times)
  4. USB Device Library (48724 times)
  5. Network WiFi Library (44376 times)
  6. FT800 Library (43976 times)
  7. GSM click (30721 times)
  8. mikroSDK (29478 times)
  9. PID Library (27299 times)
  10. microSD click (27102 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

Learn how to put a PIC microcontroller to sleep

Rating:

0

Author: Rajendra Bhatt

Last Updated: 2011-10-11

Package Version: 1.0.0.0

Category: Other Codes

Downloaded: 2813 times

Followed by: 1 user

License: MIT license  

This is actually an experimental tutorial that shows how to put a PIC microcontroller into Sleep mode to lower the power consumption in battery-powered applications. I used PIC16F628A and MikroC Pro for PIC for illustration.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Learn how to put a PIC microcontroller to sleep" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Learn how to put a PIC microcontroller to sleep" changes.

Do you want to report abuse regarding "Learn how to put a PIC microcontroller to sleep".

  • Information
  • Comments (1)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

The Sleep feature of PIC microcontrollers is an extremely useful mechanism to minimize power consumption in battery-powered applications. In Sleep mode, the power consumption is lowest. The device can be woken up by an external reset, a watch-dog timer reset, an interrupt on INT0 pin, or port-on-change interrupt. This project describes how to put a PIC microcontroller into Sleep mode and then compares the current consumption during Sleep mode and the normal operation mode.

Circuit setup

Circuit setup

An ammeter is connected in series to monitor the current drawn from the source.

View full image
Sleep mode current

Sleep mode current

Current consumption in sleep mode is minimum.

View full image

ALSO FROM THIS AUTHOR

MikroC Pro for PIC driver routine for 74HC595 based serial LCD interface

5

Contains library routines for 3-wire LCD interface based on 74HC595 shift register. More details are provided in the attached ReadMe document or posted at http://embedded-lab.com/blog/?p=30

[Learn More]

PIC based digital capacitance meter

0

Capacitors are one of the most common passive electrical components that are extensively used in all kinds of electronic circuits. This project describes a technique of building a digital capacitance meter using the PIC16F628A microcontroller. The firmware is written in mikroC Pro for PIC compiler.

[Learn More]

Car's battery voltage and charging system monitor

5

This project is about making a simple electronic voltage monitor system for car’s battery and its charging system. It plugs into the car’s cigarette lighter receptacle and displays the instantaneous output voltage across the battery terminals on a 4-digit seven segment LED display.

[Learn More]