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 (141484 times)
  2. FAT32 Library (74343 times)
  3. Network Ethernet Library (58870 times)
  4. USB Device Library (48921 times)
  5. Network WiFi Library (44699 times)
  6. FT800 Library (44246 times)
  7. GSM click (30976 times)
  8. mikroSDK (29818 times)
  9. PID Library (27423 times)
  10. microSD click (27382 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: 2820 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]

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]

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]