The task: To learn how to use the comparator
Tools: PIC16f628a, proteus

The task: To learn how to use the comparator
Tools: PIC16f628a, proteus
Task: To learn how to control LCD display
Tools: PIC16f628a, LCD 2×16, proteus
Let me try to make the display work in the proteus
Continue readingInterruptions are one of the great things about microcontrollers, if you want to do something fast, reliable, and simple… well, not exactly simple in a programming language sense perhaps, but really simpler from the hardware perspective point of view. So, the main purpose of interruption is to interrupt your main program cycle and do whatever you want in case of that event (a timer has reached the settled time, a button has been pressed, and so on). Here is the picture from the mikroe ebook (www.mikroe.com), just because they really made quite nice pictures and quite a nice manual by the way.
Going further…
Continue readingFor the future, always forgetting how to do that.
Need to add additional CSS:
/* Make individual posts full-width */ .singular.page .hentry {padding:1em;} .singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title { width: 90%; }
It was 2012 year, I was just starting to learn how to work with the PIC microcontrollers, so the code is far away from optimal.
uC: PIC16F628a
Compiler: Hi-TECH PICC
Goal: To connect 7 segment indicator and display numbers from 0 to 9
An article dedicated to learn and develop some basic approaches related to Discrete Fourier Transform.
As it known from Fourier series, any signal can be represented as a sum of different simple signals, which basically allow as to simplify a computation and makes possible FFT transformation.
Continue readinguC: PIC16F628a
Compiler: Hi-TECH PICC
Goal: To make pulses with frequency 5Hz
Timer TMR0 module frequently used in many applications, it has next useful options:
In that experiment we will make it without using interruptions.
uC: PIC16F628a
Compiler: Hi-TECH PICC
Goal: To connect button and learn how to enable IO
uC: PIC16F628a
Compiler: Hi-TECH PICC
Goal: To make led blink with certain frequency