JohnJohn20
Advanced Member level 4
Hi.
I don't know anything about PICs and I have spent hours on google trying to find an easy and cheap way to build and program a PIC chip for a small project.
I want to avoid a kitset if possible due to cost.
It looks like I will need to:
1. Buy a suitable PIC chip. The PIC16F628A looks OK because it is cheap and contains its own oscillator xtal.
2. Build a programmer to connect my laptop via the serial port to the chip. The uJDM Simple PIC Programmer (**broken link removed**) looks pretty simple:**broken link removed**
3. Download some software for my laptop to program the chip with. PICPgm (http://www.members.aon.at/electronics/pic/picpgm/) looks like it does the job.
4. Write a program using assembler (?) language. How difficult can this be?
Is that everything I need to program the chip?
5. Then I remove the chip from the programming board connected to my laptop and into my project board with LEDs for outputs and switches for inputs.
6. And then when I power up the IC, it will automatically execute the programming I have put into it.
Have I missed anything?
If it all looks OK then I will build it and (probably) come back with more questions.
Thanks.
I don't know anything about PICs and I have spent hours on google trying to find an easy and cheap way to build and program a PIC chip for a small project.
I want to avoid a kitset if possible due to cost.
It looks like I will need to:
1. Buy a suitable PIC chip. The PIC16F628A looks OK because it is cheap and contains its own oscillator xtal.
2. Build a programmer to connect my laptop via the serial port to the chip. The uJDM Simple PIC Programmer (**broken link removed**) looks pretty simple:**broken link removed**
3. Download some software for my laptop to program the chip with. PICPgm (http://www.members.aon.at/electronics/pic/picpgm/) looks like it does the job.
4. Write a program using assembler (?) language. How difficult can this be?
Is that everything I need to program the chip?
5. Then I remove the chip from the programming board connected to my laptop and into my project board with LEDs for outputs and switches for inputs.
6. And then when I power up the IC, it will automatically execute the programming I have put into it.
Have I missed anything?
If it all looks OK then I will build it and (probably) come back with more questions.
Thanks.