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

Special Offer until 31st August - £10 Off
PIC Training - Altitude & Total Height Gain Measurement

Using BMP280 Temperature and Air Pressure Chip
Second edition - we have added 4 chapters to the book and the box is now supplied cut and drilled

When first learning about PICs it is best to write the programme text in assembly language because when approached correctly that is the most enjoyable and easiest way to learn about PIC programming. However, although it is easy to use assembler to read the data from a BMP280, it would be a nightmear if we try to use assembler to convert the data into the actual temperature and pressure. But if we use C we can use the conversion equations as they are written in the BMP280 data sheets. C is a powerful programming language and can get very complicated. We avoid these complications by writing the code using only the easy to understand C instructions.

The course hardware consists of a GPIC28sov6 general purpose PIC circuit supplied as a kit or fully built, a box supplied cut and drilled, and a 120 page training manual. The Brunning Software BMP280 library code will be sent to your email address. You will also need a PICkit3/4 or a P205/P955 PIC programmer.



Click here to see construction details

Ideally you will already have some experience of PIC programming, but the course book does start with essential PIC C revision.

Then we study the BMP280 and learn to set up SPI serial communication between the PIC and the BMP280. We experiment with code to read and display the ID. Then we adjust the code to read the raw temperature data and the calibration data.

We study the temperature conversion equations and see how to write these in C. We expand the code to create the full C programme to read the raw temperature data, to calculate the actual temperature, and to display the temperature on the LCD.

Then we expand the code to read, convert and display the air pressure as well as the temperature.

Air pressure reduces if we walk up a hill. We use this fact to calculate and display height gained. Then we edit the code to display the total height gained when walking in hilly countryside.


Click here to see construction details
We supply the box cut and drilled and ready to use.












The LCD plugs into the GPIC28sov6 as shown in the picture.



The lid is also supplied ready to use with a cutout for the LCD and a hole for the RGB LED.







Fit the circuit into the bottom section then fit the lid.

Remember that the box MUST NOT BE SEALED. Air must be able to flow freely in and out so that air pressure can be measured.



The GPIC28sov6 is usually programmed using a PICkit3 (or PICkit4) plugged into the circuit using the 6 pin to 7 pin adaptor which is supplied with the hardware. It is also possible to use a Brunning Software P205 or P955 PIC programmer.

Option 1A. Experimenting with BMP280 (kit)..... £29.95 (Box not included)
including delivery to UK

GPIC28sov6 training circuit needs to be assembled and soldered. Box not included.

Kit
no
box

Book: Experimenting with BMP280 120 pages 240mm x 170mm.
+ GPIC28sov6 supplied as a kit.
+ LCD (requires 6 and 4 way plugs to be soldered)
+ GY-BM circuit with BMP280
+ Software library (sent to your email address).
+ Box not supplied
You also need two 2032 coin cell batteries (not supplied)
and PICkit3 (not supplied) or P205/P955 programmer can be used.
You also need to download the free Microchip XC8 compiler version 2.

Click here to see construction details


Option 1B. Experimenting with BMP280 (kit)..... £35.00 (Includes cut and drilled box
including delivery to UK

GPIC28sov6 training circuit needs to be assembled and soldered. Box supplied ready to use.

Kit
with
box

Book: Experimenting with BMP280 120 pages 240mm x 170mm.
+ GPIC28sov6 supplied as a kit.
+ LCD (requires 6 and 4 way plugs to be soldered)
+ GY-BM circuit with BMP280
+ Software library (sent to your email address).
+ Cut and drilled box (ready to use)
You also need two 2032 coin cell batteries (not supplied)
and PICkit3 (not supplied) or P205/P955 programmer can be used.
You also need to download the free Microchip XC8 compiler version 2.

Click here to see construction details


Option 2. Experimenting with BMP280 (Built & tested)..... £46.00
including delivery to UK

GPIC28sov6 supplied built & tested. Box supplied ready to use.

Built
and
tested

Book: Experimenting with BMP280 120 pages 240mm x 170mm.
+ GPIC28sov6 supplied built and tested.
+ LCD supplied with 6 and 4 way plugs fitted and soldered.
+ GY-BM circuit with BMP280
+ Software library (sent to your email address).
+ Cut and drilled box (Ready to use).
You also need two 2032 coin cell batteries (not supplied)
and PICkit3 (not supplied) or P205/P955 programmer can be used.
You also need to download the free Microchip XC8 compiler version 2.


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