TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 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 (141291 times)
  2. FAT32 Library (74089 times)
  3. Network Ethernet Library (58715 times)
  4. USB Device Library (48826 times)
  5. Network WiFi Library (44525 times)
  6. FT800 Library (44074 times)
  7. GSM click (30805 times)
  8. mikroSDK (29659 times)
  9. PID Library (27355 times)
  10. microSD click (27251 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: 2817 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]

DIY heart beat rate meter using clicker2 for PIC18FJ and Easy Pulse mikro

0

This project is about building a stand-alone pulse meter using Easy Pulse mikro and mikroElektronika‘s clicker 2 for PIC18FJ board. An OLED W click board is also used to display the pulse rate in beats per minute (BPM).

[Learn More]