PROGRAMMABLE LOGIC Retrocomputing with Programmable Logic Microprogramming with Fpgas Addressing Memory Failures Digital Modulation Theory 6Lowpan Explained
Total Page:16
File Type:pdf, Size:1020Kb
Cover - 233.qxp 11/11/2009 11:29 AM Page 1 Embedded Networking with the iMCU W7100, p. 14 • Extend the I2C Bus, p. 64 www.circuitcellar.com CIRCUITTHE MAGAZINE FOR COMPUTER CELLAR APPLICATIONS #233 December 2009 PROGRAMMABLE LOGIC Retrocomputing with Programmable Logic Microprogramming with FPGAs Addressing Memory Failures Digital Modulation Theory 6LoWPAN Explained $5.95 U.S. ($6.95 Canada) C2.qxp 11/2/2009 4:46 PM Page 1 SSL Encrypted SERIAL TO ETHERNET SOLUTIONS Instantly network-enable any serial device Works out of the box - Device P/N: SB70LC-100CR no programming is required Kit P/N: NNDK-SB70LC-KIT Customize to suit any application $47 SB70LC with low-cost development kit 256-bit encryption protects data Qty. 1000 2-port serial-to-Ethernet server from unauthorized monitoring Features: 10/100 Ethernet TCP/UDP/SSH/SSL modes DHCP/Static IP Support Data rates up to 921.6kbps Web-based configuration Device P/N: SB700-EX-100CR Need a custom solution? Kit P/N: NNDK-SB700EX-KIT SB700EX NetBurner Serial to Ethernet $129 Development Kits are available to 2-port serial-to-Ethernet server Qty. 1000 customize any aspect of operation with RS-232 & RS-485/422 support including web pages, data filtering, or custom network applications. All kits include platform hardware, ANSI C/C++ compiler, TCP/IP stack, web server, e- mail protocols, RTOS, flash file system, Eclipse IDE, debugger, cables and power supply. The NetBurner Security Suite option includes SSH v1 & v2 support. Device P/N: CB34-EX-100IR Kit P/N: NNDK-CB34EX-KIT CB34EX Information and Sales | [email protected] $149 Web | www.netburner.com Qty. 1000 industrial temperature grade Telephone | 1-800-695-6828 2-port serial-to-Ethernet server with RS-232 & RS-485/422 support and terminal block connector 9.qxp 8/7/2008 11:04 AM Page 1 2-3.qxp 11/2/2009 3:52 PM Page 2 2-3.qxp 11/2/2009 3:52 PM Page 3 ASK ® TMANAGER CIRCUIT CELLAR THE MAGAZINE FOR COMPUTER APPLICATIONS FOUNDER/EDITORIAL DIRECTOR CHIEF FINANCIAL OFFICER Looking Back While Moving Forward Steve Ciarcia Jeannette Ciarcia MANAGING EDITOR MEDIA CONSULTANT Here we are at the end of 2009. And now begins the transi- C. J. Abate Dan Rodrigues tional period of time when you start planning future designs WEST COAST EDITOR CUSTOMER SERVICE while taking stock of your past projects. To help you through Tom Cantrell Debbie Lavoie this exciting yet overwhelming time of year, we purposely put CONTRIBUTING EDITORS CONTROLLER Jeff Bachiochi Jeff Yanco together an issue that includes articles by designers who excel Robert Lacoste at forging ahead with new projects by implementing the parts George Martin ART DIRECTOR KC Prescott they’ve acquired and the lessons they’ve learned. Ed Nisley The first article in this vein is “Retrocomputing on an NEW PRODUCTS EDITOR GRAPHIC DESIGNERS John Gorsky Grace Chen FPGA” by Stephen A. Edwards (p. 24). In it he describes how to Carey Penney reconstruct an old Apple II computer with programmable logic. PROJECT EDITORS STAFF ENGINEER This is an excellent example of how to use modern development Gary Bodley Ken Davidson John Gorsky techniques to combine old and new parts in an interesting David Tweed design. Stephen isn’t the only Circuit Cellar writer who has been thinking about the Apple II during the last few months. In “Digital Modulations Demystified,” columnist Robert Lacoste reminisces about the day he connected his first 300-bps modem ADVERTISING to his Apple II (p. 54). He considers the differences between old 860.875.2199 • Fax: 860.871.0411 • www.circuitcellar.com/advertise and new data transmission speeds and then explains the com- PUBLISHER plicated theory and mathematics associated with the some- Sean Donnelly Direct: 860.872.3064, Cell: 860.930.4326, E-mail: [email protected] times mystifying subject of digital modulations. With this infor- mation, you’ll be a step ahead of the game when you start your ADVERTISING REPRESENTATIVE Shannon Barraclough next project that requires data transmission, which is probably Direct: 860.872.3064, E-mail: [email protected] your very next one. ADVERTISING COORDINATOR In other retro-design-related news, one of Ed Nisley’s friends Valerie Luster recently discovered that “memories are not forever” when he E-mail: [email protected] tried to start up a Tektronix 492 spectrum analyzer. Guess what happened. Failure. Fortunately, Ed came to the rescue with Cover photography by Chris Rakoczy—Rakoczy Photography some digital logic and firmware. The details begin on page 44. www.rakoczyphoto.com PRINTED IN THE UNITED STATES And what would a discussion of old and new technology be without touching on the topic of the I2C bus? Turn to page 64 CONTACTS where Jeff Bachiochi explains how to extend and isolate the I2C SUBSCRIPTIONS Information: www.circuitcellar.com/subscribe, E-mail: [email protected] bus. If you have a robotics design on tap, you may find Jeff’s con- Subscribe: 800.269.6301, www.circuitcellar.com/subscribe, Circuit Cellar Subscriptions, P.O. Box 5650, Hanover, NH 03755-5650 temporary take on this ’80s-era concept to be extremely helpful. Address Changes/Problems: E-mail: [email protected] Don’t worry, we also have content for those of you looking for GENERAL INFORMATION 860.875.2199, Fax: 860.871.0411, E-mail: [email protected] articles on technologies and projects that aren’t so focused on Editorial Office: Editor, Circuit Cellar, 4 Park St., Vernon, CT 06066, E-mail: [email protected] the past-present connection. First, check out Thomas Mitchell’s New Products: New Products, Circuit Cellar, 4 Park St., Vernon, CT 06066, E-mail: [email protected] AUTHORIZED REPRINTS INFORMATION article, “Building Microprogrammed Machines with FPGAs” (p. 860.875.2199, E-mail: [email protected] AUTHORS 36). He details an interesting alternative to hardwired finite Authors’ e-mail addresses (when available) are included at the end of each article. state machines. Next, jump to page 70, whereTom Cantrell presents exciting CIRCUIT CELLAR®, THE MAGAZINE FOR COMPUTER APPLICATIONS (ISSN 1528-0608) is published monthly by Circuit Cellar Incorporated, 4 Park Street, Vernon, CT 06066. Periodical rates paid at Vernon, CT and additional offices. One-year (12 issues) new technology that’s sure to get you thinking about possible subscription rate USA and possessions $29.95, Canada/Mexico $34.95, all other countries $49.95.Two-year (24 issues) sub- wireless IP designs, from small wireless embedded apps to large scription rate USA and possessions $49.95, Canada/Mexico $59.95, all other countries $85. All subscription orders payable in U.S. funds only via Visa, MasterCard, international postal money order, or check drawn on U.S. bank. Direct subscription orders ’Net-connected systems. As you’ll see, the Internet doesn’t have and subscription-related questions to Circuit Cellar Subscriptions, P.O. Box 5650, Hanover, NH 03755-5650 or call to be everywhere, but it can be if that’s what you want. 800.269.6301. Postmaster: Send address changes to Circuit Cellar, Circulation Dept., P.O. Box 5650, Hanover, NH 03755-5650. Finally, remember that the 2010 WIZnet iMCU Design Circuit Cellar® makes no warranties and assumes no responsibility or liability of any kind for errors in these programs or schematics or for the Contest is well underway. Dave Tweed’s article “iMCU consequences of any such errors. Furthermore, because of possible variation in the quality and condition of materials and workmanship of read- er-assembled projects, Circuit Cellar® disclaims any responsibility for the safe and proper function of reader-assembled projects based upon or W7100” will help you started your design (p. 14). Be sure to from plans, descriptions, or information published by Circuit Cellar®. The information provided by Circuit Cellar® is for educational purposes. Circuit Cellar® makes no claims or warrants that readers have a right to 2009 – Issue 233 enter your project by June 30, 2010. Good luck! build things based upon these ideas under patent or other relevant intellectual property law in their jurisdiction, or that readers have a right to construct or operate any of the devices described herein under the relevant patent or other intellectual property law of the reader’s jurisdiction. The reader assumes any risk of infringement liability for constructing or operating such devices. Entire contents copyright © 2009 by Circuit Cellar, Incorporated. All rights reserved. Circuit Cellar is a registered trademark of Circuit Cellar, Inc. [email protected] Reproduction of this publication in whole or in part without written consent from Circuit Cellar Inc. is prohibited. December 4 CIRCUIT CELLAR® • www.circuitcellar.com 5.qxp 11/2/2009 4:38 PM Page 1 The Newest Embedded Technologies New Products from: MiniCore™ RCM5600W Wi-Fi Module www.mouser.com/rabbit_ rcm5600w MRF24J40MB 2.4 GHz RF Transceiver Module www.mouser.com/ microchipmrf24j40mb TM Joule-Thief™ Module www.mouser.com/ adaptivenergy_joule-thief The ONLY New Catalog Every 90 Days Experience Mouser’s time-to-market advantage with no minimums and same-day shipping of the newest products from more than 390 leading suppliers. Beagle Board www.mouser.com/beagleboard The Newest Products For Your Newest Designs www.mouser.com (800) 346-6873 Over A Million Products Online Mouser_CircuitCellar_12-1.indd 1 10/15/09 10:31:42 AM INSIDE ISSUE BONUS CONTENT The Evolution of Rabbits — Five Generations of Rabbit Microrocessors 2December3 2009 • Programmable3 Logic 14 iMCU W7100 p. 14, Get Started Embedded Networking Made SImple with the W7100 Dave Tweed 2010 WIZnet iMCU Design Contest Primer 24 Retrocomputing on an FPGA Reconstruct an ’80s-Era Home Computer with Programmable Logic Stephen A. Edwards 36 Building Microprogrammed Machines with FPGAs Thomas Mitchell p.