P-Star 45K50 Mini SV

The P-Star 45K50 Mini SV is a small programmable module featuring Microchip’s PIC18F45K50 microcontroller. It packs a Micro-USB interface and 30 digital input/output pins onto a board measuring 2″ × 0.7″ and ships preloaded with a USB bootloader, so no external programmer is required.

AUD$ 29.95

Special Order  

Shipping from $7.90

+51 more from our supplier in 7-10 days

Our Code: SKU-004353

Supplier Link: [Pololu MPN:3156]


Description

P-Star 45K50 Mini SV dimensions, with U.S. quarter for size reference.

Overview

The Pololu P-Star 45K50 Mini SV is a general-purpose programmable module based on Microchip’s PIC18F45K50 microcontroller, which has 32 KB of flash program memory, 2 KB of RAM, and built-in USB functionality. On-board features of the P-Star (abbreviated P*) include a 16 MHz crystal, a USB Micro-B connector, and three user-controllable indicator LEDs. A switching step-down voltage regulator and power selection circuit allow the board to be powered from either USB or an external 5 V to 36 V source, while a current limit on the USB VBUS supply and reverse protection on VIN help protect it from accidental damage. The board ships with a USB bootloader that makes it easy to program the PIC microcontroller without using an external programmer.

Our comprehensive user’s guide provides the basics you need to get started with the P-Star as well as detailed technical information.

This product requires a USB A to Micro-B cable (not included) to connect to a computer.

P-Star 45K50 Mini SV, top view.

Features

  • Dimensions: 2″ × 0.7″ (2.05″ × 0.7″ including USB Micro-B connector)
  • Programmable Microchip PIC18F45K50 microcontroller
    • 32 KB flash (8 KB used by bootloader, leaving 24 KB available for user program by default)
    • 2 KB SRAM
    • 256 bytes of EEPROM
    • Native full-speed USB (12 Mbps)
  • Internally clocked at 48 MHz, resulting in execution speeds up to 12 million instructions per second (MIPS)
  • Precision 16 MHz crystal
  • 30 I/O lines in a small package
    • 28 user I/O pins on the two long sides of the board
    • 2 additional I/O pins available in other locations
    • 25 pins can be configured as analogue inputs
    • 2 PWM output signals (one of which can be sent to four different pins)
    • 5-bit digital-to-analogue converter (DAC) output
  • Three user-controllable LEDs
  • Reset button
  • USB Micro-B connector
  • Can be powered from USB or external source regulated to 5 V by onboard regulator
  • Operating voltage: 5 V to 36 V
  • 5 V logic voltage
  • Auxiliary 3.3 V linear regulator
  • Reverse-voltage protection on external power input
  • Ships with a proprietary USB bootloader developed by Pololu for the P-Star
  • Bootloader is usable from Windows, Linux, and Mac OS X with open source software
  • No external programmer required
  • Compatible with standard Microchip compilers, development tools, and programmers
  • Comprehensive user’s guide

Pinout

P-Star 45K50 Mini SV pinout diagram.

This diagram identifies the I/O and power pins on the P-Star 45K50 Mini SV. The diagram is also available as a printable PDF (547k pdf). For more information about the PIC18F45K50 microcontroller and its peripherals, see Microchip’s PIC18F45K50 documentation.

Included hardware

Two 1×18-pin breakaway 0.1″ male headers and one 1×7-pin breakaway 0.1″ male header are included with the P-Star 45K50 Mini. These header pins can be soldered in to use the board with perfboards, breadboards, or 0.1″ female connectors.

P-Star 45K50 Mini SV with included optional headers.

P-Star 45K50 Mini SV on a breadboard, shown with a vertical 5-pin ICSP programming header installed.

The P-Star family

The P-Star 45K50 Mini is part of our P-Star family. The table below lists the members of the family and shows the key differences between them.

P-Star 25K50 Micro (top) and P-Star 45K50 Mini SV (bottom).

P-Star 25K50 Micro P-Star 45K50 Mini SV
Microcontroller: PIC18F25K50 PIC18F45K50
User I/O lines: 19 30
Analogue inputs: 14 25
Reset button:  
Operating voltage: 5.5 V to 15 V 5 V to 36 V
Regulator type: linear switching step-down
Regulated current:(1) 100 mA 500 mA
Auxiliary 3.3 V regulator:  
Dimensions: 1″ × 0.6″ 2.0″ × 0.7″
Weight:(2) 1.3 g 3.5 g

1 These values are rough approximations for comparison purposes. Available current depends on input voltage, current consumed by the board, ambient conditions, and regulator topology.

2 Without included optional headers.


Specifications

Dimensions

Size: 0.7″ × 2.05″ × 0.17″1
Weight: 3.5 g2

General specifications

Processor: PIC18F45K50
RAM size: 2 Kbytes
Program memory size: 32 Kbytes3
Motor channels: 0
User I/O lines: 304
Minimum operating voltage: 5 V5
Maximum operating voltage: 36 V
Logic voltage: 5 V
Reverse voltage protection?: Y6
External programmer required?: N

Identifying markings

PCB dev codes: pc02c

Notes:

1
Without included optional headers. This measurement includes the USB Micro-B connector, which extends 0.05″ past the edge of the PCB.
2
Without included optional headers.
3
8 KB of the MCU's 32 KB of flash memory is used by the pre-installed USB bootloader. All 32 KB is available if you use an external programmer and erase the bootloader.
4
All 30 can be used as digital I/O, 25 can be used as analogue inputs, and one can be an analogue output. 28 of the 30 are available along the sides for use in a breadboard.
5
For light loads. The regulator's dropout voltage increases approximately linearly with the load, from a few millivolts at no load up to around 0.6 V at 500 mA.
6
On BAT+.

Resources

Documentation and other information

Pololu P-Star User’s Guide (Printable PDF)

User’s manual for the Pololu P-Star programmable modules.


Recommended links

PIC18F45K50 documentation
Microchip’s product page for the PIC18F45K50, with links to its datasheet and other resources.
Pololu USB Bootloader Utility (p-load) source code
MPLAB X Integrated Development Environment (IDE)
MPLAB X is a free IDE from Microchip for programming their PIC microcontrollers. It runs on Windows, Max OS X, and Linux. MPLAB X comes with the a simulator and the MPASM assembler. It works well with the MPLAB XC Compilers and the PICkit 3.
MPLAB XC Compilers
The MPLAB XC Compilers from Microchip are a family of C compilers for PIC MCUs. The compilers are free to use, but paid versions are available that provide better optimizations.
P-Star Examples
A collection example code and libraries for the P-Star.
PICkit 3
Microchip’s PICkit 3 programmer is a low-cost hardware debugger and programmer for PIC microcontrollers.
SDCC – Small Device C Compiler
SDCC is a free and open source compiler that supports many types of microcontrollers, including PIC MCUs that use the PIC18 architecture. The PIC18s are called PIC16 in the SDCC documentation and command-line interface because the instructions are 16 bits wide. As of August 2014, the SDCC manual states that the support for these PIC microcontrollers “is not yet mature and still lacks many features”.
PICBASIC PRO Compiler 3.0
A BASIC compiler that targets PIC microcontrollers.
M-Stack
M-Stack is an open source USB Stack from Signal 11 Software for Microchip PIC microcontrollers.
RPicSim
The RPicSim library provides an interface to the MPLAB X PIC simulator that allows you to write simulator-based automated tests of PIC firmware. RPicSim is written in the Ruby language and runs on JRuby.
XPRESS-BootLoader
This bootloader can run on the P-Star 25K50. It acts as a USB mass storage device and allows the P-Star to be programmed by copying a HEX file onto it.

Related Products