Programming PICs in C: Resource Guide

  • Thread starter Thread starter Jammin_James
  • Start date Start date
  • Tags Tags
    Programming
AI Thread Summary
The discussion centers on programming the PIC16F690 microcontroller, with a focus on transitioning from assembly language to C. Users seek recommendations for free resources to learn PIC programming in both C and assembly. Suggestions include downloading tools from the Microchip website and considering the CC5X compiler for basic use. There are mentions of the PICkit programmer for in-circuit programming options. Additionally, there is a brief tangent regarding the limitations of general-purpose registers in PIC 16 series compared to Atmel chips.
Jammin_James
Messages
49
Reaction score
0
Hey all!

So I recently purchased a PIC16F690 for a project and I've been trying to learn the assembly language for it and it's turning into a somewhat daunting task. I've programmed in assembly before but it was with an ATMEL chip. This was about two years ago, so everything is kinda fuzzy. I've decided to try to apply what I've learned in C to this project now, since I assume it's a more general language I can use in any microcontroller project.

Is there a good, free resource I can look at to get started programming PICs in C? Maybe even a good resource of programming PICs in their assembly language.

Thanks guys!
 
Engineering news on Phys.org
Go to the Microchip web-site and download everything you need. You will need to purchase a programmer. A PicKit isn't too expensive.
 
I don't remember why but I settled on CC5X http://www.bknd.com/cc5x/ for the PIC 16F's.
Free for the basic version and seems to work fine. Microchip may have something better for the 16's -- I use their free 18F compiler -- but I ignored it.

If you are doing in-circuit programming see Microchip's PICkit's or look at sparkfun.com for some other options ICSP and not.
 
Hi all.
Iam trying to write extended kalman filter algorithm in microC (dspic) software.
My question is how to invert a matrix in that software? I have read the manual but could'nt find any command for matrix inversion.pls check out the attachment.
can anyone help me out...!
thanks in advance.
 
Hmm this is vaguely on topic but I remember the Atmel chips were easier to program in asm because of the number of registers which were freely usable.

Do the PIC 16 series only have 1 general purpose register?
 
While I was rolling out a shielded cable, a though came to my mind - what happens to the current flow in the cable if there came a short between the wire and the shield in both ends of the cable? For simplicity, lets assume a 1-wire copper wire wrapped in an aluminum shield. The wire and the shield has the same cross section area. There are insulating material between them, and in both ends there is a short between them. My first thought, the total resistance of the cable would be reduced...
Hey guys. I have a question related to electricity and alternating current. Say an alien fictional society developed electricity, and settled on a standard like 73V AC current at 46 Hz. How would appliances be designed, and what impact would the lower frequency and voltage have on transformers, wiring, TVs, computers, LEDs, motors, and heating, assuming the laws of physics and technology are the same as on Earth?
I used to be an HVAC technician. One time I had a service call in which there was no power to the thermostat. The thermostat did not have power because the fuse in the air handler was blown. The fuse in the air handler was blown because there was a low voltage short. The rubber coating on one of the thermostat wires was chewed off by a rodent. The exposed metal in the thermostat wire was touching the metal cabinet of the air handler. This was a low voltage short. This low voltage...

Similar threads

Back
Top