Using a PIC32MX4xx/5xx/6xx/7xx we have:
- 80 MHz power! (default on Pinguino 32X)
- 78 IO Pins (Arduino PIN 0 is PIC32 RC4 pin, see UBW32 pin order, look on eagle schematic)
- 16 Channels, 10bit ADC
- USB, DMA, OTG, CAN, LAN, RTC, SPI, i2c and more ...
First all, we need some vital pieces:
1- PIC32MX795F512L or a PIC32MX460F512L from Microchip, you can take 3 samples at Microchip.com, SAMPLES
2- A TQFP 100pins 0.4mm, U$1,50 at Futurlec, SMD_Adapters
TQFP Adapter 100pins/0.4mm
3- Some common electronics:
|Switch Button|| |
4- And a Breadboard!
Next we need do the hard work, solder the chip, yeah a SMD 100pins 0.4mm, less then a half millimeter. Thanks a friend, he soldered to me it...
I made a schematic with Pinguino PINs 0 to 78, using UBW32 pin order.
Pinguino32 minimum circuit
Here my Board:
1- You need a pickit3 or similar to program PIC32MX795, I used MPLAB-X (blogged)
2- You can use a pickit2 for PIC32MX460 (last supported PIC32), pk2cmd works very well.
3- We need powerup PIC32 or can't program it, for a UBW32 board use the USB cable.
If you have a PIC32MX460, this is the command line for program it, using ICSP port:
linux>$ pk2cmd -P -W -M -F UBW32_HIDBoot_MX460.hex
A simple code like blink a LED can be used with this Pinguino32X minimum and Pinguino32X IDE, for now IDE is under development but all 78 Digital IOs are working.