Micro-controller Programming
MAS.863 -- Fall 2003

Notice

Assignment

Coding

Burning

Serial Transmission

Sample Codes

Applications

Resources

Nothing so far, but will hopefully get moving soon. Below are links to various things that may help for now:

  Raffi's micro-controller programming presentation [ PPT | PDF | PS ]
 

Raffi's micro-controller assembly code sample (rs485.asm) [ PDF | PS ]

  1. code is clean and commented
  2. operations: initialize, recieve through serial, transmit through serial
  3. initialize - lines 68-74
  4. receive/detect - lines 84-93, ....
  5. transmit - lines 127-141
  Link to MPLAB - IDE software & quick start guide [ LNK ] - I think v6.30 is the one we want
  Link to PIC16F87x datasheet [ LNK ]
  Link to Ascii Text Table [ LNK ]
  Link Indiana U. of a PIC guide not on the MPLAB site [ LNK ]
  Link to online book: PIC microcontrollers, for beginners [ LNK ]
  Link to www.picbook.com 's download section [ LNK ] - not too useful
  Link to a guide on programming PIC microcontrollers... [ LNK ]
  Link to only thing I found relevent to PICs from last year's site [ LNK ]
   
  Link to a stuff folder where I placed the stuff Raffi gave me and other things [ DIR ]

Hopefully I'll get rolling this evening, and will be able to post info on different things. I think I'm going to go back to fundamentals: -- breadboard electronics --

If you do a search for PIC online, you'll probably find many useful things. Also, feel free to look into TI MSP430 chips and GCC compilers. Hopefully I'll get rolling this evening, and will be able to post info on different things. I think I'm going to go back to fundamentals: breadboard electronics

We will be programming both PIC16F876 and PIC16F876a chips, so at the beginning of you code, remember to specify which chip is mounted on your board:

LIST p=16f876a, or LIST p=16f876,
#include p16f876a.inc #include p16f876.inc