Skip to main content

Posts

Showing posts with the label PIC12F683 Dev Board

External Interrupt Demonstration with PIC12F683

PIC12F683 has got one external interrupt input which is edge triggered. If you want to learn how to write an Interrupt Service  Routine (ISR) using mikroC compiler, check this out. When an interrpt arrives, the PIC12F683 displays the interrupt arrival information as a part of ISR on a windows PC hyper-terminal through software UART.

Using ADC in mikroC

With mikroC built-in library, use of ADC on PIC microcontrollers has become more simple. PIC16F628A doesn't have in-built ADC in it, so I am going to demonstrate this with my PIC12F683 development board. The analog input will be given through a potentiometer, and the 10-bit digital output will be displayed on a hyperterminal window on PC.

PIC12F683 Development Board

I have recently made a new PIC development board for PIC12F683. It is an 8-pin microcontroller with a lot of good features including 10-bit ADC and PWM. The development board has following features: 1. A Regulated +5V power supply. 2. 3 Red LED outputs which can be connected to any GPIO pins using jumper wires. 3. An ON/OFF power supply switch. 4. A Green LED as a power ON indicator. 5. An 8-pin IC socket for PIC12F683 microcontroller. 6. Two potentiometers: one for providing Vref, and other for simulating analog input to ADC. 7. An ICSP header connector. 8. Two tactile switches for input operation. 9. A TTL to RS232 level shifter using a transistor circuit. 10. A piezo buzzer. 11. A DC motor with driving circuit. 12. Access to individual pins of PIC12F683 through female header pins.