usb boards - matrix tsl boards... · loader, which sets the internal clock active at 48mhz and...

9
www.matrixtsl.com USB boards HP1110 & HP4829

Upload: others

Post on 21-Feb-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: USB boards - Matrix TSL boards... · loader, which sets the internal clock active at 48MHz and flashes the Green LED awaiting program download from mLoader and the host PC USB connection

www.matrixtsl.com

USB boards

HP1110 & HP4829

Page 2: USB boards - Matrix TSL boards... · loader, which sets the internal clock active at 48MHz and flashes the Green LED awaiting program download from mLoader and the host PC USB connection

2 Copyright © 2014 Matrix Technology Solutions Ltd

Contents

About this document 3General information 3HP1110 - Project board 4 General information 4 Circuit description 4 Board layout 4 Connecting External Devices 5 Circuit diagram 6HP4829 - Prototype board 7 General information 7 Circuit description 7 Board layout 7 Circuit diagram 8

Page 3: USB boards - Matrix TSL boards... · loader, which sets the internal clock active at 48MHz and flashes the Green LED awaiting program download from mLoader and the host PC USB connection

3 Copyright © 2014 Matrix Technology Solutions Ltd

About this document

This document concerns the following USB boards:• HP1110 USB Project board.• HP4829 USB Prototype board.

1. Trademarks and copyrightPIC and PICmicro are registered trademarks of Arizona Microchip Inc.

2. DisclaimerThe information provided within this document is correct at the time of going to press. Matrix Technology Solutions Ltd reserves the right to change specifications from time to time.

• Relevant software and hardware that allow you to use your product better.

• Example files and programs.

3. Product supportFor further information, please visit the Matrix website which contains many learning resources, examples and support. On our website you will find:

General informationThese two low cost development boards are designed to provide a very low cost of entry way into the world of developing electronic projects based on microcontroller technology. Both the USB project board and the USB prototype board are based on Microchip’s 18F24K50 device. The USB enabled 18F25K50 is programmed with a bootloader which allows users to download programs directly from a PC and seamlessly execute them. The bootloader is open source so other USB programmable projects can be based on it. Files can be sent to the chip using the free mLoader utility and the boards are both compatible with Flowcode 6 and Flowcode SE.

Bootloader

The microprocessor is pre-programmed with a boot loader, which sets the internal clock active at 48MHz and flashes the Green LED awaiting program download from mLoader and the host PC USB connection. This simplifies programming from a Flowcode created program. After approximately 4 seconds the LED will stop flashing and any previously downloaded user program will run. The LED flash period is reduced to approximately one second if no USB host is detected. Pressing the on-board Reset switch causes the bootloader to restart.

Page 4: USB boards - Matrix TSL boards... · loader, which sets the internal clock active at 48MHz and flashes the Green LED awaiting program download from mLoader and the host PC USB connection

4 Copyright © 2014 Matrix Technology Solutions Ltd

HP1110 - Project board

General informationThe Matrix HP1110 Project Board provides an easy to use solution for medium current driving of devices such as actuators and motors. It is based on the Microchip 18F24K50 high performance 8 bit processor with enhanced peripheral features.

Circuit descriptionThe board is normally powered at 5V from a USB hub via the on-board USB-B socket. The project board can alternatively be powered from a voltage source from 2.3V to 5.5V and the use of the power supply selector jumper.

The board terminals are marked with their microcontroller pin designations, namely A0-A4, C0-C2, C6 and C7.The microcontroller I/O ports have a 270 ohm resistor in series to provide a level of protection. This has the added

Board layout

1. Reset button2. USB connector3. External power source4. 0V socket5. Status LED

advantage that the outputs can be used to directly drive for example LEDs, in which case the output current is limited by the resistor to around 10mA. Additional series resistors can be introduced to limit the current still further if this is required.

The provision on-board of a ULN2803A driver means that higher voltage and current outputs can be achieved in addition to the 5V microcontroller I/O interfaces.The microcontroller port B0 to B7 outputs drive the eight ULN2803A channel outputs and are provided on terminals marked M0 to M7. These outputs can sink up to 500mA from an externally provided power source. The device also provides integral suppression diodes for inductive loads, such as motors and solenoids. When inductive loads are being driven, simply connect the external common positive power rail to the terminal marked CL.

18

10

13

2

5

3

9

7

11

6

6. Power select (External/USB)7. GP I/O8. Optional crystal fitting point9. PIC18F24k50 microcontroller10. ULN2803 driver chip

4

4

11. Driver output connections12. Positive power out13. Servo connectors14. Driver clamp diode

12

14

Page 5: USB boards - Matrix TSL boards... · loader, which sets the internal clock active at 48MHz and flashes the Green LED awaiting program download from mLoader and the host PC USB connection

5 Copyright © 2014 Matrix Technology Solutions Ltd

Connecting external devices

The circuit diagram below illustrates how the project board can be used for a wide range of applications, with minimal additional external circuitry. For example:A) Temperature measurement can be made with the addition of one resistor and thermistor to an analogue input of the microprocessor.B) A switch input can be achieved with a single pull-up resistor to the internal 5V power rail.C) Light Emitting Diodes can be directly driven from the microprocessor port outputs.D) Motors, actuators, bulbs and similar can be driven by the current sinking open collector outputs on terminals M0 to M7. These devices can be powered by an external source up to 50V. In the case of inductive loads, also connect the clamp diodes via terminal CL as shown. Components such as LEDs connected to these outputs will require a current limiting resistor.

Do not exceed the maximum limitations listed below.Maximum individual sink current for transistor drivers on terminals M0 to M7: 500mAMaximum total sink current for all transistor drivers on terminals M0 to M7: 1200mAMaximum off state voltage to transistor drivers on terminals M0 to M7: 50VMaximum output current sink or source by any microprocessor I/O pin: 25mAMaximum total current sunk by all microprocessor ports: 200mAMaximum total current sourced by all microprocessor ports: 185mAFor further details please see the respective datasheets for the devices used on this board, the 18F24K50 and ULN2803A.

A

B

C

D

D

D

Page 6: USB boards - Matrix TSL boards... · loader, which sets the internal clock active at 48MHz and flashes the Green LED awaiting program download from mLoader and the host PC USB connection

6 Copyright © 2014 Matrix Technology Solutions Ltd

Circuit diagram

Page 7: USB boards - Matrix TSL boards... · loader, which sets the internal clock active at 48MHz and flashes the Green LED awaiting program download from mLoader and the host PC USB connection

7 Copyright © 2014 Matrix Technology Solutions Ltd

HP4829 - Prototype board

General informationThe Matrix HP4829 Prototyping Board provides an easy to use solution for rapid prototyping of microcontroller applications. It is based on the Microchip 18F24K50 high performance 8 bit processor with enhanced peripheral features.

Circuit descriptionThe board is normally powered at 5V from a USB hub via the on-board USB-B socket.

The prototyping area consists of 17 rows of holes that are split into 2 sets of 5 interconnected holes per row. This allows for wiring of standard DIL (Dual In Line) packaged integrated circuits.

Board layout

1. USB connector2. Reset button3. 5V socket4. GP I/O5. Optional crystal fitting point6. 0V socket7. PIC18F24k50 microcontroller8. Sets of five holes all connected internally. 9. Prototype board

Two SIL headers provide wire holes to connect the prototyping area to the pins of the microcontroller. When connecting devices to the microcontroller pins, care must be taken to not exceed maximum values allowable.

Do not exceed the maximum limitations listed below.Maximum voltage applied to any I/O pin: 5.5VMaximum output current sink or source by any microcontroller I/O pin: 25mAMaximum total current sunk by all microcontroller ports: 200mAMaximum total current sourced by all microcontroller ports: 185mAFor further details please see the manufacturers datasheet for the device used on this board, the 18F24K50.

1

23 3

4 4

6 6

7

5

9

8

8

Page 8: USB boards - Matrix TSL boards... · loader, which sets the internal clock active at 48MHz and flashes the Green LED awaiting program download from mLoader and the host PC USB connection

8 Copyright © 2014 Matrix Technology Solutions Ltd

Circuit diagram

Page 9: USB boards - Matrix TSL boards... · loader, which sets the internal clock active at 48MHz and flashes the Green LED awaiting program download from mLoader and the host PC USB connection

Matrix Technology Solutions Ltd.The Factory

33 Gibbet StreetHalifax, HX1 5BA, UK

t: +44 (0)1422 252380e: [email protected]

www.matrixtsl.com

HP1110 & HP4829