ET-PIC 24 WEB-V1. o Central Processing Unit (CPU) o System. o nanowatt Power Managed Modes. o Analog Features

Similar documents
Manual of Board ET-PIC STAMP 18F8722-K22 ET-PIC STAMP 18F8722-K22

PIC-P67J60 development board Users Manual

eip-24/100 Embedded TCP/IP 10/100-BaseT Network Module Features Description Applications

Environmental Data Acquisition Using (ENC28J60)

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

eip-10 Embedded TCP/IP 10-BaseT Network Module Features Description Applications

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

PIC-MAXI-WEB development board Users Manual

CONTENTS. dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

ET-BASE AVR ATmega64/128

SimPLC. User Manual.

Microcontroller. BV523 32bit Microcontroller. Product specification. Jun 2011 V0.a. ByVac Page 1 of 8

BIGdsPIC6. Development System. User manual

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

PIC-LCD-3310 development board Users Manual

PIC-32MX development board Users Manual

Breeze Board. Type B. User Manual.

nic424 ENC424J600 10/100-BaseT Network Interface Card Features Description Applications

Breeze Board. Type A. User Manual.

ET-BASE PIC40/4550(ICSP)

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

DEV-1 HamStack Development Board

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

AX-12. PIC12F675 microcontroller Activity board

PICado Alpha Development Board V1.0

Bolt 18F2550 System Hardware Manual

Hardware Reference. DIL/NetPC DNP/2110 Board Revision 1.0

MOD-ZIGBEE-PIR sensor development board USER S MANUAL All boards produced by Olimex LTD are ROHS compliant

Downloaded from Elcodis.com electronic components distributor

2 in 1. BigAVR User s Manual AVR. MikroElektronika. Software and Hardware solutions for Embedded World

CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

3 in 1 ICD. EASYdsPIC4 User s Manual. MikroElektronika. Software and Hardware solutions for Embedded World

TCP/IP Base Board Setup Instructions (JGS_ETH24_BASE)

Getting Started with SKPIC32

ET-JR ARM7 LPC2214 Development Board

Development Hardware. Target Board and In-circuit Debugger

2 in 1. EasyAVR4 User s Manual AVR. MikroElektronika. Software and Hardware solutions for Embedded World

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

Evaluation board for Microchip 100-Pin General Purpose Microcontrollers

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

Embedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester

8051 Microcontroller

PIC-P67J60 development board Users Manual. Rev. C, December 2009 Copyright(c) 2009, OLIMEX Ltd, All rights reserved. Page 1

An Introduction to Designing Ham Radio Projects with PIC Microcontrollers. George Zafiropoulos KJ6VU

Arduino Uno R3 INTRODUCTION

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be

ATHENA32 PIC32 Evaluation Board ATHENA32. Product Datasheet. Francesco Ficili Date 13/01/2019. Pag. 1

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

SBC65EC. Ethernet enabled Single Board Computer

PIC Microcontroller Introduction

Clicker 2 for Kinetis

USER'S MANUAL PICEBS2. Hes-so//Valais / ISI / sap - version 1.0 PICEBS2-1/10

32 bit Micro Experimenter Board Description and Assembly manual

AK-STM32-ETH Development Board

Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003

SH69P55A EVB. Application Note for SH69P55A EVB SH69P55A EVB SH69V55A

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

SH69P48A EVB. Application Notes for SH69P48A EVB SH69V48A JP2 J4(ICE_J4) S1 IDD TEST JP1 74HC273 JP4 JP3 74HC273 JP6 STKOVE JP7 SW1 J5(ICE_J5)

PIC-MICRO-WEB development board User's manual

Notes: 1. The module is not protected against ESD, avoid potential difference between yourself and the module before use.

PIC32MX150F128 Breakout Board

ATMega128 Rapid Robot Controller Board [RKI-1148]

AVR 40 Pin Rapid Robot controller board

Product Technical Brief S3C2412 Rev 2.2, Apr. 2006

Microcontroller basics

A compact starter kit with your favorite microcontroller and two mikrobus sockets

Instructionss. features: Actual Size Image. start up defaults. Sends server.) User configurable. All on - 1 -

Product Overview -A 16 bit Micro Experimenter for Solderless Breadboards

MCP2120/MCP2150 DEVELOPER S KIT USER S GUIDE

Doc: page 1 of 8

Mega128-Net Mega128-Net Mega128 AVR Boot Loader Mega128-Net

1. About this document General information Board layout Testing this product Circuit description...

Amarjeet Singh. January 30, 2012

Prefetch Cache Module

TDSDB Features. Description

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

ET-BASE AVR (ATmega8535)

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

ecog1kg Microcontroller Product Brief

IFC-MB00 Interface Free Controller Main Board

Debugging header USB Power OK LED

ZKit-51, 8051 Development Kit

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

Product Technical Brief S3C2413 Rev 2.2, Apr. 2006

Volume 1 Hardware Manual

LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F4580

ZigBee Compliant Platform 2.4G RF Low Power Transceiver Module for IEEE Standard. DATA SHEET Version B

8051 Advance Trainer

Capacitive Touch Remote Control Reference Design User s Guide

PIC-32MX development board User's Manual

Development board for PIC24FJ128GA010. with 262k TFT color LCD module

ILI2312. ILI2312 Single Chip Capacitive Touch Sensor Controller. Specification ILI TECHNOLOGY CORP. Version: V1.03.

BC-USB-Kit Manual. First Edition. February, BeatCraft, Inc.

PIC 28 Pin Board Documentation. Update Version 5.0

AVRminiV3.1 Manual. 1. AVRminiV3.1 Overview. 2. AVRminiV3.1 Features and Specifications Standard Features: 2.2. Optional Features:

ILI2511. ILI2511 Single Chip Capacitive Touch Sensor Controller. Specification ILI TECHNOLOGY CORP. Version: V1.4. Date: 2018/7/5

keyestudio Keyestudio MEGA 2560 R3 Board

STM8L and STM32 L1 series. Ultra-low-power platform

JX-12. JX-12 : PIC12F6xx/PIC16F630/676 Project board 1

Hardware Reference. PNP/5280 Board Revision 1.0

Transcription:

ET-PIC 24 WEB-V1 ET-PIC 24 WEB-V1 is PIC Board Microcontroller from Microchip that uses 16 Bit No.PIC24FJ128GA008 Microcontroller for processing data and develops board. The remarkable specification of PIC24FJ128GA008 is high speed and there is following resources as below; o Central Processing Unit (CPU) 16 MIPS speed to process data Hardware supports 16 x 16 Bit multiplication that takes only 1 Instruction Cycle Hardware supports 32-Bit x 16 Bit division C Compile is designed to Optimized Instruction Set o System Internal Clock Generator 31kHz to 8MHz and maximum 32MHz by using 4X PLL Internal LDO Voltage Regulator Circuit Support JTAG Boundary Scan and Flash Memory Program Support Fail-Safe Clock Monitor-allows safe shutdown if clock fails Watchdog Timer System uses Signal Clock as RC Oscillator that is separated from other parts Voltage 2.0-3.6 Volt o nanowatt Power Managed Modes Support RUN Mode, IDLE Mode, and SLEEP Node Can adjust various operation Modes of Signal Clock to be more efficient and it corresponds with power management o Analog Features 10-bit 16 Channel Module Analog to Digital Converter with 500 Kbit/second for speed of Sampling signal 2 Channel Module Analog Comparators o Other Specifications of PIC24FJ128GA008 2 Channel Module UART Communication with 4-storeyed depth of FIFO Buffer -1-

2 Channel Module SPI Communication with 8-storeyed dept of FIFO Buffer 2 Channel Module I2C Communication supports both Master Mode and Slave Mode 16-Bit 5 Module Timer 5 Module Capture, Compare/PWM Internal Hardware System as RTCC, Real-Time Clock Calendar with Alarms Communication System as PWP, Parallel Master Port, with 16 Address Lines, and 8/16 Data 128KByte Flash Memory 8KByte SRAM 70 Bit I/O Ports General Specifications of Board ET-PIC 24 WEB - 80 PIN PIC24FJ128GA008 Microcontroller - 8 MHz Signal Clock Oscillator (can use x4 PLL to run up to 32 MHz) - 9 Port 10 PIN I/O Port (ETT standard arrangement) - 2 Port RS232 Driver Circuit - 1 Port to connect LCD (ET-CLCD) under ETT standard arrangement - Connect ICD2 to download program and Switch to on/off signal Run/Program - 8 Channel LED Circuit to test Output - 4 Channel Switch BUTTON Circuit to test Input - 1 Channel 0-3.3V Voltage Generator Circuit from adjustable Resistor to test Module A/D - 1 Port to connect with EEPROM 25LCxxx - Port to connect with Module Internet ET-MINI ENC28J60 - Switching Regulator to convert signal DC Input to 3.3V - Connector VCC and GND -2-

Structure of Board ET-PIC 24 WEB-V1 1 2 3 19 13 4 20 11 10 5 14 17 9 6 21 16 15 18 7 23 22 8 12 Details No.1 is 2 Port to connect Signal RS-232 and its circuit connection is shown below. MAX232 1 C1+ VCC 16 RS232-CH1 1 2 3 4 0.1uF 0.1uF 3 4 5 C2- C1- C2+ V+ V- GND 2 6 15 0. 1uF 0.1uF PICMCU RX TX 13 14 R1I T1O R2O T2I 12 11 470 RF2 RF3 RS232-CH2 1 2 3 4 RX 8 TX 7 R2I T2O R2O T2I 9 10 470 RF4 RF5 No.2 is Port ET-LCD to connect with Character LED Display and its pin arrangement is shown below; -3-

PICMCU +5V RS EN GND GND D5 D7 ET-CLCD 1 2 3 4 5 6 7 8 9 10 11 12 13 14 GND VO RW GND GND D4 D6 +5V VR10K D4 D5 D6 D7 RS RW EN RE0 RE1 RE2 RE3 RE4 RE5 RE6 LCD Pin D4 D5 D6 D7 RS RW EN PICMCU RE0 RE1 RE2 RE3 RE4 RE5 RE6 No.3, 4, 5, 6, 7, 8, 9, 10, and 11 is Port I/O of Microcontroller that is designed to be the format of the standard 10-PIN ETT Port and each port is arranged as below; PORTA PORTD-H RA9 RA14 NC NC 1 2 3 4 5 6 7 8 9 10 RA10 RA15 NC NC GND RD8 RD10 RD12 RD14 1 2 3 4 5 6 7 8 9 10 RD9 RD11 RD13 RD15 GND PORTB-L PORTE-L RB0 RB2 RB4 RB6 1 2 3 4 5 6 7 8 9 10 RB1 RB3 RB5 RB7 GND RE0 RE2 RE4 RE6 1 2 3 4 5 6 7 8 9 10 RE1 RE3 RE5 RE7 GND PORTB-H PORTF-L RB8 RB10 RB12 RB14 1 2 3 4 5 6 7 8 9 10 RB9 RB11 RB13 RB15 GND RF0 RF2 RF4 RF6 1 2 3 4 5 6 7 8 9 10 RF1 RF3 RF5 RF7 GND -4-

PORTC PORTG RC1 1 2 RC3 RG0 1 2 RG1 RC13 3 4 RC14 RG2 3 4 RG3 NC 5 6 NC RG6 5 6 RG7 NC 7 8 NC RG8 7 8 RG9 9 10 GND 9 10 GND PORTD-L RD0 1 2 RD1 RD2 3 4 RD3 RD4 5 6 RD5 RD6 7 8 RD7 9 10 GND No.12 is 4 PIN I/O Port that consists of Signal RE8, RE9, RF8 and GND as below; 1 2 3 RE8 RE9 RF8 4 No.13 is Connector to download program that is arranged under the standard of ICD2 and supports Programmer that is standard ICD2 Interface such as PICKit2, ICD2 and ETT Programmer ET-PGMPIC USB. User must always press Switch MODE to PGM position before programming to on/off signal pin with external programmer. -5-

No.14 is Switch to select Mode RUN and PGM. When this Switch is shifted to PGM position, it will on/off signal pin that is used to program data code into programmer for programming the designed data program. When Switch is shifted to RUN position, it make signal pins general I/O. MODE PGM RUN No.15 is Connector DC-JACK to supply power into board and supports external Voltage 9-12 VDC. No.16 is Switch RESET. No.17 is 80-Pin IC PIC24FJ128GA008 Microcontroller. No.18 is EEPROM No.25LCxxx from Microchip that is SPI Interface. -6-

SPI MEMORY RG6 (SCK) RG8 (SI) NC NC 1 2 3 4 5 6 7 8 9 10 RG7(SO) RD12 (CS) NC NC GND No.19 is Connector to connect with Module Internet ET- MINI ENC28J60. DIS EN RE9 WOL RD15 RE8 INT RST It is Jumper to select the connection for signal RE8, RD15 and RE9 of Microcontroller with signal Pin INT, RST and WOL of Module ET-MINI ENC28J60. DIS= Disable: Not Connect EN= Enable: Connect No.20 is Test I/O LED that consists of 8 LED and its circuit is shown below; -7-

No.21 is device to test signal Input from 4 Switches that can create signal Logic 0 (0 Volt) and Logic 1 (+3.3 Volt) as shown in the circuit below; 2-Pin CON 10K 2-Pin CON 10K 2-Pin CON 10K 2-Pin CON 10K SW-Button SW-Button SW-Button SW-Button No.22 is 4 device sets to test Analog Voltage and it can adjust Voltage level in the range of 0-3.3 Volt and its circuit is shown below; 2-Pin CON VR10K No.23 is available space to interface further circuit. -8-

Module ET-MINI ENC28J60 ET-MINI ENC28J60 is a module that is designed to be a medium of the connections between Microcontroller and Ethernet Network. It supports operation of Protocol TCP/IP by using IC ENC28J60 that is IC Ethernet Controller to support IEEE 802.3 standard communication and connect signal controller through SPI Bus with maximum high speed 10 Mb/s. Microchip supports Microchip TCP/IP Stack to develop program and user can download free without any charge from Microchip website (www.microchip.com). The briefly specifications of ENC28J60 is described below; Specifications of IC ENC28J60 General: - IEEE 802.3 compatible Ethernet Controller - Integrated MAC and 10BASE-T PHY - 8Kbyte Transmit/Receive Packet Dual Port Buffer SRAM - Programmable Automatic Retransmit on Collision - Programmable Padding and CRC Generation - Programmable Automatic Rejection of Erroneous Packets - SPI Interface with speeds up to 10 Mb/s - Supports Full and Half-Duplex modes Buffer: - Configurable transmit/receive buffer size - Hardware managed circular receive FIFO - Byte-wide random and sequential access - Internal DMA for fast memory copying - Hardware assisted IP checksum calculation PHY: - Wave shaping output filter - Loopback mode MAC: - Support for Unicast, Multicast and Broadcast packets - Programmable pattern matching of up to 64 bytes within packet at user defined offset -9-

- Programmable wake-up on multiple packet formats, including Magic Packet, Unicast, Multicast, Broadcast, specific packet match or any packet The method to connect device with Microcontroller is quite easy because it is SPI Bus Interface that uses fewer pins. For power system of ENC28J60 is 3 Volt IC if user wants to run with 5 Volt Microcontroller, user must Buffer Circuit that is designed by ETT. It supports the connection of power system between 3 Volt and 5 Volt internal Board ET-MINI ENC28LJ60; in this case, user can select power system by setting Jumper 5V/3V3. Picture displays block diagram of the connection signals between ENC28J60 and Microcontroller. -10-

+5V VDD Warning: User must set Jumper correctly follows the truly usage otherwise your device maybe damaged. Picture displays structure of Board ET-MINI ENC28J60. From picture above, HD1 and HD2 is designed to connect with Board ET-PIC 24 WEB; for HD3 is designed to connect with other Microcontrollers and it is designed in the feature of ET-MINI from ETT. -11-

Table shows Name and Function of Signal Pins of ENC28J60 Pin Name Pin Type Function CS INPUT Signal Enable/Disable the SPI Bus Interface of ENC28J60 CS = 0 is Enable the SPI Bus Interface of ENC28J60 CS = 1 is Disable the SPI Bus Interface of ENC28J60 SDO OUTPUT Signal Serial Data Output SDI INPUT Signal Serial Data Input SCK INPUT Signal Serial Clock INT OUTPUT Signal Interrupt Active Logic 0 RST INPUT Signal RESET Active Logic 0 WOL OUTPUT Signal Wake-up on LAN interrupt Active Logic 0 CLKO OUTPUT Signal Programmable clock output LEDA OUTPUT Display status of Signal LINK LEDB OUTPUT Display status of Signal ACT Table shows the signal connection between Board ENC28J60 and ET-PIC24 WEB ENC28J60 ET-PIC24WEB (PIC24FJ128GA008) CS RD14 SDO RF8 SDI RF7 SCK RF6 INT RE8 (Set Jumper) RST RD15 (Set Jumper) WOL RE9 (Set Jumper) CLKO - LEDA - LEDB - -12-

Summarize Allocation and Use Resources of Board ET-PIC24 WEB V1.0 Normally, MCU NO.PIC24FJ128GA008 that is used with Board ET-PIC24 WEB V1.0 has independent signal pin up to 69 I/O but some signal pin is designed and connected with particular I/O device, so user can use these signal pins to be general I/O and we can summarize these signal pins as below; MCU Oscillator RC12 is used to be OSC1 and connects with Crystal 8.00MHz to be Signal Clock of MCU. RC15 is used to be OSC2 and connects with Crystal 8.00MHz to be Signal Clock of MCU. RTC Oscillator RC13 is used to be OSC1 and connects with Crystal 32.768KHz to be Signal Clock of RTC. RC14 is used to be OSC2 and connects with Crystal 32.768KHz to be Signal Clock of RTC. RS232-CH1 Serial Port Communication (UART) RF2 is used to be Pin RXD to receive data from RS232 Channel 1. RF3 is used to be Pin TXD to transmit data to RS232 Channel 1. RS232-CH2 Serial Port Communication (UART) RF4 is used to be Pin RXD to receive data from RS232 Channel 2. RF5 is used to be Pin TXD to transmit data to RS232 Channel 2. Ethernet Module (SPI-1) RF6 is used to be SCK to connect with Ethernet Module (ET-MINI ENC28J60). RF7 is used to be SDI to connect with Ethernet Module (ET-MINI ENC28J60). RF8 is used to be SDO to connect with Ethernet Module (ET-MINI ENC28J60). -13-

RD14 is used to be CS to connect with Ethernet Module (ET-MINI ENC28J60). RE8 is used to be INT1 to connect with Ethernet Module (ET-MINI ENC28J60). In this case, user can select to use or not use as desired by setting Jumper INT (EN/DS); normally, Jumper is set to be DS (Disable: Not use). RE9 is used to be WOL to connect with Ethernet Module (ET-MINI ENC28J60). In this case, user can select to use or not use as desired by setting Jumper WOL (EN/DS); normally, Jumper is set to be DS (Disable = Not use). RD15 is used to be RST to connect with Ethernet Module (ET-MINI ENC28J60). In this case, user can select to use or not use as desired by setting Jumper RST (EN/DS); normally, Jumper is set to be DS (Disable = Not use). SPI Memory Module (SPI-2) RG6 is used to be SCK to connect with SPI Memory. RG7 is used to be SDI to connect with SPI Memory. RG8 is used to be SDO to connect with SPI Memory. RD12 is used to be CS to connect with SPI Memory. Character LCD Display RE0 is used to be LCD D4 to connect with 4 Bit Character LCD. RE1 is used to be LCD D5 to connect with 4 Bit Character LCD. RE2 is used to be LCD D6 to connect with 4 Bit Character LCD. RE3 is used to be LCD D7 to connect with 4 Bit Character LCD. RE4 is used to be LCD RS to connect with 4 Bit Character LCD. RE5 is used to be LCD RW to connect with 4 Bit Character LCD. RE6 is used to be LCD EN to connect with 4 Bit Character LCD. LED[1..8] to test Web Server Control RD0..RD7 is used to be Digital Output and connects with LED [1..8]. -14-

SW[1..4] to test Web Server Control RD8..RD11 is used to be Digital Input and connects with Switch[1..4]. ADC Input to test Web Server Control RB5 (AN5) is used to be ADC0 to read Input value of 10 Bit Analog to Digital and connects with VR1. -15-

Initial Recommendation of MPLAB C30 Open Program MPLAB IDE, click Start -> Microchip -> MPLAB IDE v7.61 -> MPLAB IDE or double click Icon MPLAB IDE on Desktop as shown below. Or double click ICON MPLAB IDE 2. It will display window of Program MPLAB IDE v7.61 as shown below. -16-

Create Project, click Project -> Project Wizard.. It will display Window Project Wizard; click Next > to do the next step. Select device in the blank of Device: and it must be corresponding with Board. In this case, it is PIC24FJ128GA008 and then click Next >. -17-

Select the used Compiler; in this case, it is MPLAB C30 C Compiler (pic30-gcc.exe) and then click Next >. Click Browse to the desired Folder to store Project; for example, create Folder name PIC24_Start follows the example and then Browse.. the Folder, specify Project name; in this example, it is Demo1 and then Save. -18-

It will display window; in this case, user can Add or Remove File Codes in project if there is File Code in project, but if there is no any File Code, click Next > to go to the next step. -19-

It will display window that summarizes Parameter values of the created Project, verify values correctly, and then click Finish to end the step of Project Wizard. It enters the main window of MPLAB, click View -> Project It will display window that shows structure of Project as shown below. -20-

Click File -> New to create File Source Code. It will display the blank screen window that is Untitled as shown below. -21-

Select File -> Save As to save as File. C Specify filename and follow by surname.c; in this example, it is Demo1.C and then selects Save as type: to be C Source Files (*.c, *.h) as shown below. -22-

File Demo1.c will be appeared and then type code program into the file as shown in the example below. Save file, click File -> Save -23-

Add the created File Source Code into Project, click right on Source File and then select Add Files.. It will display window Add Files to Project, click left on File Source Code; in this example, it is Demo1 and then click Open. -24-

Filename Demo1.c will appear in Source Files. Add File Linker Scripts, click right on Linker Scripts and then select Add Files.. -25-

It will display window Add Files to Projects, click file p24fj128ga008.gld that is in the following folder; C:\Program Files\Microchip\MPLAB C30\support\gld When everything is complete, user can see file p24fj128ga008.gld that has already added into Linker Scripts completely as shown below; -26-

Next, compile project; click Project -> Build All as shown below. It will report result of compiling in the window Output - > Build; if compiling is complete, it will display message BUILD SUCCEEDED as shown below. -27-

It will display File Demo1.Hex in the same folder as the created file as shown below; -28-

Code Programming After user gets Hex File; next, it is programming code into Microcontroller of Board ET-PIC 24 WEB; in this case, it must use external programmer such as ICD2, PICKit2 or ETT Programmer version ET-PGM USB. User can interface Cable for programming at Connector ICD2 as shown in the picture below. ET- PIC24WEB ET-PGMPIC USB Press Switch MODE to PGM position. MODE PGM RUN Open Program PICkit2 Programmer. -29-

Select Device Family -> PIC24 If the connection is complete, it can find Device number to be PIC24FJ128GA008 as shown below. In the first step, user must select Erase to erase the old program Memory. -30-

Import File.HEX, click File -> Import and enter Folder PIC24_Start to select file Demo1.Hex and then Open. -31-

It will display message Hex File successfully imported ; click Write to program Hex code into memory of Microcontroller. When it has already programmed completely, it will display message Programming Successfully as shown below. -32-

Shift Switch MODE to RUN position. MODE PGM RUN Connect Hardware to test operation of program as follows; PIC24FJ128GA008 RD0 RD1 RD2 RD3 RD4 RD5 RD6 RD7 LED LED1 LED2 LED3 LED4 LED5 LED6 LED7 LED8 Each LED from LED 1 to LED 8 will be ON one by one. -33-