Home Price List Order Info P955H PIC Training Course BMP280 Mini Training Course PIR & RF Data Training Course

PIC Training Course
Mini Course Part 2: 2nd Edition
LCD, Keypad and ADC

Measuring temperature and
creating grow light & simple controller
New January 2024

We have added new features to the training circuit for this second edition. It now has a high current P channel MOSFET and a backup battery to enable a greater range of experiments. All the original experiments are still possible and the circuit can also be configured as a simple grow light controller.

The GPICZLKTC has sockets to plug on a 16x2 LCD, keypad, LM35 temperature sensor, thermistor temperature sensor, BMP280 air pressure and temperature sensor, simple rf receiver, simple rf transmitter, nRF24L01 rf transceiver, 5 amp screw terminals to connect a high current load such as a grow light, and 3 way and 8 way i/o sockets.

The code can be written into the GPICZLKTC using a Brunning Software programmer or a PICkit 3 or PICkit 4. The instructions in the manual assume that a Brunning Software programmer is being used. So you must have (or buy) a P205, P206, P931, P942 or P955 programmer. A PICkit 3/4 is not needed for the experiments in the manual.

As with the first edition this course follows the pattern of our P955 PIC training cource. Instead of wading laboriously into detailed theory the interest of the reader is captured by jumping straight into creating useful code. All the code is created to run in a PIC18F24K22 fitted in the new GPICZLKTC General Purpose training circuit. The programme code is written in assembler which is the natural language of PIC microcontrollers. We avoid the complex procedures making this the easiest way to learn about programming PICs.

Chapter 2 gives essential information about the PIC we are using. We start the study in chapter 3 by loading assembler from the built in library to set up the PIC, then we type in code to turn on the RGB LEDs one at a time in sequence. We load the library code to drive the LCD and the keypad and experiment with these. In chapter 4 we learn about using the analogue to digital converter then in chapters 5, 6 and 7 we create the code to measure temperature using three different sensors: LM35 and thermistor temperature sensors and BMP280 temperature and air pressure sensor. In chapter 8 we combine the three systems of temperature measurement and display all three on the LCD. It is the ideal way to compare the results.

In chapters 9, 10 and 11 we configure the training circuit as a simple grow light controller powered by a 12v plugtop power supply. Then we create code to use the software Real Time Clock to switch the grow light on and off to simulate sunny summer days with 14 hours of bright light and 10 hours of darkness. When you purchase this course you have the option to buy the LEDs and heatsinks needed to build the 20 watt grow light. The instruction for designing and building the grow light are in chapter 9 but if you prefer you can purchase a 12v grow light from the internet.

Software is usually supplied on CD. If you require software on memory stick send an email request to pic@brunningsoftware.com

Option A:

Mini course part 2..... £57.00
including delivery to UK

GPICZLKTC supplied built and tested.


Book: Mini Course Part 2 2nd Edition
        168 pages 210x150mm.
+ GPICZLKTC general purpose PIC circuit.
+ 2 line 16 character LCD.
+ Keypad
+ PIC18F24K22
+ LM35 temperature sensor.
+ Thermistor temperature sensor.
+ BMP280 temperature & pressure sensor.
+ PIC assembler and assembler text on CD
+ 4xAA battery box + lead

Option B:

Mini course part 2
including grow light kit..... £79.00
including delivery to UK

GPICZLKTC supplied built and tested.


Book: Mini Course Part 2 2nd Edition
        168 pages 210x150mm.
+ GPICZLKTC general purpose PIC circuit.
+ 2 line 16 character LCD.
+ Keypad
+ PIC18F24K22
+ LM35 temperature sensor.
+ Thermistor temperature sensor.
+ BMP280 temperature & pressure sensor.
+ PIC assembler and assembler text on CD
+ Kit of parts for grow light:
      10 Red LED 3w 660nm
      8 Blue LED 3w 445nm
      6 Heatsink 150x20x6mm
      3 Constant 700mA regulator
      1 DC input socket
      1 Slide switch
      Glue & wood not supplied
+ 12v 2a plugtop power supply

Option C:

Mini course part 2..... £77.00
including P205 programmer
including delivery to UK

GPICZLKTC supplied built and tested.


Book: Mini Course Part 2 2nd Edition
        168 pages 210x150mm.
+ GPICZLKTC general purpose PIC circuit.
+ P205 PIC programmer
+ USB to PC lead
+ 2 line 16 character LCD.
+ Keypad
+ PIC18F24K22
+ LM35 temperature sensor.
+ Thermistor temperature sensor.
+ BMP280 temperature & pressure sensor.
+ PIC assembler and assembler text on CD
+ 4xAA battery box + lead

Option D:

Mini course part 2
including grow light kit..... £99.00
including P205 PIC programmer
including delivery to UK

GPICZLKTC supplied built and tested.


Book: Mini Course Part 2 2nd Edition
        168 pages 210x150mm.
+ GPICZLKTC general purpose PIC circuit.
+ P205 PIC programmer
+ USB to PC lead
+ 2 line 16 character LCD.
+ Keypad
+ PIC18F24K22
+ LM35 temperature sensor.
+ Thermistor temperature sensor.
+ BMP280 temperature & pressure sensor.
+ PIC assembler and assembler text on CD
+ Kit of parts for grow light:
      10 Red LED 3w 660nm
      8 Blue LED 3w 445nm
      6 Heatsink 150x20x6mm
      3 Constant 700mA regulator
      1 DC input socket
      1 Slide switch
      Glue & wood not supplied
+ 12v 2a plugtop power supply

Home Price List Order Info P955H PIC Training Course BMP280 Mini Training Course PIR & RF Data Training Course