Contents. The USB Logic Tool... 2 Programming... 2 Using the USB Logic Tool... 6 USB Logic Tool Features... 7 Device Hardware...

Similar documents
TDSDB Features. Description

SK40C ENHANCED 40 PINS PIC START-UP KIT. User s Manual V1.3. March 2012

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

Prototyping Module Datasheet

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

ARDUINO MINI 05 Code: A000087

Breeze Board. Type A. User Manual.

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

DEV16T. LCD Daughter board

Dwarf Boards. DB057 : 40-pin controller board

Rapid40i PIC Prototyping PCB User Manual

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

ECE383: Microprocessors Lab 9 Analog-to-Digital and Digital-to-Analog Conversion with I 2 C Serial EEPROM Data Storage

Sidewinder Development Board rev 1.0

Rapid40iXL PIC Prototyping PCB User Manual

SK18A. 18 Pins PIC START-UP KIT. User s Manual V1.1. Dec 2007

ARDUINO MICRO WITHOUT HEADERS Code: A000093

MX Educational Target User Manual

ON4AKH Antenna Rotator controller Version 1.0

Getting Started with SKPIC32

RFID: Read and Display V2010. Version 1.1. Sept Cytron Technologies Sdn. Bhd.

Locktronics PICmicro getting started guide

BASIC Stamp 1 Project Board (#27112) Development / Education Platform for the BASIC Stamp 1

DEV-1 HamStack Development Board

Goal: We want to build an autonomous vehicle (robot)

SBC65EC. Ethernet enabled Single Board Computer

Storage Card Interface Kit

Introducing the 32 bit Micro Experimenter

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

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

Rapid28iXL PIC Prototyping PCB User Manual

Breeze Board. Type B. User Manual.

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

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

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

KPIC-0818P (V050919) Devices Included in this Data sheet: KPIC-0818P

ICP05 IBOARD LITE ICP05. - iboard lite

PICmicro Microcontroller Lite programmer datasheet

Building RoboPIC 18F4550

PIC-P40 development board Users Manual

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

PIC KIT 2 BASIC-USERS GUIDE FEMTO ELECTRONICS

Development Hardware. Target Board and In-circuit Debugger

SimPLC. User Manual.

PICado Alpha Development Board V1.0

AKKON USB CONTROLLER BOARD

PVK40. User's manual. Feature Rich Development and Educational Kit for 40-pin Microchip PIC microcontrollers

OLED Engineering Kits User Manual

ECE383: Microcomputers Lab 6 Basic and Finite State Machine LED and Switch I/O Programming

ARDUINO LEONARDO WITH HEADERS Code: A000057

Mercury System SB310

IS-S0108 Single Switch Solution

USB232 board EB Technical datasheet

CHIPS Newsletter Vol 5 - Yahoo! Mail. Official Newsletter of

SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1

Good Idea to Working Electronic Model

Laboratory 10. Programming a PIC Microcontroller - Part II

Features ================================= Auto Detects Programming Hardware and Inserted Devices

ARDUINO YÚN Code: A000008

VLSI AppNote: VSx053 Simple DSP Board

Department of Electronics and Instrumentation Engineering Question Bank

SBC45EC. Single board computer for 44 pin PLCC PICs

Embedded systems. Exercise session 3. Microcontroller Programming Lab Preparation

Thank you for purchasing the RGB Multi-MCU base and driver board from SuperTech-IT and TheLEDCube.com

8051 Basic Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

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

Fireloch 4 Digit 7 Segment Programmable Display Module

Arduino ADK Rev.3 Board A000069

Shack Clock kit. U3S Rev 2 PCB 1. Introduction

Doc: page 1 of 9

SquareWear Programming Reference 1.0 Oct 10, 2012

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

ARDUINO LEONARDO ETH Code: A000022

A brief user guide Universal Learning Remote Controller

DMX512-4 Channel PWM Driver Board #805

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

An FTDI connection: The ATtiny microcontrollers don t have a hardware UART External Crystal header pins for an optional crystal

SBC44EC. Single board computer for 44 pin PLCC PICs

Product Overview -A 16 bit Micro Experimenter for Solderless Breadboards

FiO Lite Datasheet FEATURES SAMPLE APPLICATIONS. FiO Lite

ESPino - Specifications

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

Final Presentation P14452

ARDUINO MEGA 2560 REV3 Code: A000067

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Transcendent Frequency Counter

Anadigm FPAA Solutions Training Class III

ARDUINO INDUSTRIAL 1 01 Code: A000126

S USB-PC Connection (Cable Not Included) S USB Powered (No External Power Supply Required) S Real-Time Data Acquisition Through the USB

TWR98/99. ISP Programming. Application Note. Tenx reserves the right to change or discontinue this product without notice. tenx technology inc.

CLCD1 Serial 1 wire RS232 LCD development board

LED Knight Rider. Yanbu College of Applied Technology. Project Description

A4988 Stepper Motor Driver Carrier with Voltage Regulators

RS-232 to Logic Level Adapter with DB9M Connector and Power LED

AXE033 SERIAL/I2C LCD & CLOCK

Exclusive 2.5 GHz Frequency Counter

PICAXE EXPERIMENTER BOARD (AXE090)

Hitec Digital Servos Operation and Interface

Storage Card Interface Kit

AVR 40 Pin Rapid Robot controller board

Transcription:

USB Logic Tool Contents The USB Logic Tool... 2 Programming... 2 Using the USB Logic Tool... 6 USB Logic Tool Features... 7 Device Hardware... 11

The USB Logic Tool The device is meant to be a prototyping aid and designed to work well by minimizing breadboard space used, interaction through a visual interface, easy setup and low cost. The low cost allows it to be built at home or a PCB can be purchased for a low price. It is also reprogrammable through USB so other functions can easily be loaded (such as a Virtual COM Port) or a custom one (variable switching mode power supply). Programming The PIC18F14K50 on the device can be re-programmed as needed and the programs can be the USB Logic Tool, Virtual COM Port or a custom program developed by the user. With USB Logic Tool the pins function as set in the visual interface (more information in Using the USB Logic Tool ). The Virtual COM Port allows UART communication through USB and pin RB5 will act as a receiver and RB7 will act as the transmitter. The Virtual COM Port drivers will need to be installed with the drivers provided by Microchip (included in the project files as well). To get started with custom programming visit: http://www.libstock.com/projects/view/55/microchip-hid-bootloader-template-and-adc-over-usb-for-pic18fand-pic24f-pic18f14k50-pic18f27j53-pic18f2553-pic18f4553-pic24fj64gb002-tested A standard programmer (such as PICkit 2) is needed to program the bootloader HEX file into PIC18F14K50. Once that is complete the HID bootloader is used to download any real program HEX file (the default one will be for the USB Logic Tool) and done as follows: 1) Enter bootloader mode: a. If the PIC is empty then it will automatically go into bootloader mode. b. If the program is loaded then holding the reset button (SW2) at power will enter bootloader mode. c. The USB Logic Tool program has allows pressing the reset button (SW2) while running or sending a software command from Windows to reset and enter bootloader mode. 2) Use Microchip s Bootloader software to download the program:

a. The display if the device is successfully connected in bootloader mode. b. Double check the settings by going to Program->Settings.

c. Make sure the following options are set. d. Press CTRL+O then select the HEX file to program.

e. Start programming the device by going to Program->Erase/Program/Verify Device. f. Reset the device by going to Program->Reset Device.

Using the USB Logic Tool 1) Start USB Logic Tool software and connect the USB Logic Tool device (order does not matter). a. Windows will automatically install drivers if they do not exist. 2) This is what the software will look like when the device is connected: 3) The device features are changed by pressing the large numbers (in digital output mode), selecting the radio buttons, checking the checkboxes, sliding the slide bars or pressing the standard buttons. 4) Device Information: Green when connected, otherwise it is red. Shows the ADC resolutions of the device, the current voltage powering the PIC, the specific microcontroller and its revision. 5) USB Communication Method: a. Disabled: There is no communication between the PIC and PC but all settings (before disconnect) will remain. b. Continuous (Default): PIC and PC communicate as fast as possible. c. Manual: PIC and PC communicate when Send Data\Update is pressed. d. Interval: PIC and PC at a specified interval (in milliseconds) that is set in USB Poll Time (ms). 6) About: Shows information about the program. 7) Help: Shows a pop-up that explains what all of the features do.

USB Logic Tool Features Pulse Width Modulation (PWM): Takes priority over Analog Output and digital/analog pin functions if selected o Frequency: Sets the frequency of the square wave which can be between 2933Hz and 1MHz o Duty: Sets the percentage of time that square wave is active (can be high or low) o Disabled: The PWM module is not active and none of the pins are reserved o Single Mode: A single PWM signal which can be copied to four different pins o Half-Bridge Mode: P1A and P1B are used and P1C and P1D are not used (logic functions are allowed) to create a wave form opposing (inverted) each other o Full-Bridge: Forward Mode: P1A is active, P1B and P1C are inactive, and P1D is modulated (square wave) o Full-Bridge: Reverse Mode: P1A is inactive, P1B is modulated (square wave), P1C is active, and P1D inactive o P1A, P1B, P1C, P1D Checkboxes: Can be checked to output square wave on those pins in single mode only; They are disabled and appropriately checked in all other modes o Active Low Checkboxes: If selected the signal on the pins will be inverted o Dead Band: Creates a delay in switching the signal in Half-Bridge of Full Bridge Mode o An example of output wave in the active-high setting (the delay is due to the dead-band):

o An example of output wave in the active-low setting (the delay is due to the dead-band):

o Half-Bridge Sample Circuits:

o Full-Bridge Sample Circuits: Analog Output: Set a 5-bit resistor ladder circuit to give an analog output voltage; Take priority over pin RC2 functions Save Settings: Save all settings to the PICs internal EEPROM; If EEPROM settings are ever saved then they will be restored at power-up Restore Settings: Load settings saved in the PICs internal EEPROM Analog Output: Set pin to read an analog reading on the specified pin Digital Input: Set pin to read a digital input where 1 represents logic high and 0 represents logic low o Internal Weak Pull-up: Enable the internal pull-up resistor on the pin Digital Output: Set logic high (Vdd) or logic low (Vss) output by clicking on the large number to alternate the state

Device Hardware A few different options are available to use the device and the schematic (Schematic.PDF) and bill of materials (Bill Of Materials.XLSX) are included in the project: Build on BreadBoard - Easy Build on ProtoBoard Difficult/Tricky (MCU Pins are directly soldered to breadboard headers and crystal is under the IC) Buy Through Hole Version PCB from BatchPCB Easy o PCB Layout (Through Hole).pdf o http://www.batchpcb.com/index.php/products/83920 Buy Through Hole Version PCB with space reduced by mounting IC on breadboard headers from BatchPCB Average/Tricky (MCU Pins are directly soldered to breadboard headers) o PCB Layout (Through Hole - Special).pdf o http://www.batchpcb.com/index.php/products/83922

Buy Surface Mount Version PCB from BatchPCB Difficult The First Time o PCB Layout (Surface Mount).pdf o http://www.batchpcb.com/index.php/products/82975 Buying from BatchPCB will only provide the PCB needed and the components have to be purchased separately. The exact components for the PCB are listed in Bill Of Materials.XLSX.