This is only a preview of the January 2021 issue of Practical Electronics. You can view 0 of the 72 pages in the full issue. Articles in this series:
|
‘tens’ flashes and four ‘units’ flashes). Each flash takes 0.7
seconds (0.5 off and 0.2 on), giving a total of 4.2 seconds.
Add to that the one-second delay between the ‘tens’ finishing flashing and the ‘units’ starting, and we have 5.2
seconds for the sequence. Since the clock resets at (in
this example) six seconds, we have a 0.8 second delay
at the end of the cycle before it starts again. Taking this
approach means the cycle time adapts to the required
number of flashes.
As with all XOD sketches, this one is easily customised.
For example, if you wanted the cycle time to be longer,
you could put another ‘add’ node in above the ‘clock’ and
add a further (say) five seconds to the cycle time.
Note that as configured, the thermometer cannot show
negative temperatures, nor degrees Fahrenheit. (Both of
these are quite possible, though. For example, XOD even
has available a direct units conversion node for Celsius/
Fahrenheit – you might want to try adding it to the sketch.)
Spacers are used to hold the two parts of the enclosure 20mm
apart. This gives enough room for the wiring of the temperature
sensor and two LEDs to be placed within the enclosure.
by the contents of the yellow box – that registers when
the ‘tens’ have finished, adds a delay of one second, and
then starts the ‘units’ flashing.
The brown box comprises the logic for the ‘tens’ flasher; it uses the same approach as for the ‘units’.
The blue box starts the cycle. It does this by adding the
‘tens’ and ‘units’ numbers together to gain the total required number of flashes. In this example that is six (two
Conclusion
I find the Light Column Thermometer fascinating to watch.
It can be seen from across the other side of the room, and
reading it is oddly relaxing – perhaps because you have
to pause and watch, rather than just glance and run. It’s
also an ideal project with which to discover the fascinating world of XOD.
XOD files
The XOD file discussed in this article can be downloaded
from the January 2021 page of the PE website.
See PE March 2020 for an introduction to using XOD.
Teach-In 8 CD-ROM
Exploring the Arduino
EE
FR -ROM
CD
ELECTRONICS
TEACH-IN 8
FREE
CD-ROM
The Arduino offers a remarkably effective platform for developing a
huge variety of projects; from operating a set of Christmas tree lights
to remotely controlling a robotic vehicle wirelessly or via the Internet.
Teach-In 8 is based around a series of practical projects with plenty of
information for customisation. The projects can be combined together
in many different ways in order to build more complex systems that can
be used to solve a wide variety of home automation and environmental
monitoring problems. The series includes topics such as RF technology,
wireless networking and remote web access.
The CD-ROM also includes a bonus – an extra 12-part series based around the popular
PIC microcontroller, explaining how to build PIC-based systems.
SOFTWARE
FOR
THE TEACH-IN
8
SERIES
FROM THE PUBLISHERS OF
This CD-ROM version of the exciting and popular Teach-In 8 series
has been designed for electronics enthusiasts who want to get to
grips with the inexpensive, immensely popular Arduino microcontroller,
as well as coding enthusiasts who want to explore hardware and
interfacing. Teach-In 8 provides a one-stop source of ideas and
practical information.
PLUS: PICs and the PICkit 3 – A beginners guide
£8.99
INTRODUCING THE ARDUINO
• Hardware – learn about components and circuits
• Programming – powerful integrated development system
• Microcontrollers – understand control operations
• Communications – connect to PCs and other Arduinos
PLUS...
PIC n’MIX
PICs and the PICkit 3 - A beginners
guide. The why and how to build
PIC-based projects
Teach In 8 Cover.indd 1
04/04/2017 12:24
PRICE
£8.99
Includes P&P to UK if
ordered direct from us
SOFTWARE
The CD-ROM contains the software for both the Teach-In 8 and PICkit 3 series.
ORDER YOUR COPY TODAY!
JUST CALL 01202 880299 OR VISIT www.electronpublishing.com
66
Practical Electronics | January | 2021
CLASSIFIED ADVERTISING
Practical
Electronics
If you want your advertisements to be seen by the largest readership
at the most economical price then our classified page offers excellent
value. The rate for semi-display space is £10 (+VAT) per centimetre
high, with a minimum height of 2·5cm. All semi-display adverts have a
width of 5.5cm. The prepaid rate for classified adverts is 40p (+VAT) per
word (minimum 12 words).
Cheques are made payable to ‘Practical Electronics’. VAT must be
added. Advertisements with remittance should be sent to: Practical
Electronics, 113 Lynwood Drive, Wimborne, Dorset, BH21 1UU.
Tel 07973518682 Email: pe<at>electronpublishing.com
BOWOOD
ELECTRONICS LTD
For
ratesofand
further
information on display and classified advertising
Suppliers
Electronic
Components
please
contact
our
Advertisement
Manager, Matt Pulzer – see below.
www.bowood-electronics.co.uk
Unit 10, Boythorpe Business Park, Dock Walk, Chesterfield,
Derbyshire S40 2QR. Sales: 01246 200 222
Practical Electronics
reaches more UK
readers than any other
UK monthly hobby
electronics magazine.
Our sales figures prove it.
We have been the leading
monthly magazine in
this market for the last
twenty-seven years.
Send large letter stamp for Catalogue
BOWOOD ELECTRONICS LTD
Suppliers of Electronic Components
www.bowood-electronics.co.uk
Unit 10, Boythorpe Business Park, Dock Walk, Chesterfield,
Derbyshire S40 2QR. Sales: 01246 200 222
Send large letter stamp for Catalogue
MISCELLANEOUS
VALVES AND ALLIED COMPONENTS
IN STOCK. Phone for free list. Valves,
books and magazines wanted. Geoff
Davies (Radio), tel. 01788 574774.
Electrical Industries Charity (EIC)
We help people working in the
electrical, electronics and energy
community as well as their family
members and retirees.
We use workplace programmes that
give the industry access to financial
grants and a comprehensive
range of free and
confidential services
www.electricalcharity.org
COAST ELECTRONICS
BREAKOUTS-COMPONENTSCONTRACT DESIGN-3D PRINTER PARTSMUSICAL-MICROCONTROLLERS
WWW.COASTELECTRONICS.CO.UK
Andrew Kenny – Qualified Patent Agent
EPO UKIPO USPTO
Circuits Electric Machinery Mechatronics
Web: www.akennypatentm.com
Email: Enquiries<at>akennypatentm.com
Tel: 0789 606 9725
PIC DEVELOPMENT KITS, DTMF kits
and modules, CTCSS Encoder and
Decoder/Display kits.
Visit www.cstech.co.uk
ADVERTISING INDEX
CRICKLEWOOD ELECTRONICS . . . . . . . . . . . . . . . . . . . . . . . . . 57
ESR ELECTRONIC COMPONENTS . . . . . . . . . . . . . . . . . . . . . . . 57
HAMMOND ELECTRONICS Ltd . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
JPG ELECTRONICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
MICROCHIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cover (ii)
PEAK ELECTRONIC DESIGN. . . . . . . . . . . . . . . . . . . . . . Cover (iv)
POLABS D.O.O.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
QUASAR ELECTRONICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
SILICON CHIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
STEWART OF READING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
TAG-CONNECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Advertisement offices
Matt Pulzer
Electron Publishing Ltd
1 Buckingham Road
Brighton
East Sussex BN1 3RA
Tel
07973 518682
Email pe<at>electronpublishing.com
Web www.electronpublishing.com
For editorial contact details see page 7.
Practical Electronics | January | 2021
67
|