Circuit Cellar#248 March 2011
Total Page:16
File Type:pdf, Size:1020Kb
Cover - 248_Layout 1 2/9/2011 2:34 PM Page 1 IMPLEMENTATION: DSP for Lighting Apps INSIGHT: Understand & Control Current Consumption DESIGN TIP: Timekeeping with an RTCC ORIGIN: Italy ORIGIN: United States ORIGIN: United States PAGE: 38 PAGE: 60 PAGE: 66 THE wORLD’S SOURCE fOR EMBEDDED ELECTRONICS ENGINEERING INfORMATION MARCH 2011 ROBOTICS ISSUE 248 PLUS MCU-Based Digital Designer Competency Pan Head Controller Project-Essential Concepts // Scheduling // State Machines Computer-Controlled // Simulation Machining // Code Validation Build a Remotely Operated Vehicle Super-Regenerative Receiver $7.50 U.S. ($8.50 Canada) www.circuitcellar.com C2_Layout 1 2/9/2011 10:45 PM Page 1 Low-cost Industrial Serial to Ethernet Solutions t*OTUBOUMZOFUXPSLFOBCMFBOZTFSJBMEFWJDF t/PQSPHSBNNJOHJTSFRVJSFEGPSTFSJBMUP&UIFSOFUBQQMJDBUJPO t$VTUPNJ[FUPTVJUBOZBQQMJDBUJPOXJUIBEFWFMPQNFOULJU SBL2e 100 SBL2e Chip SBL2e 200 QPSUTFSJBMUP&UIFSOFUTFSWFS QPSUTFSJBMUP&UIFSOFUTFSWFS QPSUTFSJBMUP&UIFSOFUTFSWFS XJUIGPVS"%DPOWFSUFSJOQVUT XJUIFJHIU"%DPOWFSUFSJOQVUT XJUIGPVS"%DPOWFSUFSJOQVUT PQUJPOBM*$QFSJQIFSBMTVQQPSU BOEPQUJPOBM41* *$QFSJQIFSBM PQUJPOBM*$QFSJQIFSBMTVQQPSU BOE3+DPOOFDUPS EFWJDFTVQQPSU BOEQJOIFBEFS Hardware Features SBL2e 6QUPUISFFTFSJBMQPSUT .CQT&UIFSOFU VQUPEJHJUBM*0 CJU"%DPOWFSUFST PQFSBUJOHUFNQFSBUVSFUP$ CJUQFSGPSNBODF Serial-to-Ethernet server with RS-232 support Software Features 5$16%15FMOFU)551NPEFT %)$14UBUJD*1TVQQPSU XFCCBTFEPS "5DPNNBOEDPOöHVSBUJPO Low Prices 4#-F$IJQ 2UZL %FWJDF1/4#-F$)*1*3 4#-F 2UZ %FWJDF1/4#-F*3 4#-F 2UZ %FWJDF1/4#-F*3 4#-F9 2UZ %FWJDF1/4#-F9*3 4#-F9" 2UZ %FWJDF1/4#-F9"*3 Need a custom solution? /FU#VSOFS4FSJBMUP&UIFSOFU%FWFMPQNFOU,JUTBSFBWBJMBCMFUPDVTUPNJ[FBOZ SBL2e XA BTQFDUPGPQFSBUJPOJODMVEJOHXFCQBHFT EBUBöMUFSJOH PSDVTUPNOFUXPSL BQQMJDBUJPOT"MMLJUTJODMVEFQMBUGPSNIBSEXBSF "/4*$$ DPNQJMFS 5$1*1 &YUFSOBMTFSWFSXJUIVQUP TUBDL XFCTFSWFS FNBJMQSPUPDPMT 3504 BOE/#&DMJQTF*%& GPVS"%DPOWFSUFSJOQVUT VQUPFJHIUEJHJUBM*0BOEVQ Information and Sales]TBMFT!OFUCVSOFSDPN UPUXP6"354 POF34 Web]XXXOFUCVSOFSDPNTelephone] 9.qxp 8/7/2008 11:04 AM Page 1 2_Layout 1 2/9/2011 2:56 PM Page 1 Embedded Systems N High-End Performance TS-7800 with Embedded Ruggedness 500 MHz ARM9 q Unbrickable Low power - 4W@5V $229 qty 100 design 128MB DDR RAM 512MB high-speed $ 269 (17MB/sec) onboard Flash qty 1 12K LUT customizable FPGA shown Internal PCI Bus, PC/104 connector w/ optional SD Cards 2 host USB 2.0 480 Mbps Gigabit ethernet 2 SD sockets 3x faster 10 serial ports 110 GPIO and backward 5 ADC (10-bit) 2 SATA ports compatible with TS-72xx Sleep mode uses 200 microamps Boots Linux 2.6 in 0.7 seconds Linux 2.6 and Debian by default TS-TPC-7390 7” Color Touch Panel Computer Low Power, Industrial Quality Design Mountable aluminum frame 200 MHz ARM9 64MB SDRAM (128MB opt) 512MB Flash w/ Debian Linux 800 x 480 video core Dedicated framebuffer- 8MB RAM $449 Audio codec with speaker qty 1 Boots Linux 2.6 in less than 2 seconds Unbrickable, boots from SD or NAND Runs X Windows GUI applications Runs Eclipse IDE out-of-the-box More Touch Panel Computers on our website Over 25 years in business Custom configurations and designs w/ Open Source Vision excellent pricing and turn-around time Never discontinued a product Most products stocked and available S Engineers on Tech Support for next day shipping Design your solution with one of our engineers (480) 837-5200 3_Layout 1 2/9/2011 2:56 PM Page 1 E New Products TS-WIFIBOX-2 $185 A Complete Solution for 802.11g WiFi Applications qty 1 Low power (3.2 watts), fanless design Power via 5-12 VDC, USB, PoE (opt.) 64MB DDR-RAM 256MB ultra-reliable XNAND drive Micro-SD Card slot RS-232, RS-485, CAN, RTC Header with SPI and 11 DIO 480Mbit/s USB, Ethernet, PoE option Boots Linux 2.6.24 in < 3 seconds 5 Un-brickable, boots from SD or flash Ideal for gateway or firewall, protocol Customizable FPGA - 5K LUT converter, web server, WiFi audio, and Optional DIN mountable enclosure unattended remote applications series T starts at TS-SOCKET Macrocontrollers $ 92 Jump Start Your Embedded System Design qty 100 TS-SOCKET Macrocontrollers are CPU core modules that securely connect to a baseboard using the TS-SOCKET connector standard. COTS baseboards are available or design a baseboard for a custom solution with drastically reduced design time and complexity. Start your embedded system around a TS-SOCKET Macrocontroller to reduce 55 mm / 2.165 in. your overall project risk and accelerate time to market. 75 mm / 2.953 in. Current projects include: TS-4200: Atmel ARM9 with super low power TS-4300: Cavium ARM11 with dual 600 MHz and FPU Dual 100-pin connectors TS-4500: Cavium ARM9 at very low cost Secure connection w/ mounting holes TS-4700: Marvell PXA168 with video and 1.2 GHz CPU Common pin-out interface TS-4800: Freescale iMX515 with video and 800 MHz CPU Low profile w/ 6mm spacing Several COTS baseboards for evaluation & development Technologic M Systems We use our stuff. Visit our TS-7800 powered website at www.embeddedARM.com Task_Masthead_248_masthead.qxd 2/11/2011 9:25 AM Page 4 ASK TMANAGER THE WORLD’S SOURCE FOR EMBEDDED ELECTRONICS ENGINEERING INFORMATION Control Electronics FOUNDER/EDITORIAL DIRECTOR PUBLISHER Steve Ciarcia Hugo Van haecke EDITOR-IN-CHIEF ASSOCIATE PUBLISHER C. J. Abate Shannon Barraclough Robotics is a term that conjures up a variety of images, ASSOCIATE EDITOR CUSTOMER SERVICE from humanoid prototypes to Hollywood animatronic Nan Price Debbie Lavoie Kim Hopkins designs to floor-vacuuming consumer appliances. Since WEST COAST EDITOR 1988, we’ve published articles about projects pertaining to Tom Cantrell CONTROLLER Jeff Yanco such robotic electronics applications. In fact, many of our CONTRIBUTING EDITORS readers both directly and indirectly contributed to the devel- Jeff Bachiochi ART DIRECTOR KC Prescott opment of those systems, many of which are now common- Robert Lacoste George Martin ly used in residential and industrial environments. But this MARKETING ASSISTANT Ed Nisley Daniel Netkin-Colllins issue doesn’t feature typical robotics applications. We’re NEW PRODUCTS EDITOR GRAPHIC DESIGNERS highlighting a topic a bit more specific: control electronics. John Gorsky Grace Chen MCU-based machine control is one of the most fascinat- PROJECT EDITORS Carey Penney ing fields of electronics engineering. And, each year, it’s Ken Davidson STAFF ENGINEER David Tweed growing in importance as engineers find new ways to incor- John Gorsky porate MCU-based sensor systems and motorized designs in Circuit Cellar’s mission is to collect, select, and disseminate need-to-know informa- the industrial automation, defense, aerospace, and consumer tion around the world in the fields of embedded hardware, embedded software, and computer applications. Circuit Cellar uses an assortment of print and electronic con- electronics industries (to name only a few). Thus, we’re ded- tent-delivery platforms to reach a diverse international readership of professionals, icating much of this issue to the ever-evolving field of con- academics, and electronics specialists who work with embedded, MCU-related tech- trol electronics. nologies on a regular basis. Our aim is to help each reader become a well-rounded, Turn to page 20 to learn how Richard Lord built a panning multidisciplinary practitioner who can confidently bring innovative, cutting-edge engi- neering ideas to bear on any number of relevant tasks, problems, and technologies. control system. The motorized design enables a photogra- pher to rotate a camera to take uniformly overlapping ADVERTISING 800.454.3741 • 978.281.7708 • www.circuitcellar.com/advertise images without distortion. Next, consider Brian Senese’s remotely operated vehicle ADVERTISING REPRESENTATIVE Peter Wostrel (ROV) project, which he describes on page 28. You know Strategic Media Marketing, Inc. how a basic RC vehicle system works. But that isn’t Brian’s 1187 Washington St., Gloucester, MA 01930 USA 800.454.3741 • 978.281.7708 focus. Again, what’s important is the concept of electronics [email protected] • www.smmarketing.us control. The idea is to plan, build, and then program an effi- Fax: 978.281.7706 cient system that provides end users with complete control ADVERTISING COORDINATOR over a mobile vehicle. The possibilities for such applications Valerie Luster are endless. E-mail: [email protected] On page 38, Marco Signorini addresses the important Cover photography by Chris Rakoczy—Rakoczy Photography www.rakoczyphoto.com topic of light control, which is particularly important in PRINTED IN THE UNITED STATES automotive, aerospace, and entertainment applications. He CONTACTS describes how to embed a DSP device and a series of con- SUBSCRIPTIONS Information: www.cc-access.com, E-mail: [email protected] stant-current generators to drive a group of high-power Subscribe: 800.269.6301, www.cc-access.com, Circuit Cellar Subscriptions, P.O. Box 5650, LEDs. Follow his lead to build a lighting control system of Hanover, NH 03755-5650 Address Changes/Problems: E-mail: [email protected] your own. GENERAL INFORMATION 860.875.2199, Fax: 860.871.0411, E-mail: [email protected] Brian Millier uses control electronics in a more industri- Editorial Office: Editor, Circuit Cellar, 4 Park St., Vernon, CT 06066, E-mail: [email protected] al environment: his workspace. In an article titled “CNC New Products: New Products, Circuit Cellar, 4 Park St., Vernon, CT 06066, E-mail: [email protected] AUTHORIZED REPRINTSINFORMATION Router Design,” he presents his computer-controlled