Projects

Display BMP images from SD card on ST7735 TFT screen

Display BMP images from SD card on ST7735 TFT screen

This example shows how to display Bitmap (BMP) image files from SD card on ST7735 1.8″ (128×160) TFT screen using PIC18F4550 microcontroller and CCS PIC C compiler. To build this project we need the ST7735 TFT driver, SD card driver and FAT16 library. The three source files must be added to the project folder (or […]

Interfacing PIC16F877A with DHT11 RHT01 sensor Proteus simulation

Interfacing PIC16F877A with DHT11 (RHT01) sensor Proteus simulation

PIC16F877A + DHT11 (RHT01) Proteus simulation This topic shows how to interface DHT11 (RHT01) digital relative humidity and temperature sensor with PIC16F877A microcontroller, and how to simulate this interfacing using Proteus. Note that for the simulation Proteus version should be 8.1 or higher. With these versions there is no need to install Proteus DHT11 library, it […]

Interfacing PIC16F877A with DHT22AM2302 RHT03 sensor using CCS PIC C

Interfacing PIC16F877A with DHT22(AM2302-RHT03) sensor using CCS PIC C

Interfacing PIC16F877A with DHT22(AM2302-RHT03) digital humidity and temperature sensor This topic shows how to interface PIC16F877A microcontroller with DHT22 sensor with hardware circuit. Related topic: The following topic shows PIC16F877A microcontroller and DHT22 Proteus simulation and some details about this sensor. PIC16F877A and DHT22(AM2302, RHT03) sensor Proteus simulation Interfacing PIC16F877A with DHT22(AM2302, RHT03) sensor circuit: […]

CD ROM sensored brushless DC BLDC motor speed control with PIC16F877A microcontroller

Sensored brushless DC (BLDC) motor control with PIC16F877A microcontroller

Sensored BLDC motor control using PIC16F877A – CCS PIC C compiler This topic shows an easy way to drive a Cd-Rom sensored brushless DC motor (BLDC motor) using PIC16F877A microcontroller with CCS PIC C code. This motor is three phase motor, it has three stator phases that are excited two at a time to create […]

4 Digit 7 Segment display with 74HC595 shift register

4-Digit 7-Segment display with 74HC595 shift register

There are many topics in this blog talking about the 7-segment display and how to interface it with different types of PIC microcontrollers. One of these topics shows how to interface PIC16F877A with a multiplexed 4-digit 7-segment display with the shift register 74HC164N. There are many topics in this blog talking about the 7-segment display […]

433mhz rf radio frequency transmitter receiver modules pic microcontroller

433MHz Radio Frequency (RF) transmitter and receiver using PIC12F1822

433MHz RF Remote control system with PIC microcontroller This project shows how to use low cost 433MHz RF transmitter/receiver modules to build a 5-channel wireless RF remote control system using 2 x PIC12F1822 microcontrollers. The used RF modules in this project are cheap and easy to use with any microcontroller. These modules are shown below […]

pic12f1822ST7735RTFTSPIdisplaycircuit

Interfacing PIC12F1822 with ST7735 SPI TFT display

This post shows how to interface PIC12F1822 microcontroller with ST7735 SPI TFT display using CCS PIC C compiler. For this interfacing we need a driver for the TFT display. Driver topic at the following link: ST7735 SPI TFT Display Driver for CCS PIC C compiler Or you can just download it directly from the following […]

pic12f1822 spi mmc sd card sector read

Interfacing SD card with PIC12F1822 (Raw data read)

With the tiny microcontroller PIC12F1822 we can read raw data (sectors) stored in the SD card. The SD card can work in SPI mode which makes our interfacing more better since the PIC12F1822 MCU has a built-in SPI module (MSSP module). This post shows how to interface the SD card with the PIC12F1822 microcontroller in […]

nec remote control buttons rtcc

PIC12F1822 + DS3231 + Remote Control

PIC12F1822 is a small microcontroller has only 8 pins which is not enough for building a real time clock using DS3231 with set buttons because the DS3231 needs 2 pins and the LCD screen needs 3 pins, therefore I’ve only 1 free pin. I connected that pin to an IR receiver and I used a […]

PIC16F84A with DS3231 RTC hardware circuit

Interfacing PIC16F84 with DS3231 RTC

This post shows how to make a real time clock and calendar using PIC16F84 and DS3231 RTC. The DS3231 uses I2C protocol to interface with the master device which is in this example the PIC16F84A MCU. In this project software I2C is used because the PIC16F84A MCU has no hardware I2C module. Hardware Required: PIC16F84A […]