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

Experimenting with PIC Microcontrollers 2nd Edition Book 2
including RF Data Link & Using Real Time Clock Library
This picture shows the house light switching PCB with the mains plug and light connected.

Updated December 2013

Real Time Clock Library
Radio Frequency Data Links
House Light Switching with RF
Temperature Measurement with RF

For students with some experience

Experimenting with PIC Microcontrollers Book 2 continues our study of PIC assembly language. But as the programmes are becoming more complex we use the library routines of BSPWA to help keep it simple. We flash LEDs using the PICs internal oscillator, use the keypad to select which LED is on, and write to the LCD. We experiment with simple time delays then use the PICs timer to create a precise delay. We experiment with the real time library routines and consider how to use real time to switch house lights to give the impression of being at home. We study the problems of using triacs to switch the lights and set up patterns to simulate realistic movements within the house. Lounge light on, go the the bathroom sequence, lounge light on again, go to the bathroom sequence, bedroom light on, all lights off. Then we consider how to use a radio frequency data link to control the lights. We study the principles of Manchester encoding and evaluate a simple reliable alternative system. Finally we experiment with measuring several temperatures using radio frequency data links to collect the temperature information from several measurement points.
Experimenting with PIC Microcontrollers Book 2 can be bought on its own or with a set of four printed circuit boards which can be used for the radio frequency experiments. Book 2 is suitable for students with some knowledge of programming PIC microcontrollers. You will need to own a P931 or P942 PIC training course before purchasing this extension.
This is a close up of the house light switching PCB. This circuit is fully self contained with mains low voltage power supply, radio receiver module, PIC microcontroller to decode the switching instructions, and triac mains switching circuit.

This will normally be supplied as a kit which needs to be assembled and soldered.

RXHSE01-kit comprises:-
9 resistors
5 capacitors
3 diodes
4 LEDs
5V regulator
Optoisolated triac
High current triac
Various sockets
433Mhz radio receiver module
PIC16F1827 microcontroller
Blank printed circuit board

Order code RXHSE01-kit......... £18.00 each

Can be supplied assembled:-
Order code RXHSE01-built...... £26.00 each

Blank PCB (plated through)..... £ 4.80 each

(Uses 433Mhz band which is allocated for UK and Europe but not USA)
This picture shows the radio transmitter circuit with its back up battery pack. This PCB has no provision to hold the microcontroller. It is designed to be plugged onto another PCB which will contain the microcontroller and a display.

This will normally be supplied as a kit which needs to be assembled and soldered.

TXHSE01-kit comprises:-
3 resistors
3 capacitors
2 diodes
5V regulator
2 push button switches
2 slide switches (normal + miniature)
Various sockets and plugs
433Mhz radio transmitter module
Blank printed circuit board
Order code TXHSE01-kit......... £12.00 each

600 mA/h backup battery........ £ 4.30 each

Can be supplied assembled with 600 mA/h battery:-
Order code TXHSE01-built...... £21.00 each

Blank PCB (plated through)..... £ 3.00 each
UK 3V - 12V unreg 0.5A PSU.. £ 8.00 each


This picture needs to be updated as it shows the original system. We now use the GPIC28 module as the processor circuit (in the middle).
This shows the full system needed for the house light transmitter. We are using the Brunning Software GPIC28 gerneral purpose project module as the main PCB. The transmitter PCB takes its power from the plugtop power supply and passes this power onto the main PCB. The PIC in the main PCB is programmed with a real time clock and programmed with a suitable pattern of light switching.

The back up battery contains three rechargeable cells which are trickle charged from the power supply. In the event of a mains failure even for many hours the real time clock will keep true time and when the power is restored the correct house lights will come on.

The transmitter software is arranged to control up to four receiver circuits but the software can easily be modified to control any number of receiver circuits.

The slide switch at the front of the transmitter PCB is used to switch between normal lights and controlled lights. This allows the system to be permanently installed. When the lights are not being radio controlled they operate normally. When switched on they come on and stay on until until switched off or until the correct encoded radio signal is received.

A blank GPIC28 PCB with just the essential components for this project can be bought:-
Blank GPIC28 PCB with essential components.... £ 9.50
LCD assembly................................................... £ 8.00

Can be supplied assembled with LCD:-
Assembled GPIC28 with LCD............................. £22.00

Blank PCB (single sided).................................... £ 4.20

Experimenting with PIC Microcontrollers Book 2... £25.00

Mainland UK postage is £10.00 per order.

This extension of our PIC training course will only be sold to customers who purchase or already own our P206, P931 or P942 PIC training course.


This picture needs to be updated as it shows the original system. We now use the GPIC28 module as the processor circuit (in the middle).
This picture shows two temperature transmitters on the right and the temperature receiver on the left.

Each temperature transmitter has an 8 pin PIC with analogue to digital converter and is powered by the 3 volt coin cell. The software uses the sleep mode with watchdog wakeup to reduce the consumption to a very low level. The raw temperature data is transmitted about once every one and a half seconds.

The temperature receiver has the same PCB circuits as used for the house light transmitter but the circuits in this picture have been wired with the minimum number of components. The same circuits used in the picture above could be used (with different software) by fitting a radio receiver instead of the radio transmitter.

The temperature transmitters will normally be supplied as a kit which needs to be assembled and soldered.

THERM01-kit comprises:-
1 resistor
1 capacitor
1 thermistor
8 pin socket
4 pin socket
coin cell holder
Various sockets
PIC12F675
433Mhz radio transmitter module
CR2032 coin cell battery
Blank printed circuit board

Order code THERM01-kit...... £12.00 each

Can be supplied assembled:-
Order code THERM01-built... £16.00 each

Blank PCB (plated through)... £ 1.90 each
Note that the radio transmitters and receivers use the 433Mhz band which is legal for use in the UK and Europe but cannot be used legally in the USA.

Prices:-

The contents of the RxTx01 kit are listed in the right hand column.

Book: Experimenting with PIC Microcontrollers 2nd Edition Book 2..... £22.50

Pack of Rx and Tx radio circuits order code RxTx01-kit...................... £51.00
Pack of Rx and Tx radio circuits order code RxTx01-built.................... £79.00
(Assembled RxTx pack includes 600 mAh backup battery)

CD of latest software (purchased with book and kit)............................ £ 5.00

If as well as learning to programme PICs you also want to build a realistic light switching system for your house you will need another two or three of the radio receiver light switching PCBs, and a backup battery:-

Light switching receiver kit. Order code RxHse01-kit......................... £18.00 each
Light switching receiver built. Order code RxHse01-built.................... £26.00 each

600 mA/h backup battery. Order code BUB06.................................. £ 4.30 each

You may also like to purchase 1, 2 or 3 more temperature transmitter circuits:-
Temperature transmitter kit. Order code THERM01-kit...................... £12.00 each
Temperature transmitter built. Order code THERM01-built................. £16.00 each

UK postage + ins. 1kgm: £5.00. 1.5kgm £7.00. 1.5+kgm: £10.00

To place an order for items not listed below either telephone or email the details to us and we will ask PayPal to send a payment request to you for the correct amount (no obligation).
Pack of Rx and Tx Radio circuits comprising:-
1 off light switching receiver PCB (blank)
1 off light data transmitter PCB (blank)
1 off temperature transmitter PCB (blank)
1 off GPIC28 PCB (blank)
Pack of essential components for each PCB.
1 off LCD assembly
1 off radio transmitter module
1 off radio receiver module
1 off PIC16F1827
1 off PIC18F2321
1 off PIC12F675

Order code RxTx02-kit................ £51.00

Can be supplied assembled:-
Order code RxTx02-built.............. £79.00
(Built RxTx pack includes 600 mAh backup battery)

(Uses 433Mhz band which is allocated for UK and Europe but not USA)

Ordering using PayPal - Book 2 PIC Training
All prices are the final price - tax is not added later.

Order Code Description
Price
GBP
Add to PayPal
Book 2
2nd Edition
Book: Experimenting with PIC Microcontrollers 2nd Edition Book 2
£22.50
RxTx02-kit
Pack of Rx and Tx radio circuits - kit
£51.00
RxTx02-built
Pack of Rx and Tx radio circuits - built and tested
£79.00


4. Finally add the correct carriage according to where you live.
Order Code Countries
Price
GBP
Add to PayPal
UK up to 1kgm
Royal Mail 1st class postage to UK, up to 1kgm
£5.00

For carriage to countries not listed above please send an email request to
pic at brunningsoftware dot co dot uk or telephone +44 1255 862308.


Before placing your order (or even if you have already placed your order)
you are very welcome to telephone Peter Brunning on +44 (0) 1255 862308
to discuss your requirements.

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