Professional Documents
Culture Documents
(EXP 10) No 04
(EXP 10) No 04
6
2. MicroC icon in desktop is clicked to open the software and the
M M
tab is clicked.
4. ^hen the MicroC compiler will prepare the project file and
displays the window editor to write the source code program.
5. ^he program for LED blink module is written in the window
editor. Refer to Data Part to see the source code.
6. After the program is written in the editor, the file is saved and the
icon is clicked to compile the program. ^hen a .hex file
is created. ^his .hex file will be transferred into Microcontroller.
8. ^hen the PIC Kit board is plugged into Serial Port/COM1 in the
PC. ^he PIC must be connected to Programmer circuit to
download .hex file.
9. PIC16F88 is selected in pull down tab and * button is clicked
to check the serial port connection of the PIC board to the PC.
13.After the .hex file has been transferred, then the PIC board is
unplugged from the serial port of the PC. And the IC is removed to
application circuit. 9v supply is connected to the terminal and switch
ON is pressed.
1. From MikroC menu, select ^ool>> USAR^ ^erminal (or press
Ctrl+^ .
2. In the Settings section, Select the particular COM Port and set
the Baud as 9600 (because in the programming the Baud rate was
initially set to 9600 through command o !"##$% .
3. Next, Click Connect, and the dialog box will appear as below
(where in the box the communication details will be shown in
codes . We can view the codes in different formats: Decimal,
HEX or ASCII by selecting the desired value.
4. Put the PIC into the lab kit circuit. Download the coding to the
PIC from the PC by using Winpic800 application.