JX pin PIC Microcontroller Project Board Copyright by Innovative Experiment Co.,Ltd.

Similar documents
ET-BASE AVR ATmega64/128

Section 27. Device Configuration Bits

K8048 PIC PROGRAMMER BOARD

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

PICNet 1. PICNet 1 PIC18 Network & SD/MMC Development Board. Features. Applications. Description

Fondamenti su strumenti di sviluppo per microcontrollori PIC

User Manual. AS-Interface Programmer

LED board datasheet EB

QL-PROG Microchip MCU Programmer User s Manual Qianlongsheng Electronic Technology Co., Ltd.

MX PIC24F Educational Module User Manual

Chapter 13. PIC Family Microcontroller

PICmicro tm Development Board

AN-812 APPLICATION NOTE

Section 28. In-Circuit Serial Programming (ICSP )

An Introduction to MPLAB Integrated Development Environment

K128. USB PICmicro Programmer. DIY Electronics (HK) Ltd PO Box 88458, Sham Shui Po, Hong Kong. mailto:

Switch board datasheet EB

Getting Started with PIC24F/PIC24H Programming and Interfacing in C

1-10 The USB PIC K150 microcontroller programmer Hardware version V2.0 File version V2.0 Product Image

RS232 Board datasheet

DSO138 oscilloscope program upgrade method

GIE PIC K150 Programmer. User Manual

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

EasyPIC4 User s Manual

Mobius 3 Circuit Board Programming Instructions

Lab Experiment 1: The LPC 2148 Education Board

Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

ezsystem elab16m Project 1F: Alarm System (Full Project description)

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

ic-mq EVAL MQ1D EVALUATION BOARD DESCRIPTION

USB-BASED TILT SENSOR / ACCELEROMETER / VIBRATION ANALYSIS / AC SIGNAL ANALYSIS MODULE

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

8-Bit Microcontroller with Flash. Application Note. Using a Personal Computer to Program the AT89C51/C52/LV51/LV52/C1051/C2051

Programming Device Manual Booklet AVR Prog USB v2

The Programming Interface

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

STK User Guide

Real Time Clock USB Evaluation Board V3.0

PolyBot Board. User's Guide V1.11 9/20/08

Evo Laser Firmware Developer s Manual

TRILOGI 5.3 PLC Ladder Diagram Programmer and Simulator. A tutorial prepared for IE 575 by Dr. T.C. Chang. Use On-Line Help

EVAL-UFDC-1/UFDC-1M-16

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

USB / Data-Acquisition Module NOW LEAD-FREE

CHAPTER 11: Flip Flops

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

Electronic Rotary Table Divider V2.1 Construction

Keep it Simple Timing

Pololu P-Star 25K50 Micro User s

Processor Extension Pak and Header Specification

Universal ICSP-Programming-Adapter for all PIC s in DIL-Housings

FEATURES DESCRIPTION. PT6321 Fluorescent Display Tube Controller Driver

AVRprog. programmer by MikroElektronika

Nuvoton Nu-Link Debug Adapter User Manual

_ v1.0. EVB-56x Evaluation & Development Kit for Motorola PowerPC MPC56x Microcontrollers USERS MANUAL. isystem, February /8.

Programming the On-Chip Flash on a phycore-xc161 phycore-xc167

SPI. Overview and Use of the PICmicro Serial Peripheral Interface. Getting Started: SPI

Introduction to PIC Programming

WIZ-Embedded WebServer User s Manual (Ver. 1.0)

- 35mA Standby, mA Speaking pre-defined phrases with up to 1925 total characters.

Wireless Security Camera

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

Tutorial for MPLAB Starter Kit for PIC18F

Wireless Temperature

Opgui and OpenProg user s guide. v.1.2

TNM Programmer User Manual. For Windows 7 / Vista / XP. TNM Electronics Ltd.

MARTECH SPI Tools. MARTECH SPI Tools User Manual v1.0. User Manual

MAX5417L Evaluation Kit/Evaluation System

Information Board User s Guide

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

Peak Power Tracker Circuit Description (from

CAN bus board. EB018

D-MAX WEB GUIDE CONTROLLER WITH OPERATOR INTERFACE PANEL QUICK START SETUP MANUAL

dspic33e/pic24e dspic33e/pic24e Flash Programming Specification 1.0 DEVICE OVERVIEW 2.0 PROGRAMMING OVERVIEW OF THE dspic33e/pic24e

Troubleshooting and Diagnostics

SIMPLE EPROM PROGRAMMER. EPROM Programmer Design. Hardware

HyperAccess Access Control System

0832 Dot Matrix Green Display Information Board User s Guide

USB - FPGA MODULE (PRELIMINARY)

MIDECO 64-outputs MIDI note decoder USER MANUAL. Roman Sowa 2012

MOD-ENC28J60 development board Users Manual

AVR Prog User Guide. Section 3

PIC-MAXI-WEB development board Users Manual

2.0 Command and Data Handling Subsystem

Embedded Web Server for Infra Red Remote Control

FLYPORT Wi-Fi G

PIC18F2480/2580/4480/4580 Data Sheet

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL

HT1632C 32 8 &24 16 LED Driver

DS2149DK/DS21349DK T1/J1 Line Interface Unit Design Kit

Application Note, V2.2.1, July 2003 AP OCDS Level 1 JTAG Connector. 16-Bit & 32-Bit Microcontrollers. AI Microcontrollers. Never stop thinking.

1. The demonstration code is sending garbage to my terminal program. What are the recommended settings?

Analog Devices Welcomes Hittite Microwave Corporation NO CONTENT ON THE ATTACHED DOCUMENT HAS CHANGED

40-Segment 2.54 pitch LED Bar Display Board User s Guide

Install the DeviceNet Module using the following procedure:

Glolab Talking Phone Dial Monitor

Transcription:

JX-628 18-pin PIC Microcontroller Project Board Copyright 2002-2005 by Innovative Experiment Co.,Ltd. Specification z Connect to PC s parallel port for programming with CX-6 cable (included) z PIC16F628 on-board z 4MHz clock frequency z Full 16 I/O z Download code to chip s memory directly z Select RUN or PROGRAM mode by one switch with LED mode status z Can define all configuration word from software z Miracle-PIC programmer software can run on Windows98SE/ME/XP z 1.25 x 2.25 Inches 272 solder pads prototype area for construction circuit. z Area for installation 9-pin female D-type connector JX-628 PIC16F62x/8x microcontroller project board 1

Using JX-628 board Preparation Before using, user must prepare some tool and software following : 1. Personal computer which install Window 95/98/ME/2000/XP, text editor program, MPLAB, MPASM and Miracle-PIC software MPLAB and MPASM are licenced by Microchip Technology, for more information please contact at http://www.microchip.com (included in CD-ROM when order JX-877 board) Miracle-PIC is licenced by Innovative Experiment Co.Ltd. Please contact at www.inex.co.th (included in CD-ROM when order JX-876 board) 2. Write program, set beginning address at 0x0000 and save file in.asm 3. Assembler.ASM file by MPASM with selected INHX8M type. So it will be HEX file 4. Prepare DC adpator 16-20V 500mA. Procedure 1. Constuct the curcuit, solder the components on prototype area on JX-628 2. Connect JX-628 with PC s parallel port. 3. Supply voltage to JX-628 board, green LED at RUN mode is bright. 4. Press MODE switch for changing to PROGRAM mode, red LED is bright. 5. Open mpicflash.exe (after install Miracle PIC flash software) 6. Select PIC16F628 or PIC16F628A microcontroller. 7. Open HEX file. 8. Erase data in microcontroller by pressed 9. Check blank data in microcontroller by pressed 10. Program data in microcontroller by pressed 11. Check the result by pressed and notice 12. In case, protect data.select code protection in View Configuration. PIC16F628 can choose 4 protection types; CP All, 0200H-07FFH,0400H-07FFH and CP OFF. These protection types have to choose before prigramming. Moreover, users can protect data from EEPROM by select CPD in Configuration. 13. After programming completed, press MODE switch to RUN mode. Microcontroller will runs your own program. 14. Save in desk, have to code protect. User can check by put microcontroller in socket, open Miracle-PIC program after that, press READ then select View menu Program buffer and Data buffer.if showing 000, means code protect. After read data, select File menu Save file As and name file.hex 2 JX-628 PIC16F62x/8x microcontroller project board

Using Miracle-PIC programmer software Menu Control button Clock mode Protection type Select microcontroller Auto detect button Microcontroller type Operation status Show microcontroller ID Show MCU s configuration word Figure 1 : Miracle-PIC Flash software main window Main Control Button Open Miracle PIC-Flash program, then select the microcontroller as figure 1, there is 8 function buttons follow this; Open Save PROGRAM VERIFY READ : Open HEX file : Save source code in HEX file : Program all data into program memory and EEPROM : Test program; compare data in buffer with MCU s data : Read data from selected microcontroller and also read parameter BLANK CHECK : Check blank data inside microcontroller ERASE : Delete data in program memory of selected microcontroller. This function used with flash microcontroller memory or EEPROM only. For example, PIC16C84 or PIC 16Fxxx Select microcontroller : Just click at the arrow. User will see many MCU lising. JX-628 PIC16F62x/8x microcontroller project board 3

Menu description File View Open file - To open file.hex Save file As - To save data in another file name Recent files - To open recently file Exit - Quit To see all parameter of PIC microcontroller Program Buffer (F11) - shows code in program memory (figure 2). User can edit by select memory position and input value directly or use Fill Progran Bufer Function Data Buffer (F12) - shows all data EEPROM (figure 3). User can edit data by select memory position and input value directly or use Fill Progran Buffer Function Configuration (F9) - shows detail of PIC configuration. User can enable or disable all parameter. Count Program use this function in JX-628) - show number of programmed microcontroller (not Stay on top - Make the program always on the top Figure 2 : Program buffer window, user can see all code and edit any address 4 JX-628 PIC16F62x/8x microcontroller project board

Figure 3 : Data buffer window, user can see all data in EEPROM within microcontroller and edit any address Configuration Setting Figure 4 : Configuration window Before programing PIC microcontroller, always fix configuraruon, go to View Configuration. This is detail of them. Oscillator - select clock mode, there are 84 types (for PIC16F628) LP - low cystal (normally not use in JX-628, If need - must change crystal on JX-628 board to lower 200kHz before) XT - normal cystal not over 4 MHz HS - Over 4 MHz high frequency xtal (normally not use in JX-628, If need - must change crystal on JX-628 board to over 4MHz before) EXTCLK - External Clock (not use in JX-628) INTRC - Internal RC circuit EXTRC (ER) - External RC circuit (not use in JX-628) INTRC clockout - Internal RC circuit and send fosc/4 clock signal out OSC2 pin. User can select OSC2 pin to RA6 port pin or Clock out pin EXTRC clockout - External RC circuit and send fosc/4 clock out OSC2 pin. User can select OSC2 pin to RA6 port pin or Clock out pin t (not use in JX-628) Code protection - Use for selceting protection mode. It can protect data in PIC16F628 microcontroller is 4 modes include : ALL, 0200H-07FFH, 0400H-07FFH and OFF. Select CPD box for protection data in EEPROM. Configuration - To select special ability of PIC miocrocontroller, it depends on type of microcontroller. For PIC16F628 has 5 types; WDT (watchdog Timer) PWRT (Power-up Timer) MCLR (Master ClearReset) : for select MCLR function to RESET. If not select, this pin assigned to RA5 input port pin. BODEN (Brown-out Reset) LVP (Low Voltage program) - Enable programming to PIC microcontroller with low voltage instead of +12V (Should not use with JX-628) JX-628 PIC16F62x/8x microcontroller project board 5

Device Select type of PIC microcontroller Command Arrange reading, writing and testing data in microcontroller memory Program Chip (F4) - Program code and data to microcontroller as PROGRAM buttom Verify Chip (F5) or incorrect as VERIFY buttom Read Chip (F6) Erase Chip (F7) Blank Chip (F8) as BLANK CHECK button Option Separate 4 parts; - Check writing data in PIC microcontroller correct - Read data from microcontroller as READ buttom - Delete data in PIC microconrtoller as ERASE buttom - Check blank data in PIC microcontroller memory Part1 Program/Verify Program - check latest programming in microcontroller with buffer. Program/Verify Data - check data in microcontroller memory after latest programming Program/Verify ID - checking ID value in microcontroller after latest programming (not use in JX-628) Program/Verify Configuration - check configuration value after latest programming Part2 Special feature in Miracle-PIC programmer software Verfy while program - check data while program microcontroller. If occur the faults, program will stop in suddenly. automatic. Auto verify after program - check data after completely programming Auto erase before program - delete data before programming Program all address - program data in every address Part3 Configuration erase message - selcet warning window Part4 Parallel port - select parallel port LPT1 to LPT3 6 JX-628 PIC16F62x/8x microcontroller project board

JX-628 schematic diagram +V IC1 78L12 +VPP K1 DC input J1 DC input DC input : 16-20Vdc D1-D4 1N4001x4 C2 0.1/50V D5 1N4148 D6 1N4148 IC2 7805 C4 10/50V C3 0.1/50 C5 0.1/50 K1 DOWNLOAD (RJ11-6) D0 D1 D2 D3 ACK GND IC3/5 R1 14 13 12 9 8 IC3/3 7 IC3/1 1 2 R4 4k7 R6 10 IC3/1-IC3/5 74LS07 IC3/4 11 R10 4k7 S2 RESET R3 R5 C1 220/25V R2 +Vpp Q1 BC557 C6 0.1/50V R7 510 LED2 PGM R9 510 R11 220 IC3/2 4 3 LED1 RUN R8 Q2 BC557 S1 MODE R12 1k 13 RB7 12 RB6 RB3 RB2/TxD 4 MCLR/RA5 11 RB5 10 RB4 9 8 RB1/RxD 7 RB0/INT 6 IC4 PIC16F628 14 5 C9 0.1/50V PORT B RB7 RB7/T1OSI RB6 RB6/T1OSO/T1CKI RB5 RB4/PGM RB3/CCP1 RB2/TxD/CK RB1/RxD/DT RB0/INT PIC16F62x only PORT A RA7 RA7/OSC1/CLKIN RA6 RA6/OSC2/CLKOUT RA5 RA5/MCLR RA4 RA4/T0CKI/CMP2 RA3 RA3/AN3/CMP1 RA2 RA2/AN2/Vref RA1 RA1/AN1 RA0 RA0/AN0 RA5 RA7 RA6 RA4 RA3 RA2 RA1 RA0 C8 33pF XTAL1 4MHz C9 33pF RA7/INTRC XT XT RA6/INTRC JP2 RA7/OSC SELECT JP1 RA6/OSC SELECT 16 OSC1/RA7 15 OSC2/RA6 3 RA4 2 RA3 1 RA2 18 RA1 17 RA0 Copyright 2002-2005 by Innovative Experiment Co.,Ltd. JX-628 PIC16F62x/8x microcontroller project board 7