Which PIC to use??

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Which PIC to use??

Post by JDR04 »

Happy new year to all readers.

Right, I'm planning to build a infrared break beam system to trigger my camera. So, at the moment I'm wanting to know which PIC would be best to use.

I'm kicking off with building the IR transmitter which needs to oscillate at 38Khz. I'd like to use a PIC for stability reasons but also to try and teach myself the FLOWCODE5 program I bought a while ago.

I'd like to stick with MICROCHIP as I have the PICKIT2 programmer.

All suggestions on what PIC to use will be appreciated.

Thanks guys - John

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: Which PIC to use??

Post by Steve001 »

Happy new year too

martin (medelec) found a good selector tool and easy to use too

http://www.matrixmultimedia.com/mmforum ... 370#p36370

you could also use the ECIO range too

http://www.matrixmultimedia.com/ecio.php


steve
Success always occurs in private and failure in full view.

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Which PIC to use??

Post by JDR04 »

Thanks for that.

I had a look at the PIC12F683 but it appears that I would have to buy all sorts of other stuff to program it via my PICKIT2. Just looking for something simple that I could possibly program by ICSP with the PIC on a project board??

Any comments???

Thanks again -John

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Which PIC to use??

Post by medelec35 »

JDR04 wrote:I had a look at the PIC12F683 but it appears that I would have to buy all sorts of other stuff to program it via my PICKIT2.
No,
12F683 can be programmed via ICSP and PICkit 2 in situ.
No additional stuff required.
Martin

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Which PIC to use??

Post by medelec35 »

I would like to mention that programming any chip via ICSP may need isolation resistors if using the data and clock lines for use with say switches pots etc.
What I have done if using a pot connected to ISCP data line is:
Two outer ends of pot connected to +5V and 0V. the center of the pot connected to Data pin via 10K resistor.
The data pin is then connected to data of ICSP via a 2.5mm header.
You can't have caps connected to ICSP data or clock lines that could short circuit the signals.

If you can post a circuit, then I can have a look at it for you.
Martin

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: Which PIC to use??

Post by Steve001 »

how about this , i never used it in the end tho , used a zif socket for the micro

http://uk.farnell.com/aries/40-526-10/s ... dp/1674772

http://www.matrixmultimedia.com/mmforum ... f=7&t=8718


I can vaguely remember that john has built some camera shutter projects but couldn't find them maybe the guys on here could point you in the right direction.

steve
Success always occurs in private and failure in full view.

JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Re: Which PIC to use??

Post by JDR04 »

Hi Guys, sorry for the late response. Family duties ETC.

OK, thanks to everybody so far. Could somebody be kind enough to point me in the direction of a schematic that will show me how to connect the 12F683 to my PICKIT2 for ICSP programming.

If I use ICSP method, does that mean I cannot use the connected pins/bits as inputs or outputs as well or can I carry on as per normal?

I found a diagram in the PICKIT2 manual. Can I use this with the same connections? Also I'm told that it might be wise to have a 0.01uF capacitor across pins 1 and 8 of the PIC?? Correct??



Once again thanks a lot and a hope 2014 is really great for all members of this forum.

Cheers John
Attachments
ICSP Connections-PICKIT2.jpg
(143.79 KiB) Downloaded 1191 times

Post Reply