PIC18F45K50 Pinguino/hu

= Fontos figyelmeztetés minden Pinguino felhasználónak =

Fontos figyelmeztetés: Kérlek olvasd el a fontos figyelmeztetés-t legalább egyszer!

= Funkciók =

A Pinguino Board-ok ezen verziója Microchip PIC18F45K50 mikrocontrollerrel lett tervezve. Ez a Pinguino láb kompatibilis a régebbi 4550 Board-dal, képes +5V-ról működni.Valamint precíziós USB oszcillátorral rendelkezik ami lehetővé teszi USB projekt építését külső oszcillátor nélkül is. További fontos modul a CTMU. ami mérőberendezésekben használható fel.

A Board működtethető belső oszcillátorról vagy külső 8 vagy 20 MHz-es kiristállyal.. A Pinguino 45K50 USB 2.0 kompatibilis.

A Board jellemzői:

Az eredeti (angol) Microchip adatlap, hiba jegyzék, felhasználási példák és példa programok a PIC18F26J50 eszközhöz itt találhatóak.

= CAD File-ok (Kicad) =

KiCad egy EDA (tervezői) szoftver ami lehetővé teszi professzionális kapcsolási rajzok és nyomtatott áramkörök létrehozását. Utóbbit akár 16 szinten (layer) is. KiCad elérhető Windows, Linux és Apple OS X rendszereken és a licence a nyílt forrású GNU GPL v2 szabad szoftwer. KiCad-el te is meg tudod csinálni:


 * Kapcsolási rajz
 * Összekötési lista több formátumban (PCBNew, OrCAD, CadStar, Spice, ...)
 * PCB tervezés
 * 3D megjelenítésea a panelednek
 * Gyártási fájlok generálása (Gerber, fúró file-ok és bármi, ami a gyártáshoz kellhet)

További részletes magyarázatért keresd fel a hivatalos Kicad oldalt.

KiCad kapcsolási rajz és panel terv Pinguino 45K50-hez itt található.

A jobb eredmény eléréséhez mi felhasználtunk külső könyvtárakat is Walter-től : http://smisioto.no-ip.org/elettronica/kicad/kicad-en.htm

= Board ismertetés =

Schematic

A Bord-on található Reset gomb. Mikor a RESET gomb meg lett nyomva a Board letöltési üzemmódba lép. Ha 5 másodpercen belül a Pinguino IDE nem indít el letöltést, akkor az aktuális program elindul.

A Board a tápellátást USB-ről kap (+5V). Természetesen külső tápegységről is üzemeltethető opcionális +5V-os feszültség szabályozón keresztül (LM7805) VIN csatlakozás használatával. Továbbá két külső tápfeszültség csatlakozáson keresztül is üzemeltethető +2.3V - +5.5V közötti feszültséggel.

Kérlek olvasd el a PIC18F45K50 adatlapját is.

= Building Instructions =

The Pinguino 45K50 is one of the most simple boards to assemble.

It is small (71x26mm) but very easy to solder, even for kids.

It needs only 4 resistors and 3 capacitors to work.

We have added 2 LEDs, one reset button and a USB connector (as every Pinguino is a full-speed USB device).

The Pinguino 45K50 is also an upgradeable board.

If you need it, you can add a 5V regulator to feed the board from an external power supply.

'''It's also possible to add an external crystal. In this case, note that the PCB is fully compatible with the PIC18F4550 so you can easily turn your Pinguino 45K50 into a Pinguino 4550.'''

Bill Of Components
Optional
 * C6,C7     22pF (marked as 22)
 * C3        22uF (polarized, marked as 22uF)
 * C4        100nF (marked as 104)
 * X1        8- or 20 MHz crystal (low profile)
 * U1        LM7805 (5V regulator)
 * P0        External Power Supply connector (3-pin header strip)
 * 18F45K50  PIC18F45K50 or PIC18F4550

(*) Use 2.54mm Single Row Male Header Strip if you want a breadboard-ready Pinguino, Female if you want it like an Arduino.

Before you start soldering

 * Please read this before soldering.

The PCB has 2 sides. One is the component side (below):



The other one is the solder side (below):



On the component side of the board, identify the holes corresponding to the component's leads. Insert the leads in these holes and slightly bend them on the other side of the board so that the component does not fall out when the board is turned over for soldering.

Turn the PCB over and put it on a flat and dry surface with component side facing down.

Hold the soldering iron tip against one of the leads and the PCB pad for a few seconds until the joint heats up, then apply the solder wire to the joint. The solder will melt and cover the lead and the pad. Remove the soldering iron tip and the solder wire from the joint and allow the joint to cool for a few seconds. Repeat this process to solder the remaining leads of the component.

For more info on soldering, see here.



Populated component side

Construction

 * Place and solder all the resistors (3x 470R and 10K). Resistors are not polarised, so it does not matter in which direction they are placed, but for aesthetic purposes it makes sense to have them all point in the same direction. Trim the wires.


 * Optional : place and solder the two 22pF capacitors (C6 and C7, marked as 22). These capacitors are not polarised, so it does not matter in which direction they are placed, but it makes sense to place them so that you can still read their markings. Trim the wires.


 * Optional : place and solder the 8 or 20 MHz crystal. Trim the wires.


 * Place and solder the 2 x 20 round female header strip (as a DIP28 socket).


 * Place and solder the 100nF capacitors (C1 and C5, C4 is optional, marked as 104). These capacitors are not polarised, so it does not matter in which direction they are placed, but it makes sense to place them so that you can still read their markings. Trim the wires.


 * Place and solder the 220nF capacitor (C2, marked as 224). This capacitor is not polarised, so it does not matter in which direction it is placed, but it makes sense to place it so that you can still read its marking. Trim the wires.


 * Place and solder the 2-pin switch button. It does not matter in which direction it is placed.


 * Place and solder the 2 LEDs. An LED is a polarised part so the shorter lead must be put connected to GND. In other words: insert the shorter wire in the hole nearest to the switch button. Note that the Power LED is the nearest to the USB connector. Trim the wires.


 * Optional : place and solder the polarised 10uF electrolytic capacitor. The white or black stripe on the side of the capacitor must be at the side of minus sign on the PCB silkscreen (in other words, next to the 100nF capacitor). Trim the wires.


 * Place the USB connector and bend the two metal mounting tabs. Then solder it in place.


 * Place and solder all the pin-header connectors. Note they can be soldered on either side. It´s up to you. If you want to plug your board into a standard 2x5 solderless breadboard take care as you will only have one free row of holes to make connections once the board has been inserted.


 * Place and solder a 3-pin header connector where the silkscreen shows EXT|USB (at the end of the board. Place a jumper at the EXT or USB side to select External or USB power supply. If you only use the USB power supply you can just connect the 2 pins at the USB side with a wire or with some solder.


 * Place the PIC18F45K50 microcontroller in its socket. This will be easier if you first bend the two rows of pins a little bit in towards each other. Note that the microcontroller chip has a notch at one end. This notch must be at the end where the optional 5V regulator should be located.

= ICSP Programming (if required) =

In-Circuit Serial Programming (ICSP) is a way to upgrade/burn the Pinguino's firmware (bootloader).

Upgrading/burning the firmware is necessary only in two cases :


 * 1) you made your Pinguino yourself, you need to burn the bootloader only once.
 * 2) (in the unlikely event that) you crashed your Pinguino board.

If you bought a commercial board or you bought a board from the Pinguino Shop, the bootloader has been already burnt.

The source code (to be compiled) and .hex files (the one needed by your programmer, already compiled) for the bootloader (v4.x) can be downloaded at :


 * source code
 * .hex files

Bootloader_v4.14_18f45k50_INTOSC.hex is the correct bootloader code for a board running the internal oscillator (INTOSC) without any external crystal.

Using a PICkit-like programmer
Connect the PICkit or PICkit-like programmer with an ICSP Cable to the Pinguino pins (see table below) and upload the firmware with, for example, the Windows/OS X/Linux MPLAB X IDE, the Windows only MPLAB IDE or the Windows/OS X/Linux PICkit2 standalone program.

Using another Pinguino
In this part, I will explain how to connect a Pinguino to program the bootloader (firmware) on another one.

TO BE COMPLETED (for more information read also this)

= Testing the assembled board =



Connect a USB cable between your PC and your Pinguino board. The red (power) LED is ON. The bootloader starts and jumps to the user program (if there is any, if not nothing happens).

When the RESET button is pressed, the bootloader waits until a program is uploaded. The yellow (USERLED) LED blinks with a high rate until the user program starts to be received.

If the board is powered with an external power supply and the USB to PC cable is not connected, the bootloader waits about 5 seconds during which time the yellow LED stays lit and then jumps to the user program (if there is any).

Your are ready to play with your board and the Pinguino IDE.

Enjoy !!!

= 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.

= Troubleshooting =

Problem(s) with your Pinguino hardware? Please find help in the Forum here.

= Pin Out =



Update in progress.

= Fritzing =

To do.

= How to get one ? =

Kits
If you want to get a kit (including the PIC18F45K50 microcontroller with the USB bootloader pre-installed), please go to the Pinguino Shop

Europe VAT zone : 9.90 €

World (ex. VAT) : 8.20 € (about 11 US$)

Shipping cost  : 3.15 €

Blank PCBs
If you just want the PCB with silkscreen to build your own Pinguino 45K50, please go to the Pinguino Shop.

Europe VAT Zone : 6.05 €

World (ex. VAT) : 5.00 €

Shipping cost  :  3.15 €

Pre-programmed PIC18F45K50
If you just want the PIC18F45K50 microcontroller pre-programmed with the Pinguino bootloader to build your own Pinguino 45K50, please go to the Pinguino Shop.

Europe VAT Zone : 6.05 €

World (ex. VAT) : 5.00 €

Shipping cost  :  3.15 €