Temperature sensor (LM35) and Fan speed Controller using PIC16F877A

Temperature sensor (LM35) and Fan speed Controller using PIC16F877A:



This post provides a simple digital Temperature meter  circuit using PIC16f877A microcontroller. This code is written in C language using MPLAB X IDE with XC8 compiler. 

In this post, it is assumed that you know,

  • How to use PWM in PIC16F877A microcontroller. 
  • How to interface LCD with PIC16F877A microcontroller.


Circuit :


Figure 1: PIC16F877A based Fan speed Controller and Temperature meter

Code :


Figure 2 :Mikroc code for Fan controller


Downloads:

coming soon...

Comments

Post a Comment

Popular posts from this blog

Exploring USB Device Detection with Arduino and USB Host Shield

555 Timer Astable mode, Lt spice simulation, and real-time testing

PIC12F675 LED Blinking Code