Archive for category: Tutorials

Getting started with Assembly for PIC microcontrollers

18 September, 2009 (03:34) | PIC, Tutorials | By: Lucian

Hi everybody. This is my first post of a series related to assembly programming for PIC Microcontrollers. In this first tutorial I will show you how to set-up the compilers and IDEs that you will use for building code in assembly.
We will start with installing the tools for Linux based operating systems. I am using [...]

ID Location Space on a PIC

18 August, 2009 (03:53) | PIC, Tutorials | By: Joshua

There is a special location set aside on PIC microcontrollers called the ID location that is used for either storing checksum or identification purposes of the PIC.  It has four location spaces, but only the 7 least significant spaces are used.  The different applications of this space is limited only by your imagination.  For my [...]

Linking Files with Hi-Tech C

28 July, 2009 (00:17) | PIC, Tutorials | By: Joshua

When writing programs for the PIC, there are certain things that you will want to do that aren’t specific to one particular project.  The functions written to perform these tasks might also be rather large and make the main function longer than desired.  Or perhaps the function is specific to this project but makes the [...]

sprintf() on the PIC 10/12/16 Series

19 June, 2009 (18:27) | PIC, Tutorials | By: Joshua

I mentioned sprintf() briefly in my post about communicating between your PIC and the computer but have since learned a couple things I think others could benefit from. So this is going to be a kinda hodge-podge post.
First, I threw together a quick function that will take any number, convert it to ASCII, [...]

Advantage of AC versus DC in Power Transmission

18 May, 2009 (22:29) | Tutorials | By: Joshua

If you’ve studied the history of electricity at all, you have certainly heard of The War of the Currents.  Edison wanted DC current for power distribution, Tesla wanted AC current.  After quite the dirty little fight, Tesla came out on top with his AC current.  But why?  Despite all the arguments and under handed tactics [...]

EAGLE Revisited

14 May, 2009 (00:18) | Eagle, Tutorials | By: Chris

I’ll put up a text version when time permits.

Crystal Oscillators – As Easy As It Seems

15 March, 2009 (17:38) | PIC, Tutorials | By: Joshua

I just wanted a quick post for people like me who think that some things can’t be as easy as they seem. In this case, using a crystal oscillator.
Looking in the data sheet for your PIC, it will show you the different ways the PIC’s clock can be driven. You’ll notice that in terms of [...]

An Introduction to LTSpice

7 January, 2009 (20:25) | Tutorials | By: Chris

LTSpice

LTSpice (download from Linear Technology here) is our primary SPICE tool.  It’s the best free spice tool I’ve ever used, so I wanted to introduce it to any of you who haven’t used it and who aren’t familiar with SPICE in general.  I’m going to use the inverting amplifier as an example since I’ll be [...]