Académique Documents
Professionnel Documents
Culture Documents
40
electronics for you Plus | October 2014 | Vol. 3 No. 6
14
Technology Focus eStyle Buyers’ Guide
Best Buddies: The Web and Wi-Fi Cameras: Focus,
Open Source Electronics Shoot and Share
28 Design Challenge
Designing Modular Smartphones:
(Technical queries: efylab@efy.in)
50
• Crystal-Controlled AM Transmitter
Test & Measurement • Peripheral Driver with Fixed Regulators
(Head Office) E-mail: efyenq@efy.in
Today’s Analysers are Modular, 78xx and 79xx Mumbai : Ph: 022-24950047, 24928520
Flexible and Highly Capable E-mail: efymum@efy.in
diy: Tips & Technique 99-104
54 Embedded Design
From Sensors to Interfaces – Wireless
• How to Assemble Your Own 3D Printer
• USB MP3 Player
Bengaluru : Ph: 080-25260394, 25260023
E-mail: efyblr@efy.in
60 Sensors
Network Protocols and Smart
• Software to Help You Select Inverter
for Your Home
hyderabad :
Ph: 040-67172633
E-mail: efyenq@efy.in
• Colour Segmentation Using MATLAB
Sensors: An Introduction to Wireless Kolkata : Ph: 033-22294788
Sensor Networks (Part 2 of 2)
113 Industry Focus
E-mail: efyenq@efy.in
64 Telecom Technology
An Introduction to Plesiochronous Educational Products and Services
Pune : Ph: 020-40147882
E-mail: efypune@efy.in
Sector Needs Focus
Digital Hierarchy Gujarat: : Ph: 079-61344948
china :
Power Pioneer Group Inc.
Fire Control Systems: The Electronics illumination”— Kent Novak, senior vice president & Ph: (86 755) 83729797, (86) 13923802595
Behind Big Guns (Part 2 of 3) general manager, DLP Products, Texas Instruments E-mail: powerpioneer@efy.in
73 Career
Telecom Offers Mostly Developer and 129 Interview
JAPAN :
Tandem Inc., Ph: 81-3-3541-4166
E-mail: tandem@efy.in
“The deployment of smart meters is far from
Installation Roles for Fresh Graduates a one-size-fits-all undertaking”— Andy Wang,
singapore : Publicitas Singapore Pte Ltd
78 Innovation
High-Speed SerDes: Heart of HoT
“To produce electronic assemblies without a
known profile is just asking for trouble”— Mark
E-mail: jkmedia@efy.in
10 First Look 122 New Products 142 Electronics Mart Ads EFY Plus DVD Printed, published and owned by Ramesh Chopra. Printed at Nutech Photolithographers,
B-38, Okhla Industrial Area, Phase-1, New Delhi, on the first day of each month and
18 Technology News 125 Letters 146 Product EDWinXP: An Integrated Electronics Design Suite I published from D-87/1, Okhla Industrial Area, Phase-1, New Delhi 110020. Copyright
Linux Porting and App Development is a Breeze IV 2014. All rights reserved throughout the world. Reproduction of any material from this
112 Useful Websites 126 Qs&As Categories Index with JTAG Debuggers magazine in any manner without the written permission of the publisher is prohibited.
Although every effort is made to ensure accuracy, no responsibility whatsoever is taken
118 Industry News 131 Business Pages Ads 147 Advertisers’ Index A SPICE Circuit Optimiser (ASCO) VII for any loss due to publishing errors. Articles that cannot be used are returned to the
authors if accompanied by a self-addressed and sufficiently stamped envelope. But
next issue • Wireless Communication Technologies • Security & • Soldering/ no responsibility is taken for any loss or delay in returning the material. EFY will not
(Zigbee, RF to 5G & beyond) Surveillance Desoldering Stations be responsible for any wrong claims made by an advertiser. Disputes, if any, will be
settled in a New Delhi court only.
Price: ` 10,999
The most feature-packed TV available
S
to hit Indian markets soon ony has announced the launch
Apple’s iPhone 6 and iPhone 6 Plus smart- of Xperia C3 Dual smartphone
phones will be available in India from 17th in India for the selfie-loving genera-
October. In the US iPhone 6 starts at $649
tion. The phone runs on Android 4.4
and iPhone 6 Plus at $749. iPhone sports
and includes several software cus-
11.9cm (4.7-inch) screen and iPhone 6 Plus
has a 14cm (5.5-inch) display. With iPhone tomisations from Sony like Xperia
6 and iPhone 6 Plus Apple has made the Themes support.
thinnest devices ever. As iPhone 6 is powered Sporting a 14cm (5.5-inch)
by the new A8 processor, it is expected to be 720p HD display, the smartphone
50 per cent more energy-efficient. Both the is powered by 1.2GHz quad-
models sport an 8MP iSight camera with core Qualcomm Snapdragon 400
face detection feature. iPhone 6 is also ca-
processor, 8MP rear camera,
pable of capturing 43MP panorama photos.
2500mAh battery, 3G support,
Users will be able to pay their bills on retail
stores by simply tapping their smartphones dual-SIM support, 1GB RAM,
on the payment terminals. 8GB internal storage and mi-
croSD card slot. Its unique
Nokia plans to bring cheaper 4G, feature is the 5MP front camera
3G phones in India that is coupled with an LED
Nokia wants to recapture the market
flash. It also has a 25mm wide-
position which it lost in 2012 to Samsung,
angle lens with 80-degree field
it seems. While commenting upon its plans,
Chris Weber, corporate vice president of of view and 720p video record-
Microsoft’s mobile device sales told PTI, ing support.
“We want to continue to push price points
lower and lower than anything we have Price: ` 23,990
today. That’s the statement for both 3G and
LTE (4G) because that is the thing which
gives us scale of the ecosystem.” Sources
Sanchari Banerjee not wait that long. We see no need to Turn any camera into a
download photographs from a memory Wi-Fi camera
F
or the socially-connected people, card before uploading them on the web. Wi-Fi enabled point-and-shoot cameras
who like clicking and sharing Well, you must be thinking, why not retail at a higher price but if you want
their moments, the Wi-Fi enabled use a smartphone instead of buying a to save a few bucks, Wi-Fi enabled SD
camera is the device to have. Being Wi-Fi enabled camera? You carry the cards, called Eye-Fi, may be useful to
social and being connected is the need smartphone with you at all times, and you. These SD cards have in-built Wi-Fi
of the hour. it lets you shoot photographs whenever antennae that can transform any camera
Taking cognisance of the changing you want. Now give this a thought: Are into a Wi-Fi enabled camera. Since it is
times, camera makers came up with you happy with the quality of the im- just ’work-around’ technology, do not
Wi-Fi enabled cameras that have built- ages your phone captures? expect the high-end features of a Wi-Fi
in wireless connectivity and can shoot If you are a serious photographer, camera coming in. These cameras may
and share pictures and videos simul- who does not want to compromise on also lack the on-screen interface. You
taneously. So, all you need is a Wi-Fi the quality of the photographs, and can set up the Eye-Fi SD card on your
enabled camera and Wi-Fi environment also does not want to wait a single computer and then place it in the camera,
to get going. moment in sharing those photographs where the photographs are uploaded
through applications such as Flickr, automatically to your computer or a web
Why a Wi-Fi camera and Facebook, Instagram, or Twitter, the space, if connected to a Wi-Fi network.
not a smartphone? Wi-Fi camera bridges this gap for you.
A few years ago, you had to use a At a minimum level, these cameras Setting up your Wi-Fi camera
film roll that you had to drop off at a allow you to transfer photographs to Once you have a Wi-Fi enabled camera in
processing lab. It was only after a few your iOS devices, Android phones or your possession, you just need to set up
days that you could get your hands on tablets. And, if there is a Wi-Fi hotspot its basic features that allow photographs
developed negatives and prints. Then, nearby, you can upload your shots to be uploaded directly to a computer or
the one-hour photo-labs evolved, lead- directly to a web service from the a web service. There are some cameras
ing to the digital ones. But now we can- camera itself. which already have built-in photo-sharing
Key hh Enhanced creative shot hh Super zoom camera hh Sleek 34.8mm body hh Powerful zoom hh LCD display and hh 21x optical
attractions hh Wi-Fi connectivity hh 30x optical zoom hh Easy to use hh One-touch Wi-Fi GIF animation zoom, 23mm
hh NFC compatibility wide-angle lens hh DIGIC 6 connectivity creation wide angle
hh 16.0 megapixels (24-720mm) hh 30x optical (25-750mm) hh Auto-share and hh Wi-Fi hh Wi-Fi and NFC
high-sensitivity hh Versatile shooting with 60x ZoomPlus auto back-up hh F2.5, 25mm, 5x hh Elegant retro
CMOS sensor hh Intelligent Image hh Wi-Fi and NFC hh Motion Photo zoom lens/16.2 design
hh 46 filter effects Stabiliser (Intelligent IS) hh Zoom Framing Assist function hh Smart filter lens megapixels hh 75mm hVGA
hh Google Drive support hh 12.1 megapixels hh Full HD video recording and colour effects hh Five colours and Hybrid Touch
hh Tube-like curved CMOS hh MP4 compression format hh Live Panorama aluminium body screen
surface hh Wi-Fi connectivity hh Mobile Device Connection hh Remote control via hh Smart filter, live hh Excellent low-
hh 12x optical zoom hh Zoom Framing Assist button smartphone panorama, split light settings
lens (25-300mm) Seek feature hh Google Drive support hh 10x optical zoom and shot, smart auto hh Full HD movie
hh Remote shooting HD video recording recording
DEEPAK HALAN
T
he time is 7.30pm and you have
just managed to end your busi-
ness meeting. However, you
still have more tasks to complete. Your
travel time back to your home is about
an hour and you would like to get
moving at the earliest. You take some
deep breaths to relax from the grilling
meeting, fish out your mobile phone
on which rests an app that will have
the nearest cab sent to you. Within
seconds of sending the request you
receive a text confirmation and in the
next few minutes—the cab.
“Home,” you say, as you start
initiating a video call with a prospect
in New York. The car first checks road
conditions and then glides into the Fig. 1: Dashboard view of Google self-driving car (Source: www.slashgear.com)
self-drive lane, checking and flashing
a message that you are likely to reach made their way into automobiles laws saw the advent of microproces-
home in the next 45 minutes. During only in the early seventies with the sors in car engines, since sophisticated
this time, you will have closed a busi- proliferation of transistor technology control processes were needed to regu-
ness deal with the New York prospect, and affordable solid-state products. late the air and fuel mixture so that
apprised a subordinate, answered a The transistor served a very good the catalytic converter could eliminate
few calls from your office and yes, also purpose to incorporate aspects like most of the pollution from the exhaust.
set your pick-up time for tomorrow the ignition’s mechanical points into In the last few years, the automo-
morning. You reach home relaxed and electronic ignition modules. This was tive sector has seen a lot of innovation
ready to spend some quality time with maintenance-free, more reliable and and advancements in technology.
your family. As you get off the car, it cost-effective. The growing need of Today, computers are being used for
glides away to pick up its next guest. being able to control automobiles with a number of aspects in cars. This has
No one wishes you good night—as higher accuracy in order to meet the resulted in cars that are fuel-efficient,
there is no driver in the car! tightening emissions and fuel economy more secure and environment friendly.
This technology is enabled by standards catalysed the automotive With time, cars are getting more and
equipping cars with a host of sensors, computer systems’ evolution. more sophisticated.
cameras and radar systems. Artificial Modern automotive computer
intelligence (AI) then guides the cars as systems came into the picture only How different are
to where to drive. It is important that by early 1980s when almost every car car computers
the automobiles collect a vast quantity manufactured in the US had a check- Car computers are quite different
of data about nearby obstacles, com- engine light and a primitive computer. from the typical computers that we are
pute risks and make micro-second The onboard computer was indeed familiar with, that is, those having a
decisions. a bit ancient, given its huge tin box CPU, a monitor and keyboard. A car
with edge-board connectors which computer generally looks like a small
How it all began had a propensity to oxidise and result box. It is known as electronic control
Modern solid-state control systems in drivability issues. Stricter emission module (ECM) and is usually placed
S
martphone, one of the most sonal computers (PCs) of future, and Standardised base module. No
empowering innovations in the concept of building a modular PC doubt the smartphones are incredibly
the modern world, has become is well established with almost every compact devices, and different compo-
an intimate object in our lives. How- part replaceable and changeable in any nents are fitted into a compact body,
ever, the pace with which technology PC. However, the design challenges but the modular concept of replaceable
is advancing is shortening its life span. of building a modular PC the size of parts forces us to think differently. The
What if we could have a long-lasting a small fridge is different from that design calls for a standardised base
modular mobile device that was al- of building a modular device which module on which self-contained units
ways at par with the latest technology? is small, thin, light and depends on a of different modules can be connected/
Modularity in a smartphone would very small power source. disconnected.
mean interchangeable parts, which A standardised base module would
would provide us the benefits of cus- How can we build ensure some control over the platform
tomising our smartphone exactly the such a thing? and also make sure there is enough
way we want, but upgrading any spe- There are a lot of design challenges cohesion in the developer community.
cific part without changing the whole and considerations that have to be The whole customisation will revolve
device. For example, one could choose considered before developing a func- around this base module.
the desired processor or have multiple tional modular smartphone that can A standardised base module will
camera lens options for the phone. withstand the test of time. Let us look make sure everything fits together
Even if some component failed with at some of the most important ele- and works. This base module should
use, the user could simply replace the ments here. constitute different slots to connect or
component without having to change Open hardware platform. A modu- disconnect the replaceable modular
the whole device. lar smartphone is an alluring idea components. It could also have a small
The idea seems promising enough but an open platform is a must for a reserve battery, which is necessary to
to some big players who have already successful design. A modular design swap the other modules, especially the
started working on their prototypes. with proprietary interfaces and limited external battery module.
any possible defect will be identified you built it so that any new person can
O
ABHISHEK A. MUTHA
quickly and, more important, new have an accelerated learning instead of
pen source electronics ideas to utilise the same hardware for starting from scratch.” When hardware
is enabling people to different applications will emerge,” is open, it enables you to modify it,
realise their designs says Dhaval Vasa, solution architect, better it and pull out something really
quickly. Designers and eInfochips. great.
hobbyists are turning With open source electronics, eve-
their ideas into reality through digital rything is to be released publicly. More and more
manufacturing. The power of product “I have been work- people going open
development today is not only with ing on In India, the kind of develop-
the major corporations but is trick- ment happening in the field
ling down to in- is at an elementary stage,
dividual designers but there is a constant rise
and entrepreneurs. in the number of people ex-
As a matter of fact, ploring open source hard-
semiconductor mul- ware. Kuber shares, “In
tinationals are gradu- 2009-10, when I started
ally investing signifi- exploring open source
cant time and energy hardware, there were
on this do-it-yourself not many people who
(DIY) community. The had heard of such a
availability of low-cost on concept. The norm was you
nter in acti
3D pri
manufacturing tools and just pay for a course, learn 8051 and
low-cost distribution on the open source get back to make a summer project.”
Internet sites are levelling electronics for past many years and for Today, everyone is buying and build-
the playing field. So let’s explore the me it is something non-proprietary— ing their own robotics project. People
driving factors for people ranging from all documentation is made available, are widely adopting open source
hobbyists, DIYers, specialists/experts, be it schematics or PCB layout,” says hardware. She adds, “In every techni-
professionals and even academicians Varun Sivaram, CEO and founder, cal session or robotics competition,
to create and build open source sys- Technigriti Systems Pvt Ltd. He adds, there is at least one thing made using
tems. “Arduino, for instance, releases eve- an Arduino hardware.”
rything including the Eagle CAD file. There are many people, especially
It is all about making and Anyone can modify it and build stuff.” those with software background,
sharing Open source electronics is all about stepping up and creating open source
“Open source electronics is electron- sharing knowledge, believes Priya Ku- products. Sivaram says, “But one thing
ics designed with the spirit similar ber, director, Arduino India. She says, I have noticed is, sometimes people
to open source software. When more “It is not about just getting behind try to achieve too many things in one
eyes look at open source electronics, closed doors but teaching others how project.”
Anool Boris Landoni Dhaval Vasa Kavita Arora Priya Kuber Varun Sivaram
Mahidharia technical director solution architect, founder, Bangalore director, Arduino CEO and founder,
director, and co-founder, eInfochips MakeSpace and India Technigriti
Lumetronics www.open- Open Source Systems Pvt Ltd
electronics.org Creativity (BMOSC)
Community
A
hardware. However, note that we are together once a week, which makes it
lthough the World not repeating the oft-mentioned and possible to process even single-PCB
Wide Web (WWW) already well-known resources such orders at a reasonably low cost. Apart
itself is considered by as Arduino or Raspberry Pi’s official from fabrication services, Fritzing also
many as the biggest blogs, Make Magazine, and such. offers loads of learning materials, and a
success of open source freely downloadable OS software that
(OS), the dependence of OS on the
WWW is actually even greater. Im- 1.How can I get my PCB
designs fabbed?
helps you create, document and share
OS electronics.
agine how difficult it would be to There are several OS tools available OSH Park (https://oshpark.com/)
create, share and collaborate with on the Web to design printed circuit is a another option, where PCB orders
people across the world without the boards (PCB). However, many often from the community are consolidated,
Web as a backbone? An issue focus- think it is futile to fiddle with designs manufactured in the USA, and shipped
ing on OS electronics would therefore if they cannot get them fabricated. for free to anywhere in the world.
be quite incomplete if we do not talk Now, the Web also makes such facili- Again, this is an affordable option, and
about online resources that aid in the ties available at your doorstep. OSH Park ships promptly within 12
development and use of such elec- During his I-Day speech, our Prime to 15 days of ordering. To get an idea,
tronics. Here, we look at some such Minister insisted on manufacturing in they charge US$ 5 per square inch for
interesting sites that satiate your cu- India. He invited people to make in three copies of two-layer boards, and
2.How do I make my
own vehicle?
develop and
prototype
You might not intend to really com- electronics
pete with the Tatas and Toyotas of while mak-
this world, but have you ever wished ing it all
that you could build your own ve- seem like
hicle, for kicks or due to any special child’s play,
needs? Well, OSVehicle (http://www. literally, with
osvehicle.com) or OSV is an upcom- their colour-
ing open source vehicle platform that ful building
offers a way out. Their first prototype, blocks! lit-
Tabby, was showcased at last year’s tleBits is an
Maker Faire. Tabby is a versatile, littleBits offers open source electronic building blocks that can be used to
OS library
universal chassis on which you can learn or prototype electronics (Courtesy: littleBits) of electronic
build a variety of vehicles ranging modules that
from two, three or four seaters to even and deeper exploration later. Luckily, snap together with tiny magnets. No
cargo carriers, capable of travelling OS electronics has some nice goodies wiring, soldering or programming.
up to 80 kilometres per hour. With for kids too. Snap them together and they start
their starter kit, you can supposedly Although it might not seem di- working. Take them apart, and make
assemble Tabby in less than an hour! rectly like an electronics project, something new. They work just like
Tabby is certified as road-safe and also Scratch (http://scratch.mit.edu/), a building blocks that kids play with.
complies with environmental norms. project of the Lifelong Kindergarten cloudBit, another snap-on module, en-
OSV technology is compatible with all Group of MIT Media Labs, is a great ables kids to join the Internet of Things
types of engines—electric, hybrid and way to get your kids started with (IoT) bandwagon too. Now, making a
internal combustion. All the plans and programming—a life skill to survive smart towel holder or SMS-controlled
blueprints can be downloaded from in the electronics community! Scratch calling bell is child’s play! Several in-
their website and modified at will. lets them visually program and create teresting kits and bundles of littleBits
The forum is quite active and can be interactive stories, games and anima- modules are on sale online.
a medium to share your ideas, solve tions, which can be shared with the If you are an electronics-pro, you
your problems and collaborate on new thriving online community. Scratch is would probably just want to pick up
projects. OSVehicle, like most success- sure to teach kids—or even adults—to some projects or parts, roll up your
ful OS businesses, offers two modes think and reason multi-dimensionally sleeves and get started with your little
to build your vehicle—do it yourself, and work collaboratively, another helper! However, before you indulge
or do it together. The former means must-have OS skill. in any OS project with your kids, keep
downloading all the designs and doing Kids might find littleBits (http:// in mind the fun aspect. As Dave Neary,
it all yourself, while the latter includes littlebits.cc/) very interesting too. an OS expert at Red Hat explains in
paid services and support. one of his blog posts, “As long
You can also check out OScar as their hands are in gunk and
(http://www.theoscarproject.org/), they are taking things apart, or
another project aiming to reinvent mo- there’s the possibility of blow-
bility using OS. ing something up, kids will stay
interested. As soon as the activ-
B
uilt around a microcontroller enable the MCU/MPU to work with designs by incorporating them in the
(MCU) or a microprocessor the different on-board components in existing design, giving some credibility
(MPU), a development board order to make the board suitable for to the creator of the original board. These
allows a learner to get the correct the basic operations of any application. boards have circuits that can be modified
design, along with the required speed 2. To develop the software drivers, or improvised and rebuilt. They facilitate
and convenience to create an easy, prototype and validate them for the the involvement of various open source
interesting and foolproof project. The new system-on-chip (SoC) intellectual communities with the associated engi-
idea behind the creation of a develop- property (IP) blocks, like a video en- neers in order to provide their views on
ment board was to make the task of a gine or a modem. every aspect starting from selecting the
product designer easy. However, over 3. To test the customised logic board to creating a working model.
time, this trend has changed. Now blocks, or the system IPs in a field- Working with an open source de-
development boards are being widely velopment board becomes easier with
used by hobbyists, young engineers the availability of free drivers and
and other learners. development tools that can be easily
For an amateur or a young engi- downloaded from Internet.
neer who has just started build- Some popular boards in this
ing projects, assembling a bunch category are the i.MX53, Beagle-
of small components on a single Bone Black, Raspberry Pi, Arduino
hardware in a particular design UNO, Gooseberry, Origen, Snow-
so as to create a working project ball and Intel Galileo. The list of
is a very tough job. A single mis- boards is quite long and additions
take in designing the basic board are made to it every year. These open
for a project can lead to failure. This source development boards provide an
is where a development board proves open design, size, processing speed and
useful. A designer does not have to keep programmable gate array (FPGA), a great price to start with. Other features
modifying the basic circuit of the project connected to the core of the MCU/ include the open source software tools
while using a development board. The MPU and running at the speed of an that inspire application developers to
development board acts as the basic application-specific integrated circuit build third party applications around the
building block, leaving an engineer with (ASIC). projects based on these boards.
time and effort to work on other parts of 4. To shorten the development time Seetharaman Devendran, general
the project. by providing a ready-to-use platform manager, MCU, LPRF, sales & market-
for firmware development and data ing, Texas Instruments, says, "The
Basic uses of a collection. open source development boards like
development board Of course, there are other uses but MSP430 are like cupcakes for the stu-
All development boards are used for cer- these depend upon the application a dent community as these provide the
tain type of work, be it an open source development board is used for. debugging facility at the initial steps.
development board or another type that The other development boards that do
allows modifications in its existing de- Open source development not have the open source design do not
sign. Listed below are some uses: board allow any debugging, and this makes it
1. To develop the software, bench- The development boards licensed tough to work with those designs.”
www.efymag.com
CPU Architecture ARM ARM ARM Cortex- ARM Cortex-A7 ARM Cortex- ARM ARM Cortex-A9 x86 Quark x86-64 Bay ARM ARMv7 ARM Cortex-A9 ARM ARM ARM11 ARM MIPS 74Kc ARM Cortex- ARM
Cortex-A7 Cortex-A8 A5/ARM A9 Cortex-A9 Trail-I Cortex-A9 Cortex-A9 Cortex-A9 Cortex-A9 A9/ARM Cortex-A9
Cortex-M4 Cortex-M3
Cores 2 (1 + 1) 5 (4 + 1)
Frequency 1 GHz 1 GHz 500 MHz/167 1 GHz 1 GHz 1 GHz 1 GHz 400 MHz 1.46 GHz 1.6 GHz 1.2 GHz 1.2 GHz 1.7 GHz 1.6 GHz 700 MHz 1 GHz 720 MHz 1 GHz/? 800 MHz
MHz
GPU Mali- PowerVR ? Mali-400MP2 Vivante Mali-400 Vivante N/A Intel HD Mali-400MP4 N/A Vivante GC2000 Mali-400MP4 Mali-400MP4 Broadcom Vivante N/A Vivante Mali-400
400MP2 SGX530 GC2000 + GC2000 + Graphics @440 MHz VideoCore IV GC880 + GC2000 +
GC335 + GC355 + GC320 GC355 +
GC320 GC320 GC320
RAM Size 1 GB 512 MB 256 MB 2 GB 2 GB 1 GB 1 GB 256 MB 1 SO-DIMM 1-2 GB 1 GB 4 GB SO-DIMM 2 GB 1 GB 512 MB 1 GB 128 MB 1 GB 1 GB
socket
Data Rate ? ? ? ? up to 1066 ? ? ? ? ? ?
(MT/s)
Data Path ? ? ? ? ? ? ? ? ? ? ? ?
Width (bits)
Type DDR3 DDR3L DDR3 DDR3 DDR3 DDR3 DDR3 DDR3 DDR3L DDR3 DDR3L DDR3 LPDDR2 DDR3 ? DDR3 DDR2 DDR3 DDR3
PCIe No No No No No No 1 mini 1 mini 1 mini No 1 mini 1 mini No No No No 2 mini No 1 mini
USB 2.0 2 + 3 header
3.0 No No No No No No No No No No No No No No No No No
Device OTG Device OTG OTG No No ? Client No OTG No OTG OTG OTG ? OTG No OTG No
Storage On Board No 4 GB Flash 512 MB Flash 8 GB Flash No 8 GB Flash No 8 MB Flash + 4 GB eMMC 4 GB Flash 1 GB Flash No eMMC module 4 GB Flash No 4 GB Flash 128 MB Flash No 4 GB eMMC
8 KB EEPROM opt.
Flash Slots SD microSD microSD microSD microSD microSD microSD (UHS) SD No microSD microSD SD microSD microSD microSD microSD No microSD microSD
(SDHC) (SDXC) and SD
SATA Yes No No SATA 2.0 eSATA 2.0 No mSATA No SATA 2.0 No No SATA 2.0 ? ? No No No SATA No
Networking Ethernet Gigabyte 10/100 10/100 Gigabyte Gigabyte Dock Gigabyte Gigabyte 2x GbE 1 GbE + 1 100Mbit GbE 3x GbE GbE 10/100
Ethernet (AR8327) (VT6113)
(RTL8111)
Wi-Fi No No No a/b/g/ b/g/n b/g/n No No No b/g/n b/g/n b/g/n No b/g/n No No a/n (QCA9558) n (RT5370) b/g/n opt.
n(BCM4329) (BCM4329) RTL8188) (88W8787) (RTL8188) (AR9271)
Communica- Bluetooth No No No 2.1 + EDR 2.1 + EDR 4.0 LE No No No No Opt. No No No No No No No
tion I2C Yes Yes Yes Yes No No Yes Yes Yes No No No Yes Yes Yes Yes No Yes Yes
SPI Yes Yes Yes Yes No No Yes Yes No No No No No Yes Yes Yes No Yes Yes
Generic I/O GPIO Yes ? ? Yes ? Header Yes No
Analog No 12-bit ADC 12-bit ADC, ? No No No 12-bit ADC, 6 PWM No No 8x 12-bit ADC, 8x No ADC, PWM No PWM No 10-bit ADC, No
12-bit DAC, PWM PWM, via FPGA PWM
PWM
Other CSI, UART CAN, UART CAN, JTAG, IrDA, UART CIR rx/tx CIR rx, CSI-2, Arduino 1.0 SMBus CIF, UART JTAG High-speed I/O UART UART UART CSI, UART RS-232, 2x SFP Arduino 1.0 CIR
Interfaces OpenSDA, FlexCAN, UART headers, JTAG, expansion header headers
RS-232 6x UART (provides GPIO
breakout)
Audiovisual Mic In Pads No No Header No No Yes N/A 3.5 mm Yes N/A Yes 3.5 mm ? No Yes N/A Yes 3.5 mm
Interfaces Audio Out Yes HDMI No 3.5 mm, HDMI, Optical SPDI/F HDMI 3.5mm jack, N/A 3.5 mm Yes N/A Yes 3.5 mm, HDMI 3.5 mm, Yes 3.5 mm, N/A Yes 3.5 mm
S/PDIF S/PDIF HDMI, S/ HDMI
PDIF
HDMI Yes Yes Micro HDMI Yes Yes N/A HDMI 1.4a Yes N/A Yes Yes YesDVI Yes N/A Yes Mini HDMI
compatible 1.4
LVDS Yes No No No No No LCD header N/A LCD header RGB N/A Part of “eDP Adapter No Yes ? Yes N/A LCD header DVO con-
Board” nector
Other Video Composite No No VGA No No No N/A VGA header No N/A No No AV output Composite ? N/A No No
Out video
Operating Linux Linux Linux Android Linux Android Linux Linux Linux Linux Linux Linux Linux Ubuntu/ Linux FreeBSD Linux RouterOS 5 Linux Linux
System Android Android MQX RTOS Android Android Windows Android Android Android Linaro 13.09 NetBSD Android Android
BSD Android RISC OS
Windows Plan 9
Size (mm) 92 × 60 86.4 × 53.3 100 × 72 110 × 80 55 × 55 × 42 ? 85.6 × 54 123.8 × 72 101.6 × 105x78 133 × 93 ? 83 × 48 100 x 80 x 30 85.6 × 54.0 120 x 75 183 × 105 110 x 85 100 × 72
101.6 × 20 × 19.5 × 24 (Pico-ITX)
Weight 48 g 40 g 64.2 g 220 g (kit) ? ? ? ? ? 90 g ? ? 48 g ? 45 g ? ? ? ?
Input Voltage 5 V 5 V 5 V 5 V 5 V 5 V 5 V 7-15 V 12 V 5 V 5 V 16 V DC 5 V 5 V 5 V 5 V 8-30 V 6-15 V 12-24 V
Power 10 W supply, 1.05–2.3 W 5 W supply, ? 15 W supply ? 10 W supply ? 36 W supply 10 W supply 15 W 1.6 W ? ? 3 W 5 W supply 25 W max ? ?
Consumption 1.15 W idle 1.83 W typ.
in Linux
Power Source micro USB miniUSB or Mini USB or miniUSB or DC DC jack Micro USB Micro USB DC jack or PoE DC jack DC jack DC jack DC jack, or any ? DC jack or Micro USB or DC jack DC jack DC jack DC jack
DC jack or DC jack jack or LiPo 3 cell RC LiPo USB OTG GPIO header
47
via expan- batteries battery via optional input
sion header charger module
buyers’ guide
Workbench development tools and boards that match the project require-
Sourcery CodeBench development ment.
tools (for a limited time). It is compat- 4. Identify the availability of the
ible with Texas Instruments’ Code integrated development environment
Composer Studio IDE. Although it has (IDE) and the development tools re-
an in-built debugger, it allows one to quired for the listed boards.
connect an external debugger through 5. Check the associated simulators
the ARM 20-pin connector, J1. and compilers—some boards do not
Kinetis K22 Tower System Module. It allow GCC compilation.
features the latest Kinetis K22 32-bit ARM 6. Identify the right board as per
Cortex-M4 MCUs from Freescale and al- the budget of the project.
lows USB connectivity with a crystal-less Although the steps listed above are
operation. It operates on a stand-alone not the only parameters needed to make
debugging tool and has an independ- a decision, engineers often find these to
ent battery-operated power supply for be useful while selecting a development
real-time clock (RTC). It uses the Kinetic board for their projects. The idea behind
Design Studio IDE along with Freescale listing these steps is to narrow down the
MQX real-time operating system for research and select the right develop-
MCU software development along with ment board at an affordable price.
a Kinetis software development kit. However, Sani Theo, a team leader
LPCXpresso. This development at EFY Labs says, “Working every now
board features the LPC11U68 Cortex- and then with various types of develop-
M0+ MCU from NXP. When used with ment boards, I feel that the main criteria
Eclipse-based IDE and the low-cost tar- to select them is to first understand
get board with an attached JTAG debug- the requirement of the project and to
ger, it can be used to evaluate all the LP- understand what type of MCU will be
C11E6x devices. This board supports the essential. Then, the other important
GNU C/C++ tool chains available both factor that comes into picture is our fa-
in free and pro versions. Its compatibility miliarity with the MCU. I consider two
with Arduino UNO and peripheral mod- MCUs—one from Atmel and the other
ule (PMOD) standards opens up options one from some other manufacturer. If I
for its existing peripheral board. am familiar with Atmel, my approach
will be to select the development board
How to select based on Atmel MCU.”
It can be a daunting task for anyone Bhupender Singh, consultant-
selecting the right development board Embedded System, Multisoft Systems
from a plethora of options, having says, “Identifying the main features on
so many features and specifications, the drivers and the availability of free
available in the market. Luckily, there drivers play an important role when
are some pointers that can help narrow it comes to the selection of a develop-
down the choices. Here is how you ment board.” He adds that, currently
should proceed with your selection: every manufacturer is tying up with
1. First select the project to be built an open source community to come
and the components required for it. up with an open source development
2. Identify the right MCU with the board so that it becomes easy for an
required number of pins, I/O ports, engineer to get the associated free soft-
interface and other features, such as ware along with free support.
live input power, speed, memory, etc.
3. Create a list of the development The author is a technical journalist at EFY
A
nalysers now aim at meet- lyser, just like the box type instrument. aboard takes the signal and processes it
ing all the test needs of an If you are building a new protocol and in-line. If there is communication that
engineer from design stage to want to do an analysis of that protocol, has to go back, it is sent and, at the same
testing stage. Available in low-cost to you have the flexibility to incorporate time, analysed information is available
high-performance range, the analys- the capability into it. “Today, people for the user to look at. “The FPGAs are
ers are used for a variety of applica- talk about monitoring the spectrum in- also capable of breaking down the signal
tions, such as 5G, smart antennae (like stead of just performing a simple spec- for analysis to learn the kind of commu-
multiple-input and multiple-output) trum analysis, or probably even look at nication happening, if at all this necessity
and smartphones. it as an intelligent demodulator. These arises,” informs Mohanram. He adds,
Traditional analysers are box type are the software-defined personalities “Hardware in-loop is a very common
instruments with the capability of that you can bring to analysers,” says way of testing new-generation protocols
analysis in-built into them. With the Satish Mohanram, technical marketing because, if you have to test a protocol,
newer modular PCI eXtensions for manager, National Instruments. you have to be able to emulate the re-
Instrumentation (PXI) based analysers, “Testing instruments are support- ceiver. It becomes easy with the FPGA
channels can be added as per require- ing high bit rate testing. This enables based in-line processing capabilities and
ment. For instance, by adding a card to faster data rate development of future complete programmability that you get
an 8-channel logic analyser, it can have telecom technologies,” notes Madhukar off these instruments.”
16 channels, and by adding another Tripathi, regional manager, Anritsu The FPGAs can be chosen based on
card it can have 32 channels, and so on. India Pvt Ltd. Earlier, programming signal being handled and the amount
Functionality of traditional ana- used to happen mostly on a computing of in-line processing to be done. If the
lysers is fixed, that is, logic analysers platform, where you put the logic into end user has a very high-end protocol
W
(as required)
tops for us to analyse. Then there are Additional areas, buildings and sites
Table I
Components and Chips
Manufacturer Device Family Part Number Benefits Summary Applications Technologies Key Parameters
of family
Silicon Labs Wireless Si106x/ Combines high-perfor- Home automation Compliant with -On-chip debug
Microcontroller Si108x mance wireless con- Home health care the 802.15.4g -Ultra-low power 8051MCU
nectivity and ultra-low Building HVAC control smart metering core
power microcontroller Telemetry standard -2 μs wake-up time
processing into a small
5mm x 6mm form
factor
NXP Wireless JN5148 Offers fully compliant JenNet, JenNet-IP and Based on the -Operating current con-
Microcontroller 2.4GHz IEEE802.15.4 ZigBee PRO applications IEEE802.15.4 sumption of 18mA when
transceiver, 128kB of standard receiving, and 15mA when
ROM and 128kB of transmitting @ +3dBm
RAM to support both -Ultra low power consumption
the networking protocol -Highly efficient memory
stacks architecture
-32-bit RISC CPU – 32MIPs
Texas Wireless CC2541-Q1 Enables the building of Both low-energy and Bluetooth Low -2.4GHz low energy
Instruments Microcontroller robust nework nodes proprietary 2.4GHz ap- Energy compliant
with low total bill-of- plications -Supports data rates of
material costs 250kbps, 500kbps,
1Mbps, and 2Mbps
-Excellent link budget,
Enabling long-range
Atmel Wireless AVR Atmeg- Combines AVR -ZigBee/IEEE 802.15.4 – ZigBee/IEEE -Ultra low power consump-
Microcontoller a256RFR2 microcontroller and full and reduced function 802.15.4 tion (1.8 to 3.6V) for AVR &
best-in-class 2.4GHz RF device Rx/Tx: 10.1mA/18.6mA
transceiver and offers -General purpose 2.4GHz -38 programmable I/O lines
highest RF performance ISM band transceiver with -Speed grade: 0 – 16 MHz
for single-chip devices. microcontroller @ 1.8 – 3.6V range with
-RF4CE, SP100, wire- integrated voltage regulators
lessHART, ISM applications
and IPv6 / 6LoWPAN
Hope RF Wireless RFM12B-S2 Module is implemented Applications compliant -Wakeup timer
Transceiver with a unique PLL with FCC and ETSI regula- -Differential antenna input
Module (phase locked loop) and tions -Programmable TX
operates in the 915MHz frequency deviation
band (from 15 to 240kHz)
-Programmable receiver
bandwidth (from 67 to
400kHz)
Silicon Labs Wireless Si4438 RF High-performance, -Smart metering and auto- -Frequency range:
Transceiver low-current, ISM band mated meter reading 425–525MHz band
transceiver covering -Robust in home com- -Receive sensitivity:
the 425 to 525MHz munications to home –124dBm
frequency band appliances -Power supply: 1.8V to 3.6V
-Long-range backhaul -> 84dB blocking for >
communications to the 8MHz offset
collector
Texas System on Chip TMS320T- Multicore SoC CDMA/HSPA/ -Eight TMS320C66x DSP
Instruments CI6636 architecture designed HSPA+, TD- core subsystems per core
for high-performance SCDMA, GSM, @ 1.2GHz
wireless infrastructure TDD-LTE, FDD- -ARM Cortex A15 quad core
applications LTE, LTE-A and cluster @ 1.2GHz per core
WiMAX with 4MB L2 cache coher-
ent memory
Allen- Wireless Interface Bulletin Provides a wireless com- All products that support Bluetooth wire- -Full-duplex point-to-point
Bradley Module 22-WIM munications interface the DSI protocol less technology protocol
between computers -Compatible with all pow-
equipped with Bluetooth erflex compact-class drives
wireless technology and peripherals
efits without any compromise in the (AMI), opening up a wide scope of de-
system’s reliability and measurement signing options for the engineers.
quality. Wireless sensors make the end
product excitingly useful for the users. Integrated transceivers
The low-power ZigBee standards are There are certain transceivers that not
basically optimised to the needs of the only offer a complete but also a high-
wireless sensor networks and thus offer performance mixed-signal system and
self-healing mesh networking option RF on a single chip. In this category,
along with robust self organising, low there are some input/output RF based
cost and complexity, the large extent of transceivers compatible with ZigBee
scalability and an excellent battery life. standards that incorporate different
The smart sensors are also supporting layers of elements into another layer,
wireless communication in smart meter facilitating a fast deployment feature.
and advanced meter infrastructures This family of transceivers is
Part 2 of 2
Network Protocols and Smart Sensors:
An Introduction to Wireless Sensor Networks
Wireless sensor networks (WSNs) have seen explosive growth in recent years because
of their independent sensing capabilities. The first part of his article gave basics of the
technologies used in WSNs. This concluding part covers network protocols and types of
sensors generally used
Dr J.D. Jain
A
Source node Group leader Destination
wireless sensor network is a 5 Links 3 Links
communication system which
senses and gathers informa-
tion from a certain area and sends it to
where it is required. In such networks
the communication system requires
networking protocols which are effi-
cient, reliable, scalable and secure.
Fundamental differences in sensor
networks which affect protocols are: 2 Links 2 Links
15 Links
Data sink(s). That is, the nature
4 Links total
of data sink(s). For example, whether
the end user is embedded in sensor
Standard peer-to-peer routing Leader to destination
network or access points
Fig. 2a Fig. 2b
Sensor mobility. This aspect may
influence protocols at the networking Fig. 2: Multicast routing reduces message path length and improves efficiency
level as well as at localisation service
Sensor resources. Such as comput- their own location to usefully assess (TDMA), the RF link is divided on time
ing ability their data. The location information axis with each node given a predeter-
Traffic pattern. For example, can be utilised for routing purposes. mined time slot it can use for commu-
whether data is generated continuous- 4. If a sensor network is well con- nication. This decreases the sweep rate,
ly during environmental monitoring nected, the topology control service but a major advantage is that it can be
The factors to be considered while should be used in conjunction with the implemented in software. All nodes
designing WSN protocols are: normal routing protocols. require accurate, synchronised clocks
1. Routing decisions to be under- for TDMA.
taken considering the importance of Multiple access protocols
energy resources in the network. When multiple nodes desire to trans- Medium access control
2. Communication channels often mit, protocols are needed to avoid col-
protocols
exist between events and sinks. Since lisions and loss of data. In frequency Medium access control (MAC) proto-
sink nodes are typically used for division multiple access (FDMA), cols focus on reducing the idle power
overall description of the environment different nodes have different carrier consumption by setting the sensing
rather than explicit readings from the frequencies. FDMA also requires ad- transmitters to sleeping mode as of-
individual sensor devices, the commu- ditional hardware and intelligence at ten as possible. MAC protocols have
nication in sensor networks is normally each node. In code division multiple been designed for ad-hoc networks
referred to as data-centric rather than access (CDMA), a unique code is used which primarily focus on optimising
address-centric, and the data may be by each node to encode its messages. fairness and throughput efficiency
aggregated locally rather than collect- However, this increases complexity of with less emphasis on energy con-
ing all the raw data sent to the sink(s). the transmitter and receiver. servation. Some protocols like IEEE
3. Sensors have the knowledge of In time division multiple access 802.11 eliminate the waste caused by
An Introduction to
Plesiochronous Digital Hierarchy
Plesiochronous digital hierarchy is a digital multiplexing technique that offers bit rates
starting with the basic multiplex rate of 2Mbps with further stages of 8, 34 and 140Mbps.
It is used in telecom transmission networks to transport large quantities of data from one
place to other place
D
DMUX
PSTN 2 8 Mbps 2 PSTN
elivery of services like te- MUX DMUX
lephony, voice-over-IP, vid- 8 8 34 Mbps 8 8
eo streaming, telemedicine, ISDN 2 34 34 2 ISDN
broadcasting of TV programmes, high- MUX DMUX
8
8
speed file sharing, online banking, 34 140 Mbps 34
Circuit
online video gaming, online education 2 2 GSM
GSM 140 140
and shopping, needs a transmission
8 8 8 8
network capable of very high data-rate
2 34 34 2
transport capabilities. Innovation in the Internet
Internet
telecom industry has led to a new kind 8 8
of multiplexing and de-multiplexing
technique called plesiochronous digital Fig. 1: Plesiochronous digital hierarchy used as a circuit provider
hierarchy (PDH).
The term plesiochronous is de- sampling, quantisation and encod- with one another. PDH hierarchies
rived from Greek plēsios, meaning ing. As a standard voice telephone developed and adopted by Europe,
near, and chronos, time. This ensures signal has a bandwidth of 4kHz, it is North America and Japan used dif-
that PDH network elements run in sampled at twice the 4kHz frequency, ferent tributaries for multiplexing and
nearly time synchronised manner. that is, at 8kHz (Nyquist rate). Each de-multiplexing (Fig. 2).
Multiplexing of several low data- sample is then converted to an 8-bit In Europe, PDH adopts bit rates
rate channels is done to utilise the binary number. This occurs 8000 times starting with the basic multiplex rate
high data-rate transmission capacity per second. of 2048kbit/s ≅ 2 Mbit/s with further
of transmission media. The bit rates Thus, if we multiply 8k samples/s stages of 8, 34 and 140 Mbit/s. In this
start with the basic multiplex rate × 8 bits/sample, we get the stand- system, 30 channels are multiplexed
of 2Mbit/s with further stages of 8, ard bit rate (= 64kbps) for a single together that results in 2.048Mbps
34 and 140Mbit/s. Such a hierarchy voice channel. A transmission rate of basic rate, which is designated as E1.
is shown in Fig. 1. PDH networks 2048kbit/s (= 64kbps x (30+2)) results If four such lines are multiplexed to-
provide circuits to switched public when 30 such coded channels are col- gether, and taking some framing bits,
networks and may also be used to lected together into a frame along with we get 4×30 channels = 120 channels =
build synchronisation networks. the necessary signalling information 8.448Mbps = E2 designation.
(equivalent to two time slots). This so- Multiplexing four E2 lines together
Evolution of PDH called primary rate, 2048kbit/s, is used we get 4×120 channels = 480 chan-
With the introduction of pulse code in most parts of the world. nels = 34.368 Mbps = E3 designation.
modulation (PCM) technology in the The growing demand for more Again, multiplexing four such E3 lines
1960s, communication networks were bandwidth meant that more stages of results in 4 x 480 channels = 1920 chan-
gradually converted to digital tech- multiplexing were needed throughout nels = 139.264Mbps = E4 designation.
nology over the next few years. PCM the world. In order to meet the de- Further multiplexing such four E4 lines
allows multiple use of a single line by mand for higher bit-rates, the digital results in bit rate = 4 × 1920 channels
means of digital time-domain mul- multiplex hierarchy PDH evolved in = 7680 channels = 564.992Mbps = E5
tiplexing (TDM). The PCM involves various parts of the world, differing designation.
x4 x4
x4
x5 x7
x 24 x 30
64 kbit/s
Subframe I
3 0 1 A S S S S S a3 b3 c3 d3 a18 b18 c18 d18 stream is not possible. Most
4 C3 0 0 1 1 0 1 1 a4 b4 c4 d4 a19 b19 c19 d19 PDH network equipment
5 1 1 A S S S S S a5 b5 c5 d5 a20 b20 c20 d20
is proprietary. Vendors use
Frame Numbers
Subframe II
10 C2 0 0 1 1 0 1 1 a10 b10 c10 d10 a25 b25 c25 d25
11 1 1 A S S S S S a11 b11 c11 d11 a26 b26 c26 d26
monitoring capabilities too.
12 C3 0 0 1 1 0 1 1 a12 b12 c12 d12 a27 b27 c27 d27 In most parts of the world,
13 E 1 A S S S S S a13 b13 c13 d13 a28 b28 c28 d28 there is no standardised
14 C4 0 0 1 1 0 1 1 a14 b14 c14 d14 a29 b29 c29 d29 definition of PDH bit rates
15 E 1 A S S S S S a15 b15 c15 d15 a30 b30 c30 d30 greater than 140Mbit/s.
Timeslot TS0 TS1 TS15 TS17 TS31 Besides, each multiplexing
Legend Ci Cyclic redundancy checksum bits Frame alignment bits section has to add overhead
E CRC-4 Error signaling bits 0 Frame alignment supervision bit bits for justification, which
CRC-4 Multiframe alignment 1 CAS multiframe alignment is again not an efficient use
Fig. 3: The 2.048Mbps basic frame structure of the available transmis-
sion bandwidth. PDH net-
resulting in 32 × 64kbps = 2.048Mbps time-synchronised manner, not in work architecture does not allow ring
speed. exact sync. Slight differences in tim- structure and works in point-to-point
In CCS scheme, TS0 and TS16 ing signals mean that justification or topology.
time slots are used for synchronisa- stuffing is necessary when forming the
tion, bit-error detection, alarm indi- multiplexed signals. Inserting or drop- Conclusion
cation, frame alignment, etc. Cyclic ping an individual 64kbit/s channel A PDH transport system provides
redundancy check (CRC-4) bits allow to or from a higher digital hierarchy the technical means to transfer large
the detection of errors. In TS0 time requires a considerable amount of quantities of data between two net-
slot, frame alignment supervision complex multiplexer/de-multiplexer work nodes. But it is very difficult to
(FAS) bits allow targeting of synchro- equipment. interoperate different PDH networks
nisation to find the beginning of the One of the major hurdles with as it is a specific vendor proprietary
frame. FAS bits are only transmitted PDH system is adoption of different based technology that lacks in global
on odd frames. Non-frame align- standards around the world. Various standardisation. Different parts of the
ment supervision (NFAS) is used to geographies of the world use different world use different hierarchies for
manage alarms and errors, such as hierarchies, which lead to problems multiplexing and de-multiplexing.
loss of signal (LOS) indication in the of international interworking. For Moreover, PDH does not allow direct
event of link failure or frame loss. example, between those countries us- multiplexing, which means individual
NFAS uses a bit equal to ‘1’ to avoid ing 1.544Mbit/s systems (USA and tributary signals cannot be inserted or
coincidences. In TS16, bit A is used Japan) and those using the 2.048Mbit/s removed into the PDH multiplexed
for remote alarm indication for such system (Europe), specialised interface signal without intermediate multi-
instances as a power fault, loss of in- equipment is required to interwork the plexing and de-multiplexing steps.
coming signal, or loss of multi frame two hierarchies. Supervision and maintenance func-
alignment. Bit S is used for mainte- To recover a 64kbit/s channel from tions are limited. This makes PDH an
nance or performance monitoring. a 140Mbit/s PDH signal, it is necessary inefficient signal transport technol-
Multi frame alignment signal (MFAS) to de-multiplex the signal all the way ogy.
is used to synchronise the channel- down to the 2Mbit/s level before the
associated signalling. location of the 64kbit/s channel can be The author, working with BSNL, holds a PhD
identified. PDH requires ‘steps’ (140- degree from IIT (BHU), Varanasi. He holds
Difficulties with PDH 34, 34-8, 8-2 de-multiplex; 2-8, 8-34, senior research fellowship of UGC at Centre of
Advanced Study, Department of Electronics Engi-
Traditionally, PDH system is ple- 34-140 multiplex) to drop out or add neering, IT-BHU in Varanasi. His current research
siochronous, which means the net- an individual speech or data channel interests include wired and wireless technologies
work elements work more or less in (Fig. 1). for high-speed Internet access
Part 2 of 3
Fire Control Systems:
The Electronics Behind Big Guns
The first part of this article explained what big guns actually do and how, and more
importantly the crew protection systems. This part describes various fire control systems
B. KAMALANATH
Machine gun ammunition
T
Optical periscope Hatch or cupola
Commander's MG
Gun mantlet Turret
o shoot a target, the gun of Co-axial gun Turret ring
Abhishek A. Mutha
A
ccording to a recent report,
telecommunication services
are likely to grow to 15% of
the GDP by 2015. The escalation in the
domestic market is expected to grow
with the arrival of new players and
launch of new services. This growth
potential in the sector makes it a highly
sought after sector by professionals.
Let us dive straight into the kind of
roles available for an engineer in this
sector, followed by the diverse respon-
sibilities of telecom engineers and their
remuneration.
There are various roles available You could be an You could be a telecom
for engineers, such as radio frequency integration engineer... engineer...
(RF) survey engineer, base transceiver
station (BTS) engineer, microwave en- Responsibilities and tasks: As a telecom engineer, you will be
Support pre-sales activities, including responsible for preparation and reviewing
gineer and spectrum analysis engineer.
pre-studies the project document including detailed
But all these are limited in terms of Plan implementation of the product designing of security systems like closed
numbers and allocation to fresh engi- configuration/integration work circuit TV, personal access system and
neering graduates. For freshers, jobs Execute product configuration intrusion detection. Candidates with oil
are available mostly as network and Execute integration work and gas or building management system
integration engineers or as software/ Prepare acceptance test and handover experience will be preferred.
application developers. to customer Requirements:
Identify and drive improvements Your engineering degree in instrumentation/
A network engineer performs
Perform post-project activities electrical/electronics with 1 to 3 years of
design, audit and optimisation of
Preferred requirements: relevant industrial work experience would
a network to meet a customer’s re- Problem solving and troubleshooting skills be an ideal fit.
quirements. This role is applicable
for design and optimisation of radio performance and quality according to on the position one holds. Depending on
access network, transmission, core requirements and the contracts. the area, be it installation, software, infra-
and services networks. The network An integration engineer can be ex- structure or network, the tasks differ from
engineer can also be engaged in the pected to analyse, prepare, implement company to company. See the boxes for
whole process from pre-sales of ser- and verify the configuration and inte- some of the latest job profiles at reputed
vices and networks to service delivery gration of a node, network or a system. organisations hiring engineers to work in
and acceptance. Basically, the role is A software engineer focuses on projects the telecom domain.
more focused on executing, audit, de- where C/C++ programming language is
sign and optimisation services, where widely used. For managing the products, How remunerative is the job
the network engineer is responsible Java is the preferred language. For software engineers, George Abra-
for a part of the solution and a part ham, associate vice president-Recruit-
of the service process. As a result, the Tasks and responsibilities ment, Sasken Communication Tech-
engineer is responsible to keep timing, The responsibilities in this sector depend nologies Ltd, informs, “The CTC (cost to
Minimum qualification
the jobs for engineers is in software Notable hiring companies
domain; 22% of the jobs being for
required software engineers and application
Nokia Solutions and Network
Wipro
Ideally, telecom companies look for grad- programmers each. Roughly 8% of the Ericsson
uates (B.E./B.Tech in ECE/CS/Telecom) jobs are in areas of RF engineering and Tata Communications
with good academic record of anywhere hardware installation or maintenance. Alcatel-Lucent
between 60% and 70% aggregate in all About 7% of the jobs are for network Avion
HCL
papers in engineering and having cleared administration.
in first attempt. Some companies also provide a more practical approach
recruit EEE and IT graduates and provide Professional courses towards the telecom industry.
necessary training. could be an option There are several professional courses
Although some companies have their for telecom domain with duration of one
Demand areas own in-house training facilities to to six months. Depending on your field
Going by the statistics provided by train new entrants, the others look for of interest, you could go for that particu-
TimesJobs.com, Bengaluru tops the list candidates with some kind of experi- lar course. In the programme structure,
of top five cities hiring engineers for ence or formal training in the subjects. the topics that are touched upon during
telecom sector, with a share of 28%. There are a handful of organisations these courses are highlighted in the box
Second in the list comes Delhi with 16% that provide professional certification below. These could, again, vary from one
of the jobs. Mumbai falls next with 13% courses in India. Typically, these train- institute to another, some of whom also
while Chennai and Pune share 11% of ing programmes are designed to give provide placement and guidance.
the jobs each. candidates an overview of communica-
Understandably, a big chunk of tion, GSM and CDMA systems. These The author is a senior technical correspondent at EFY
EDWinXP: An Integrated
Electronics Design Suite
This Windows based software package integrates different tools to automate
all stages of electronics product design cycle right from circuit schematic
designing to PCB fabrication
E
DWinXP is an integration of ment of this tool by
tools that cover all stages of participating in the ac-
electronic design process, which tive discussion forums
include schematic capture, circuit at company’s website.
simulation, PCB design and layout,
generation of PCB manufacturing and Integrated tools
testing documentation. It also provides The seamless integra-
the users with several verification and tion of tools in ED-
validation tools to check the integrity WinXP makes it a bit
and correctness of the schematic and complicated to start
PCB layout design. One can use this with but, once mas-
suite to produce PCBs of several kinds tered, this package is
including flexible PCBs, RF boards and EdWinXP1 easy to work with. Its
multi-layer PCBs. graphical user inter-
One of the most notable benefits face (GUI) is simple
of using this tool is that you can per- to follow and allows
form reverse engineering of designs. easy shifting from one
This means, project database can be tool to the other in
completely reconstructed using full the package. The suite
set of artworks in Gerber ASCII format has following compo-
or complicated PCB Outline. This is nents integrated into
achieved through two stages. First stage the main software tool.
involves import of graphic elements in Schematic Editor. It
artworks and distribution into relevant is the front end of any
categories. As an example, the traces are PCB design for creating
distributed to Trace Master and pads to circuit diagrams us-
Padstock category. Next stage of recon- ing standard symbols
struction has several steps executed in a and connections. Each
predefined sequence. EdWinXP2 component in the sche-
The inclusion of IPC-355 format for matic has a label that
PCB assembly output and IPC-356A Developer Visionics, a subsidiary of displays parameters of that particular
format for bare board testing allows Norlinvest Ltd component. You can also modify or add
PCB manufacturers to verify Gerber Licence type Shareware other parameters or texts and notes to it.
data against the design net list. This This captured schematic is automatically
Disk space 350MB
would assist in identifying several de- front annotated to layout mode by the
Version 1.9
sign flaws which might have resulted tool. Schematic DXF Export option lets
in unusable PCBs. of using this software. This company is you export EDWinXP schematic graph-
Fast, round the clock support by based in India and works very closely ics into AutoCAD DXF format.
the company is another major benefit with its customers. The users can even Library Editor. EDWinXP library
EdWinXP3 EdWinXP4
diagram converter, 3D IDF file viewer, visionics.a.se or through their distribu- ers with the support desk, thereby
Filter Designer, ODB++ export and tors. Upgrades can be made to Non ensuring quick response and solution
import are some of the other modules Commercial, Commercial and Small to design issues. Service pack updates
available on EDWinXP. Biz versions of EDWinXP Schematic, containing additional features and bug
Standard, Deluxe or Professional pack- fixes are posted on the website. The
Different types of licensing ages. site also provides discussion forums on
The evaluation version of EDWinXP Online technical support for the the product, newsletters and elaborate
provided in the DVD comes with all product and for creating libraries is tutorials, training projects and demos
the features of EDWinXP with 14-day available at support@visionics.a.se or in document and/or video formats.
licence, after which it can be activated edwin@visionicssupport.com. Besides,
directly from Visionics website www. Visionics offers live chat for custom- The author is a technical correspondent at EFY
W
A Linux based embedded system can be split into three main components:
hen it comes to embedded
1. The Linux kernel. The Linux kernel is the core of the Linux operating system (OS), having
systems running Linux, ultimate authority. It is the first component to start after the system has been initialised by the
developers are primarily boot-loader.
concerned about two things: porting 2. Kernel modules. Linux kernel modules are dynamically loaded and unloaded as and when
needed; once a Linux kernel module is loaded it has the same level of authority as the Linux
or making Linux run on the target
kernel. Kernel modules are mainly used for device drivers.
without errors, and developing appli- 3. Application software. Application software cannot access the Linux kernel memory or
cations that can run on Linux to carry hardware directly as they run in user mode on a Linux system, with reduced privileges. So, if
out the job the embedded system is some application software needs to access the peripherals or memory, it needs to request the
Linux kernel to provide system-level access to it.
designed for.
JTAG debuggers with Linux aware-
ness are rising to the occasion, helping GNU debugger
developers to debug embedded sys- (GDB).
tems running Linux. This article looks Using KGDB,
at why it is difficult to use traditional a developer can-
methods for Linux debugging, before not examine the
delving into how JTAG debuggers help current state of
sort out bugs in the different stages of the system by
Linux booting and Linux application halting the CPU,
development. Fig. 1: Interconnection of JTAG-compliant devices in a PCB especially in
a multi-core or
Unique challenges This is done using the virtual address- multi-processing environment. The
posed by Linux ing, which is maintained by memory breakpoints that we set in KGDB
There are several steps involved in management unit (MMU) of the Linux cannot halt the execution of all the
the Linux booting process. The boot- system. processes at once as the Kernel GNU
loader first copies itself to RAM from In Linux, there is a constant switch- debugger (KGDB) requires a commu-
Flash and then loads the Linux kernel. ing between the kernel space and user nication port, such as Ethernet (also a
Next, the Linux kernel boots up and space, and also between different pro- process), to be working continuously
performs the transition from physical cesses. This makes tracking of virtual for the KGDB agent present in the
addresses to kernel virtual addresses. memory impossible and complicates target to communicate with the host
The memory space allocation for the debugging of these processes or the system. This also means that to start
particular processes in the physical Linux kernel. These issues cannot be agent based Linux kernel-debugging,
memory may be fragmented across addressed using common methods like we require a communication chan-
multiple memory regions, but these adding ‘print’ statements, or agent- nel to be established with a working
appear to be in a continuous memory based debugging solutions, such as the IP stack and working device driver,
address space for the process using it. Kernel GNU debugger (KGDB) or the which may not be possible when the
A
SPICE circuit optimiser, popu- hh Fully redesigns a new circuit and to the time it takes to complete the
larly known as ASCO, has described in a SPICE netlist optimisation process.
hh Initiates the circuit optimisation Efficiency. Using the differential
found its way through an aca-
capabilities in existing SPICE
demic research project that intended evolution (DE) process, the optimisation
simulators, using high-performance
to design low-voltage, low-power and parallel differential evolution algorithm features a global optimisation.
high-performance analogue circuits for optimisation algorithm Till date, it has been used in various
mobile communications. SPICE (simula- hh Reuses and optimises an existing circuit applications producing great results in
tion program with integrated circuit em- hh Simplifies the design process acceptable amount of time. As suggested
phasis) is a general-purpose, open source in an open literature, this optimiser can
analogue electronic circuit simulator. Benefits of using ASCO also be looped in with a local optimiser
The main task of ASCO is neither to gain the convergence speed.
to suggest nor to create new circuit ar- Works as an automation tool. ASCO Parallel or distributed computation.
does all the tedious tasks and gives
rangements but to simplify the design There is simultaneous evaluation of the
time to a designer to concentrate on the
process. It automatically verifies, fine- solutions for the existing problems and the proposed values over multiple comput-
tunes and optimises the functionality challenges related to architectures. ers in one network so as to save time.
of the circuit for temperature and volt- Easy migration. Designers can migrate ASCO does not have any limitation to
age throughout the process. a working and an existing design to an the number of computers used or the
advanced semiconductor technology number of values evaluated at a time.
Features without much effort. No recompilation needed. Optimi-
Explore new design space. It allows the
ASCO has a set of in-built features due sation of arbitrary netlist in different
designers to easily explore a new design
to which it is considered a great help space for an already existing topology so as conditions does not require recompila-
for the designers in quest of design- to reduce the power consumption and area. tion of the code within the supported
ing a better circuit. Perhaps the most ASCO allows the designers to find feasible SPICE simulators.
interesting is that, ASCO is simulator- topology even before deriving the equations File format. All the output data and
independent. This means, it functions to describe the circuit operation. the log information related to optimisa-
independent of the simulator it is Increase in robustness and yield. tion are stored in the plain text format
ASCO increases the robustness and yield
working with. It thus provides out-of- so as to guarantee their readability in
of of a previously designed circuit just by
the-box support for multiple simulators guaranteeing that it complies with all the future. This format also allows the data
like ngspice, Qucs, LTspice, HSPICER, constraints in (all/some of) the process and the files to be used by other existing
Spectre R and Eldo. That is not all, the corners and all the design goals. tools after the optimisation process.
future releases of ASCO are expected to ASCO is a free software tool and
include more simulators. Key features does not have a limit to the number of its codes are available under the GNU
of the tool are described below. circuit variables that can be optimised. GPL licence.
(Note. If a simulator can be The only constraints that can be im-
launched from the command line, posed are due to availability of the Optimisation algorithms
can read the inputs from the text files, computer memory or the time required ASCO has both global and local optimi-
output the result in the ASCII format, to generate a functional circuit. sation algorithms, which makes this tool
it can be added to the list of the sup- Process-voltage-temperature (PVT) easily acceptable with many simulation
ported SPICE simulators. It flexibly corners. Using the simulator function- tools. But what are those algorithms? We
works with tools like FastHenry.) ality, ASCO can help determine the already know that ASCO uses DE for
Number of variables. ASCO is PVT corners for a designed circuit. The global optimisation, but is ASCO also
hard-coded in ‘C’ and theoretically tests related to various design corners capable of local optimisation?
Anagha P.
P
HY is an abbreviation for physi-
cal layer of the conceptual open
systems interconnection (OSI)
model. With ever increasing demand
for faster data transfers, over the recent
times, the demand for hi-tech electronic
products has considerably increased in
India. Especially with introduction of
the concept of the Internet of Things
(IoT), where every device is connected
to each other and to the Internet, there
is growing need for enabling high-
speed, high-throughput and high- Terminus Circuits Quad Lanes PCIe 3.0 PHY_10Gbps Multistanard SerDes Hard IP solution
performance systems.
The multi-standard 10Gbps SerDes Specifications
offered by Terminus Circuits is an off-
Product: 10-gigabit SerDes (PHY)
the-shelf intellectual property (IP) of- Usage: High-speed, high-throughput serial link
fering that forms part of a main system- Features: 1. Low supply voltage, typically 1.0V
on-a-chip (SoC) or high-end equipment 2. Designed and developed in GF 28nm SLPtechnology node
3. Supports multiple standards and data rates ranging from 2.5Gpbs to 10Gbps:
manufactured and sold by original (i) USB 3.0 (4.8Gbps)
equipment manufacturers (OEMs). It (ii) PCIe Gen2 (5.0Gbps) and Gen3 (8.0Gbps)
was designed and developed by K.S. (iii) SATA III (6Gbps)
Sankara Reddy, founder of Terminus (iv) SAS (12Gbps)
(v) 10GBASE-KR or 802.3ap or Backpane Ethernet (1Gbps and 10Gbps)
Circuits, and his team in 65nm general- (vi) Optical fibre XFI standard (10.55Gbps)
purpose (GP+) technology. (vii) Common electrical I/O (6.25Gbps)
It is a PHY product that can support 4. Throughput of 40Gbps built-in 8GHz, 10GHz PLLs
channels up to 32dB of attenuation, 5. Built-in 8GHz, 10GHz PLLs
Developed by: K.S. Sankara Reddy and team
covering most of the cables supplied Company: Terminus Circuits
by the cable vendors. This multi-
standard SerDes supports standards also act as enabler for SoCs targeting the The clocking solution consists of three
like serial ATA (SATA), serial attached latest standards like SuperSpeed and individual phase-locked loops (PLLs) that
SCSI (SAS), XFI, 10GBASE-KR, Periph- SuperSpeed+ USB (USB 3.1), PCIe 4 and support data rates and standards ranging
eral Component Interconnect Express applications like solid-state drives with from 2.5Gbps to 10Gbps.
(PCIe) and universal serial bus (USB). native PCIE, terabytes routers, etc. The digital side of the product, like
This product forms the heart of high- Physical Coding Sublayer (PCS) and
speed and high-throughput servers. Design elements MAC (Media Access Controller) layer,
The device is suitable for complex The analogue part of the transceiver is consists of 500,000 standard cells con-
applications like weather forecast, brain the physical medium attachment (PMA) nected for controlling and enabling the
simulations, high-performance com- that comprises custom-made transistors device connectivity between digital and
puting (HPC), cloud computing and with a QUAD configuration for attain- analogue worlds, thus making the com-
network operations centre (NOC). It can ing high throughput (up to 40Gpbs). plete system that meets the standards
Design challenges
It took almost three years to claim the finished SerDes IP
design. Currently, there are only a handful of companies
across the globe that provide such high-speed SerDes IPs. The
product is first of its kind developed completely in India and
meets the requirements prescribed by the standards bodies
like IEEE, USB.org and PCI-SIG.
The complexity of the design being very high, its devel-
opment required manpower that had years of experience in
designing SerDes IPs and their sub-blocks. Scarcity of highly
knowledgeable, skilled and experienced workforce in this
field was a challenge.
The product has received the ‘Most Innovative Product of
the Year 2013’ award from India Electronic and Semiconduc-
tor Association (IESA) in recognition of innovative ideas that
were implemented in the design of SerDes, which helped the
customers to mitigate their SoC and package complexities.
This is a finished product that can be readily adopted by
fabless design houses or OEMs. These products are offered
through flexible licensing, royalty or buyout options. It can
be sourced to customers worldwide through the web portal
Design & Reuse (D&R). The IPs can also be picked up by
OEMs who intend to do fab-out of their designs through
foundries like Taiwan Semiconductor Manufacturing Com-
pany (TSMC), GlobalFoundries and Integrated Device Manu-
facturer (IDM).
Akhil Kaushik identification technology that uses energises the tag. The tag responds to
radio signals to identify, track, sort the reader’s query and announces its
R
adio frequency identification and detect a variety of objects includ- presence via radio waves, transmitting
(RFID) is used in many appli- ing people, vehicles, goods and assets its unique identification data. This data
cations. Here, we present an without the need for direct contact or is decoded by the reader and passed to
access control system based on EM-18 line-of-sight contact (as found neces- the local application system via mid-
RFID reader module and Arduino sary in bar code technology). RFID dleware. The middleware acts as an
UNO board. technology can track movement of interface between the reader and the
RFID is a non-contact, automatic objects through a network of radio-en- RFID application system. The system
then searches and
matches the iden-
TP1
S1 tity code with in-
POWER USB
ON/OFF formation stored in
INPUT SCL
BATT.1 the host database or
SDA TP0
DRIVER AREF 12V backend system. In
RST
GND
13
this way, accessibil-
R1
ity or authorisation
ARDUINO
3.3V 12
5V 11 1K
GND 10 T1 for further process-
GND 9 BC548
Vin 8 ing can be granted or
refused, depending
ATMEGA328
R4
R3 680E R2 CON1
7
680E 1K
on results received
6
by the reader and
DIGITAL
A0 5
D1
A1 4 processed by the da-
ANALOG
1 A2 3 LED3 1N4007
Vcc
RFID1 A3 2 LED2 tabase.
C1 WARNING LED1
EM-18 A4 TX 1
READY
100u DAT0 9 OPEN
Circuit and
2 GND A5 RX 0
25V C2 3 BUZZ 8
0.1u 4
N/A
DAT1
7 SOLENOID LOCK
working
Tx
5 N/A
SEL 6 BOARD1 Fig. 1 shows the cir-
cuit of RFID based
GND access control us-
Fig. 1: Circuit diagram of the access control system ing Arduino board.
The circuit is built
Parts List abled scanning devices over a distance around Arduino UNO board (Board1),
Semiconductors: of several metres. A device called RFID RFID reader module (RFID1), solenoid
BOARD1 - Arduino UNO board tag, or simply a tag, is a key compo- lock and a few other components.
RFID1 - EM-18 RFID reader
T1 - BC548 npn transistor
nent of the technology. Arduino UNO board. Arduino is
D1 - 1N4007 rectifier diode An RFID system typically consists an open source electronics prototyping
LED1-LED3 - 5mm LED of three key elements: platform based on flexible, easy-to-use
Resistors (all ¼-watt, ±5% carbon):
R1, R2 - 1-kilo-ohm 1. An RFID tag, or transponder, hardware and software (called sketch).
R3, R4 - 680-ohm that carries object-identifying data It is intended for artists, designers,
Capacitors: (unique ID code) hobbyists and anyone interested in
C1 - 100µF, 25V electrolytic
C2 - 0.1µF ceramic disk 2. An RFID tag reader, or trans- creating interactive objects or environ-
Miscellaneous: ceiver, that reads and writes tag data ments.
CON1, CON2 - 2-pin terminal connector 3. A back-end database that stores Arduino UNO is a board based on
S1 - On/off switch
BATT.1 - 12V battery records associated with tag contents ATmega328 microcontroller. It con-
- 12V electric strike (solenoid An RFID reader emits a low-level sists of 14 digital input/output pins,
lock)
radio frequency magnetic field that six analogue inputs, a USB connection
efy Note
The source code of this project is
included in this month’s EFY DVD
and is also available for free down-
load at source.efymag.com
W
o
sani the
eather forecasts play an (API) that can be used by the develop-
important role in our day- ers to get the weather data. A client
to-day life. A good weather device is needed to access the world-
monitoring system helps in better plan- weatheronline.com API to get weather is a stream of readable characters that
ning and any preparations that may be data by sending a uniform resource include HTTP protocol information
required in case of adverse weather. locator (URL), simply known as the followed by weather data. The HTTP
This project deals with the con- Internet address. protocol information contained in the
struction of a weather display system In order to get access to the API weather data is removed by a routine
using low-cost components so that one has to register with the weather in the client software. The data values
any electronics hobbyist can build it. website. Upon successful registration, that follow are separated by commas.
Instead of using sensors to gather the a unique access key code is assigned The current data and the forecast are
weather data, the project gets the in- and sent to your email ID. This unique separated by line feed and carriage
formation from professional weather code must be included with the request return. The data layout information
stations located around the world URL that is sent to the server. One can is available as comments in the CVS
through an international weather data send approximately 500 requests per format. The following is an example of
provider. The author’s prototype is hour to the server. The server accepts response from the server that contains
shown in Fig. 1. the client device request and sends the weather data header in CSV format:
necessary data to the client. HTTP/1.1 200 OK
World weather online The server provides three types Cache-Control: public, no-cache=”Set-
During the past few years several of message formats for weather data: Cookie”, max-age=120
weather data providers have prolifer- XML, JSON and CSV. The first two for- Content-Type: text/plain;
mats are a bit difficult to use because charset=utf-8
one must use format headers and keep Expires: Tue, 14 Jan 2014 06:20:17
track of special string of characters GMT
to identify data. The CSV format is Server: Microsoft-IIS/7.5
simple because it uses readable char- Set-Cookie: wwoanon=BameQIJHzwE
acters where the data is separated by a kAAAANDc0NGEwZmEtOTY5ZC00Mz-
comma (,) character. FlLThhNzItNWMzNWQzMWZl
To request weather data, the URL NmQ27xVhqIEhtREITXXX7wBw-
message shown below is sent to the 3Pa5XkM1; expires=Mon, 24-Mar-2014
server. 16:58:17 GMT; path=/;
“GET/free/v1/weather. HttpOnly
ashx?q=madurai&format=csv&num_of_ X-AspNet-Version: 4.0.30319
days=2&show_comments=no&no&key=y hit-for-pass: 1
ayjgrdysb6hpftc2jwek5c9”; Date: Tue, 14 Jan 2014 06:18:19 GMT
Fig. 1: Author’s prototype The response to the URL message Age: 0
Connection: close
Table I X-Powered-By: UKFastWebcelerator
The URL Message Details X-Cache: MISS
Commands Description
GET Command used to get data from the server using HTTP protocol
The following is the CSV data
format:
Q Name of the city for which weather data is needed ( here, Q = Madurai)
date,tempMaxC,tempMaxF,tempMin
Format Format of data (here, CSV format)
C,tempMinF,windspeedMiles,windspeed
num_of_days Number of days for which the data is required ( here, num_of_days = 2)
Kmph,winddirDegree,winddir16Point,w
show_comments To display comments (here, comments are not needed = no)
eatherCode,weatherIconUrl,weatherDesc
Key Access code received on registration
,precipMM
R4
10K
Vss
K 1
16 LCD1 VR1
VO 1 8
3 CS Vcc 1 14
10K C5 OE Vcc
16X2 LCD
A/VEE VDD CONT. 0.1u 2 7
15 2 SO IC3HOLD 2 13
RS R/W EN D0 D1 D2 D3 D4 D5 D6 D7 1A 4OE
25LC256
dIy: project
R2 4.7K 3
4 5 6 7 8 9 10 11 12 13 14 WP SCK 6 3 IC4 12
1Y 4A
4
GND SI
5 74HCT125
11 32 4 2OE 11
4Y
R15 100E
RB7 2A 3OE
2 RA0
RB6 39
R5
26
R6
22 RD3 RC7
27 RD7 30 5 VDDPLL 20
RD4 WOL
28 RD6 29
RD5 19
6 SO VDDRX
Vss Vss OSC1 OSC2
IC2 R10
R7
31 12 13 14 7 SI LED A 27
XTAL1 LED4
10MHz
ENC28J60 R9
8 SCK LED B 26
DB9 0.1u 15
CON2 C12 C7 C6 9 24 LED3
GND 33p 33p CS OSC2 C11
R13
R14
9 8 7 6
12 16
5 4 3 2 1
MAX232 TPIN− TPOUT− 2
T1IN 3
10 T2IN 11 4
IC5 13 TPIN+ VSSTX 18 R12 49.9E
5
TO PC COM PORT R2OUT C1− 0.1u C16 6
9 3 TP5 14 R11 7
C13 RBIAS VSSOSC 22 0.1u
8
2.7K
0.1u 4 1 2 21
GND VSSPLL CON3
C14 C2− VS+
5 Vcc 2 0.1u RJ45
C15
16
GND
www.efymag.com
dIy: project
which are freely available on the Inter- weather data from the CSV format and supplies to the PCB at CON4 and
net for download. The incoming CSV displayed in Report List. CON5, respectively.
data format from EEPROM via COM Reset button is used to reset the If your PC does not have a se-
port is stored in a string array. Simple Delphi form. The user has to change rial COM port, you can connect it to
software routines are included in the the COM port number available in his USB port by using a USB-to-serial
Delphi program to extract individual PC and baud rate is fixed to 19200. converter. In that case, first you need
to install appropriate driver in your
TP2
Construction PC. After connecting the client board
TP1
+5V TP3
+3.3V
and testing to your PC, launch the weatherdis-
1 IC6 3 1 IC7 3
7805 LM3940 An actual-size, dou- play.exe Delphi program. A window
R1
CON1
2 2
C4
330E ble-side, solder-side screen will open up similar to the
9V DC C1 C2 C3
INPUT 0.33u 0.1u 0.47u 33u LED1 PCB layout of the cli- one shown in Fig. 5 with blank data
10V POWER
ent-board is shown in columns.
GND
TP0
Fig. 6, component-side In the display panel of this win-
Fig. 4: Power supply track layout in Fig. 7 dow click on the Setting button and
and the component choose the COM port. Note that your
layout in Fig. 8. An PC COM port baud rate should be
actual-size, single- 19200. Enter the city name in the
side PCB layout for edit box, for instance, Madurai. Now
the power supply is switch on the client board. The ‘TCP-
shown in Fig. 9 and its Client’ message should appear on the
component layout in LCD. Vary VR1 to adjust the contrast
Fig. 10. of the LCD to get clear visibility of the
Mount the compo- message.
nents on the PCBs to Next connect one end of the Eth-
save time and mini- ernet cable to the RJ45 connector in
mise assembly errors. the client board and the other end to
Check proper connec- the Ethernet port of your broadband
tions before connect- modem/router which has Internet
Fig. 5: Delphi front panel display ing the 5V and 3.3V connection. You need to configure
your Internet connection
in your PC from the con-
trol panel. You should
disable wireless Internet
connection. If Internet
connection is successful,
you will see the blinking
of LED3 and LED4.
Now, click on Open
button at the bottom of
the screen. The IP ad-
dress (192.168.0.102 in
our case) should appear
on the LCD. The Show
button will be inactive
first but after a few sec-
onds it will get enabled
and ‘Remote server con-
nected’ message will
appear at bottom of the
screen. Upon clicking on
the Show button weather
data will get displayed
in the report sheet as
Fig. 6: An actual-size, double-side, solder-side PCB layout of the client board shown in Fig. 5.
efy Note
The source codes of this
project are included in this
month’s EFY DVD and are
also available for free down-
load at source.efymag.com
Further
applications
Some other applications of
this system could be:
1. Apart from the
weather data one can get
different types of weather
analysis by sending rel-
evant URL request to the
server by referring to the
Fig. 7: Component-side track layout of the PCB full document available on
the website.
2. It can be made into a
portable system by interfac-
ing it to a 10.2cm (4-inch)
TFT colour LCD display
and making it wireless us-
ing MR24WBOMA instead
of ENC28J60
3. This design may be
better than a backyard
weather station because
you receive accurate profes-
sional weather forecasts.
4. One can modify the
design to connect with
other data providers to dis-
play important data such as
news headlines and stock
market information.
A
vast range of audio-associated (regular) and SOP-16 (SMD) packages. ever, if you are interested only in USB
integrated circuits (ICs) are With a little skill and patience, even a power, the onboard regulator (and re-
readily available for use by novice can rig up the stereo amplifier lated components) is not needed. Any-
experimenters, professional design system on a small prototyping board. way, before giving power to the circuit,
engineers and hobbyists. Most of the DIP-16 package may not be available the entire assembly must be checked
ICs are modestly priced with uni- from a local component vendor as the carefully for correct connections.
versally recognised part numbers. package is not very popular in this Note that the absolute maximum
Described here is an interesting circuit age of microelectronics. Fortunately, working voltage of PAM8403 module
of a 3W USB stereo amplifier based PAM8403 based stereo audio amplifier is 5.5V. Therefore do not use four AA
on PAM8403 IC from Power Analog modules in pre-wired form are readily dry cells (1.5V×4 = 6V) to power the
Microelectronics. Designed for por- available from online component ven- system. It is recommended to use four
table applications, PAM8403 is a 3W dors at affordable price. Anyone can rechargeable (Ni-Cd/Ni-Mh) cells
(class-D) stereo amplifier suitable for build one’s own stereo audio system (1.2V×4 = 4.8V), or three dry/alka-
high-quality sound reproduction. Its using this module just by adding some line cells (1.5V×3 = 4.5V). Further, do
filter-less architecture allows the chip external components. not make the audio input signals too
to drive inductive loads directly, with- The circuit shown here may be high as that will deteriorate the sound
out any low-pass output filters, which assembled on a separate prototyping quality, and probably destroy the chip
saves the system cost and size. board. Use of suitable pin headers
1 CON1
Parts List
CON4 LS2
2 L Semiconductors:
− 4E, 3W
3
GND +
Board1 - PAM8403 module
JACK1
R BOARD1 OUTPUT LEFT IC1 - 5V regulator LM1117-5
L R
STEREO JACK
OUT
C
T1
hecking of an electrolytic ca- TP1
BC558
R1
pacitor without an LCR meter 220K BATT.1
is not free from hassles. Here CON1 3V
*CUT
is a simple solution for checking the R2 C1
serviceability of a capacitor. + 5.6K 4.7n
−
Circuit and working T2 LS1
BC548 32−ohm
TP0
Fig. 1 shows the circuit diagram of a
simple capacitor tester which can be GND
housed in a small matchbox. It is basi- Fig. 1: Circuit diagram of the capacitor tester
cally an oscillator circuit comprising Fig. 4: Earpiece of a headphone
two transistors, BC558 (T1) and BC548
(T2), and a few other components. The
frequency of oscillation, which is in
audio range, depends on value of the
capacitor under test. The tester can
check the serviceability of capacitors
in the range of 1µF to 2200µF. Fig. 2: An actual-size PCB layout for the tester
circuit
Construction and testing
An actual-size, single-side PCB for the
capacitor tester is shown in Fig. 2 and Fig. 5: Capacitor tester in matchbox
its component layout in Fig. 3.
Connector CON1 in the circuit is Parts List
for inserting the capacitor under test. Semiconductors:
T1 - BC558 pnp transistor
Four-pin berg strip female connector
T2 - BC548 npn transistor
is used here to accommodate differ- Fig. 3: Component layout of the PCB Resistors (all 1/4-watt, ±5% carbon):
ent sizes of capacitors. LS1 is a small R1 - 220-kilo-ohm
R2 - 5.6-kilo-ohm
speaker used as headphone (shown
Capacitor:
in Fig. 4). Assembled PCB of the cir- Test Points C1 - 4.7nF ceramic disk
cuit can be enclosed in a matchbox as Test point Details Miscellaneous:
LS1 - 32-ohm headphone speaker
shown in Fig. 5. CON1 - 4-pin connector
TP0 0V
After wiring, do verify that volt- BATT.1 - 3V button cell
TP1 3V - 2-pin terminal connector
ages are as per Test Points table.
For testing the capacitor, insert it fire-siren like sound is produced. A capacitor is short.
in CON1. If the capacitor is good, a continuous beep is produced if the The author is a regular contributor to EFY
T
his is a very simple and easy- (T2) with a heat-sink and a few other plifies tiny oscillations present in the
to-make AM transmitter for components. crystals at the fundamental frequencies
the shortwave band. It can be The circuit transmits on 6.4MHz of XTAL1 or XTAL2. IC1 is used as series
used as a simple cordless microphone and 7.2MHz. The output is selected to modulator.
as well. a single crystal frequency with the help Amplified audio from electret
of DIP switch DIP1. Operation of the microphone MIC1 is directly coupled
Circuit and working circuit is simple. to the collector of transistor T1. The
Fig. 1 shows circuit diagram of the Transistor T1 and its associated audio signal is superimposed on the
crystal-controlled AM transmitter. It components make up a Colpitts oscil- carrier frequency by varying the DC
is built using an electret microphone lator with resistors R1, R2, R3 and R4 input to the oscillator. Due to careful
(MIC1), low-power audio amplifier providing biasing and capacitors C2 design, 100% modulation is obtained
by speaking into the micro-
TP1
phone. Transistor T2 is a simple
S1 = emitter-follower that is used as
ON/OFF SWITCH
R7
C5
10u
RFC1 C1
ANT.
a buffer between the oscillator
100n
10K 25V
R1
10K
and the outside world. The
S1
POWER C8 6 R6 crystal-controlled AM trans-
1K T1
C6
100n
3
1
PN2222A T2 mitter is only 40mW amplitude
8
100n IC1
5
2N3866A modulated, but modulation
LM386 WITH
CON1
2 X TAL1 X TAL2 C2
HEATSINK
peaks can rise to 160mW with
100p RFC2
12V C7
330p
7 6.4MHz 7.2MHz full modulation.
4 1 4
C3 C4
MIC1
ELECTRET
2 3
R2 R3
100p 100n Construction and
MIC
DIP1
2−WAY
10K 100E
R4
100E
R5
100E,0.5W
testing
OFF ON
GND TP0
An actual-size, single-side PCB
RFC1, RFC2 = 10 − 20T OF 26SWG ON TV BALUN CORE
for the crystal-controlled AM
Fig. 1: Circuit diagram of the crystal controlled AM transmitter transmitter is shown in Fig. 2
and its component layout
Parts List
Semiconductors:
Test Points
IC1 - LM386 low-power audio Test point Details
amplifier
T1 - PN2222A npn transistor TP0 0V
T2 - 2N3866A npn transistor with
heat-sink TP1 12V
Resistors (all 1/4-watt, ±5% carbon, unless stated
otherwise):
in Fig. 3. Use a 7.5-metre
R1, R2, R7 - 10-kilo-ohm long wire for the antenna.
R3, R4 - 100-ohm A regulated 12V hum-free
R5 - 100-ohm, 0.5W
R6 - 1-kilo-ohm Fig. 2: An actual-size PCB layout for the transmitter power supply or a 12V
Capacitors: battery should be used. En-
C1, C4, C6, C8 - 100nF ceramic disk
close the circuit in a small
C2, C3 - 100pF ceramic disk
C5 - 10µF, 25V electrolytic plastic box.
C7 - 330pF ceramic disk Before using the circuit,
Miscellaneous:
S1 - On/off switch
verify test point voltages
DIP1 - 2-way DIP switch are as given in the table.
MIC1 - Electret microphone
XTAL1 - 6.4MHz crystal The author is an electronics hob-
XTAL2 - 7.2MHz crystal
byist and a small-business owner
CON1 - 2-pin terminal connector
RFC1, RFC2 - RF choke (10 turns of 26SWG in Albany, New York, USA. His
wire on TV balun) interests include designing radio-
Fig. 3: Component layout for the PCB frequency circuits
D
rivers for peripheral devices with other similar regulators. The cir-
should have over-current, cuit will work with any 78xx and 79xx The +V2 voltage is controlled by
over-voltage and over-heating series of regulators using 5V to 24V transistors T1 and T2. When T1 and
protections. Nowadays, a large variety supply. The circuit works with sym- T2 are on, voltages V2, V3 and V7 are
of low-cost, fixed-voltage regulators metrical as well as non-symmetrical present. In that case, you have V3 = 12V
(such as 78xx and 79xx series) are voltages. For example, we can have and V7 = 12V - 0.7V = 11.3V. Similarly,
available which offer these protections ±12V, or +12V and -9V (or any other when T1 and T2 are off, voltages V2, V3
and more. These can be used as elec- voltages within the regulators’ range), and V7 become zero. When the signal
tronic on/off switches and drivers for if needed. at point A on input connector CON1 is
such peripheral devices as DC motors, In this case, IC 7812 (IC1) works high positive (say, above 3V), transis-
incandescent lamps, electromagnetic as a switch and regulator for the posi- tors T1 and T2 are on. When the signal
relays and power LEDs, besides others. tive input voltage V1, while IC 7912 at point A is low or negative (say, be-
The drivers can be with single polar- (IC2) works as switch for the negative low 0.8V), transistors T1 and T2 are off.
ity, dual polarity, half bridge and full input voltage V4. Diodes D1 through The -V5 voltage is controlled by
bridge. This article discusses one such D4 protect the regulators from reverse transistors T3 and T4. When T3 and T4
application. voltages. Diodes D3 and D4 are obliga- are on, the voltages -V5, -V6 and V7
tory only if there is a danger of reverse are present. In that case you have -V6=
Circuit and working voltage from the capacitors connected -12V and V7 = -12V + 0.7V = -11.3V.
Fig. 1 shows circuit diagram of a bipo- to the regulators. When T3 and T4 are off, the voltages
-V5, -V6 and V7
D3 1N4007 are zero. When the
Test Points signal at point B
+V2
+V3 TP1 Test point Details is highly negative
+V1 1 IC1 3
T1 7812 TP0 0V
(say, -3V or less) the
TIP42 D1 transistors T3 and
C2 2
1N4007 TP1 +12V
470u C5 C6 T4 are on. When
50V R5 1K R9 TP2 -12V
R6
1u 1u
2.2K the signal at point
50V 25V
C1 150E B is not so negative
0.33u 2W Parts List
Semiconductors:
(say, -0.7V or more),
V7 = +11.3V OR −11.3V
R1 1K
T2 IC1 - 7812, 5V regulator transistors T3 and
CON1 BD139 C9
IC2 - 7912, -12V regulator T4 are off.
INPUT R2 0.1u T1 - TIP42 pnp transistor
10K _ T2 - BD139 npn transistor If you activate
A
GND
TP0 R12 T3 - TIP41 npn transistor points A and B
2.2K CON2 T4 - BD136 pnp transistor
B GND OUTPUT D1-D4 - 1N4007 rectifier diode at the same time,
R3
R4
10K
R11 Resistors (all 1/4-watt, ±5% carbon, unless stated voltage V7 will be
1K 10E otherwise): zero. The control
T4
R1, R3 - 1-kilo-ohm
BD136
R2, R4 - 10-kilo-ohm signal at point A
R7 R5, R8 - 1-kilo-ohm can be made TTL or
C3 150E R6, R7 - 150-ohm, 2W
0.33u 2W R9, R10, R12 - 2.2-kilo-ohm CMOS compatible
C7 R11 - 10-ohm with selection of
R8 1K
C4 1u C8 R10 Capacitors: appropriate resis-
470u 50V 1 1u 2.2K C1, C3 - 0.33µF ceramic disk
50V
T3 25V C2, C4 - 470µF, 50V electrolytic tors R1 and R2 and
TIP41 7912 C5, C7 - 1µF, 50V electrolytic transistor T1. The
−V4 2 IC2 3
C6, C8 - 1µF, 25V electrolytic
−V6 D2
C9 - 0.1µF ceramic disk control signal at
TP2
−V5 1N4007
Miscellaneous: point B is negative
D4 1N4007 CON1 - 5-pin connector and is not TTL or
CON2 - 2-pin connector
Fig. 1: Circuit diagram of peripheral driver with fixed regulators CMOS compatible.
Fig. 2: An actual-size PCB layout for the driver circuit Fig. 3: Component layout for the PCB
Ankit Gupta can assemble a simple 3D printer for object. The scanner makes a 3D digital
yourself, like we did in EFY lab, and copy of an object and puts it into a 3D
3
D printing, getting popular for then make use of it. But before that, modeling program. This 3D model file
making usable objects, is the you should know some basics of 3D is sliced into thousands of horizontal
reverse of traditional machin- printing. layers which are then printed by a 3D
ing where material is removed from The process of printing 3D objects printer, layer by layer, creating the
a block by drilling, cutting, chiseling, starts with making a virtual design of entire 3D object. 3D printers gener-
etc for making objects. In 3D printing, the object you want to create, using ally employ one of below-mentioned
an object is created by laying succes- one of the supported computer aided methods.
sive layers of material as per require- design (CAD) software. A 3D scanner Fused deposition modeling (FDM).
ment. This article describes how you can also be used to copy an existing This is the most popular method used
in DIY type 3D printers. Here a plas-
tic filament or wire is made to pass
through an extrusion nozzle (Fig. 2).
The nozzle tip is heated to melt the fila-
ment or wire. The nozzle can be moved
in all three directions, precisely, using
stepper motors. The object is produced
by extruding melted material to form
layers upon layers of the object. The
material hardens immediately after
extrusion from the nozzle. The process
is also known as fused filament fabrica-
tion (FFF). The printer shown in Fig. 1
is an assembled FDM based 3D printer.
Selective laser sintering (SLS). In
this method high-power laser is used
to fuse small particles of plastic, metal,
ceramic or glass powder to form an
object. The laser selectively scans and
fuses the material layer by layer as per
Fig. 1: LM8UU Prusa Mendel 3D printer the 3D model design. Once a layer is
Unsintered material
in previous layers
Powder delivery piston Fabrication piston
area of the resin to solidify it as per Fig. 5: Electronic and electrical system
the 3D design model. Once a layer is
printed, the platform descends by a
distance equal to the thickness of a
single layer. And the laser scans again
to print the second layer. Fig. 4 shows
and SLA system.
Fig. 10: Pololu board with heatsink
How to build
a DIY 3D printer Fig. 6: Stepper motors
The printer described here is the
LM8UU Prusa Mendel 3D printer. The
basics of building any FDM based DIY
printer will be more or less the same.
The printer has three major parts: elec-
tronics (and electrical), software and
mechanics.
Fig. 5 shows the complete elec-
tronic and electrical system that runs a
3D printer. Sanguinolulu board is the
heart of the whole system. It controls
different stepper motors for moving Fig. 7: Endstop Fig. 11: Heat-bed
the nozzle in X and Y directions, mov-
ing the heat bed in Z direction and tors. Endstops are used (like stoppers) software as explained in software sec-
extruding the material from the nozzle. by the printer to determine the bound- tion. The software program, which
Fig. 6 shows the stepper motors aries. Fig. 7 shows an endstop. connects to the board through USB
used. The board senses extruder’s and The temperatures of nozzle and interface, is used for loading the 3D
bed’s temperature through thermis- heat-bed can be monitored through model file for printing and testing
Electronic/electrical parts
Mechanical parts
1 2
1 3 4
5 6 7 8
Fig. 13: Extruder assembly
9 10
1. Nut-bolts 6. Extruder springs
2. LM8UU bearings 7. Heat-bed springs
3. 608ZZ bearings 8. Breco flex T5 belt
Fig. 14: Installing Pyglet 4. Rigid Z-axis coupling 9. Laser-cut aluminium
5. 12-tooth T5 XL build bed
aluminium pulley 10. Glass
various operations. The overall system
is powered by 12V, 400W ATX power Printed parts
supply (Fig. 8).
Sanguinololu board. Sanguinololu
board (shown in Fig. 9) is a low-cost,
all-in-one electronics solution for
Reprap and other CNC devices. It fea-
tures an onboard Sanguino clone using
the ATMEGA644P microcontroller,
though an ATMEGA1284 can be easily
substituted. The board is developer-
friendly with expansion pins support-
ing I2C, SPI, UART and ADC functions.
Sanguinololu has a very flexible input
power supply that ranges from 7V to
30V.
Pololu board. The stepper motors
are powered by Pololu boards that are
mounted over Sanguinololu board.
These are carrier boards or breakout rent per coil. Fig. 10 shows a Pololu ply should be able to deliver at least
boards for Allegro’s A4988 DMOS mi- board with heatsink. 300W and wires from the power sup-
crostepping driver with translator and Heat-bed. The heat-bed (Fig. 11) ply to the Sanguinololu board should
over-current protection. The stepper normally heats up to 110°C when pow- be capable of handling 20A or slightly
motor driver lets you control a bipolar ered through the dedicated connection more current.
stepper motor at up to 2A output cur- on Sanguinolou board. The power sup- Thermistor. A thermistor is at-
Aniruddh Kumar Sharma supply in the kit for this DIY project. DP - Data Plus (+)
Just connect the components as DM - Data minus (-)
I
f you go to the market to buy an mentioned in the text below. 5V - 5V supply
MP3 player with USB compatibil- Here we shall be discussing all Connect audio out and IR receiver
ity, it will cost around 500 rupees the features which has been tried and portion as indicated below:
or more. But you can assemble one for tested successfully except the SD card L - Left channel audio out
yourself for 150 rupees or less. All the holder connections, as this feature AG - Analogue ground
components, including the module, is rarely used. Connect the below- R - Right channel audio out
are readily available as a kit form with mentioned points to the USB female G - Ground for IR receiver
many electronics spares shops. connector: IR - IR out of the IR receiver
In this article you will find instruc- GND - Ground 3.3V - 3.3V supply for IR receiver
tions to assemble and use the USB MP3 Almost all the IR receivers
module supplied by Shenzhen Vire have their IR, GND and Vcc
Silicon & Technology Co. Ltd, China. pin-outs facing the receiver
The module comes with a remote con- from front. The manual switch
trol also for users’ convenience. connections are optional; these
This versatile module features USB can be connected using tactile
player, SD card player, FM player and switches to ground:
an auxiliary input. Besides the USB V+ - Volume Plus
MP3 module you get two 3.5mm fe- Mode - Mode( USB/Aux/FM)
male jack sockets, USB female cable or V - Volume Minus
port, IR receiver and 5V regulated DC P - Play/Pause
Connect a regulated +5V to
the point 5V and GND. Connect
Fig. 2: The USB module with its various connection points the aux in connection as shown:
L - Left channel audio in
G - Analogue ground in
R - Right channel audio in
An antenna can be connected
to the point shown for the FM
reception.
Just make the connections,
as indicated above, and connect
the output to any PC multimedia
speaker and enjoy the music.
C
hoosing the right ratings for inverter, such as load requirement, Python is a high-level programming
the inverter and its battery to size of the inverter, back-up time, language with rich syntax. There are
be used at home is not that size of battery, etc. Presented here is a lots of packages available for Python.
program in Python We used wxpython package for graph-
that helps you se- ical user interface (GUI).
lect the right invert- First you need to install Python;
er based on some we installed its 2.7.6 version. You can
common param- download it from the link https://
eters. This article www.python.org/. Then you need to
also describes how install wxpython package. you can get
to create a stan- wxPython3.0-win32-py27 for 32-bit
dalone application Python 2.7 version or wxPython3.0-
so that you can run win64-py27 for 64-bit Python 2.7
the program with- version from www.wxpython.org/
out Python soft- download.php.
ware, if needed. To run the application, just right
Capacity
estimations
Let us assume, you have
three tubelights (40W
each), three ceiling fans
(70W each), one TV
that consumes 120W
Fig. 9: Files under dist folder and a laptop that con-
Fig.13: zip2Exe installer sumes 100W. The total
power required would
be (3×40 + 3×70 + 1×120
+ 1×100) = 550 watts.
Calculating inverter
capacity. Normally, the
inverters are available
with VA (voltage x am-
pere) ratings. To know
the VA rating of an
inverter, you also need
to know the power
factor of the inverter.
Assuming, the power
factor is 0.7, which is
true in most cases, the
Fig 10: Compressing dist folder Fig. 14: zip2Exe installer required VA of your
T
his is a program for colour o the entire VIBGYOR colour spectrum
sani the
separation in an image. The in an image.
program can be modified for If you have an application that
a specific application, such as colour requires a specific colour detection
or separation, this program would
come handy for you. For example, if
you want red colour from an image,
run this program. It will prompt you
to import an image into the screen.
After importing the image, you need
to select the first letter of the colour
(see Fig. 1) to be separated. Select R
option for red. You will get only red
colour and rest of the image will be
in various shades of grey, as shown
in Fig. 2.
The advantage of this program is
that it can separate each colour from
the seven colours instantly.
arduino.cc
This Arduino official site has a section where you can find a list of Arduino based project ideas.
Arduino is an open source physical computing platform based on a simple microcontroller board.
The list is helpful for both the novice and the experienced. The project ideas have been divided into
three categories for easy navigation: Easy, Intermediate and Advanced.
http://arduino.cc/playground/Projects/Ideas
chaokhun.kmitl.ac.th
This site offers schematic diagrams and software for hobbyists and electronic engineers to build
microcontroller based projects at home. It includes projects related to AT89C2051/4051, 8051
family, AVR, PIC, Motorola and Intel x86. The site is a part of King Mongkut’s Institute of
Technology, Ladkrabang, Bangkok (Thailand). The site is copyrighted by Wichit Sirichote, who is
an associate professor of applied physics in the department of applied physics of the institute.
http://chaokhun.kmitl.ac.th/~kswichit/
electronicsforu.com
electroicsforu.com serves as a storehouse of information for the electronics and technology industry.
The latest news, information about new products and a web search covering not less than 50,000
electronics websites are some of the facilities this portal offers. Not to forget the hugely popular
EFY-tested DIY circuits and projects reproduced from Electronics For You magazine! There is a
separate section for microcontroller based projects.
http://www.electronicsforu.com/newelectronics/microcontrollers/
electrofriends.com
This is a one-stop educational site for the students of electronics and computer engineering. It has
projects using microcontrollers and the other basic electronic components. The site also includes
projects and tutorials for computer students. It also allows you to submit your own projects and
articles related to electronics and computers. The site does not have any forum but has a
community page at facebook.com.
http://electrofriends.com/category/projects/microcontrollers/
best-microcontroller-projects.com
Here you will find microcontroller Tools Projects and Tutorials designed by John Main, a professional
electronics design engineer based in the UK. Each project includes source code, description and
schematics which you can use as a basis for starting your own projects or just use them stand-alone.
http://www.best-microcontroller-projects.com/microcontroller-project-ideas.html
112 October 2014 | Electronics For You www.efymag.com
industry FOCUS
Atithya Amaresh and Sneha Ambastha Sales trends in Kits‘n’Spares 2011-12, but thereafter the growth
seems to be very limited.”
T
20
he Indian education sector’s Agreeing to the above, Jayakumar
size is expected to increase to 18 Balasubramanian, director, Emertxe
over ` 6000 billion (US$ 100 16
Information Technologies, tries to
billion) by 2015 from ` 3411.8 billion highlight the cause for the slump.
(US$ 56.77 billion) in 2012, due to the 14 He says, “In my perspective, there
strong demand for quality education, 12 are multiple things happening in
according to a recent report. At pre- some kind of isolation. For example,
sent we have about 700 universities 10
there is a huge demand of training
and 35,500 colleges for higher educa- 8 products amongst people to learn
tion in India. More than 85 per cent new things, either on their own or
6
of the students in these universities with some kind of an aid. Also, the
and colleges are doing bachelor’s 4 hardware industry has become dem-
degree programmes. And about one- ocratic and there are tons of players
2
sixth of these students are enrolled entering the field. But in the Indian
in engineering or technology degree 0 context, the trend of this new way of
programmes. 1st Qtr. 2nd Qtr. 3rd Qtr. learning has not become that popular
With this kind of growth expected 2013 2012 amongst the students yet. We need to
in coming years, the competition Fig. 1: Comparison of sales trends in first three connect the dots.”
amongst students to prove themselves quarters of 2012 & 2013 Kapil Kumar Garg, co-founder
as future professionals in the indus- and CEO, ThinnkWare, says, “As of
try would also increase. This in turn Industry today now, there are two types of people
would further increase the demand The development kits and boards form selling the education and training
for hands-on training and skill devel- an integral part of the education indus- products in India—the technocrats,
opment. This demand will open up try. In order to understand this better, whose products take care of the
many more business opportunities for it is imperative that we find out the learning objectives of the kits, and
the educational and training products role of these kits and boards in educa- then there are those who do not
providers. tion and hands-on training. care about the learning outcomes of
In the annual budget for 2014-15, Fig. 1 is a sample of the sales trends their products. Unfortunately, there
the government has set aside ` 837.71 in the industry. It shows that there is is a lot of influence of the latter in
billion for education. In addition to definite growth in the awareness, and the industry. These producers are
this, Prime Minister Narendra Modi’s hence sales in this sector. But experts merely providing the boards with-
emphasis on skill development and say there are some derivatives that out any supporting documentation,
‘make in India’ together reinforces have slowed down the growth as like the content, application notes or
rising prospects for the education and compared to the last few years. Ac- data sheets of those products. They
training products industry in coming cording to Nakul Chopra, director, do this to cut corners—working on
years. Manufacture of electronics prod- Kits‛n’Spares, “The educational and the learning outcome of a product
ucts in India, in particular, is being training kits industry faced a major increases the investment toward
given a top priority. boom of about 90 per cent in the FY content development and product
from National Semiconductor and ver between electrical conductors. There PCB (1oz/sq
2 30/0.76
SE555/NE555 from Signetics. Both are industry, mil and safety standards foot copper—
3 50/1.27
work with similar arrangement of that prescribe different spacing and 0.035mm thick-
4 80/2.03
components at pins 2, 6 and 7 for mon- trace-width requirements depending ness) for dif-
5 110/2.79
ostable and astable modes. In short, on the voltage, current density, appli- ferent current
they are interchangeable. cation and other factors. Standards for densities are
PCB industry developed by Institute given in the Table II. However, it is
Q. What enhancements would a product inherit, if it is Q. What advantages can DLP present for industrial,
designed to run with a modern DLP chip? medical or automotive sectors?
General trends show that over time, newer chips are de- In the industrial or automotive space, the traditional ex-
veloped with higher resolution, better brightness and light pectations are excellent colours, contrast and brightness. For
efficiency. Specifically, use of microscopically small mirrors as example, in head-up displays for automotives, the common
reflectors inside the chips and changing tilt angles of the mir- expectation is to have a wider and wider field of view with
rors have achieved more brightness. As compared to previous good brightness. You can have that with DLP technology
generation, systems designed using these new chips are 50% while existing technologies can not do that. Medical applica-
brighter using the same power on the LEDs, increasing their tions like DLP-enabled hyperspectral imaging method opens
light efficiency. Engineers who are designing consumer appli- up a wide range of possibilities in spectroscopy. DLP provides
cations where battery life is more important, get more bright- imaging technology with real time mapping and visualisation
ness with less power consumed by using a modern DLP chip. data to assist surgeons with performing difficult procedures.
Q. Is there any limitation on the size or resolution of the Q. What are the trends in light sources for DLP-based
image while using DLP technology? products?
The size of the image mainly depends on the projector With the emergence of solid-state lighting, light sources
brightness, optics configuration and the distance between the have gained importance in DLP-based products. Many of the
projector and display surface or projector screen. DLP projec- projectors today, whether cinema projectors or class-room
tors can illuminate screen sizes of 25.4cm (10-inch) width to projectors, still use bulb as a light source. But all pico projec-
30.5m (100-feet) width. The former is used in pico phones and tors use LEDs because the most cost-effective solution to get
the latter in cinema halls. more lumens is LED. All automotive solutions use LEDs as
they fit best for the brightness that we need. Then there are
Q. What benefits can an engineer get by switching his laser-based projectors. The trend is moving towards solid-
current design to the newer DLP technology? state illumination because more brightness per watt, or you
Faster switching speeds with DLP gives it an edge over can say brightness per rupee or dollar, is the main concern,
other existing technologies. Whether it is cinema projection, and at the same time it is the right solution for the environ-
3D projection or 3D inspection, or spectroscopy, faster mov- ment as well.
ing mirrors give the advantage of faster switching speed
which, in turn, allows those applications to go faster. This Q. How does DLP 3D projection really work?
imaging speed of DLP chipsets, when combined with con- DLP technology uses millions of microscopic digital mir-
sumer applications like digital cameras and projectors, results rors that reflect light to create a stunning picture for the best
in highly reliable and accurate systems. projectors in the market. This imaging technology is so fast,
it can actually produce two images on the screen at the same
Q. How should a designer go about DLP-based product time—one for the left eye and one for the right eye. Then 3D
designing? glasses combine the two images to create an amazing 3D ef-
The DLP chip, or digital micro-mirror device (DMD), is fect. DLP has enabled a single projector box to be able to dis-
an array of micro-mirrors that can be used for high-speed, play either 2D or 3D content simply depending on the content
efficient and reliable light steering. DLP technology can being run through it. This can greatly benefit classrooms, as
be considered in any application where light is steered or they can future-proof projector purchase. They can purchase a
manipulated. Development tools and reference designs are 3D projector today, for no extra cost, and purchase 3D glasses
available to engineers for ensuring a faster time to market. when they are ready to beam 3D content.
Q. What are the key elements of smart meter design? microcontrollers account for the accuracy in energy me-
The ability of solid-state electricity meters to detect and tering. Also, the metrology compute engine (CE) ensures
prevent tampering can significantly improve control and cost high-accuracy processing of all collected data. It is dedicated
recovery for utility companies. By enabling customers to bet- to computing the metering parameters from voltage and
ter manage their own energy usage through incentive-based current samples.
programs—such as direct load control, interruptibility rate
agreements and demand bidding or buyback—smart meter- Q. What new features do these SoCs bring to energy
ing can help utilities manage overall energy consumption metering?
patterns and cope with peak-demand challenges. If you look at the whole family from low-end market to
high-end market, when you go to the higher end, you will
Q. What are the biggest considerations and challenges get more memory, which in turn allows the engineer to in-
in designing these meters? corporate DLMS/COSEM stacks (communication protocols
The deployment of smart meters is far from a one-size- for smart meter), allowing you to communicate with the
fits-all undertaking. Manufacturers must account for the modems. Also, in some regions it is required to encrypt/
varying regulatory requirements of each region as well as decrypt the data, and for that these SoCs incorporate hard-
the different functionalities and services required for differ- ware accelerators.
ent markets. For servicing global markets, the combination
of different driving forces or elements presents significant Q. Any key parameters for selecting a SoC for energy-
opportunities and challenges. Therefore meter manufactur- metering requirement?
ers need to be flexible, offering both low-cost metering solu- Accuracy, memory size, processing power and amount
tions and high-end smart meter alternatives. of peripherals integrated are the key parameters to consider
The biggest challenge in designing any energy meter is when selecting any metering SoC solution. An engineer
to make sure the metrology is stable and repeatable in terms should make sure it features field programmability, enables
of accuracy. When it comes to designing energy meters, the ease of integration with local devices such as thermostats,
accuracy of the integrated smart devices is also very impor- and supports a variety of sensor inputs with minimum
tant, because it decides the reliability of the system. hardware.
Q. What are the benefits provided by highly integrated Q. What are the tools and guidelines available to design
SoCs in designing energy meters? with SoCs?
Using these SoCs, one doesn’t need to spend much on From hardware perspective, there are reference designs,
engineering resources. This is because the engineer does not layout and hardware guidelines. All one has to do is lever-
have to start the design from scratch. SoCs lower the bill of age the technology with these SoCs and modify it, and just
material costs and provide rich feature sets for smart meter- make sure the power supplied is stable and sensing circuitry
ing, and simpler upgrade paths with minimum hardware is clean. From software perspective, we provide modulated
and operational costs. Their key strength is the family effect source code, so one can take it from there and easily modify
and scalability. Engineers can design with one product and it depending upon end customer’s requirements.
easily migrate to different products in the family depending
on their needs. Q. How do you see the future of energy metering?
Looking into the future, I feel it is about more up-
Q. What ensures stability and repeatability in terms of grades in the metrology along with the metering firmware.
accuracy in energy meters? Products that most vendors vision are the products with
The basic features like the dynamic range of the ADC, increased integration of communications and security fea-
sample rate of the ADC and the processing power of the tures.
Q. Why is thermal profiling necessary for lead-free manu- tation of the profiling process and allow generation of SPC
facture? information from the data captured on the production lines.
When lead-free emerged as an established process, many
manufacturers had major upheaval of their well-proven Q. What is the significance of temperature-profiling
thermal processes. The available processing window is systems?
much tighter with lead-free, making the ‘one profile fits all’ I am a great believer in ‘you can’t manage what you
much less likely. Profiling tools are now extremely advanced don’t measure.’ To produce electronic assemblies without
such that we can take a snapshot of what the thermal pro- a known profile is just asking for trouble further down the
cess is doing today and, using software simulation tools, it line—either rework costs or early failures and unhappy
is possible to produce the optimal settings for engineering customers. Not every company warrants investment in
in a matter of minutes. Without correct settings on the ma- equipment to continuously monitor the production lines,
chines, solder quality is impaired and components could be but to not profile an assembly during the NPI stage and then
damaged. performing some form of periodic checking is, to be frank,
just not doing the job correctly.
Q. What is the difference between the two main kinds of
profiles used today: Ramp-Soak-Spike (RSS) and Ramp- Q. Why taking temperature profile measurements as the
to-Spike (RTS)? benchmark for process control not enough?
Use of an RSS or RTS profile is specific to the assembly A soldering process is a dynamic thing, with many out-
being processed by the manufacturer. RTS is very common side influences affecting the profile seen at product level,
because it is quite simple to set up and easily achievable on machine loading, flux build up, extraction performance
most reflow ovens, however it is only suitable when the as- change or machine failure. All these things can be meas-
sembly does not have high mass elements within its design. ured and controlled with the adoption of a quality control
If the assembly has big mass variations, or has high mass procedure. As a minimum, verifying the machine before a
elements like aluminium PCB or large arrays, it may be neces- new batch is sent through the line is common sense, but for
sary to employ RSS style profile. This technique has a more long running production batches periodic checking would
aggressive ramp, but longer soak period to allow the assem- also be prudent.
bly temperature to more readily equalise before moving into
the Spike/Reflow stage. Without this method, peak and time Q. What is the future of thermal profiling?
above liquidous temperatures within specification will not The procedure of capturing a thermal profile, perform-
be possible due to large temperature deltas across the PCB. ing an optimisation step and verification of that step is
well established and unlikely to change radically. What
Q. How does software complement thermal profiling we are seeing from our customer base, especially with the
equipment? automotive industries, is the need to measure and improve
Profiling systems are definitely 50% a software prod- every part of the process, from performing initial machine
uct, if not more. Tools automatically calculate all process capability to studies, to production level daily testing of all
parameters from the raw data and display them against parameters within the manufacturing process. This need
the working process windows defined by the solder paste is central to our drive to provide measurement solutions
or component specification, making the good/bad analysis within a common software platform for all the soldering
very quick and easy. We have optimisation software that techniques, additionally to provide the engineer with flex-
helps with finding optimal process settings. Additionally, ible instrumentation they can tailor exactly to their needs,
we have a complete suite of QA tools to allow full documen- both quickly and cost effectively.
January Electronics of Things Industrial Automation Electronics Rework Stations Automated Test Equipment (AOI, etc)
March Smart & Electric Vehicles Automotive Electronics How to Make Your Lab Static Proof Function & Signal Generators
April Smart Homes Inverters & UPS–SOHO & Industrial Digital Multimeters Multimeters
May FPGA (Programmable Chips) Connectors & Terminals FPGA Training Kits Data Acquisition Systems
August Security 2.0: Latest products Aerospace & Defence Electronics Wi-fi & RF Modules Incircuit Test Systems
September Smart Robos Solar Electronics EDA Tools for Circuit Design Virtual Instruments
December Smart Lighting LED Lighting Programmable Power Source Power Analysers/Power Meters/Supplies
advertisers’ index
Client name Page No. Client name Page No. Client name Page No.
Alien Energy Private Ltd (www.alienenergy.in).......................................134 Good Will Instrument Co. Ltd (www.goodwill.com.tw)...........................148 Perfect Radios........................................................................................142
Arham Electronics & Electricals (Nimra Products).................................143 GSR Infocom Pvt. Ltd.............................................................................143 Printed Electronics Pvt Ltd......................................................................145
Audac Transducers.................................................................................143 Gurukirpa Electronics (www.gurukirpaelectronics.com).........................144 Progressive Engineers............................................................................136
Bhoomi Modular Systems Pvt. Ltd. (www.bhoomiheatsinks.com).........132 HK Wentworth (India) Pvt Ltd...................................................................59 Renesas Electronics Singapore Pte.Ltd.................................................IBC
Binay Opto Electronics Pvt Ltd (www.binayLED.com)........................20-21 IED Communications Ltd (www.iedcommunications.com)....................140 Rhydo Technologies P Ltd (www.rhydo.com).........................................131
Buljin Elemec Pvt Ltd (www.flexiblepcb.com)........................................143 Indus Industries.......................................................................................141 Rohde & Schwarz (www.rohde-schwarz.co.in)........................................77
Centum Electronics India Pvt Ltd.............................................................69 ISOFT......................................................................................................137 ROHM Semiconductor............................................................................109
Chhabra Electronics................................................................................143 J.K. Power ..............................................................................................145 Rubycon Singapore Pte Ltd. (www.rubycon.co.jp).................................134
Circuit Systems (I) Ltd (www.mycsil.com)................................................93 Jai Mata Electronics................................................................................142 S K Metal Works (www.skmetals.com)...................................................142
Concept Electronics................................................................................145 Kandhari Photo Electronics P Ltd...........................................................144 S.M Semiconductors...............................................................................145
Core Technologies..................................................................................134 Key Operations & Electrocomponents Pvt Ltd.........................................31 Sakthi Accumulators Private Ltd.............................................................143
Countronics (www.countronics.com)......................................................142 Keysight Technologies India Pvt. Ltd............................................Gate Fold Sancon India Pvt. Ltd..............................................................................135
Crown Electronic Systems (www.crownelectronicsystems.com)...........142 Kits N Spares..........................................................................................127 Servokon Systems Pvt Ltd.....................................................................132
Delta Magnets Ltd (www.deltin.com).......................................................79 Korea Trade-Investment Promotion Agency (www.kotra.or.kr)................83 Sewon Precision & Ind. Co. Ltd. (www.swpi.co.kr)................................138
Digi-Key Corporation (www.digikey.com)...................................................5 LED Bazaar.............................................................................................105 Shavison Electronics Pvt. Ltd. (www.shavison.com)...............................16
Digital Promoters (I) Pvt Ltd....................................................................142 LWI Electronics Inc. (www.livewireinfo.com)............................................23 Shrey Plastic Moulders (www.shreyplasticmoulders.com)....................144
Dinteck....................................................................................................143 Madhu Subtronic Components Pvt. Ltd. Ltd............................................17 SM Electronic Technologies Pvt. Ltd........................................................19
Dynalog (India) Ltd (www.dynalogindia.com)...........................................27 Matrix Comsec Pvt Ltd (www.cognitoindia.com)........................................9 Smec Electronics India Pvt Ltd...............................................................140
EFY Expo India....................................................................................... 117 Max Technology & Co. (www.maxtechnoloindia.com).............................37 Sparr Electronics Ltd (www.sparrl.com)...................................................81
EFY Expo West.........................................................................................91 MediaTek India Technology Pvt. Ltd,......................................................133 Srishti Electronics (www.acedigital.co.in)...............................................144
EFY Group: Erocks...................................................................................85 Microchip Technology Inc. (www.microchip.com).................................4, 17 ST Microelectronics Marketing Pvt. Ltd....................................................39
EFY Group: Subscription..........................................................................67 Millenium semiconductors (www.millenniumsemi.com)........................... 11 Stead Electronics (India) Pvt. Ltd...........................................................136
EFY Tech Center.....................................................................................121 Miracle Electronic & Devices Pvt Ltd........................................................71 Steller Electronics (P) Ltd.......................................................................136
Eita Technologies ...................................................................................143 Mitsutek Electronics................................................................................145 Techno Power (www.technopowersystems.com)...................................142
Electronic Assembly (www.lcd-module.de)..............................................71 MMI India Pvt. Ltd (www.forecastadvtg.com).............................................8 Tektronix India Pvt Ltd (www.tektronix.com/2170)................................150
Electronics Industry Directory................................................................. 111 Mornsun Guangzhou Science & Technology Co.Ltd.............................147 Toshiba India Pvt Ltd.................................................................................75
electronicsforu.com ..................................................................................98 Mouser Electronics (Hong Kong) Ltd.......................................................13 Tough Case (Division of Geo Sensors) (www.geosensors.in)...............144
Element14 India Pvt Ltd..............................................................................1 Murata Manufacturing Co. Ltd..................................................................49 Uma Electronics......................................................................................138
Elnova Ltd (m) (www.elnova.com)..........................................................143 National Controlling & Equipments ........................................................142 Upsinverter.com (www.upsinverter.com)................................................139
FCI OEN Connectors Ltd. ........................................................................53 NI Systems (India) Pvt Ltd (www.ni.com)...................................................7 Usart Technologies India Pvt Ltd............................................................138
FLIR Systems (www.flir.com)....................................................................43 Nippon India (www.nipponindia.com).....................................................141
Fujitsu Semiconductor Pacific Asia Limited Singapore............................45 Open Source India...............................................................................32-33 Page numbers subject to final dummy corrections