PIC 12F675 Microcontroller Tutorial.
The 12F675 microcontroller is packaged in an 8 pin chip and even though it is tiny it is packed with peripherals. It even has a 10bit ADC built in (this is the same ADC that you can find on the 16F877A and 16F88 used elsewhere on this site). So learning about this peripheral is also useful for these other parts. The 12F675 has 1024 words of program memory, 64 Bytes of RAM and 128 Bytes of EEPROM, an internal oscillator, timers an ADC and a comparator.
12F675 Microcontroller Features
The following bubble diagram shows the major peripherals and features of the 12F675 in a visual format:
12F675 Microcontroller Programming
You can program the microcontroller using an ICSP programmer (you can use it for any PIC chip). ICSP connections are shown in the diagram below.
To use it you will need software running on the PC : ICPROG. This lets you flash the hex file generated by the compiler into the 12F675
If you don’t have a bench power supply then you should use the following standard circuit. All you will need is a wall power supply block with dc output (greater than 8V and no more than 35V) or a 9V battery to plug into CN1. You would not want to use that high voltage for very long if using reasonable current as the 7805 would have to get rid of the excess power as heat. Say you used 100mA dropping 35V to 5V gives P=VxI = 30 *0.1 = 3W – a huge power output – the 7805 would get very hot and go into thermal shutdown!
We recommend EasyEDA for electronic circuit design.
From Schematic to PCB Production, Just Need One Tool
Free Circuit Design Software: learn to use Editor quickly and easily
Cheapest PCB: 10pcs 2-layers 10cm×10cm only $8.21, 3-day build time, 100% E-test
Current Project / Post can also be found using:
- pic microcontroller tutorial pdf
- programming 12f675
- 12f675 program
- pic 12f675 tutorial