Can I use an Arduino (like an Uno) to program a Microchip PIC16xxx chip?

I have a PIC16F (Microchip) SOIC chip that I need to put some memory on. I don't have any of the Microchip programmers available to me and so I was wondering if I could use an Arduino to write a simple hex file to flash memory on the PIC chip. Is this possible? If so, how would I go about doing so?

Thanks!

I've never seen any post from anyone suggesting this is possible. Well, OK, I think it must be possible, but whether anyone has written the software needed is another question. Try Google. Better still buy a PICkit

Yes, it should work. I cannot find 16F right now but here is for 18F:

Just google for it. There are also discussions here on the forum.

@PerryBebbington: Yes, maybe better to have PICkit, but with Arduino it would be more fun and he can learn something. :wink:

Some another links:
https://forum.arduino.cc/index.php/topic,92929.0.html

Yes, maybe better to have PICkit, but with Arduino it would be more fun and he can learn something.

True of course :slight_smile:
I am spoiled, I have both :o
Am I allowed to say I prefer MPLABX with XC8 over the Arduino IDE? No? OK, I won't :confused:

Wait a minute, you cannot compare MPLAB with Arduino IDE. Take more equal rival, AVR Studio. Although, they are not rivals anymore.
@b3jh24: Sorry, we are off topic a bit. :confused:

Wait a minute, you cannot compare MPLAB with Arduino IDE.

Clearly I can as I just have done so!
@b3jh24: Sorry too!

To be fair they are different tools for different purposes.

I have a PIC16F (Microchip) SOIC chip

which PIC16F, exactly? Older 16F chips used a high voltage programming algorithm that would probably be annoying to set up (about as bad as HVSP for a tiny85), but the newer chips mostly come with low voltage serial programming enabled. which OUGHT to be pretty easy. Whether you can get a tool comparable to avrdude to TALK to the programmer is a separate problem. There's a long legacy of PIC programmers (and software tools) that were pretty "weird", and I don't know that there has been as much standardization and documentation of communications protocols as there has been in the AVR world.

Probably better to spend $20 for a "Microchip SNAP" programer/debugger (it won't do HV either, though.)

westfw:
which PIC16F, exactly? Older 16F chips used a high voltage programming algorithm that would probably be annoying to set up (about as bad as HVSP for a tiny85), but the newer chips mostly come with low voltage serial programming enabled. which OUGHT to be pretty easy. Whether you can get a tool comparable to avrdude to TALK to the programmer is a separate problem. There's a long legacy of PIC programmers (and software tools) that were pretty "weird", and I don't know that there has been as much standardization and documentation of communications protocols as there has been in the AVR world.

Probably better to spend $20 for a "Microchip SNAP" programer/debugger (it won't do HV either, though.)

It's a PIC16F15324 so it's capable of low voltage programming.