TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 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 (139254 times)
  2. FAT32 Library (71751 times)
  3. Network Ethernet Library (57122 times)
  4. USB Device Library (47430 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28078 times)
  9. PID Library (26885 times)
  10. microSD click (26198 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: 2778 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

Temperature and Humidity measurement with DHT11 sensor

0

DHT11 is the most inexpensive sensor for hobbyists purpose to measure relative humidity and temperature in parallel. This project demonstrate how to implement DHT11 1-wire proprietary protocol in the firmware of PIC microcontroller using mikroC Pro for PIC compiler.

[Learn More]

Temperature measurement using TC74 (Microchip) thermal sensor and StartUSB for PIC

0

This project describes how to interface Microchip's TC74 sensor with a PIC microcontroller to measure ambient temperature. The code is written in mikroC Pro for PIC and is illustrated with StartUSB for PIC board.

[Learn More]

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]