TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (400 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (128 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 (140753 times)
  2. FAT32 Library (73336 times)
  3. Network Ethernet Library (58190 times)
  4. USB Device Library (48379 times)
  5. Network WiFi Library (43967 times)
  6. FT800 Library (43532 times)
  7. GSM click (30465 times)
  8. mikroSDK (29159 times)
  9. PID Library (27166 times)
  10. microSD click (26843 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: 2802 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]

Single chip (PIC12F683) temperature data logger

15

It is a very simple data logger project based on PIC12F683 microcontroller. The microcontroller reads temperature values from a temperature sensor on a regular interval basis and stores them into its internal EEPROM memory. http://embedded-lab.com/blog/?p=2236

[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]