Category Archives: PIC Projects


Universal motor driver for PIC16F MCUs

This application note from Microchip presents the design of an open-loop speed control TRIAC-driven universal motor driver board. An interesting thing about this design is it uses Core Independent Peripheral (CIP) on an 8-bit microcontroller to optimize the processing speed and free up the CPU usage. The complete source code and reference design material are included. The universal motor used in this application note runs from 120V-240V AC power and is driven from a TRIAC. A bench test for running a 220V universal motor has been done. The circuit is powered off the line from an non-isolated AC supply; therefore, safety precautions should be taken when working with this type of system. An isolated on-board UART

Read more

HID IR Keyboard using PIC18F25J50

A PIC18F25J50 based USB HID IR keyboard from Suraj Bhawal uses a TSOP IR decoder IC to receive IR signals from an IR remote and convert them to HID inputs. For this project, I used a PIC18F25J50 microcontroller with a TSOP IR decoder. I used this microcontroller because of three reasons. First, this mcu is available in tiny QFN package which helps reducing the overall board size. Second, this mcu supports usb communication without using an external crystal/resonator which again helps reducing the board size. And third, is that I have several of these laying around in my stock. The list of

Read more

Vibrating Mesh Nebulizer using PIC MCU

A nebulizer is a medical device that is used to transform a liquid medicine into aerosol droplets so that patients with pulmonary diseases can easily inhale the medication into lungs. Medical nebulizers are commonly used for the treatment of COPD, asthma, cystic fibrosis and other respiratory diseases. This application note from Microchip demonstrates an implementation of driving a piezo mesh disk in a vibrating mesh nebulizer demo. The demo system features a Microchip 8-bitPIC16F1713 microcontroller-based piezo mesh disk driver board and a nebulizer plastic housing. A significant innovation made in the nebulizer market is vibrating mesh technology. Basically, a vibrating mesh nebulizer is composed of a liquid reservoir with a

Read more

Using Easy Pulse mikro with MPLAB Xpress board

Easy Pulse mikro is our new educational pulse sensor in a mikroBus form factor. Like our previous Easy Pulse sensors (Easy Pulse and Easy Pulse Plugin), it is also based on the principle of transmittance photoplethysmography (PPG) applied to a fingertip. The sensor consists of a pair of IR LED and photodiode to detect the cardiovascular pulse signal from the fingertip. The output of the sensor is passed through a necessary instrumentation amplifier to derive a nice and clean analog PPG waveform. The analog output is routed to the AN pin of the mikroBus connector. In this article, I will describe how

Read more

Portable weather data logger

Jesus Echavarria‘s new project is a portable weather data logger that is battery-powered and is capable of recording ambient temperature, humidity, and light level into a SD card along with a time stamp. It’s based on the PIC18F2620 microcontroller, the HDC1050 temperature and humidity sensor, and the TEMT6000X01 ambient light sensor. The board uses M41T00SM6 RTC for time keeping, a Li-Ion battery charger, push buttons and leds for user interface, and a MCP2221 USB bridge to configure the board through PC. Hi all! I’m continuing here with the last board I design and now I’m continuing testing. It’s a battery-powered small datalogger based on a

Read more
« Older Entries Recent Entries »