PIC: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
Line 15: Line 15:
http://www.instructables.com/id/PICKIT2-programming-button-mod/
http://www.instructables.com/id/PICKIT2-programming-button-mod/


Shopping list 1/13/2013
=== Shopping list 1/13/2013 ===
 
# Pickit 3
# Pickit 3
# 16F1609
# 16F1609
Line 21: Line 22:
# WQVGA LCD? MICROCHIP - AC164127-6 - GRAPHIC DISPLAY, 480X272, TFT LCD, DEMO BOARD $120
# WQVGA LCD? MICROCHIP - AC164127-6 - GRAPHIC DISPLAY, 480X272, TFT LCD, DEMO BOARD $120
http://www.microchipdirect.com/ProductSearch.aspx?Keywords=AC164127-6
http://www.microchipdirect.com/ProductSearch.aspx?Keywords=AC164127-6
# Power MOSFET STP36NF06
# servo
# push buttons


=== MpLab IDE ===
=== MpLab IDE ===

Revision as of 02:46, 14 January 2013

We live in an age of wonder... I can buy 32bit MIPS processor boards (aka PIC32) for $49. I am considering using one for my car computer project, but on this page at the moment I am only talking about using a PICKIT2 to control a keyboard for the upcoming MakerFaire 3/13.


Development tools

Hardware

I am now using a PICKIT 2 purchased directly from Microchip, it is a great deal. For $50 you get a development board, the programmer, and the software.

PICKIT 2 FAQ http://www.voti.nl/pickit2faq/index.html

PICKIT 2 programming button hack http://www.instructables.com/id/PICKIT2-programming-button-mod/

Shopping list 1/13/2013

  1. Pickit 3
  2. 16F1609
  3. PIC32?
  4. WQVGA LCD? MICROCHIP - AC164127-6 - GRAPHIC DISPLAY, 480X272, TFT LCD, DEMO BOARD $120

http://www.microchipdirect.com/ProductSearch.aspx?Keywords=AC164127-6

  1. Power MOSFET STP36NF06
  2. servo
  3. push buttons

MpLab IDE

I am using MPLABX on Linux Mint (desktop) and Debian (lab). So far I have only installed on Mint.

I only need use MPLABX now, it runs on Linux. I installed it on Mint 14. It shows up in the menus under Programming -> MPLAB IDE. I am using version 1.60 now.

High Level Languages

C language

MPLAB XC: mostly free C compilers http://www.microchip.com/pagehandler/en_us/devtools/mplabxc/ Non-free options offer better optimizations. You get a 60 day eval on PRO level with the free version.

http://www.ccsinfo.com/picc.shtml C compilers starting at just $50.

http://www.fored.co.uk/ Wiz-C

If working with PIC16 or PIC18 see https://sites.google.com/site/rmaalmeida/mplabx-sdcc-toolchain

Basic language

http://www.xcprod.com/titan/XCSB - optimising structured PIC BASIC compiler

Other PIC Microprocessor Resources

http://www.embeddedrelated.com/ EmbeddedRelated web site, and the mailing list: PIClist