Programming PIC16 / PIC18 microcontrollers in C language. Article Three. A bit about iron

    All that is good when the LED blinks in the simulator, but it would be nice to see this action live.
    I will tell you briefly about the hardware of this process.


    From iron we need:
    - the actual controller with the harness;
    - programmer.

    According to the first paragraph, you can :
    a) assemble the circuitry on a breadboard;
    on the first and second:
    b) do it yourself;
    c) buy the finished product.

    Details on item a :
    Will be needed:
    - breadboard;
    - soldering iron, solder, flux;
    - basic soldering skills;
    - controller and associated piping;
    - nippers, pliers and other tools;
    - wires and other connectors.

    image

    Pros :
    - simple and fast for small circuits;
    - economically;
    Cons:
    - there is a certain indicator of complexity when the layout becomes too sticky;
    - very fragile design;
    - heavy troubleshooting (wire dropped, contact lost).

    Conclusion :
    For starters, the most it, if the question is acute $.

    On item b:
    We are looking for a popular circuit board debugging in the network. For example, here - olimex.com
    We look even better with the printed circuit board design.
    If there is no picture, you have to breed the board yourself.
    Download Sprint Layout 5. A very convenient and simple program for amateur (and not only) purposes.
    Breeding board. We read about the LUT method of manufacturing printed circuit boards at home.
    We print, iron, poison, trick, perform installation.
    For the programmer is similar. In this case, there are much more ready-made projects on the network with diagrams and patterns of conductors.
    To be needed in this case are added:
    - laser printer;
    - appropriate paper (usually coated, or film);
    - ferric chloride;
    - textolite;
    - patience.

    image

    Pros :
    - with sufficient skill, you can make high-quality products;
    - economically;
    Cons :
    - quite difficult in technical terms;
    - It will take a lot of time until decent results begin to turn out.

    On point in:
    About olimeks already mentioned. There is a good selection of debug / demo boards. There are no problems with delivery to Ukraine.
    Where else have I bought and with whom I am satisfied (not advertising):
    - Moscow - Terraelectronics, great choice, reasonable prices;
    - Kiev - Flykont, the choice is scarce, but for Ukrainians it is easier to buy.
    The fee will cost $ 50-100.

    image

    Programmers are easier. From cheaper I recommend JDM-like programmers. It works through the COM port. Price from $ 20.
    Of the more expensive used PonyProg. Now PICkit2. Last about 40 $. It works via USB.
    From software I recommend:
    - for JDM - WinPIC800;
    - ICProg;
    - PICKit sews directly from MPLAB, which is very convenient.

    image

    It turned out one water, but all the same to whom it will come in handy as a starting point.

    Also popular now: