Loading...

Daily news and top headlines for electronic OEM design professionals

FREE Email Newsletter View Sample

Titus on Embedded

Kits for Kids

Must-read news, features and analysis for electronic OEM design pros - Sign up now!

Share:

E-mail:

Print:

Bookmark:

RSS:

[-] Text [+]

Featured In: Newsletters | Titus on Design

By Jon Titus, Senior Technical Editor | Thursday, April 15, 2010

Double-click any word to search

Highlight any phrase & click HotSearch

Loading...

Jon TitusAs a teenager, I built many "computer" circuits with relays and switches. As I recall, a flip-flop took two 2PDT relays and a binary adder took two 4PDT relays in my brute-force logic circuit. Kids today can get started exploring computers more easily.

Recently I took a close look at the mbed computer module that provides an ARM Cortex-M3 microcontroller and I/O connections for serial, I2C, SPI, CAN, PWM, and Ethernet ports as well as for analog I/O signals. The mbed module includes four LEDs that turn on or off under software control.

Unlike many computer modules that require host-PC-resident software tools, an mbed module takes advantage of an online C/C++ compiler and extensive libraries. The libraries simplify writing code and the extensive documentation provides examples of how to use library functions. I had an mbed module sending serial ASCII data to a Seetron LCD module in a few minutes. Because the mbed module appears as a USB memory stick to a host PC, the module requires only a simple USB cable (supplied) to download code and obtain power.

Art 1. It took only a few minutes, eight lines of code, and an inverter IC to have an mbed module display characters on a serial LCD.

The mbed Web site (www.mbed.org) includes a blog, a handbook, and a repository of code and examples. The site also provides a "notebook" for each person logged in so they can save and share projects and programs. The online compiler lacks debug capabilities and people cannot print listings directly. They must cut and paste code into an editor such as Windows Notepad or WordPad and print from there. The mbed is available from many distributors for about $US 60.

I also recommend the book, "Practical C Programming," 3rd edition, by Steve Oualline, O'Reilly Media (ISBN: 978-1-56592-306-5) as a way to introduce teenagers to the C language. Although the mbed examples often use C++ code, a young programmer can quickly figure out the syntax. Avoid books written as introductions to C or C++ that assume a reader will run examples on a PC for a PC. They rely heavily on keyboard input and printf() output statements for PC applications.

If your young computer enthusiast needs an inexpensive way to learn how a computer works, I recommend the cardboard Cardiac, or Cardboard Illustrative Aid to Computation, originally published by Bell Labs in the late 1960's. Cardboard sliders position information in windows for a program counter, accumulator, and accumulator-test register. Cardiac has 100 "memory cells," but a pad of paper extends memory almost indefinitely. You can find a PERL Cardiac emulator and original manual at: http://dale-miller.com/cardiac-cardboard-illustrative-aid-to-computation/. Or, you can purchase a cardboard version, with manual for $US 20 at: http://scientificsonline.com/. Scientifics has many other interesting products.

Budding electrical engineers might find digital logic fascinating, but I haven't found good books that combine knowledge of real ICs and experiments that exercise their functions. In 1978, David G. Larsen and Peter R. Rony wrote a two-book set, "Logic & Memory Experiments Using TTL ICs." These books are out of print, but you can find used copies at www.abebooks.com, starting at $US 5. The books include tutorial information, step-by-step experiments, and questions.

The experiments require basic 7400-series DIP ICs, LEDs, switches, and wire. Although the text recommends specific hardware--no longer available--a parent or colleague with electronics experience can create LED drivers from 7405 inverters and debounce switches or pushbuttons with 7400 NAND gates. Larsen and Rony used a 6V lantern battery with a diode in series to power a standard solderless breadboard. You can find everything you need at Jameco Electronics or Digikey.

Parallax recently introduced its PropScope, a PC-based digital-storage scope that offers two 10-bit-resolution analog channels that operate at 25 MSamples/sec over three voltage ranges. A USB cable supplies power from a laptop or bench PC. Each module comes with two x10 scope probes and an auxiliary card that provides an analog trigger, a 4-bit digital trigger, an 8-bit DAC and a 4-bit NTSC/PAL output. Software displays a traditional oscilloscope "panel," a function generator, a logic analyzer, a spectrum analyzer, and a vector-scope. Part number: 32220, price: $US 250. www.parallax.com. This type of instrument didn't exist when I built simple transistor circuits and used an AC-coupled, 1-MHz bandwidth Heathkit IO-12 scope that would cost over $500 in today's dollars.

Kids should have their own tools, too. I recommend a plastic toolbox and to start, a basic screwdriver set, wire strippers, diagonal cutters, long-nose pliers, and a set of inexpensive nut drivers. Having one's own tools will instill a sense of pride in any young engineer or scientist. Just be sure to engrave the young person's name on each piece.

Join the Discussion
Rate Article:  Average 5 out of 5
register or log in to comment on this article!

0 Comments

Add Comment

Text Only 2000 character limit

Page 1 of 1

Dungeons and Dragons Dice Gauntlet
Dungeons and Dragons Dice Gauntlet

Feb 3

The D&D bracer is a fairly quick, fun, nerdy LilyPad project. The final product is a wearable bracer with a display that will randomly generate numbers between 1 and 4, 6, 8, 10, 12, 20, or 100 in response to arm movement, so it can effectively replace all of the dice in your bag for a D&D session.

Sustainable?
Sustainable?

Feb 2

I'd like some genius to define sustainable. Could we count something that we can keep doing for 100 billion years - beyond the death of the Universe as we currently understand such things - as sustainable? How about a billion years?

TopicStarterLast Post
Digital watch voice recorderEdipo FerrariOct 1
HolidaysJason LombergMar 3
iPhone OwnerJason LombergNov 17
Video Game ViolenceJason LombergJan 6
Global Warming/Climate ChangeJason LombergAug 11
3D TechJason LombergNov 17
Medical ElectronicsJason LombergNov 17
The Incandescent BanJason LombergNov 17
Video of the Day


Free Electronic OEM Design
Industry Subscriptions

Magazine

ECN magazine

Newsletters

newsletters

Sign up now


Archived Issues

Top Stories and Headlines
EVERY DAY!

FREE Email Newsletter