Projects

Wave player using PIC18F4550 microcontroller

Wave player using PIC18F4550 microcontroller

Making an audio player (.wav files) using PIC microcontroller is not complicated especially when the MCU has a PWM module. This topic shows how to build an audio player using PIC18F4550 microcontroller where the the file is stored in an SD card with FAT16 or FAT32 file system. In this project I used a wave […]

Remote controlled USB mouse using PIC18F4550 1

Remote controlled USB mouse using PIC18F4550

Building a USB mouse using PIC18F4550 microcontroller and CCS C compiler is easy as shown in the link below: USB Mouse using PIC18F4550 microcontroller Also, it is not hard to add an infrared remote control to the previous USB project. This post shows how did I build a simple IR remote controlled USB mouse using […]

MMC SD Card raw data read with PIC16F887 microcontroller 1

MMC/SD Card raw data read with PIC16F887 microcontroller

Interfacing MMC/SD card with PIC16F887 This small example shows how to read SD card raw data (bytes, sectors …). SD card raw data means that there is no use of system files like FAT16 or FAT32. Serial monitor is used to display the data after reading it and here the UART protocol is used. the […]

Read text files from FAT16 SD card with PIC16F887 1

Read text files from FAT16 SD card with PIC16F887

Interfacing PIC16F887 with FAT16 SD card After reading raw data (bytes and sectors) from SD card, now I’m going to use FAT16 file system to read and print text file located in 2 GB SD card. Read SD card raw data topic: MMC/SD Card raw data read with PIC16F887 microcontroller UART protocol is used to […]

Wave audio player using PIC16F887 microcontroller

Wave audio player using PIC16F887 microcontroller

This small project shows how to make a simple wave audio player using PIC16F887 microcontroller and SD card. The WAV audio file used in this project is 8000 Hz, 8-bit stereo (2 channels). Hardware Required:   PIC16F887 microcontroller SD card (formatted with FAT16 or FAT32 file system) ASM1117 3.3 voltage regulator Audio amplifier (ex: PC […]

DC motor control with PIC16F84A and L293D

DC motor control with PIC16F84A and L293D

Low power DC motors can be easily controlled with half H-bridge IC L293D. This IC is 16-pin IC which can control 2 motors in both directions. This topic shows how to control DC motor speed and direction with PIC16F84A and L293D motor drive integrated circuit. Related topics: The following topic shows how to control a […]

PIC16F84A DHT11 Proteus simulation

PIC16F84A + DHT11 Proteus simulation

Interfacing PIC16F84A microcontroller with DHT11(RHT01) sensor This topic shows how to interface DHT11 (RHT01) digital relative humidity and temperature sensor with PIC16F84A 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, […]

PIC16F84A DHT22AM2302 RHT03 sensor Proteus simulation 1

PIC16F84A + DHT22(AM2302, RHT03) sensor Proteus simulation

DHT22 Proteus simulation This topic shows how to interface DHT22 (AM2302, RHT03) digital relative humidity and temperature sensor with PIC16F84A 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 DHT22 library, it is […]

Interfacing PIC16F84A with SD card

Interfacing PIC16F84A with SD card

This topic shows a simple interfacing of 2 GB micro SD card with PIC16F84A microcontroller. I used the PIC16F84A to read the SD card raw data which doesn’t require a microcontroller with high RAM or ROM. In this interfacing I used software SPI because the PIC16F84A doesn’t have a built-in hardware SPI module. In this […]

DHT11 Interfacing with PIC12F1822 microcontroller

DHT11 Interfacing with PIC12F1822 microcontroller

In this blog there are some topics talking about the DHT11 relative humidity and temperature sensor and how to interface it with different types of PIC microcontrollers. The datasheet of the DHT11 sensor shows its characteristics and how it works. Also the following topic shows the DHT11 timing and how to simulate it using Proteus: […]