Elektor №1-2 (499) (2020).pdf

(25697 KB) Pobierz
Single-phase
1-kilowatt AC Motor
Drive
lektor
lab
Edition 1/2020
|
January & February
|
www.elektormagazine.com
magazine
Supports integral-cycle switching •
phase-cut trailing edge • phase-cut leading edge
GUI with Touch —
for ESP32, RPi & Co.
Extendable
Environmental
Monitoring System
based on a
Geiger-Müller
tube
Graphical user interfaces
with the LittlevGL library
Analogue Electronics Design
Developer’s Zone
MAN1 LED Display
a Mechanical Contact or Switch
Arduino Pro IDE - First Impressions
Automotive Headlight Tuning
First Steps with RISC-V
Lab, Sweet Lab
Beyond Electronics
Capaci-Meter
How-To: Debounce
Monsanto
… and more
Elektor Labs Challenged: a DIY LoRa Tracker
“Not Just Any Guy’s Project”
Focus On: Autonomous Driving
In a Nutshell: Text for Microcontroller
Lego Electronic Train Set from 1968
Practical ESP32 Multitasking
Review: Toolcraft Digital Soldering Station
The Elektor Community
82
Countries
203637
Enthusiastic Members
1040
Experts & Authors
546
Publications
235332
Monthly Visitors
Elektor breaks the constraints of a magazine. It’s a community of active e-engineers — from
novices to professionals — eager to learn, make, design, and share surprising electronics.
Elektor Web Store:
24/7 candy store for
every electronics engineer! Permanent 10%
discount for GREEN and GOLD Members.
www.elektor.com
Elektor Magazine:
Six times per year a thick
publication packed with electronics projects,
news, reviews, tips and tricks.
www.elektormagazine.com
Elektor Weekly & Paperless:
Your digital weekly news update. Free.
www.elektor.com/newsletter
Elektor PCB Service:
Order your own PCBs,
both one-offs and larger runs.
www.elektorpcbservice.com
Elektor Academy:
Webinars, Seminars,
Presentations, Workshops and DVDs ...
Practice-oriented learning.
www.elektor-academy.com
Elektor Books:
Arduino, Raspberry Pi, ESP32,
IoT, Linux and more. Available in our online
store with a 10% Member discount!
www.elektor.com/books
Elektor TV:
Reviews, timelapse, unboxing and
personal journals. Watching is learning.
www.elektor.tv
Elektor Labs:
Showcasing your own projects
and learning from others. We develop and test
your ideas!
www.elektormagazine.com/labs
Become a member today!
GREEN
6x Elektor Magazine (Print)
6x Elektor Magazine (PDF)
Access to Elektor Archive
(Thousands of Articles)
Access to over 1,000 Gerber files
Elektor Annual DVD
10% Discount in Elektor Store
Exclusive Offers
www.elektor.com/green
GOLD
6x Elektor Magazine (Print)
6x Elektor Magazine (PDF)
Access to Elektor Archive
(Thousands of Articles)
Access to over 1,000 Gerber files
FREE
6x Elektor Magazine (Print)
6x Elektor Magazine (PDF)
Access to Elektor Archive
Access to over 1,000 Gerber files
Elektor Annual DVD
10% Discount in Elektor Store
weekly e-zine
www.elektor.com/newsletter
Elektor Annual DVD
10% Discount in Elektor Store
Exclusive Offers
www.elektor.com/gold
Exclusive Offers
facebook.com/ElektorLabs
twitter.com/Elektor
instagram.com/elektorlabs
Elektor Magazine,
English edition
Edition 1/2020
Volume 46, No. 499
January & February 2020
ISSN 1757-0875
(UK / US / ROW distribution)
www.elektor.com
www.elektormagazine.com
Elektor Magazine, English edition
is published 6 times a year by
Elektor International Media
78 York Street
London W1H 1DP
United Kingdom
Phone: (+44) (0)20 7692 8344
Head Office:
Elektor International Media b.v.
PO Box 11
NL-6114-ZG Susteren
The Netherlands
Phone: (+31) 46 4389444
The Next Ten Years
A new decade of electronics has arrived. Technologies such as SigFox and LoRa
are ideal for the expanding Internet of Things, and there are innovative proces-
sor architectures such as RISC-V. Developers are expecting to prepare ready to
go applications using affordable hardware and software. The modular approach,
which is becoming increasingly common, is the quickest way to reach one’s
goal. But for fine-tuning, know-how on the interaction of individual components
remains indispensable. At the same time, a growing number of electronics engi-
neers are taking an interest in marketing privately developed solutions.
An established and class-leading electronics magazine, Elektor should aim at
being a faithful companion to its readers in all these developments. That is why
we introduce a few new sections as of this issue. We intend to introduce new
controller platforms on a regular basis (p. 74). We shed light on the analogue
interaction of components in our expert section on p. 88. In our interview, the
minds behind successful (open-source) projects have their say — you will also
learn a lot there about how you can make your own projects known to a wider
audience (p. 14). There are also pages for professional developers and those
who aspire to become one (pp. 26, 56). We especially like to respond to the
many requests of our readers to do more for beginners (pp. 23, 53, 86, 92).
The core of our magazine remains our projects, in which we also highlight the
software more than before (as on p. 7). And last but not least, we subject the
most interesting products from the Elektor Store to a practical test (p. 54).
From now on, our editorial team is truly international with myself as Inter-
national Editor-in-Chief (previously I was responsible for the German edition
only). Without the experience and knowledge of my colleagues who have man-
aged their language editions for many years, naturally I would not be able to
manage the task. Only as a team can we offer you a magazine and an online
presence covering all areas of electronics in the best possible way. We are all
looking forward to the next 10 years with you!
Jens Nickel
Memberships:
Please use London address
E-mail: service@elektor.com
www.elektor.com/memberships
Advertising & Sponsoring:
Margriet Debeij
Phone: +49 170 5505 396
E-mail: margriet.debeij@elektor.com
www.elektor.com/advertising
Advertising rates and terms available on
request.
Copyright Notice
The circuits described in this magazine are for domes-
tic and educational use only. All drawings, photographs,
printed circuit board layouts, programmed integrated
circuits, disks, CD-ROMs, DVDs, software carriers, and
article texts published in our books and magazines
(other than third-party advertisements) are copyright
Elektor International Media b.v. and may not be repro-
duced or transmitted in any form or by any means,
including photocopying, scanning and recording, in
whole or in part without prior written permission from
the Publisher. Such written permission must also be
obtained before any part of this publication is stored
in a retrieval system of any nature. Patent protection
may exist in respect of circuits, devices, components
etc. described in this magazine. The Publisher does
not accept responsibility for failing to identify such
patent(s) or other protection. The Publisher disclaims
any responsibility for the safe and proper function
of reader-assembled projects based upon or from
schematics, descriptions or information published in or
in relation with Elektor magazine.
The Circuit
International Editor-in-Chief:
Jens Nickel
Editor-in-Chief, English edition:
Jan Buiting
Membership Manager:
International Editorial Staff:
Denise Bodrone
Eric Bogers, Rolf Gerstendorf, Denis Meyer,
Dr Thomas Scherer, Clemens Valens
Laboratory Staff:
Mathias Claussen, Ton Giesberts, Luc
Lemmens, Clemens Valens, Jan Visser
Graphic Design & Prepress:
Publisher:
Giel Dols
Don Akkermans
© Elektor International Media b.v. 2020
Printed in the Netherlands
www.elektormagazine.com
January & February 2020
3
This Edition
Volume 47 – Edition 1/2020
No. 499
January & February 2020
Single-phase
1-kilowatt
AC Motor Drive
Three-mode design:
integral-cycle switching,
GUI with Touch —
for ESP32, RPi & Co.
Graphical user interfaces
with the LittlevGL library
Regulars
23 How-To: Debounce a Mechanical Contact
or Switch
A switch is either open or closed, isn’t it?
26 Developer’s Zone
Tips & Tricks, Best Practices and Other
Useful Information
42 Interactive
Corrections & Updates || Questions & Answers
56 Steeped in Electronics
Outfitting the e-lab and e-workshop
58 Peculiar Parts, the series
Monsanto MAN1 LED Display
86 Starting Out in Electronics
Easier than imagined!
88 Analogue Electronics Design
Case Study #1 — Section 1:
MEMS Microphone…
Testing 1-2-3
92 Small Circuits Revival
Capita Selecta
from the
Elektor Project Suggestions Box
106 Lego Electronic Train Set from 1968
50 years on, electronic toys still fascinate
110 Beyond Electronics
The MX3D Bridge Senses the City
6
54 Two Thermal Imaging Cameras
Compared
Seek ShotPro and Seek Compact
112 Elektor Store
what’s available @ www.elektor.com
114 Hexadoku
The original Elektorized Sudoku
Features
14 “Not Just Any Guy’s Project”
Interview with Gábor Kiss-Vámosi, the
developer of LittlevGL
72 Lab, Sweet Lab
A glimpse of The Holy Place — no
unauthorized entry.
44 Automotive Headlight Tuning
Legal, illegal — it matters!
50 Review: Toolcraft Digital Soldering
Station
53 Arduino Pro IDE - First Impressions
98 Focus On: Autonomous Driving
State of the art at a glance
104 Start-Up Leaders and Innovators Talk
“Innovation 4.0” in Munich
Interview with
Gábor Kiss-Vámosi,
the developer of
LittlevGL
4
January & February 2020
www.elektormagazine.com
62
phase-cut trailing,
or phase-cut leading edge.
Extendable Environmental
Monitoring System
publishes data on
IoT platforms
lektor
la
59 Thermoelectric Tea Timer
First dealings with energy harvesting
62 Single-phase 1-kilowatt AC Motor Drive
Three-mode design: integral-cycle
switching, phase-cut trailing, or phase-cut
leading edge.
70 RPi Gets a Fast 3.5” Touch Display
More power at no extra charge
74 First Steps with RISC-V
Trying out the LoFive Board
78 Elektor Labs Challenged: a DIY LoRa
Tracker
Glitches and results in electronics
development
80 Sigfox and the IoT (2)
Registration in the Sigfox network
94 In a Nutshell: Text for Microcontrollers
Using compression to save memory
28
Projects
6 GUI with Touch — for ESP32, RPi & Co.
Graphical user interfaces with the LittlevGL
library
Next Editions
Elektor Magazine Edition 1/2020
Elektor LoRa Controlled Switch • “My-IoT” Button • How-
To: Calculate the Prospective Short-Circuit Current or
PSCC • Review: Andonstar AD407 • FreeRTOS for ESP32
(2) • ESP32 Doorbell via Telegram • Analogue Electronics
Design (2) • Optical Probe for Oscilloscopes • DIY PC for
the Electronics Home Lab • Radar Board • Sigfox and the
IoT (3) • Small Circuits & Tricks • Retronics.
Elektor Magazine
edition 2/2020 covering March & April 2020 is published
on 27 February 2020. Delivery of printed copies to Elektor Gold Members
is subject to transport. Contents and articles subject to change.
Elektor Industry Edition 1/2020
Elektor Industry
issue 1/2020 is a special edition for the
Embedded World Exhibition & Conference 2020
in
Nürnberg, Germany (February 25–29, 2020). The mag-
azine will cover microcontrollers, embedded technology,
programming and tools, with a miscellany of contribu-
tions from companies, industry specialists, Elektor edi-
tors, and free-lance authors.
Elektor Industry
edition 1/2020 is published around 14 February 2020
to Elektor Gold Members in print and to Elektor Green Members as a pdf
download. The edition will also be available for purchase at
www.elektormagazine.com.
18 Capaci-Meter
with two-digit Dekatron-style LED display
14
28 Extendable Environmental Monitoring
System
publishes data on IoT platforms
36 Practical ESP32 Multitasking
Task programming with FreeRTOS and the
Arduino IDE
www.elektormagazine.com
January & February 2020
5
Zgłoś jeśli naruszono regulamin