Articles




Name Short description
PIC32 Interrupts PIC32 Interrupts knowledge.
PicKit2 usage from within the compiler's IDE. PicKit2 programmer (MicroChip) usage from within the mE compiler's IDE.
The last updated devicefile, both for pk2cmd.exe and PICkit2V2.exe.
Article about Ram corruption sources in mP and mB Purpose: Make people aware about the ways of working that can introduce ram corruption (and of course how to avoid it). In this document the many ways where it goes right are not mentioned, only the danger areas are highlighted.
Some test code of examples of things going bad are provided.
Usage of the DS18(S)20, the DS18B20, the DS1820 library and the OW_Utilities library.
  • Describe useful knowledge for an mP (or mB or mC) user of the digital temperature sensor of the DS18x20 family (DS1820, DS18S20 and DS18B20). This document is however no replacement of the DS18x20 datasheet
  • Describe, in the examples, the usage of the DS1820 library and the OW_Utilities library
  • written in mikroPascal.
Janni's website. Replacement libraries, mP PRO quirks, Tips and Tricks and Assembly Syntax
Analog Design in a Digital World Using Mixed Signal Controllers (MicroChip AN823) The purpose of this Application Note is to familiarize engineers with PIC design considerations, specifically potential noise problems in mixed signal design. Handles noise sources, noise paths, noise suppression, ground issues, power issues and filtering, ESD etc...
Hardware related.
1-Wire Search Algorithm Application note "1-Wire Search Algorithm" from Maxim.
mP version , see OW_Utilities library.
VTFT specific guides, templates and example projects Guides, templates and examples regarding VTFT
The "Make" process in mikroPascal. Includes relations between the Project Manager, Library Manager, Uses Clauses, Package Manager etc... important to build a project successfully.
PID controller problems and their solutions. PID controller (I)ntegration and (D)ifferentiation problems and their solutions.
SPI Modes and Timing Defining the "mode" and timing parameters for SPI.
Automated Compiling of libraries in mikroPascal. Compiling libraries with dummy projects in batch files.
PIC and USB. Author: Roy (roys29 on the mE forum). Forum link
Authors comment: I notice a lot of posts here regarding getting a PIC microcontroller to communicate with a PC via USB. After a couple of weeks of struggling myself I had some significant breakthroughs, and learned quite a bit in the process. So, I wrote down what I learned, created a PDF file, and posted it on the Internet to share in the hopes it would help someone else and possibly prevent them from going through weeks of steep learning and frustration like I did!
Thanks Roy!
Understanding analog to digital converter specifications. Confused by analog-to-digital converter specifications? Here's a primer to help you decipher them and make the right decisions for your project.
See also the AD considerations/tricks/practical explanations concerning this subject. Thanks Bill and JoseLB for drawing the attention to the article and the forumposts.
The read-modify-write problem (and how to avoid it). Almost every PIC programmer has had to deal with the Read-Modify-Write (RMW) problem at one point or another. Nowadays, it is (or should be) documented in most PIC tutorials and books, but the problem keeps coming up. The RMW problem could almost be considered a design flaw in the mid-range PICs (PIC16Fxxx) and programmers had to work around it using software techniques, but nowadays the PIC18Fxxxx series has built-in support to avoid it. Here's how you can use the new features of PIC ports to never have to deal with the issue.

Since above article does only suggests a solution for P18 pic's, this article shows how to do the same for P16 pic's and lower.
LCD documentation Articles: "How to use Intelligent LCDs". Discusses the same type of LCD the MikroPascal LCD library is for.
I2C LCD documentation (PCF2116) Datasheet of the PCF2116 (I2c LCD driver).
Beginners Checklist "Beginners checklist" for PIC MicroControllers.
PIC Tutorial Gooligum Electronics "PIC tutorials".
USB in a nutshell (well, not really) USB course from "Beyond Logic".
Important: In all USB documentation the words "IN" and "OUT" are frequently used to indicate the direction of data transfer. Those directions are always "USB host" (e.g. PC) related.
So, "IN" means data from the PIC to the host (data OUT from PIC point of view), "OUT" means data from the host to the PIC (data IN from PIC point of view).
USB made simple A Series of Articles on USB.
PIC Real Time Clock PIC REAL TIME CLOCK - 4 Methods For A Precision Time Clock.
Author: Xor. See also this website.

Top