background preloader


Facebook Twitter

Electronics - Electronic Components Distributor. PIC micro and C - FAQ. PIC and Hi-Tech C FAQ Last updated 23rd February 2010. This FAQ contains the top 68 questions and techniques asked by PIC micro students about Hi-Tech C for the PIC16Fx, PIC18Fx and PIC24Fx micros from the University of Canterbury. View the latest questions and answers on, under the tag: HiTechCFAQ This FAQ contains over 100k of pure text. Enjoy – I sincerely hope this advice saves you a lot of time and effort. Fundamentals of PIC and Hi-Tech C Q. Tips for using features of C on a PIC micro Q. Q. Watching the values of variables Q. Errors and what they mean Q. Quirks of the PIC micro Q. Q. Serial Port with PIC Q. Q. Q. Useful techniques for using C with PIC Q. Tips for using the PICSTART Plus Programmer Q. Using Libraries with MPLab Q. Serial Numbers with Hi-Tech C Q. Incremental Compiles under Hi-Tech C Q.

The PIC12Cx67x Q. Fundamentals of PIC with Hi-Tech C Q. A In my experience, the following: Output ports for driving LEDs, etc. PIC mikroElektronika code. Sensor tutorials - IR remote receiver/decoder tutorial. Lektronika forums. PIC16F887 Book. Chapter 3: PIC16F887 Microcontroller The PIC16F887 is a product of Microchip®. It features all the modules that modern microcontrollers normally have. For its low price, wide range of application, high quality and easy availability, it is an ideal solution in applications such as the control of different processes in industry, measurement of different values etc. A list below includes only some of its key features. 256 bytes EEPROM memory Data can be written more than 1.000.000 times368 bytes RAM memoryA/D converter: 14-channels10-bit resolution3 independent timers/countersWatch-dog timerAnalogue comparator module with Two analogue comparatorsFixed voltage reference (0.6V)Programmable on-chip voltage referencePWM output steering controlEnhanced USART module Supports RS-485, RS-232 and LIN2.0Auto-Baud DetectMaster Synchronous Serial Port (MSSP) supports SPI and I2C mode Most pins of the PIC16F887 microcontroller are multi-functional.

The RAM is partitioned into four banks. How to Use SFRs. EasyPIC6 Projects. [Back to Home Page] Some projects using the EasyPIC6Frequency/RPM meter, precise PWM generator, COG display routines - 12th Oct 2009 - Updated 2nd Jan 2010. All the EasyPIC6 projects and source code on this page are open-source. You can use my code for hobby or commercial use, but please mention me. You can also see my REVIEW of the EasyPIC6 HERE EasyPIC6 Project 1. What is it? You can use it as a Frequency meter (range from 0 to 65000 Hz) or a RPM meter "Tacho" (from 0 to 3900000 RPM). Procedure; The incoming frequency to be measured is connected to PORTC.F0. This is actually a copy of my BIGPIC6 project, but it has been ported to work on EasyPIC6 and 18F452 for people who don't own a BIGPIC6.