Archive for category: PIC
Tutorials based around the PIC microcontroller.
13 October, 2008 (06:00) | PIC, Tutorials | By: Joshua
We’ve already looked at the process of writing to your EEPROM, but it isn’t much use if you can’t retrieve the information. In this post we’ll figure out how to get that information back so you can use it again. It is much simpler than writing because there’s not the concern of corrupting data.
Again, this [...]
No comments
6 October, 2008 (14:30) | PIC, Tutorials | By: Joshua
For me, the EEPROM is a powerful tool for debugging. Sure, there are debugging tools out there and even better “home-made” variety debuggers, but for me, it is simple and easy to use. With the PICkit 2 software, you are able to read what is currently on your PIC. If your PIC has written something [...]
No comments
12 September, 2008 (20:32) | PIC, Tutorials | By: Joshua
UART communication is an easy way to communicate between two microcontrollers, between a microcontroller and some peripheral, or even between the microcontroller and the computer. UART serial communication is the equivalent of RS-232 on a computer, though the logic levels are different and requires a converter. The UART is easy to use, but you have [...]
No comments
23 August, 2008 (22:46) | PIC, Tutorials | By: Joshua
Programming your PIC without a demo board is a straightforward task, when you know what you’re doing (aren’t they all?). With the proper hardware, setting up your programmer should take almost no time at all. To do this, you will need two data sheets; the data sheet for the PICkit 2 and the [...]
7 comments
13 August, 2008 (16:35) | PIC, Tutorials | By: Joshua
So, do you remember, long ago, when I mentioned that I didn’t know why the PICkit 2 would have that warning about configuration words when importing the hex file? No? Well, I did. Anyway, I figured it out and wanted to share with you exactly what I’ve learned. And, as always, [...]
2 comments
2 August, 2008 (10:40) | PIC, Tutorials | By: Joshua
Using the PICkit 2
The PICkit 2 is a very common way to program your PIC. It can handle a wide variety of PICs and seems to be the established standard for the normal person to program their PIC microcontroller. Since last time we created a .hex file for this moment, lets go through [...]
2 comments
29 July, 2008 (21:31) | PIC, Tutorials | By: Joshua
Intro to Hi-Tech C III
Finally, we’re going to get through the end of the basics of Hi-Tech C and Hi-Tide. By the end of this tutorial, you will have a hex file you can load onto your PIC that will turn on an LED. It should be noted that all of this is [...]
No comments
22 July, 2008 (00:07) | PIC, Tutorials | By: Joshua
Now that the program is on the computer and ready to go, we can get to the interesting parts. In this brief tutorial, we’ll get you started on making a project and figuring out where to put your code.
Creating a Project
To start out, you need a project. The project [...]
No comments