EN201003.pdf

(14643 KB) Pobierz
[
Analogue
•
Digital
•
Audio
•
Microcontrollers & Embedded
•
Test & Measurement
]
ls
oo
February 2010
e T
urc
So
en
Op
0
2
7
NEW DIY PROJECTS
elektor.com
lET ThE
RulE!
SCEPTER
A 32-bit ARM7
fast prototyping
system
✚
✚
✚
✚
low power design for AVR applications
lED Mixer with DMX Interface
linux on a Chip
Parking Radar
ultra-compact ...
MODulO D
A full-fledged stereo amplifier
US $ 7.95 - Canada $ 7.95
WIN $100 WITh ElECTRONICS PuzzlE
Publish your sources —
nobody understands them anyway
Open Source is becoming so popular
that even Microsoft, King of Closed-
SourceSoftware, jumped the band-
wagon, see page 14!
Why publish engineering details of your
product? Many people hesitate to do it,
mainly because they are afraid of copy-
cats. This may be justified if the product
depends on a proprietary development,
but most products just combine several
long established technologies.
I believe in Open Source. Like many
other people I often use open source
software. Like even more other people
I hardly ever look at the source code
files. Sometimes I do, but only briefly,
because in general it is incomprehen-
sible. Even small projects are often
difficult to understand. You need a very
good reason to invest time in studying
someone else’s source files.
So publish your source code files with-
out fear — nobody will understand them
anyway. Only a handful of users who will
seriously attempt to understand your
sources will succeed. Maybe one of them
is your competitor. So what! When they
finally get to understanding your code
you’re already working on new products
based on enhanced, non-disclosed and
vastly more complicated source files.
You are advancing while your competi-
tors are wasting their time.
To copy a TV you need more than a circuit
diagram. You will need the components and
the circuit boards as well as the tools to make
the special parts, or to assemble the thing
— not even mentioning the knowledge, skills
and time needed to get the job done.
It’s this same complexity that stands in
the way of the widespread use of many
open source projects. It is neither the
parts nor the source code that deter-
mines the success of a project; it’s the
ease of use. Even the most brilliant
projects will fail to attract many users
if there’s no proper manual, support or
half a dozen examples. That is why we
publish articles in Elektor instead of just
circuit diagrams. Sometimes we even
answer your questions.
This month Elektor has a focus on Open
Source and fittingly we introduce our
own open source project: the Scepter.
It all threatens to get complex, but we
will do everything to keep it easy to use
in terms of a project. We want the Scep-
ter to reign! Progress will be posted on
http://elektorembedded.blogspot.com/
Clemens Valens
Moderator, elektorembedded.blogspot.com
6
Colophon
Corporate information on Elektor maga-
zine.
8
News & New Products
A monthly roundup of all the latest in
electronics land.
12 20 x Open Source
Essential links for developers of embed-
ded systems.
16 Linux on a Chip
Get-u-going information on Embedded
Linux.
20 Reign with the Scepter
A 32-bit ARM7 fast prototyping system
with high ambitions.
26 Modulo D
Very likely the world’s smallest full-
fledged stereo power amp.
34 LED Mixer with DMX Interface
With an MSP30 micro doing all the
comms and PWM generating.
40 Life Cycle Considerations
The carbon footprint
behind the label.
43 Escaped from the Elektor Lab
On bugs (the insect variety), transistor
legs and a TI sports watch.
44 A look at the
Altium Nanoboard 3000
Hear hear, Altium are cutting their prices!
46 Tackle the crackle –
but do it properly
The three-step approach to noisy pots
and wafer switches.
03-2010
elektor
CONTENTS
20 Reign with the Scepter
Meet the Elektor Scepter, an ARM7 based open-source & open-hardware
project that seeks to be a fast prototyping system, comprising user-friendly
development tools and libraries that allow fast implementation of the board’s
peripherals.
Volume 2
March 2010
no. 15
48 An ATM18 Passepartout
How to make the ATM18 board generate
passwords and Tx on USB.
52 Small & Open Source
Meet Femto OS, Contiki, EtherNut, FreeR-
TOS, BeRTOS and many more.
56 SPI, Microwire & Friends
An introduction into short-range buses.
60 Every Microwatt Matters
The how-to on low-power designing for
AVR micros
26 Modulo D
Weighing only 150 grams (5.3 oz.), this audio amplifier module essentially con-
sists of two application-specific ICs and an inexpensive ATmega8 microcontrol-
ler, which handles the control functions of the Class D amplifier.
66 Multifunction Switch
A smart switch for AC operated equip-
ment.
70 Outmaneuvered
Our Min Project this month describes a
reversing aid for card.
74 Hexadoku
34 LED Mixer with DMX Interface
The DMX LED lamp controller described here uses a TI MSP430 microcontrol-
ler to support DMX bus communication and generate PWM control signals for
three power LED drivers. The DMX address can be set using DIP switches.
Our monthly puzzle with an electronics
touch.
75 Gerard’s Columns
Getting Organized.
76 Retronics: Two Black Boxes
Regular feature on electronics ‘odd &
ancient’.
84 Coming Attractions
60 Every Microwatt Matters
Even cutting a single microamp from the current consumption of an AVR mi-
crocontroller circuit can be important in designs powered from batteries,
Goldcaps, solar cells or 20 mA current-loop interfaces, and in designs that use
so-called ‘energy harvesting’. In this article we show what to watch out for, and
what to look forward to.
Next month in Elektor magazine.
elektor
03-2010
Zgłoś jeśli naruszono regulamin