PIC: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
Line 39: Line 39:
a 16F873 I had in my junk box. Hope it works.
a 16F873 I had in my junk box. Hope it works.


== possible parts for Car computer ===  
=== possible parts for Car computer ===  
# 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
Line 46: Line 46:


[http://www.microchip.com/pagehandler/en-us/family/mplabx/#downloads MPLAB X downloads]
[http://www.microchip.com/pagehandler/en-us/family/mplabx/#downloads MPLAB X downloads]
'''MPLAB X 3.05 does not work on Linux (no support for PicKit3)'''
'''MPLAB X 3.05 does not work on Mac Yosemite (installs but spins on startup forever)'''


=== Eagle CAD ===
=== Eagle CAD ===

Revision as of 20:06, 25 June 2015

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.

2015-Jun I have a PICKIT3 around someplace now too! Lost it when we moved. Dang.

The chips

What I have around right now

  • PIC18F25K20 (28pin)
  • PIC 16F873 (28pin)
  • PIC 12F675 (8pin)
  • PIC 12F683 (8pin)
  • 24LC65 8Kx8 EEPROM
  • 8 MHz ceramic resonators
  • 4 MHz ceramic resonators
  • 32kHz xtals for slow but very low power operation (button cell powered data collectors)

Development tools

Hardware

I am now using a PICKIT 2 purchased directly from Microchip. For $50 you get a development board, the programmer, and the software. http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023805&redirects=pickit2

Pickit 2

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en027813

Microchip product page

Official FAQ in Microchip forum

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

1/13/13 -- My recent foray was unsatisfying because I found my Pickit 2 does not support the 16F690 for debugging with the C compiler, even though it's the chip on the Pickit 2 board... I am setting up a breadboard with a 16F873 I had in my junk box. Hope it works.

possible parts for Car computer

  1. WQVGA LCD? MICROCHIP - AC164127-6 - GRAPHIC DISPLAY, 480X272, TFT LCD, DEMO BOARD $120

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

MpLabX IDE

MPLAB X downloads

MPLAB X 3.05 does not work on Linux (no support for PicKit3)

MPLAB X 3.05 does not work on Mac Yosemite (installs but spins on startup forever)

Eagle CAD

Use the SparkFun library from https://github.com/sparkfun/SparkFun-Eagle-Libraries

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