1Hz Clock Generator using PIC16F876
In this article we’ll see how to generate 1 Hz clock with PIC16F876/877 PIC microcontrollers. 3 different approaches will be demonstrated. The most basic solution is to use nested loops to “waste” enough instruction cycle time in order to produce ...
PCF8573P I2C Real Time Clock
In this post I’m going to show you how to interface an I2C Real Time Clock – RTC with PIC microcontroller. Only a basic hardware configuration and a communication protocol are presented here. I’m planning to extend it to a ...
Temperature Controlled Fan
Here is another fan controller design based on PIC microcontroller, this time it's temperature controlled and can be used to monitor Hard Drive temperature and adjust the fan speed accordingly or as a case fan controller. This post following recently ...
9 Volt Battery Charger
9 Volt batteries extensively used in various electronics measurement equipment. Powering these devices with rechargeable batteries can be a cost effective solution. In this post a simple Lithium-ion 9 Volt Battery Charger design with overcharging protection will be presented. Charger is ...
HC-SR04 Ultrasonic Sensor with Raspberry Pi
Using HC-SR04 Ultrasonic Sensor with Raspberry Pi is a relatively easy task. HC-SR04 is a very popular module that can provide the distance to the object by sending ultrasonic bursts at 40kHz and measuring the time it takes for the ...
Response Time Meter
If you ever thought how fast you can react to external stimulus here is the circuit that can measure your response time. It measures the time it takes for you to press the push button in response to turning the ...
INA219 current sensor with Arduino
Measuring current is a relatively simple task that can be done by connecting a shunt resistor in series with the load and measuring the voltage on this resistor. The voltage is proportional to a load current according to Ohm’s law ...
Digital Alarm Clock
Digital Alarm Clock design based on PIC16F876A will be demonstrated in this post. Various modules from earlier project were implemented in current design hardware and source code. For example it uses the same 7-Segment Display and multiplexing routing as in ...
Using Ultrasonic Sensor HC-SR04 with PIC16F877
This post is about building a basic distance meter with ultrasonic HC-SR04 sensor and PIC micro controller. For Arduino version click here. Raspberry Pi variant is also available at this link The interface is very simple and does not require too many commands ...
Fading LED with PIC microcontroller
This article shows how to create a fading/dimming effect of the LED using PIC micro-controller. For similar design based on Arduino click this link.Controlling LED brightness using PWM is a relatively simple task and can be accomplished by configuring PIC16F877 ...