Home Price List Order Info P928 PIC Training Course P931 PIC Training Course P942 PIC Training Course

PIC Training and Development System P931 & P942
for Windows XP, Vista, and Windows 7 and 8.

For absolute beginners
and for beginners with a professional interest:-

P931 & P942 PIC Training Courses
Teaching PIC Assembler and C
and (optional) PC Visual C# & Easy USB
(Easy USB added 1st March 2012)

Our PIC training and development system is a complete course which introduces PIC microcontrollers to absolute beginners.

Update to PIC16F627A
In March 2007 we completed a total revision of the course and we changed the focus away from the rather out dated PIC16F84 to the PIC16F627A.

Update to PIC16F1827
Three years later in March 2010 technology had again moved forward in leaps and bounds, and a new low cost easy to use microcontroller was just starting to roll off the production line at Microchip. These are part of the new eXtremely Low Power family of PICs. In March 2010 we completed a further update of our training course to use these very latest PICs. The course is now centered around the PIC16F1827. This offers many extra features, four times more memory, is just as easy to use, yet costs a little less than the PIC16F627A.

Integration of Easy USB
Now 1st March 2012 we have just finished the process of integrating our Easy USB system into the course. While doing this we have created two updated versions of the programmer/experimental module. The P931 version takes its power only from the USB while the P942 version has the option to use a separate power supply.

Quick summary of the course
The first book starts with a gentle introduction to the essential background material with all the programming in assembly language but because we use simple programming techniques the concepts are easy to understand.

The second book introduces the C programming language starting with simple programmes for the PIC16F1827, then showing how these programmes can be run in the PIC16F1936, PIC16F627A and PIC16F84. C programming for 18F PICs is also covered with seven chapters which were added in the summer of 2009.

The third book, which is optional, introduces PC programming and serial interfacing. We learn to programme the PC using simple Visual C# techniques, then use PIC assembler with Easy USB to send data between your PC and a PIC.
Our P931 and P942 PIC training and development system consists of our new USB powered 16F and 18F PIC programmer module, a 318 page book introducing PIC assembly language in the simplest possible way, a 304 page book which takes you slowly into the C programming language, a 294 page book which teaches serial communication between a PC and a PIC, and software comprising a PIC assembler and a C compiler.

This picture shows the P931 programmer/experimental module. This has two USB sockets, one for control and one for experimental use. The control PIC has two modes of operation, its normal programming mode, and a USB to USART mode. Programme your PIC in the usual way then flip the red switches and your PIC can use the control PIC as a serial link to your PC.

The P931 programmer is powered from your PC via the USB cable and can be connected to any USB port on your PC.
This picture shows the P942 Programmer/experimental module.

The P942 course provides exactly the same training as the P931 course. The difference is that the P942 programmer/experimental module has extra facilities which make it ideal for students with a professional interest.

The P942 programmer/experimental module can be powered from your PC via the USB lead or from a separate power supply. When run from a separate power supply it verifies at +10% volts as well as normal and low volts as required by production programmers. The P942 can write to 3.3 volt as well as 5 volt PICs, and it has an RS232 port as well as a USB port connected to the test PIC.

In all other respects the P942 course is the same as the P931 course.

The P942 version of our programmer module needs more complicated switching so we use a single multi way switch in place of the red switches.

The P942 programmer can be powered from a separate power supply or from your PC via the USB cable, and can be connected to any USB port on your PC.

Experimenting with PIC Microcontrollers (using BSPWA and MPASM) 6th Edition

Everyone should start programming PICs using assembly language because this is the only way to fully understand what happens, but there is a general misconception that PIC assembly language is difficult. Imagine trying to teach English grammar to a child before allowing him or her to speak yet that is how most books approach a technical subject. Our first book introduces PIC assembly language programming by jumping straight in with four easy experiments. The first is explained over seven and a half pages assuming no starting knowledge of PICs. The programmes are tested using the simulator then written into the test PIC and run in the real world.

Then having gained some practical experience we study the basic principles of PIC programming, learn about the 8 bit timer, how to drive the liquid crystal display, create a real time clock, experiment with the watchdog timer, sleep mode, beeps and music, including a rendition of Beethoven's Fur Elise. Then there are two projects to work through, using a PIC as a sinewave generator and investigating the power taken by domestic appliances.

The second project requires us to measure voltages and currents. Previously we needed to change to using a more expensive PIC but an analogue to digital converter is one of the extra features contained in the PIC16F1827. Now we are able to continue using the same PIC.

Finally we learn how to adapt the experiments right through the book so the software can be run in the PIC16F627A family, PIC16F84 and PIC18F2321 family. In the space of 24 experiments, two projects and 56 exercises the book works through from absolute beginner to experienced engineer level, covering a comprehensive selection of the most up to date microcontrollers.

For most of the experiments we use the Brunning Software assembler BSPWA. But in Chapters 3M and 5M we repeat some of the previous experiments using the official Microchip assembler MPASM. The text used for both assemblers is identical so when we repeat the experiments we simply load in the file we have already created using BSPWA. So we benefit from the simplicity of BSPWA while also learning to use MPASM.

This book is wirobound to open flat, 240mm x 170mm, 318 pages.

For most programmes the Brunning Software PIC assembler BSPWA requires no setting up. Start the programme running. Click [Load Template] to create the top six lines. Start typing your programme text.

Click [Build] to create the PIC code. Click [Start Simulator] to test the code. Connect the Brunning Software programmer module to your PC and fit a test PIC into one of the ZIF sockets. Click [Write Test PIC] to write the code into the test PIC. Click [Run Test PIC] to start the programme running.

For more information about BSPWA 7.1 click here.

Experimenting with PIC C - 6th Edition

We start by typing a very simple programme in C which gets the PIC to turn on two LEDs. Then we discover how easy it is to use C to create programme loops, and we experiment with IF statements. We learn how to use C to access the 8 bit and 16 bits timers, we write messages to the LCD, and use the keypad to enter numbers.

Then its time for 25 pages of serious study where we read about some of the more complex C techniques. We are not expected to remember this, the idea being to start the process of understanding the deeper aspects of C.

As we work through chapters 9 to 14 we use a PIC to generate a siren sound, create a freezer thaw warning device, and use a thermistor connected to a PIC to measure temperature. We use the PIC as a step up switching regulator, and to control the speed of a DC motor with maximum torque still available. Then we study how to use any PIC to switch 240 volt AC supplies using an optoisolated triac driving a high current triac. We study how to use the PIC's USART. We start our USART experimenting with direct PIC to PIC serial communication. Then we expand this to experiment with PIC to PC communication using the control PIC in its USB to USART mode. For the PC side of these experiments we use a serial coms facility which is built into BSPWA to avoid needing to write a programme for the PC. (When you work through the third book you will learn how to create your own PC programmes).

Chapters 15 to 21 have been added with the 4th edition of Experimenting with PIC C published on 1st December 2009. These seven chapters introduce C for 18F PICs. We start with a very simple programme, experiment with the built in timer, write to the LCD and read the keypad. Then we make a direct comparison between 18F assembler and C by experimenting with the complex calculations needed for temperature measurement. We end by using C to write the code for 18F PIC to PC serial communication.

This book is wirobound to open flat, 240mm x 170mm, 304 pages.


(optional) Experimenting with Serial Communication - 4th Edition

This third stage of our PIC training course is optional. It starts with simple experiments using a PIC18F2321. We use the PIC to flash LEDs and to write text to the LCD. Then we begin our study of PC programming by using Visual C# to create simple self contained PC programmes. When we have a basic understanding of PC programming we experiment with simple PC to PIC serial communication. We use the PC to control how the PIC lights the LEDs then send text messages both ways. We use Visual C# to experiment with using the PC to display sinewaves from simple mathematics. Then we expand our PC and PIC programmes gradually until a full digital storage oscilloscope is created. The final audio oscilloscope has harmonic analysis and sophistcated triggering. For all these experiments we use the P931 programmer as our test bed. When we need the serial link to the PC we flip the red switches to put the control PIC into its USB to USART mode.

The second half of Experimenting with Serial Communications 4th Edition starts with an introduction to our Easy USB. Then we repeat some of the serial experiments but this time we use a PIC18F2450 with its own USB port which we connect directly to a USB port of your PC. We follow this with essential background study then work through a complete project to use a PIC to measure temperatures, send the raw data to the PC, and use the PC to calculate and display the temperature.

Easy USB is a perfect solution for simple and medium complexity project. For complex projects or where the timing is critical it is best to split the action between two or more PICs. In the last chapter of the book we complete the study by learning how to use the library routines to programme a PIC18F2450 as a USB to USART converter.


This book is wirobound to open flat, 240mm x 170mm, 294 pages.

Our USB powered 16F and 18F PIC programmer/experimental module is an advanced design using a 28 pin PIC18F2450 to handle the USB data stream, the timing, programming, and voltage switching requirements. It has two ZIF sockets and a 14 pin socket which between them allow some 8 pin, 14 pin and 20 pin and most 18, 28 and 40 pin 12F, 16F and 18F PICs to be programmed. The onboard alphanumeric liquid crystal display is used by the control PIC to display system messages and can also be driven by the test PIC. A keypad and audio output socket for use by the test PIC are included on the PCB and the whole assembly is mounted on a base with an 840 socket plugboard stuck to the front section. The plugboard is powered by the switched 5 volt supply and has a current limit setting which will usually prevent damage to ICs when wiring mistakes are made.

The assembler, C compiler and programming software is supplied on a CD, along with library files, USB library and programme text.

The programming cycle starts by writing the code to the PIC with the voltage set to 5 volts and verifying that the PIC is properly programmed. It is then verifyed again at either 2 volts or 3 volts to ensure that it is not on the edge of failure. Our programmer module connects to any USB port of your PC, and all the software runs correctly within Windows XP, NT, 2000, Vista, and most Windows 7 PCs.

Price list:-

Our programmer/experimental module takes its power from your computer via
the USB connection, and can be connected to any USB port on your PC.
Our software runs within Windows XP, NT, 2000, Vista, 7, 8 etc.

Order code P931 or P942:-
  1. P931 PIC Training & Development Course comprising:-
    USB powered 16F and 18F PIC programmer/experimental module
    + Book: Experimenting with PIC Microcontrollers (6th edition)
    + Book: Experimenting with PIC C (6th edition)
    + PIC Assembler and PIC C compiler software
    + PIC16F1827, PIC16F1936 and PIC18F2321 test PICs
    + USB lead.......................................................................£148.00

  2. P942 PIC Training & Development Course comprising:-
    Pro spec 16F and 18F PIC programmer/experimental module
    + Book: Experimenting with PIC Microcontrollers (6th edition)
    + Book: Experimenting with PIC C (6th edition)
    + PIC Assembler and PIC C compiler software
    + PIC16F1827, PIC16F1936 and PIC18F2321 test PICs
    + USB lead.......................................................................£173.00

  3. UK postage and insurance...................................................£10.00
    (Europe postage and insurance.......£20.00. Rest of world......£30.00)

  4. Optional Serial Communications Extension comprising:-
    Book: Experimenting with Serial Communications (4th edition)
    + PIC18F2450 test PIC
    + USB lead......................................................................£ 31.00
To create your order click: Go to P931 & P942 item selection page


The programmer/experimental module takes its power from your computer via the USB
connection and so does not require a separate power supply. The programmer/experimental
module can be connected directly to any USB port on your PC.


We also sell PICs if ordered with the PIC training system:-

PIC16F1827... 18 pins... 4k x 14... USART+ADC... £1.50 inclusive
PIC16F1936... 28 pins... 8k x 14... USART+ADC... £2.00 inclusive

PIC18F2321... 28 pins... 4k x 16... USART+ADC... £3.25 inclusive
PIC18F2450... 28 pins.. k x 16... USB+USART+ADC... £3.70 inclusive

Optional kit of components
for Experimenting with PIC C


Full set of components for
white LEDs and motors tests
in chapters 12 and 13, including
all wire links and motors wired
with connecting leads.
Plus sounder and thermistor
for chapter 10 (Freezer thaw),
and chapter 11 (temperature tests).
As listed below:-

2 off PIC16F1826/7
3 off ultra bright white LEDs
.....30000 mcd, 20mA, 15 deg
3 off low current red LEDs
1 off 100uH inductor
1 off 4v3 zener diode
2 off FDP6035AL MOSFET
2 off 1A schottky diodes
2 off small DC motors
2 off variable resistors
1 off optoisolated triac
1 off BTA16-600B triac
1 pack resistors
1 pack capacitors
1 off push button switch
1 pack trimmed wire links
1 PP3 battery lead to two pins
1 battery holder 2 x AA
1 battery holder 4 x AA

1 off 100k thermistor
1 off piezo sounder

1 pack of components
..... for phaseshift oscillator


Complete kit of parts..............£31.00
Postage UK £1.00, Europe £1.50, Rest £2.50
Some of the experiments in "Experimenting with PIC C" require circuits to be built up on the plugboard. The components for the experiments in chapters 12 and 13 are listed above on the right and are an optional extra. If this optional kit is purchased there is no soldering involved. The links are supplied cut to the correct lengths and the motors are supplied wired with connecting leads. Full point to point wiring instructions are included in the book, and the only tools needed to construct the circuits are a pair of side cutters and a pair of pointed nose pliers. Resistors are individually bagged and the other components are grouped logically so that no previous knowledge of components is needed. As well as learning about PIC programming this is also an excellent way to learn about some complex electronic circuits.
The experiment with the 3 white LEDs creates a light bright enough to be used as a torch. The brightness has to be seen to be believed!

The two experiments using the PIC16F1827 to control the speed of first one and then two motors are fascinating. This PIC has two comparators built in. We are able to use these to monitor the emf so that the full torque is available even at very low speeds. The theory behind this is fully explained in the book.

Chapter 14 of Experimenting with PIC C introduces serial data communication using the PICs Universal Synchronous Asynchronous Receiver Transmitter (USART). It sounds complicated but it is actually very easy to understand. We start with PIC to PIC serial communication. To do these experiments we need two PIC circuits. One PIC is fitted in the programmer module and programmed as the master. The slave circuit can be wired in the attached plugboard but it is better to wire it in a separate plugboard as shown so the two circuits can be moved apart.

When the slave circuit is fully wired its PIC can be programmed while in the circuit by running a programming lead to the 40 pin ZIF socket as shown above.

When both PICs are programmed we connect the two circuits together using a 3 way lead and then start the tests. The master PIC should be fitted in the 40 pin ZIF socket but it was left out of this photograph!
The wiring of the slave circuit with the programming lead fitted.
The same slave circuit with the serial lead fitted.

(Space for third section to be added)


Mid range PICs Programmed

Our Windows based assembler BSPWA_16F can programme the 16F PICs listed below using our P931 programmer module:-

8 pin 18 pin 28 pin 40 pin
PIC12F629 PIC16F84 PIC16F870 PIC16F871
PIC12F675 PIC16F84A PIC16f872
PIC16F873 PIC16F874
PIC12F1822 PIC16F627 PIC16F876 PIC16F877
PIC16F628
14 pin PIC16F873A PIC15F874A
PIC16F630 PIC16F627A PIC16F876A PIC16F877A
PIC16F676 PIC16F628A
PIC16F883 PIC16F884
PIC16F1823 PIC16F88 PIC16F886 PIC16F887
     
PIC16F1826 PIC16F1933 PIC16F1934
PIC16F1827 PIC16F1936 PIC16F1937


18F PICs Programmed

Our Windows based assembler BSPWA_18F can programme the 18F PICs listed below using our P931 programmer module:-

18 pin 28 pin 40 pin
PIC18F1230 PIC18F2221 PIC18F4221
PIC18F1330 PIC18F2321 PIC18F4321
PIC18F2420 PIC18F4420
PIC18F2450 PIC18F4450
PIC18F2455 PIC18F4455
PIC18F2520 PIC18F4520
PIC18F2525 PIC18F4525
PIC18F2550 PIC18F4550
PIC18F2620 PIC18F4620
  20 pin    
PIC18F13K22 PIC18F23K22 PIC18F43K22
PIC18F14K22 PIC18F24K22 PIC18F44K22
PIC18F25K22 PIC18F45K22
PIC18F26K22 PIC18F46K22


What are the PIC16F1936 and PIC18F2321

The PIC16F1826 or PIC16F1827 is the best place for a newcomer to begin learning about microcontrollers because these are very low cost and easy to use, and they are drop in replacements for the very popular PIC16F84 (with software changes). For projects needing a USART and an analogue to digital converter it is better to use a 28 pin PIC. For projects needing up to 2048 locations of programme memory the PIC16F1933 or PIC16F1936 are usually the best choice although a PIC18F2221 could be considered. For projects needing between 2048 and 4096 locations of programme memory the PIC18F2321 is perfect although a PIC16F1936 could be considered. For projects needing more than 4096 it is usually easier and better to use an 18F PIC such as a PIC18F2525 or PIC18F4525.


Our P928, P931 and P942 courses all provide the same training, the differences are in the features offered by the relevant
programmer/experimental module. This is summarised in the table below.

P928-X P931 P942
Basic price £174 £148 £173
PICs programmed 16F and 18F 16F and 18F 16F and 18F
Power PSU only USB only USB or PSU
Write verify 5v then 2v or 3v then +10% 5v then 2v or 3v 5v (3.3v) then 2v or 3v then +10%
Nominal test voltage 5v only 5v only 5v or 3.3v
Experimental ports USB, RS232 and USART USB and USART USB, RS232 and USART
Control link to PC RS232 (and to USB using supplied adaptor) USB only USB only

Suitable PCs

Window XP, 2000, Vista,
and Windows 7 and 8.
Window XP, 2000, Vista,
and Windows 7 and 8.
Window XP, 2000, Vista,
and Windows 7 and 8.



Home Price List Order Info P928 PIC Training Course P931 PIC Training Course P942 PIC Training Course