PIC18F47J53 Pinguino

= Important Warnings for all Pinguino Users =

Important Warnings: Please read the important warnings at least once!

= Features =

Microcontroller
The Pinguino 47J53A board is built with a Microchip PIC18F47J53 microcontroller and is USB 2.0 compatible.

The characteristics of this microcontroller are:


 * Microcontroller: PIC18F47J53 (TQFP44 package)
 * 128KB Program Flash Memory
 * 3800 RAM Bytes
 * 8 bit 12 MIPS core running at 48MHz
 * 9 nA Deep Sleep mode (Watch Webinar)
 * 200nA Sleep mode (RAM retention)
 * 700nA Real Time Clock & Calendar operation in Sleep modes
 * 330nA Watchdog Timer operation in Sleep modes
 * Integrated full speed USB 2.0
 * Deep Sleep mode ideal for battery applications
 * Peripheral Pin Select for mapping digital peripherals to various I/O for design flexibility
 * Hardware RTCC provides clock, calendar & alarm functions
 * Charge Time Measurement Unit (CTMU) supports capacitive touch screens
 * 3 Enhanced Capture / Compare / PWM modules
 * 2 MSSP serial ports for SPI or I2C™ communication
 * 2 Enhanced USART modules
 * 8-bit Parallel port
 * 3 analog comparators
 * 13 ch, 12-bit ADC
 * Self programming Flash supports 10,000 erase/write cycles and 20 year data retention
 * Operating voltage 2.0 - 3.6V, 5.5V tolerant digital inputs



Model A



 * 1" x 2.3" (2.5 x 5.8 cm)
 * 32 I/O
 * 3 power sources: USB, Ext. Supply (from 4.75V to 12V) or Battery (from 2.8 to 4V - non-regulated to run low power modes).
 * On-board 3.3V regulator
 * Automatic switch between VBAT and USB (or External Power Supply).
 * 8 MHz Crystal
 * 32768 Hz Crystal (for RTCC or extreme low power modes)
 * Breadboard compatible (0.9" between 20-pin headers)
 * ICSP connector
 * Power and User LEDs
 * 4x3mm fixing holes

Revision 1.2

Model B (Pinguino Torda)



 * Credit card form factor 85.60 mm × 53.98 mm (3.370 in × 2.125 in)
 * 32 I/O
 * 3 power sources: USB, Ext. Supply (up to 12V) or Battery (from 2.8 to 4V - non-regulated to run low power modes).
 * On-board 5V and 3.3V regulators
 * On-board Li-Po battery charger
 * Automatic switch between Battery, USB or External Power Supply
 * Up to 48 MHz processor clock (8 MHz Crystal)
 * 32.768 Hz Crystal (for Real Time Clock and Calendar or extreme low power modes)
 * Microchip ICSP connector to use external programmer
 * USB bootloader obviating the need for a programmer device
 * Charge, power and user LEDs
 * 2xUEXT connectors with Serial, SPI and I2C
 * 4x3mm fixing holes

Revision 1.0

= Pin Out =

Schematic

 * [[Media:Pinguino47j53A-1_2.pdf|Pinguino 47J53 A Revision 1.2]]
 * Kicad files

Schematic

 * |Pinguino 47J53 B Revision 1.0
 * Kicad files

= First Programs : 6 ways to blink a LED =

Here are 6 ways to blink the built-in Led (User Led) on your new Pinguino board.

= Electrical Characteristics =

Operating conditions at 25°C

¹ If board is powered via by a USB connection only 500ma is allowable under USB 2.0 specifications.

= Power requirements =

The Pinguino 47j53 boards can be powered in a number of ways:


 * USB Socket – USB power from a USB Host.
 * USB Socket – Powered by a USB charging/power adapter.
 * VIN pin: 7-12V
 * VBAT pin: 2.8-4V (non-regulated to run low-power battery modes)

3.3V is regulated with AMS1117-3.3 chips.

Warning: If supplying voltage to the VBAT pin ensure this is regulated when not using battery to prevent damage to the PIC.

= On-Board Features =

System Clocks
An on-board 8 MHz crystal is used to provide the 48MHz system clock for the USB board. An additional 32.768 KHz crystal is also installed for use with the PIC18f47J53 Real time clock (RTCC), 8 bit or 16 bit timers.

12-bit Analog connector
A00 to A07 Pins (D16 to D23) …

Port B (CTMU / Servo / External Interrupt)
D00 to D07 Pins …

Port C
Model A : D24 to D31 Pins …

Model B : D08 to D15 Pins …

Port D (8-bit Parallel Port / Display connector)
Model A : D08 to D15 Pins …

Model B : D24 to D31 Pins …

UEXT connectors (model B only)


The UEXT connector presents power and three serial buses: Asynchronous serial communication (UART), I²C, Serial Peripheral Interface Bus (SPI). All pins conform to 3.3 volt digital logic. The asynchronous serial bus requires additional level-shifting circuits and connectors to support RS-232, RS-422, RS-485, DMX512, or MIDI.

Notes:
 * 1) Direction is relative to host board. I = Input, O = Output.
 * 2) S = Power Supply, PP = Push-Pull logic, OD = Open-Drain logic, all pins conform to 3.3 volt digital logic

5V warning
Pinguino Torda boards might provide 5V output on UEXT pins if they are configured to operate at 5V voltage. If the 3.3V/5V jumper is set to 5V - this jumper also changes the voltage available at pin #1 of UEXT and also the voltage levels of all data signals available there (UART, SPI, I2C). Most UEXT modules work at 3.3V – they would get damaged if the board has such jumper set to 5V.

ICSP Connector
There is a provision for 6 pin In-Circuit Serial Programmer (ICSP) connector (male header or female socket) on the board. This is fully compatible with Microchip’s PICkit3 programmer. It is also compatible with the PICkit2 provided you use the device file in this zip file to which device entries for both the PIC18F27J53 and PIC18F47J53 have been added and successfully tested.

Switches/LED indicators
= Bootloader =

Model A

 * Bootloader v4.x HEX files
 * Bootloader v4.x Source files

Model B (2-button bootloader)

 * Bootloader v5.x HEX files
 * Bootloader v5.x Source files

Before telling the Pinguino IDE to upload your program you need to connect your board and put it in bootloader mode:

Press and hold down the USER button Press and release the RESET button Release the USER button

You should now see the BOOT/USER built-in LED (yellow) flashing. It means you and your Pinguino are ready to upload your program.

Once the upload is complete, the program will start automatically.

To exit the bootloader mode without uploading a new program:-

Press and release the RESET button.

The BOOT/USER LED will stop flashing and the previously installed program will start running again.

= How to get one ? =

The assembled Pinguino 47j53 Model A boards are NO LONGER available from the Pinguino Shop.

You can get the assembled Pinguino 47j53 Model B aka Pinguino Torda boards from the Pinguino Shop.