Practical
Electronics
Volume 51. No. 8
August 2022
ISSN 2632 573X
Contents
Projects and Circuits
Multi-purpose Battery Manager by Tim Blythman
uilding on our recent attery ulti ogger this design not only onitors hat s
going on but also connects and disconnects loads based on battery charge state.
14
Simple MIDI Music Keyboard by Tim Blythman
26
his
ey oard is a ollo u to our
ey
atri . t is ust as e i le and
offers an easy way to make music, plus it can be repurposed for many other uses.
Nano Pong by Tim Blythman
Our Nano Pong game is modern and retro at the same time; it replaces the
70-odd discrete logic chips in the original with a single chip that costs about £1!
30
USB Power Delivery Chargers by Jim Rowe
36
Learn about low-cost modules that have appeared recently to take advantage of the
dramatic growth in USB capability, especially in the area of power delivery (PD).
Series, Features and Columns
Flowcode
C
void interrupt( void)
{
if ( intcon & 4 )
{
clear_ bit( intcon, 2) ;
FCM_ INTERRUP T_ TMR
o( ) ;
Assembly
movlw D′7′
bsf STA TUS, RP 0
bcf STA TUS, RP 1
movwf _ adcon1
movlw D′192′
movwf _ option_ reg
Hex
: 04 0000008 A 011228 37
: 08 0008 00F000F00S030
EF10000
: 1000100004 0EF2000A 0
EF300B A 110A 1229 28 35 2
8 6 C
: 2000200D9 28 FE28 07 3
Techno Talk by Mark Nelson
Time for a total rethink?
8
Net Work by Alan Winstanley
A round-up of topical technological issues and trends from the UK and
around the world.
10
Make it with Micromite by Phil Boyce
Part 38: How to build a PicoMite BackPack
40
KickStart by Mike Tooley
Part 9: Exploring microcontroller digital-to-analogue conversion
47
a s Cool eans y ax The agnificent
Flashing LEDs and drooling engineers – Part 30
54
Flowcode Graphical Programming by Martin Whitlock
Part 5: Building a Digital Clock
58
Circuit Surgery by Ian Bell
Distortion and distortion circuits – Part 3
65
Wireless for the Warrior
Subscribe to Practical Electronics and save money
Reader services – Editorial and Advertising Departments
Editorial
The power of batteries
Exclusive Microchip reader offer
Win a Microchip SAM V71 Xplained Ultra Evaluation Kit
PE Teach-In 8
Practical Electronics PCB Service
PCBs for Practical Electronics projects
Classified ads and Advertiser inde
Next month! – highlights of our next issue of Practical Electronics
2
4
7
7
Regulars and Services
9
25
70
72
Made in the UK.
Written in Britain, Australia,
the US and Ireland.
Read everywhere.
© Electron Publishing Limited 2022
Copyright in all drawings, photographs, articles,
technical designs, software and intellectual property
published in Practical Electronics is fully protected,
and reproduction or imitation in whole or in part are
expressly forbidden.
The September 2022 issue of Practical Electronics will
be published on Thursday, 4 August 2022 – see page 72.
Practical Electronics | August | 2022
1
|