You Are Here: Home » Projects » Interfacing(USB – RS232 – I2c -ISP) Projects

PIC 16F917 Gyroscope interface

In this post we will study the ADC ( Analog-to-Digital ) Module of the Microcontroller PIC16F917 . We will study a real circuit of PIC16F917 interfacing to a semiconductor Gyroscope. The Gyroscope is a motion sensor that senses tilt in a certain direction . The used sensor is a yaw rate sensor ( free sample from Analog Devices . The Gyroscope ADXRS613 was sent in an evaluation package EVAL-ADXRS613 ) . Yaw ...

Read more

How to Interface LCD with PIC16F877A Slicker

PIC16F/18F Slicker Board The PIC16F/18F Slicker board is specifically designed to help students to master the required skills in the area of embedded systems. The kit is designed in such way that all the possible features of the microcontroller will be easily used by the students. The kit supports in system programming (ISP) which is done through USB port. Microchip’s PIC (PIC16F877A), PIC16F/18F Slicker Ki ...

Read more

Tutorial: Building cool projects with MCUs (Part 3)

Tutorial: Building cool projects with MCUs (Part 3) As we proceed onto the third portion of this microcontroller tutorial, let’s first revisit what we have accomplished thus far. In Part 1, we defined what a microcontroller actually was. I wanted to get everybody on-board (no pun intended) for this, so I started from scratch. Feel free to jump back there if you need a refresher. Then in Part 2, we looked at ...

Read more

EnvStick USB Temperature Sensor using PIC12F683

The EnvStick is cheap, homemade temperature sensor that plugs into a USB port. It provides a simple way to collect a room’s ambient temperature. I made it for fun. EnvStick Features: - Temp sensor (+/- .5 deg C) - USB 2.0 - Windows/Linux software - Poll up to 100 times/minute- In-circuit programming- Only 11 components- Indicator LED The EnvStick shows up as a serial port – a COM port on Windows boxes. Here ...

Read more

A brief overview of Allegro ACS712 current sensor. Part 2 – Interface the sensor with a PIC microcontroller

In the first part of this discussion, the features of ACS712 device were briefly discussed. Now we will use that theory to implement the ACS712 sensor to make a simple DC current meter. The analog output voltage from the sensor is measured through an ADC channel of the PIC16F1847 microcontroller. A voltage to current conversion equation will be derived and implemented in the firmware of the PIC microcontrol ...

Read more

Interfacing16X2 LCD with PIC Microcontroller

In this session we will see how to interface 16×2 LCD to PIC18F4550 microcontroller which is of family PIC18F. You can get information of 16×2 LCD in the session How to Interface 16X2 LCD with 8051 Microcontroller Features of PIC18F4550: PIC18F4550 belongs to the PIC18F family; PIC18F4550 is an 8bit microcontroller and uses RISC architecture. PIC18F4550 has 40 pins in PDIP (dual in line package) and 44 pin ...

Read more

Interfacing xbee with PIC microcontroller using MikroC

In this tutorial, I will show how to interface an xbee module with PIC microcontroller.Here MikroC Pro for PIC compiler is used to write the code. Xbee modules communicates with host devices using serial communication.Most of the PIC microcontroller have UART module to support serial communication. First of all we have to understand the two operating mode of xbee. Transparent Mode API Mode Interfacing xbee ...

Read more

Voltage programmable simple logic device using PIC12F675

Description Here's another daft yet interesting PIC12F675 idea I came up with. When I wanted to show someone how logic gates worked I could only find a NAND gate which wasn't very handy for demonstrating AND's OR's, NOR's and ExOR's.  I also wanted to have a play with the A/D converter on the 12F675 so I came up with the idea of a PIC that could function as a single 2-input logic element.   The logic functi ...

Read more

Getting started with PIC18F Microcontrollers

After writing quite a bit of experimental tutorials on PIC16F series of microcontrollers, I thought of moving forward to the enhanced-range family of PIC microcontrollers, the PIC18F, which was introduced by Microchip in late 90s. Although PIC16F series are excellent general purpose microcontrollers, certain limitations have emerged, such as, they have limited program and data memory, their stack size is sm ...

Read more

Lecture 45 : PIC Serial Communication using Serial Peripheral Interface (SPI)

Objective To establish serial communication between two PIC16F877A microcontrollers Description In this experiment, 8-bit digital input is applied at Port-B to one of the PIC16F877A microcontroller which acts as a master in serial communication. The input value is transmitted by the master serially via Serial Peripheral Interface (SPI) to the second PIC16F877A microcontroller, which acts as a slave. The sla ...

Read more
Scroll to top