chipKIT Lenny | |
---|---|
Specifications | |
Controller | PIC32MX270F256D |
Flash | 256KB |
SRAM | 64KB |
Speed | 40MHz |
Information | |
Board Define | _BOARD_LENNY_ |
Links | |
Manufacturer | Majenko Technologies |
Product Page | majenko.co.uk/lenny |
User Guide | DS1184.pdf |
Tech Support | chipkit.net/forum |
Bootloader HEX | MAJENKO_LENNY_40MHZ.hex |
Purchase From | majenko.co.uk/lenny microchipDIRECT.com |
The chipKIT Lenny is designed to be as close to the Arduino Leonardo as physically possible. The choice of microcontroller, the PIC32MX270F256D with advanced Peripheral Pin Select, means GPIO pin functions can be mapped to match those of common Arduino boards. By default that mapping is configured to be equivalent to the Arduino Leonardo.
LED L is on digital pin 22. LED TX is on digital pin 23. LED RX is on digital pin 24. Power (ON) LED is on 3.3V power.
Analog Input | Digital Pin |
---|---|
A0 | 14 |
A1 | 15 |
A2 | 16 |
A3 | 17 |
A4 | 18 |
A5 | 19 |
Serial Object | UART | TX Pin | RX Pin |
---|---|---|---|
Serial | USB | none | none |
Serial0 | UART1 | 1 | 0 |
Serial1 | UART2 | 2 | 4 |
I2C Object | Channel | SDA Pin | SCL Pin |
---|---|---|---|
DTWI0 / Wire | 1 | SDA (28) | SCL (29) |
DTWI1 | 2 | A4 | A5 |
SPI Object | Channel | MOSI Pin | MISO Pin | SCK Pin |
---|---|---|---|---|
DSPI0 / SPI | 1 | 11 | 12 | 13 |
DSPI1 | 2 | 27 | 25 | 26 |
The PROG button used to enter bootloader mode is on digital IO 21. By default it is connected to the FastProg circuit to allow rapid single-finger access to the bootloader. This may be disabled by cutting the link adjacent to the PROG button.
When you want to upload a new sketch to the chipKIT Lenny, you need to put it into bootloader mode. This is done by simply tapping the PROG button.
If FastProg has been disabled you should instead hold the PROG button whilst briefly pressing the RESET button.
The LED "L" should start blinking to indicate the bootloader is running.
To get the most out of the Lenny you will want to install the USB Device Library. This allows you to use the Lenny (and similar direct-USB boards) as:
No, it's not broken. The USB interface is only active when either the bootloader is running or your sketch has specifically requested that it be used through the use of, for example, "Serial.begin(115200);". If your sketch (such as the default Blink sketch) doesn't use the USB interface then the computer won't see the board at all. Pressing the PROG button will enter the bootloader and the computer should then see the board as a COM port.