Serial communication with Pic 16f877 using UART

Abstract of that project: Using UART port we can establish serial communication between any devices. Here in my project Serial communication with Pic 16f877 using UART I will show you how easily we establish communication between two devices. In my project we know the pin no 25,26 in PIC16F877 are use as UART. The pin number 25 is use for receiving and 26 is used for transmitting. Hardware needed: See the c ...

Read more

PIC12F675 Comparator Code and Proteus Simulation

This post provides the comparator code for PIC12F675 microcontroller. As we know, PIC12F675 microcontroller has one built in op-amp, which can be used as comparator. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know how to blink an LED with PIC12F675 microcontroller. If you d ...

Read more

TTL to RS232 Signal Conversion

Methods: Use a TTL HI output for the RS232 GND: Steve Walz of armory.com says "Use a TTL HI output for the RS232 *GROUND*!! Then you get +/-5VDC levels to fake out the RS232. When TTL-GND goes HI, then a TTL-XMT LO looks like -5VDC and a "mark". Even sign problems go away in hardware! When TTL-GND goes LO, and TTL-XMT goes HI, it looks like +5VDC and a "space"! You can derive the two TTL signals from one of ...

Read more

PIC32MX: Interfacing to a Secure Digital (SD) Flash Card

Original Assignment Do not erase this section! Your assignment is to create code that will allow the PIC32 to read and write data to a FAT32 SD card. The SD card should be able to be read by a PC after data has been written on it by the PIC32. Create functions so that it is easy to read, write and initialize the SD card. Use the example projects in the "Microchip Solutions/USB Device - Mass Storage - SD car ...

Read more

My New MIDI Merger uses 10 MIPS £1.00 PIC Microcontroller using PIC18F4320

This unit provides 4 autonomous MIDI inputs and 1 MIDI output. Note this is a ‘proper’ MIDI Merger – all 4 MIDI inputs can be used at the same time, unlike other ‘designs’. The unit also provides an indication of the channel number being played, and has shown itself to be capable of expansion into a full-blown controller. The PIC microcontroller I used – 18F4320 was being sold off cheap, at £1.00 each by Cr ...

Read more

DS18S20 interfacing with pic and avr microcontroller

In this article you will learn how to interface temperature sensor DS18S20 with PIC16F877A microcontroller and atmega88 avr microcontroller. Complete interfacing circuit diagram and code for both PIC microcntroller and AVR microcontroller. DS18S20 interfacing with pic code is written using Mikro C for pic. Code for AVR microcontroller is written using Mikro basic complier for avr. Let’s start with basic int ...

Read more

Analog Experiments Anywhere

Two DIY micro-controller based USB connected electronic units which along with the Texas Instruments Analog System Lab Starter kit and a laptop permit you to conduct analog experiments anywhere. It would be wonderful  if senior students and laboratory supervisors built these units so that they could be used in their laboratories by freshers. Aj-SigGen-PS     http://ajoyraman.in/DDS_SigGen_PS.html Aj-Simple- ...

Read more

Data logging with an EEPROM

Contents    1 Original Assignment 2 Overview 3 Circuit 4 Code 4.1 PIC Code 4.2 Matlab Code 5 Example Output 6 Further Reading Original Assignment Your task is to use the PIC to log data from an analog input on an EEPROM, and after the data collection is over, to send the data back from the EEPROM to a PC running matlab. Use an interrupt service routine to read an analog input and write the value to an exter ...

Read more

PIC MCUs: Hardware and Connections using pic-microcontroller

Required Hardware In order to program and debug a PIC microcontroller, you will need a few pieces of hardware. ICD-U40 The ICD-U40 is an In-Circuit-Debugger/Programmer that allows the user, through CCS C Windows IDE, to program and interactively debug a PIC microcontroller. 5V DC Power Supply Although the 4520 board has a voltage regulator that is capable of handling larger voltages (up to 30 volts), a five ...

Read more

USB Keypad Demonstration – Crystal Free USB and mTouch™ Sensing Solutions using pic microcontoller

The USB keypad reference design demonstrates crystal free USB operation. Microchip has partnered with Lumvatech to demonstrate a low-cost aesthetic design, with touch capability and LED lighting integrated. All features are driven with a single PIC16F1459 MCU. USB is one of the most common serial interfaces used in a wide variety of applications. The USB 2.0 module with clock recovery from USB host, elimina ...

Read more
Scroll to top