Home Blog  





3 Feb 2012

PID is implemented when a precise way is needed to drive an external device that provides feedback. Heaters with temperature sensors, and servo motors are examples where PID is used.

This app note by Microchip gives instructions how to implement PID control in PIC18 projects. Basic terms are explained inside the document as well as algorithm flow charts to understand how PID is implemented. Microchip has also provided assembler source code to go with this app note. [via]

App note: Implementing PID on PIC18 microcontrollers - [Link]

23 Nov 2011

circuitvalley.com writes:

The Serial Peripheral Interface (SPI) is one of the popular embedded serial communications widely supported by many of today’s chip manufacture and it considered as one of the fastest serial data transfer interface for the embedded system. Because of its special in/out register configuration, the SPI master device could transfer its data and at the same time it receive a data from the SPI slave device with the clock speed as high as 10 MHz. Beside its superior data transfer speed; SPI also use a very simple data transfer protocol compared to the other serial data transfer methods. When the SPI master device want to send the data to the SPI slave device then the SPI master will just simply shifting its own data through a special 8-bits register and at the same time the SPI master will receive the data from the SPI slave into the same register as shown on this following picture.

Microchip SPI Basics Tutorial For PIC18 - [Link]

23 Nov 2011

 

circuitvalley.com writes:

The PICkit™ 2 Programmer/Debugger is a low-cost development tool with an easy to use interface for programming and debugging Microchip’s Flash families of microcontrollers. The full featured Windows programming interface supports baseline, mid-range, PIC18,8-bit, 16-bit, and 32-bit microcontrollers, and many Microchip Serial EEPROM products. With Microchip’s powerful MPLAB Integrated Development Environment (IDE) the PICkit 2 enables in circuit debugging on most PIC microcontrollers. In-Circuit-Debugging runs, halts and single steps the program while the PIC microcontroller is embedded in the application. When halted at a breakpoint, the file registers can be examined and modified.

Pickit 2 clone The Universal Microchip PIC Programmer / Debugger - [Link]

21 Jun 2011

ermicro.com writes:

The Serial Peripheral Interface (SPI) is one of the popular embedded serial communications widely supported by many of today’s chip manufacture and it considered as one of the fastest serial data transfer interface for the embedded system. Because of its special in/out register configuration, the SPI master device could transfer its data and at the same time it receive a data from the SPI slave device with the clock speed as high as 10 MHz. Beside its superior data transfer speed; SPI also use a very simple data transfer protocol compared to the other serial data transfer methods. When the SPI master device want to send the data to the SPI slave device then the SPI master will just simply shifting its own data through a special 8-bits register and at the same time the SPI master will receive the data from the SPI slave into the same register as shown on this following picture:

Using Serial Peripheral Interface (SPI) with Microchip PIC18 Families Microcontroller - [Link]


20 Jun 2011

ermicro.com writes:

quipped with sophisticated Enhanced Capture/Compare/PWM (ECCP) peripheral the Microchip PIC18F14K50 microcontroller could produce up to four PWM channels output. The enhanced PWM (Pulse Width Modulation) mode in ECCP peripheral is capable to drive the full bridge DC Motor circuit directly both in forward or reverse direction. It also could generate single PWM output on the selectable PIC18F14K50 pins when it configured in pulse steering mode. In this tutorial we will take advantage of PIC18F14K50 pulse steering mode to drive the DC Motor and at the same time we will build the RPM (Rotation per Minute) counter to observe the PWM effect on the DC Motor speed and display it on the 2×16 LCD.

PIC18 Pulse Width Modulation (PWM) DC Motor Speed Controller with the RPM Counter Project - [Link]

20 Jun 2011

ermicro.com writes:

The Microchip PIC18 Microcontroller family is the Microchip highest performance 8-bit class microcontroller. Powered by advanced RISC CPU, this PIC18 microcontroller family could deliver up to 16 MIPS computing power compared to the other Microchip 8-bit microcontroller family such as PIC10, PIC12 and PIC16 which only could deliver up to 5 MIPS. The PIC18 microcontroller architecture is optimized to be programmed in C language and supporting many advance industrial standard interface peripherals such as I2C, SPI, UART, USB, CAN, Ethernet, LCD and Touch Screen; this make the PIC18 microcontroller family become a popular choice to the new 8-bit embedded system design.

PIC18 Microcontroller Analog to Digital Converter with Microchip C18 Compiler - [Link]

28 Dec 2010

The MPLAB C18 Lite (mplabc18-v3.37a) compiler for PIC18 MCUs is now available for the MPLAB X Mac OSX version. Microchip also released a new version of MPLAB X Beta IDE Beta Ver. 4.1 for Win32.

MPLABX C18 now available for Mac OSX - [Link]

11 Nov 2010

This project is a digital TouchClock that uses your own handwriting to display the time and days in a graphical LCD. You enter the numbers and day names on the configuration mode and the clock is using them to display the info. It uses a 128×64 BLUE/WHITE TOUCHSCREEN GLCD from CircuitED and the ADCs on a PIC18 microcontroller to translate the X and Y coordinates of touchscreen. [via]

TouchClock : Design your own GLCD Clock – [Link]

4 Sep 2010

This project is a LCD oscilloscope based on PIC18F452. It uses a text 20×4 LCD display (also works with standard 16×2) and not a graphical one. The waveform and details are displayed on LCD. The code is written in mikroC. Check schematics and source code on the link below.

LCDscope: A PIC18 oscilloscope - [Link]



 
 
 

 

 

 

Search Site | Advertising | Contact Us
Elektrotekno.com | Free Schematics Search Engine | Electronic Kits | Electronics Projects