![Pololu P-Star 25K50 Micro Скачать руководство пользователя страница 12](http://html1.mh-extra.com/html/pololu/p-star-25k50-micro/p-star-25k50-micro_user-manual_1574946012.webp)
This diagram identifies the I/O and power pins on the P-Star 45K50 Mini. The diagram is also
available as a
[https://www.pololu.com/file/0J1384/p-star_45k50_mini_sv_pinout.pdf]
(547k pdf).
For more information about the PIC18F45K50 microcontroller and its peripherals, see Microchip’s
[http://www.microchip.com/PIC18F45K50]
LEDs
The P-Star 45K50 Mini has three indicator LEDs. These LEDs are connected in the same way on all
P-Stars.
The
yellow
LED is connected to RB6. Driving this pin
high
turns on the LED. In bootloader mode, the
bootloader drives this line high to turn on the LED (see
) but never drives it low. If this line
is high when the microcontroller starts up, the microcontroller will go into bootloader mode. A button
can be connected to RB6 as described in
. RB6 has an on-board pull-down resistor to
ensure that its voltage goes all the way down to 0 V when not being driven.
The
green
LED is connected to RB7, and lights when the pin is driven
high
. In bootloader mode, the
bootloader drives this line high to turn on the LED (see
) but never drives it low.
The
red
LED is connected to RC6, and lights when the pin is driven
low
. RC6 is the microcontroller’s
serial
TX
line, so the red LED serves as an indicator for when the board is transmitting serial data. If
you are not using serial, the LED can be used as a normal LED. To avoid interference with connected
serial devices, the bootloader does not use this LED.
Connectors
The P-Star includes a USB Micro-B connector that can be used to connect to a computer’s USB port
via a
[https://www.pololu.com/product/2072]
(not included). The USB connection
can be used to transmit and receive data from the computer, and a preloaded USB bootloader makes
it possible to program the board over USB. The USB connection can also provide power to the P-Star.
The board also has five pins arranged so that they can be directly plugged into a standard In-Circuit
Serial Programming (ICSP) connector, such as the one found on the PICkit 3. More information about
programming with the PICkit 3 can be found in
. The five pins are: MCLR, VDD, GND, RB7/
PGD, and RB6/PGC. The MCLR pin is pin 1.
Power
The P-Star 45K50 Mini SV can either be powered directly from the USB 5 V supply or from an external
voltage source between 5 V and 36 V, which is regulated to 5 V by a 500 mA ISL85415 switching step-
down (buck) converter from Intersil. (We also make a
based on this integrated circuit.). The board also has an auxiliary linear regulator
producing 3.3 V.
Pololu P-Star User’s Guide
© 2001–2019 Pololu Corporation
4. P-Star 45K50 Mini SV
Page 12 of 46