Professional Documents
Culture Documents
Contents
Issu D Pri
nting
to
ls: 3
teria anels
• Ma r P als
Sola emic
d Ch
e ri a ls an ri ve s
t D
• Ma and
tors
• Mo
November 2016
Vol. 05 | no. 07
iSSn-2454-4426
Do-It-Yourself
advErtiSEmEntS
Medical Applications
nEw dElhi
(hEad offiCE)
: ph: 011-26810601 or 02 or 03
E-mail: efyenq@efy.in
28 Challenges Faced In Designing
‘Approved’ Medical Devices In India
mumbai : ph: 022-24950047, 24928520
E-mail: efymum@efy.in 34 Wireless
bEngaluru : ph: 080-25260394, 25260023 National Connectivity Via LoRaWAN In Just
E-mail: efyblr@efy.in Eight Months
Interview
SUBSCRIPTION RATES
Period Newstand Price
Year
two
(`)
2400
You Pay
(`)
1800
Digital
(`)
750
Overseas
Digital Print
uS$ 15 —
63 TeleCoMMuniCATion:
“They Can Sell only if it Complies With SAR Test Requirements” — Benoit derat, Phd, chief executive
officer and president, ART-Fi, and Rahul Gautam, head - market development, electromagnetic compatibility,
one 1200 960 280 uS$ 5 uS$ 120 Rohde & Schwarz
please send payments only in favour of EFY Enterprises Pvt Ltd
This month we have for you a few websites that would help you try your hands on
different types of do-it-yourself projects
Compiled by nira j sahay
instructables.com
Instructables was officially spun
fixya.com
out of Squid Labs in the summer This site has solutions for
of 2006, and has gone on to grow
doityourself.com nearly everything. In 2005, too,
from a modest hundreds of projects DoItYourself.com, founded in many product manufacturers
to over 100,000. The community 1995, is a leading independent were neglecting post-purchase
that now calls the site its home is home improvement and repair customer support. Frustrated by
an amazing mix of wonders from website. It is mainly divided the lack of practical post-purchase
around the world. Instructables is a into three sections: How-Tos, information, entrepreneur Yaniv
website specialising in user-created Forums and Did It Myself. Did Bensadon set out to build a
and uploaded do-it-yourself projects, It Myself section has projects community resource capable of
which other users can comment on on various topics and includes providing relevant and up-to-date
and rate for quality. a dedicated section called troubleshooting data. Today, FixYa
Electrical & Electronics. You may continues to empower individuals
www.instructables.com/tag/type-id/ freely link to this site, and use it to repair and improve upon their
category-technology/
for non-commercial use, subject already-purchased possessions.
to terms and conditions of use. From fixing cars to cameras and
Today DoItYourself averages iPhones, FixYans are part of a
over five million unique do-it-yourself revolution that helps
visitors per month. empower techies, tinkerers and
hobbyists across the globe.
www.doityourself.com/did-it-myself/
electrical-and-electronics www.fixya.com
Rovables come with low-power localisation systems that allow these to move
autonomously (Image courtesy: http://rb.ru)
“Since cell changes associated with the development tion of For and ORPHEUS (a bard in Greek mythology as
of cancer lead to colour changes in tissues, we believe a symbol of human creativity), representing OMRON’s at-
that hyperspectral imaging could help us to improve the titude of bringing out human creativity and possibility.
specificity of lesion identification because we can use these Robot FORPHEUS aims to improve your table tennis
colours to identify abnormal tissues,” adds Dr Bohndiek. skills while having fun at the same time by keeping a rally
going. In addition to the conventional function to control
Bendable battery to power future returning the ball according to the trajectory and strength of
the ball, the third-generation FORPHEUS is equipped with
wearable devices, smartphones new amazing technologies where you and machines grow
Panasonic is developing a new bendable lithium-ion battery together by using artificial intelligence (AI) technologies.
that can flex and twist to power wearable devices and one FORPHEUS can learn about characteristics of your
day be used to develop a flexible smartphone. Although it actions and the trajectory of the ball and keep a rally going,
is still in the early stages of development, the battery has which guides you to make more progress. Further, the
already been tested to withstand twists, bends and other degree of harmony between you and the machine has been
deformations while maintaining its ability to hold a charge. made visible through the rally.
In contrast, a regular
lithium-ion battery,
commonly used in
Levitating turntable that can play
smartphones and other records in the air
gadgets, can degrade A Kickstarter campaign has been launched to bring the first
when it is deformed, thus levitating turntable into production, the Vinyl Factory notes.
shortening the device’s Mag-Lev Audio, a Slovenian company, is hoping to raise US$
operating time. 300,000 to manufacture the machines, which are designed
The bendable battery is just 0.55mm
(0.02-inch) thick, and was able to Panasonic’s bendable for people who appreciate high quality sound and innova-
withstand being bent so that the curve of battery uses a newly- tive design.
the battery has a radius of 25mm, and
being twisted up to 25 degrees in tests developed laminated The turntables will use a magnetic platter to suspend
(Image courtesy: www.yahoo.com/tech) outer body and internal the vinyl record during playback. By pushing the frontier
structure that the company
says makes it difficult for the battery to leak or over-heat.
With this new casing and internal wiring, the battery is safer
and more reliable for wearable tech devices.
Implementing High-Security
Remote ContRol SyStemS
I
n remote-control operated sys- application. For example, controlling
tems, security is always a concern. a light source or a fan does not really
The system must be designed to require encryption. But, when the system
prevent unauthorised access. Special is designed to allow (or not) access to a
software and encryption are used to valuable property, then there is the need
prevent eavesdropping. This is why to add a certain security level. However,
such systems are using encrypted com- this does not come for free.
munication. In a perfect scenario, only
the authorised receiving party is able Authentication versus privacy
Cristian Toma is
senior applications to decode and process the information. There is a wide range of encryption al-
engineer, MCU08 With an adequate level of encryption, gorithms that can be used. The choice is
Division, Microchip
Technology Inc. such criteria are generally met. Still, more system-specific. In general, there is a
there is the possibility of copying and split between authentication and security.
re-transmitting a valid data transmis- Authentication is used more when the en-
sion. Today, different methods are used crypted data does not carry any specific in-
to prevent this. However, none of these formation by itself such as commands and
are perfect. messages. It is used more to authenticate
This article describes the implemen- a device. A good example is a manufac-
tation of a highly-secure remote control turer choosing to authenticate replacement
system that makes the capture and reply parts, upon installation. The system first
attack useless. The data packet sent over authenticates these, and only if found valid
the air contains time-synchronisation in- does it start normal operation. Typically,
formation, which is valid only for a very such devices include printer cartridges,
narrow time frame. Any further capture toothbrush heads, mobile phone batteries
and reply attack is simply useless. Even or even electronic modules.
though a captured-and-replied message, Algorithms to secure your message.
in essence, contains (almost) correct in- These devices normally use hash algo-
formation, the message is discarded since rithms such as Secure Hash Algorithm-2
it has lost its valid time frame. The fol- (SHA-2) cryptographic hash functions.
lowing paragraphs describe the proposed These functions calculate a key from a
solution and the technical challenges longer message. For example, MD5 check-
faced while designing such a system. sum is used when downloading large files
The end application rules. General from the Internet. MD5 message digest
remote-control designs come in various algorithm will read the entire file and
implementations and security levels. Of then generate a key. This computed hash
course, in general, the price also increas- value is later used to verify the integrity
es along with the security level. How- (or authenticity) of the downloaded file,
ever, with smart firmware and by taking without providing any means to recover
advantage of the ever-increasing number the original data. In other words, simply
of peripherals a modern microcontroller having the key does not mean you can
has onboard, designing a remote-con- backwards generate the original data from
trolled system with very strong security which the key was generated. In general,
is more cost-effective, today. in these kinds of applications, authentica-
In general, the remote-control level tion is for securing business rather than
of security is tied directly with the end providing privacy.
Biotech:
Injection syringe
Z
HCE cells X
Temperature-controlling system
Y
Gelatin/alginate
Moving system
Collagen Controlling
system
3D model Forming
environment
Microstructure
Refrigeration after crosslinking Printing structure
Computer function
Augmented ReAlity:
Revolutionising Medical Applications
V
irtual reality (VR) and
augmented reality (AR)
are regarded as highly-
complex combinations in the area
of computer science, VR hardware
and artistic vision. AR is regarded
as a variation of virtual environ-
ments or VR. It is regarded as
live direct or indirect view of the
Anand Nayyar is
assistant professor physical, real-world environment
in Department of whose elements are augmented
Computer Applications
& IT, KCL Institute by computer-generated sensory
of Management and inputs such as sound, video,
Technology, Jalandhar,
Punjab. He has graphics or GPS data. Fig. 1: Surgeons performing keyhole surgery using a head-mounted
chaired many national By contrast, VR replaces display
and international
conferences, and has the real world with a simulated
published more than one. With the aid of AR like addition of the last 50 years and has brought today’s
250 research papers.
He is life member of computer vision and object recognition, technology to modern landscape technol-
CSI-India, and senior information about the surrounding world ogy. It can be seen in various applica-
member of ACM
becomes more interactive and can be ma- tions in military, industrial, commercial,
nipulated digitally. entertainment and many more. But AR in
Some researchers define AR as a medical technology is growing by leaps
technology that requires the use of head- and bounds, and has revolutionised medi-
mounted displays (HMDs). Any system cal and healthcare industry by significant
can be regarded an AR system, provided it improvements and innovations. This is
has the following three features: not only making patients’ life safer but
1. It combines real and virtual environ- also making doctors more efficient in
ments. early detection of various diseases. It is
2. The system is highly interactive making medical treatment more efficient
Vikram Puri is while operating in real time. and accurate.
member (ACM), 3. It is used in a 3D environment. Let us discuss the various AR tech-
theIRED, International
Association of The main aim of AR is to simplify your nologies revolutionising the medical and
Engineers. He is life by combining virtual information to healthcare industry.
interested in embedded
systems, real-time immediate surroundings with an indirect Keyhole surgery. With the use of AR,
systems, robotics, view of the real-view environment such as various computer scientists have devel-
microcontrollers and
programming in C/C++ live video streaming. It plays a crucial role oped a highly-efficient computer-aided
in enhancing your perceptions and interac- visualisation and navigation system
tions with the real world. for taking care of patients. Using this
Gene Becker of Lightning Laboratories technology, a surgeon can wear an HMD
defines AR as a technology, an area of before starting an operation. With the aid
research, a vision of future computing, an of a screen and display, the surgeon can
emerging commercial industry and a new look inside the patient’s body, layer by
medium for creative expression. layer, looking through skins, muscles and
even bones. This technology can assist
AR in medical applications the surgeon to be more efficient while
AR has continued to develop every day in operating via the HMD, as the surgeon
T
he medical device industry in trained to work together.
India is fairly new. According to The other problem is that, the medical
Infosys, around 75 per cent of the device market is highly regulated. No hos-
medical equipment is imported. And pital would purchase a medical product
the equipment is not always suitable for unless authorities approve it. Thus, the
Indian requirements. product has to meet all requirements of
Why are the medical devices not be- the regulatory authorities before it can
ing made sufficiently in India? There are enter the market.
some unique challenges to be addressed We do not have a regulation set-up in
Nitesh Kumar Jangir
is co-founder, Coeo here. Let us take a look. India yet for medical regulation bodies.
Labs Pvt Ltd. The A bill proposed to solve this is due in the
article has been
curated by Ahalya
Challenges involved in medical Parliament for approval. Central Drugs
Mandana, freelance device design Standard Control Organization (CDSCO)
writer for EFY
The first problem that medical device is responsible for some level of device
designers encounter is that, they need to regulation in India.
have interdisciplinary knowledge to be There is also a new amendment in
able to design good-quality products. It discussion with respect to existing rules,
is not sufficient to have a good medical for which a draft has been introduced
background, because every consumer for public comments. Known as Medical
medical product also has a substantial Device Rules, 2016, it suggests categorisa-
electronic component that needs to be tion of medical devices into four groups,
designed. Thus, there needs to be a depending on the risks associated with
collaboration between the doctors and the device.
engineers to ensure that the product
gives a good overall performance. This Dealing with the challenges
collaboration is challenging, because While designing a new medical device,
engineers and doctors are not usually it is important to do some research and
consult with multiple doctors. This is
Benefits of medical device innovation called the process of concept validation.
Information from doctors is very helpful.
One of the main advantages of designing a medical device is that returns on
investment are high. Another advantage is that the market is still quite new and, At this stage, they can provide feedback
so, chances of success are quite high, if the product is good. It is also a good regarding clinical issues that the concept
opportunity to help society on a larger scale, with improved medical devices. may have. The design can be improved to
overcome these issues.
After the doctors approve the concept,
Good funding is available the real design process begins, involving
Good funding is available for people interested in designing medical devices. multiple levels of prototypes that have to
Indian government is providing a lot of financial support in this area. Some grants be tested in various labs.
are given to those having just a concept in mind, such as Biotech Ignition Grant, Documentation stage is very important
which is awarded by Department of Biotechnology. There are also certain private for medical devices, and has to be done
organisations and NGOs that are funding medical device companies such as Bill
at every step of design control. One of
and Melinda Gates Foundation, Consortium for Affordable Medical Technologies
and Acumen. these documents is the market require-
ment document. It includes all the results
IIB
or cal products that can be disposed
IIB
SPECIAL RULE of, such as surgical dressings and
All devices
emitting ionising
radiation
stethoscopes.
and related
monitors in Class II is divided into two
medical
procedure categories, A and B. Class IIA con-
IIB
sists of medium-risk devices like
Fig. 1: mdd classification chart for active devices tracheal tubes. Class IIB consists of
higher-risk devices that are surgi-
of the initial discussions and research netic compatibility tests are also cally-invasive or implantable like
with doctors. performed at this stage. intraocular lenses.
Then, intellectual property (IP) Along with the design of the Class III devices are the highest-
strategy needs to be decided. And alpha prototype, there are certain risk implantable devices such as st-
if one is planning to branch out to regulatory and clinical considera- ents and radiology equipment. Based
different countries, IP strategy for tions that need to be kept in mind. on the results of the tests conducted
each of those countries needs to be There are 14 such notified devices, during the previous stage, the beta
planned as well. and Drug Controller General of India prototype is created, which is one
Programme plan for the product is (DCGI) needs to be informed about step closer to the market.
also important. The audience should any products related to those devices. The USA has certain Food and
chart out plans for their products Only after approval has been grant- Drug Administration regulations
around three years in advance. ed, clinical trials can be conducted. that involve a similar classification
Some of these devices are intraocular method as CE MDD. It has a cat-
The alpha and beta prototypes lenses, orthopaedic implants, heart egory known as 510(k). This is for
Once all relevant data has been col- valves and cardiac stents. products that have been developed
lected and analysed, prototypes are that are similar to existing devices.
created. The first is the alpha proto- Getting through regulations The products may have different
type. This is meant only for testing, Regulations vary from country engineering designs, but these have
and not for the market. Electromag- to country. In Europe, regarding the same clinical outcomes, so no
netic interference and electromag- medical devices, there is CE MDD. clinical trials and pre-market surveys
are needed.
Indian case studies Essentially, a company needs
There are many Indian companies that are now shipping medical to show that their device is similar
devices abroad such as Consure, Forus and Perfint. One of the to an existing device, along with
author’s first projects was a device that he designed as part of the lab test reports of the exist-
Stanford-India Biodesign Programme. ing product. Regulatory authorities
Funded by Department of Biotechnology, Ministry of Science Vapcare also provide a detailed framework
and Technology, government of India, the programme was centred (Image courtesy: of rules and regulations, and one
in New Delhi and administered as a collaboration between Stanford www.coeo.in)
University, USA, Indian Institute of Technology Delhi, All India Institute should follow the regulations that
of Medical Sciences (AIIMS) and Queensland University of Technology. Biotechnology are applicable to the product. Clini-
Consortium of India (BCIL) manages the IP from the programme. cal literature is also important.
The product is called Thorashield, and it is designed to remove fluid from the patient’s
lungs. It is targeted at tuberculosis and cancer patients. Other products that he has been Clinical engagement
involved in designing include Vapcare, which is designed to reduce the risk of pneumonia Another important factor that
in patients who are on the ventilator, and Saans, which a neonatal CPAP for resource-
has to be kept in mind is clinical
constrained settings.
engagement. This can be done in
A
pplication-specific integrated cir- Analogue ASICs, or ‘big A, little D’
cuits, or ASICs, typically conjure ASICs, play a critical role in our lives.
up the notion of massively-complex Without these, none of the portable elec-
logic chips containing tens or hundreds of tronic devices we use in our daily lives
thousands (even millions) of transistors would exist. Imagine a world without
configured to solve a customer’s unique set mobile phones, MP3 players and naviga-
of problems. Unlike multifunction standard tion systems. Building these with standard
product ICs such as a microcontroller that products would make these prohibitively
Bob Frostholm
can find its way into a wide variety of appli- expensive and physically impossible to
is vice president cations, ASICs are designed for one specific carry in our purses or pockets.
of sales and application and generally for one specific Every automobile contains dozens of
marketing at
Analogue ASIC product or product family. ASIC chips for everything from climate
company, JVD Today, most ASIC companies offer some control to airbag deployment, suspension
Inc. (San Jose,
California, USA). degree of analogue functionality as a part of control to entertainment systems. ASICs
He has held their services. In many cases, the analogue also play important roles in applications for
sales, marketing
and chief functions are mimicked with digital design hospital medical equipment, e-meters, home
executive roles at techniques. In others, compromises to the appliances such as washers and dryers,
established and
startup analogue analogue functionality must be made to fa- scuba gear, hearing aids and much more.
semiconductor cilitate the use of standard library cells that The analogue ASIC market is huge. (See
companies for over
40 years are designed to yield well in the fab process- chart given in Table I from Summit Tech-
es developed for high-speed, high-density, nology Consulting Inc.) Summit reports
low-power digital designs. Often, these chips that almost 60 per cent of the nearly US$
are referred to as mixed-signal ASICs or as 42 billion of analogue ICs sold in 2014 were
‘big D, little A’ ASICs, meaning high digital ASICs. Yet very few mixed-signal ASIC
content and minimal analogue content. design houses fully understand the implica-
tions of custom analogue designs and its
applicability to analogue-centric ASICs.
Table I ASICs requiring high analogue content
analogue aSIC markeT should be directed to those fabless semi-
application-specific 2014 forecast Per cent of conductor companies that specialise in
analogue ICs ($m) market analogue circuit designs rather than those
Consumer 1696 6% who simply select analogue IP blocks from
Before ASIC a library. Analogue ASIC companies have
Integration Computer 2145 8%
large staffs of competent, well-experienced
Communications 13,002 50%
analogue engineers with expertise in a
Automotive 6703 26% wide range of analogue functions.
Asssembly Industrial/other 2715 10% Large, standard product analogue IC
Costs After ASIC
Integration Total 26,261 94% companies rarely engage in analogue ASICs
general purpose 2014 forecast Per cent of and, when they do, they set high bars
Assembly analogue ICs ($m) market regarding who can access this capability.
Costs
Amps and comparators 2729 16% They also impose high minimum order re-
quirements. If you have a specific analogue
Amortised Interface 1940 11%
Component Dev. Cost
need, you must rely on one of the many
Voltage regulators and 9831 58%
Costs
references
smaller companies that focus on low- to
Component
Costs medium-volume analogue ASICs. Even if
Data converters 2447 14%
your volumes are high, these smaller com-
Fig. 1: Difference in the total Total 16,947 100% panies will give you more direct attention
system cost before and after
ASIC integration Source: Summit Technology Consulting Inc. and service because you are a more signifi-
Analogue Specification
Standard Cells
that prevent OEMs from National, LT, Maxim and TI),
exploring opportunities to learning from the industry
lower costs, reduce size and gurus.
Coverage
protect IP. Let us look at Be careful not to let a
some of these. mixed-signal design house
negotiate you away from
Myth #1. It is economical your ideal specification.
to integrate analogue func- Re-Spins Close is not good enough;
tions into an ASIC only if 6-9 Months ~10 Months analogue must be exact!
First
Tape-Out
analogue content is minimal.
FALSE. Actual manufac- Fig. 2: Graph showing typical inherent errors in achieving desired Myth #3. Only ultra-high-
turing cost of an analogue analogue specification when using standard mixed-signal cells volume applications can
ASIC chip can provide huge benefit from analogue ASICs.
savings when compared to the col- FALSE. The term mixed-signal FALSE. As noted earlier, many
lective costs of the ICs it replaces. implies a combination of analogue large semiconductor companies fo-
However, there are other costs as- and digital circuitry on a single chip. cus their ASIC efforts onto a handful
sociated with the ASIC that must be Companies than focus on mixed- of very large customers. All full-
considered and amortised over the signal typically use cell libraries service ASIC houses have their own
life of the product. for their analogue needs. On the business criteria regarding minimum
Non-recurring engineering costs, other hand, companies that make non-recurring engineering (NRE)
based on the complexity of the analogue ASICs do not use cell costs, tooling and, most importantly,
design as well as hard tooling costs libraries. Rather, they handcraft annual volume. Some ASIC houses
such as masks and test hardware, each design to exactly meet the avoid the issue by just offering
can add cost to the ASIC chip cost, required specifications. design services and leaving the issue
depending on complexity and There is a distinct difference in of manufacturing to the customer.
lifetime volume of the device. Some the engineering skill levels required This is a bad choice for you, unless
analogue ASIC companies offer to combine library cells on a silicon you have IC manufacturing experts
rebates to these fixed costs, making chip versus actually creating a on your team.
these even more cost effective. Be handcrafted analogue design that Throughout the world and in
sure to ask for a rebate when getting uniquely satisfies all requirements particular in Silicon Valley, Califor-
a quote. of the specification. For some simple nia, USA, there are numerous bou-
It is as important to know what applications, analogue library cells tique wafer fabs that specialise in
to incorporate into the ASIC as it offer sufficient performance to meet analogue processes and accept lower
is to know what should remain a the system requirements. volume business. Considered a well-
discrete component. However, increased sophistica- guarded secret by many, these fabs
Most analogue applications use tion of analogue applications neces- welcome low- and moderate-volume
a collection of passive elements and sitates designs that are truly applica- analogue business and offer pricing
discrete transistors in addition to the tion-specific and not a compilation quite competitive with the billion-
ICs involved. Integrating as many of of general-purpose analogue cell dollar fabs in Asia.
these components as possible to the blocks. When using cell blocks, de- There is a time and place where
ASIC often comes for free and can signers are forced to make compro- standard analogue cells are more
have a dramatic effect in lowering mises by picking the cell (whether than adequate. Experienced analogue
the end product’s total assembly amplifier, reference, PLL, etc) that ASIC design houses recognise this
cost as well as size and cost. It is most closely meets the application’s and offer full-custom analogue de-
this potential total system cost sav- need. Compromises accumulate and signs only when the need merits it.
ing that bolsters the justification to soon the end design is unable to
develop the analogue ASIC. meet its original specification. Myth #4. Using existing IP from
Like the big analogue IC com- analogue cell libraries lowers the
Myth #2. Mixed-signal ASIC panies, analogue ASIC companies chip cost.
means the same thing as analogue employ experienced analogue de- FALSE. Using predesigned, func-
ASIC. signers who are artisans at analogue tional cells such as amplifiers, con-
Part 5 of 5
Electromagnetic Compatibility:
Cable SeleCtion and Routing
I
t is frequently observed, and more stray capacitance formed between the
so with those who design and manu- two cables.
facture electronic control panels, that
the overall system often fails to pass Cable classes
electromagnetic compatibility (EMC) tests In order to properly segregate cables,
(particularly emissions), even though the these can be split into six classes, depend-
manufacturer has meticulously taken all ing upon their application, voltage or
precautions to ensure product compliance, current levels, frequency of signals these
just because they forgot one crucial aspect carry, types of signals these carry (like
Chetan Kathalay is
working as scientist of EMC design—cable routing and selec- analogue or digital), components these
in Electronics Test tion. And as the old saying goes, “All is connect to and so on. These classes are
and Development
Centre, Pune. He well that ends well,” proper cable selec- as follows:
is BE in electronics tion and routing is the last major design Class 1. These are cables that carry
from Nagpur
University consideration to make a system complaint highly-sensitive signals like low-level
to EMC norms. analogue signal (in mV) from transducers,
instrument lines, radio receiver antenna
Cable coupling mechanisms cables, and cables carrying high-frequency
Three mechanisms exist by which EMI digital signals such as Ethernet. Such
can be coupled on to cables. First, field- cables are highly susceptible to noise
to-cable common-mode coupling occurs and interference.
when wires or traces are routed away Class 2. These carry slightly-sensitive
from the ground, forming a loop that signals that are somewhat susceptible
acts as an antenna, causing common- such as ordinary analogue signals un-
mode EMI to be coupled into or out of der 1MHz and of the order of 1-10V and
the system. 4-20mA. These also include low-frequency
Second, field-to-cable differential- digital signals like RS232 or RS485
mode coupling occurs when forward and and digital inputs/outputs (I/Os) like
return wires (or traces) are routed at a those from limit switches, encoders and
large distance from each other, forming a control signals.
loop that acts as an antenna, causing dif- Class 3. These are cables carrying
ferential EMI to be coupled into or out of the noise source that is slightly interfer-
the system. ing such as low-voltage AC distribution
Third, cable-to-cable coupling (cross- less than 1kV or DC power, linear power
talk) is one where high-frequency signals cables, control cables for inductive loads
Fig. 27: on one cable can electrically couple (such as relay coils, motor brakes and
Cable classes
(dimensions in (or talk) to adjacent cable through contactors) where proper transient sup-
millimetres) pression techniques like RC snubbers have
been employed to control transients at
Class 1 150 Class 2 300 Class 3 150 Class 4 150 Class 5 150 Class 6
cables cables cables cables cables cables the load. These also include motor cables
from output of inverter drives but fitted
450
with output filters as per manufacturer’s
450 specifications.
Class 4. These are cables carrying
600 signals from strong noise sources that are
highly interfering. These include output
cables from frequency converters, inputs
Class 2 cable
preferably shielded, with from mains cable (class
Control cable Motor
the shield bonded to Line drive 3) by more than 300mm.
from PLC
filter
the mounting plate at a Class 2 The mains cable to the
point nearest to the PLC. >450mm drive should preferably
Area for relays,
For cables going to MMI, contactors, pneumatic, be a shielded cable with
hydraulics and the like >300mm
pigtails can be used for SMPS Line the shield bonded to the
filter
grounding, although sad- mounting plate by a sad-
dle clamps are better. Reactor dle clamp, and the power
Three-phase Class 3 cable
Such cables should mains cable MCB Line filter earth wire of the mains
be very close to RF refer- Class 4 cable should also be fas-
ence (that is, mounting tened under this clamp.
plate) as these cross Fig. 30: Cable routing in an electronics cabinet Analogue and digital sig-
over to the front-panel nals must have their own
door. This can be achieved only if must be invariably shielded. separate cables; there cannot be a
the crossover happens along the Drive manuals also discuss bigger blunder than running these
bonding point of the panel to the cable routing to be followed, how as wires through the same cable,
door, that is, along the bond straps cables are installed and how saddle even though these are of the same
that connect the panel to the door. clamps and pigtails are to be used to class (class 2).
If possible, bond straps should ground the shields. Some even go to
be mounted along these cables or the extent of suggesting how much Conclusion
additional bond straps should be tightening torque has to be applied Cable selection and routing is gener-
provided along these cables. Many a to the screws for proper bonding. ally a subject of system-level EMC
time, it is observed that these cables Machine manufacturers who casu- design, where a large number of
crossover along door hinges, which ally ignore these guidelines even- components are assembled to make
is not a good practice, since hinges tually face a daunting task while a system. It is generally observed
cannot be relied upon to provide a complying with EMC tests. that assembling all EMC-compliant
good bond. Now, output cables of motor components does not automatically
Motor drives are the most notori- drives can carry strongly-interfering result in a compliant system. This is
ous components as far as generation signals and therefore classified as because although the components
of conducted and radiated emission class 4. It is imperative that output that make up the system have been
is concerned, and are the main rea- and control cables of a drive are tested individually, their manufac-
sons for non compliances observed shielded with the shield bonded to turers do not know in what way
in control panels. Most drive manu- the mounting plate by a 360-degree their products would be assembled
facturers give fairly-detailed infor- connector or saddle clamp at a point in a system. It is the final system
mation regarding the type of cables nearest to the drive. The shield must assembler who has to ensure correct
to be used for input mains supply, also be grounded at the motor end, assembly of all components to make
drive output cable going to the mo- preferably through a 360-degree a compliant system. Cable selec-
tor, frequency input cable and I/O bulkhead connector at the motor tion and routing plays a vital part in
and control cables. All these cables terminal box. this endeavor.
OpenSourceForU.com
Follow us on Twitter@LinuxForYou
Part 8 of 8
I
n this concluding part of the article, wavelength-sensitive beam combiner such
let us wrap up by learning some more as diffraction grating and prisms. Optical
about high-energy laser weapons. components with wavelength-sensitive
transmission characteristics such as vol-
Beam combination of multiple lasers ume Bragg gratings and dichroic mirrors
Power scale-up to ten to hundreds of can also be used.
kilowatts in a single laser, maintaining the In the case of coherent beam com-
desired beam quality, has many a techno- bining, multiple lasers are combined to
logical challenges to overcome. Develop- generate higher output powers with more
Dr Anil Kumar Maini
is former director, ments in the field of beam-combination or less the same beam quality as that of
Laser Science and techniques have opened new avenues of individual lasers. Coherent combining also
Technology Centre,
a premier laser and building higher-power lasers than could preserves the spectral bandwidth.
optoelectronics be combined in a single laser. Combining In one method of incoherent beam
research and
development laser output from multiple fibre lasers is an combination, multiple laser beams are
laboratory of important area of relevance to high-power combined by overlapping individual laser
Defence Research
and Development directed energy laser weapon systems, as it beams on the target with a beam director
Organisation of allows achieving higher output power from consisting of independently-controlled
Ministry of Defence
relatively low-power individual lasers. steering mirrors. Adaptive optics may be
Direct diode lasers, bulk solid-state la- used to compensate for the distortions
sers and fibre lasers have been experiment- caused by atmospheric turbulence. This
ed with in recent years to generate higher technique is relatively much simpler than
powers by combining outputs of multiple other beam-combining techniques includ-
lasers of a given type. Power enhancement ing spectral and coherent beam combin-
and beam quality issues have been studied ing. It does not require phase locking or
over propagation distances in kilometre polarisation locking of individual lasers
range. Three common laser beam com- and its power can be readily scaled up for
bining techniques include spectral beam directed energy weapon applications.
combining, coherent beam combining and
incoherent beam combining. Representative directed energy
In the case of spectral beam combining, laser weapon systems
multiple laser beams with non-overlapping Presently, a large number of directed en-
optical spectra are combined by using a ergy laser weapon systems are reported to
be under development and upgradation.
Nose- Active
Some of these are experimental, some
Mounted Laser Crew Illuminator High-Energy technology demonstrators, while others
Turrel Ranger Safety Lasers Laser
are being upgraded and ruggedised to be-
come realistic battlefield weapon systems
in the near future.
Some of the more talked about laser
weapon systems include high-energy
Battle
Management laser system developed by Diehl and
Engines 747-400
Beam Deployment Freighter LFK of Germany, general-area defence
Control Storage
Fig. 10: System integrated anti-missile laser system from
Airborne laser TRW, mid infrared chemical laser from
Telecommunication:
Selecting The
Right MicRocontRolleR
For eMbedded ApplicAtions
T
his article discusses the criteria for synchronous (PMSM) motor. Motor speed
selecting the right microcontroller is varied and controlled as per your input
(MCU) for different embedded appli- from the front-panel keypad.
cations. It also discusses the design chal- The MCU uses either internal or
lenges and system limitations of MCUs in external serial EEPROM (I2C/SPI based)
embedded applications. to store old data. It uses a real-time clock
for displaying accurate time. Temperature
Application in home appliance measurement is done using an onboard
industry resistance temperature detector, thermis-
Ronak Desai
is system The home appliance industry uses 8/16/32- tor or thermocouple based temperature-
engineering bit MCU based circuitry for motor control sensing device.
manager
at Cypress and TRIAC/LED/LCD drive applications. The MCU uses an external analogue-
Semiconductor, The MCU controls and manages all func- to-digital converter (ADC) and amplifiers
Bengaluru
tions and features of the home appliances. for different analogue inputs from sensors,
When you press Start button, inputs go to temperature sensors and battery. It uses
the MCU from the front-panel keyboard and external signal conditioning, comparators
the MCU starts the three-phase brushless and gate-driver circuitry for driving and
Fig. 1: Microcontrollers
in home appliance DC (BLDC) motor or the permanent magnet controlling the three-phase BLDC/PMSM
applications motor. The MCU receives remote
control inputs through an infrared
receiver (at 38kHz input).
Backlight LCD The MCU uses external buffer-
driver circuitry to drive 7-segment
Mechanical LED/LCD/graphical display. Typi-
Keypad
cally, a 7-segment LED/LCD/graphi-
Buffer
Optional cal display with backlight is used
EEPROM for showing the temperature, battery
Temperature
Sensor voltage, speed and error/warning
messages. The MCU also interfaces
Powers Supply IR Receiver with onboard peripherals like I2C/SPI
Input
and external peripherals like UART/
Analogue
Sensors
Buzzer USB for communication.
Amplifier +
ADC
Microcontroller
Signal Conditioning
Inputs Application in automotive
Signal Conditioning
and Comparators
industry
UART / The current automotive industry uses
USB
Gate Drivers
16- to 32-bit MCU based circuitry for
e-bikes. The circuitry controls and
Steam/
manages all functions and features
Motor
Suerheater
Control
Motor Power
of the automobiles. Once you use the
Relay/ TRIAC/
LED Controls
ignition key to start the automobile,
Fan
Control inputs go to the MCU. This starts the
three-phase brushless automotive mo-
Optional
EEPROM
Temperature
Sensor
Fuel sensor
Motor Power
(From Battery)
Battery Input
Brake Input
Temperature
Sensor
Battery Management
tor. The MCU receives vehicle input display. The MCU uses relay-driver
signal and the vehicle starts moving. circuitry for switching brakelight/
The MCU uses driver circuitry to drive headlight on or off and for blinking
the three-phase brushless automotive directional lights.
motor as per speed required by the The power supply section uses
user. Speed of the motor varies and is rechargeable lead-acid/lithium
controlled as per acceleration brake battery as the power source. It also
sensor input from the user. has provision for a battery charger.
The MCU uses either internal or Battery input is down-converted
external serial EEPROM (I2C/SPI to DC voltage to power the MCU
based) for storing data like distance and other circuitry. Ignition key
readings. It uses RTC for displaying of the e-bike enables and disables
accurate time on the display. Temper- onboard regulators.
ature measurement is done by using The power supply section incor-
an onboard RTD or thermistor based porates protection features for bat-
temperature-sensing device. tery, over-current, over-heating and
The e-bike solution in the au- start-up fail, which are controlled by
tomotive industry uses an obstacle the MCU. It also enables charging of
sensor to get information about external devices like mobile phones.
nearby vehicles while parking, a fuel
sensor to get information regard- Application in mobile phones
ing the amount of fuel in the tank, and tablets
while an MCU monitors battery Current mobile phone and tablet
voltage and shows it on the LCD designs use 8/16/32-bit MCUs as
ADC and
Comparator
DAC
Buzzer
SDA
EEPROM SCL
Buffer LCD/Graphical
Display
Wireless/
Mechanical Microcontroller Bluetooth
Keypad Interface
UART/
I2C/
Battery Inputs SPI
Solar installations in India cross 8.6GW Vinod Sawhny steps down as CEO,
Reliance Communications
Cumulative solar installations in Approximately 500MW of Reliance Communication chief executive
India have reached 8643MW as of solar has been installed in about a officer (CEO) Vinod Sawhny has stepped
September 2016. Mercom is forecast- month since Mercom last reported down from the post, citing personal
reasons. The company has mentioned
ing solar installations to reach ap- installation figures for India. Four
that William (Bill) Barney and Gurdeep
proximately 4.8GW for calendar year states have crossed the 1GW solar Singh will now function as acting co-
2016. So far, installations in calendar installation mark. Out of the 8.6GW chief executives of the company with
year 2016 have reached 3.8GW. installed so far, Tamil Nadu, immediate effect.
Market Survey:
Handheld/
Imaging Patient monitoring system Therapeutic homecare products
Equipment used to Electronic medical device that Includes machine, instrument Electronic devices that enable
measure recording data for measures a patient’s vital signs and or implants used for the personal health monitoring
diagnostic applications displays data so obtained treatment of any ailment
Key products
Key products Key products Key products • Glucometer
• Ultrasound scan • Bedside monitors • Ventilator • Digital thermometer
• X-ray • Electrocardiogram • Syringe pump • SDB equipment
• CT scan • EEG, ENG • Infusion pump • Others
• MRI • Others • Dialysis equipment
• Gama camera • Sleep lab
• Pulmonary function test • Continual renal
• Cath lab replacement therapy
• Holter recorder • Diathermy
• Echo colour doppler • Heart-lung machine
• C-arm X-ray • Anticoagulation timer
• Others • Warmer/incubator
• Bubble scraper
• Others
healthcare, and the need of the hour netic interference/compatibility machine and a low-cost ultrasound
is for India to manufacture such and allied areas through intensive machine for the Indian market.
equipment, as part of Make in India research, design, development and Philips Healthcare has been using
programme. industrial applications. its recent acquisitions in India to
The National Policy on Electron- develop and launch a low-cost cath
ics has medical electronics as one Moving forward lab for the Indian market.
of the thrust areas and provides for The Indian medical electronics indus- The same report also mentions
financial incentives for medical elec- try is till date highly under-invested global investment in this sector.
tronics manufacturing not only for and import-driven. According to a Global companies have started con-
new units but also for units relocat- Boston Consulting Group report, In- sidering India as a manufacturing
ing from outside India. The Drugs dia imports an estimated 70 per cent base by either setting up facilities of
and Cosmetics (Amendment) Bill, of medical devices. Lack of maturity their own or by acquiring domes-
2013, is now considering recognising in this sector with respect to penetra- tic manufacturers. Some examples
medical devices as a separate cat- tion, accessibility, affordability and include 3M’s manufacturing plant in
egory from pharmaceutical products awareness possess major constraint Pune, Becton Dickinson’s manufac-
in the regulatory structure. A strong for the growth of this sector in turing facility in Haryana, Hollister’s
framework that provides for medical India. Moreover, nascent regulatory setting up manufacturing facility in
devices standards in India is impera- environment, no distinct status of the India and Philips Medical Systems’
tive to boost domestic manufactur- industry, need for quality benchmark acquisition of Medtronics and Alpha
ing, bring in reliability and better at par with global standards and high X-Ray Technologies.
time to market new technologies in capex requirement also slow down Medical technology parks have
medical electronics. the growth of the indigenous manu- been proposed by the government
Recently, a memorandum of facturing ecosystem. in addition to existing parks to
understanding was signed between However, an FICCI report encourage domestic manufacturing
Society for Applied Microwave cited examples showing a slow of medical equipment. Inflow of FDI
Electronics Engineering & Research but gradual move towards Make in will spur both R&D and manufactur-
(SAMEER) and the government of India in this sector. Sector players ing, in turn, increasing the efficiency
Andhra Pradesh, on conducting have undertaken endeavours to start and effectiveness of medical elec-
joint and comprehensive assessment manufacturing innovative products tronics products.
of health technologies as identified, in India, which are suitable for do- Advancement of medical
starting with dual-energy linear mestic as well as overseas markets. electronics product quality and
accelerators for cancer care develop- For example, Transasia Biomedicals associated successful diagnostic
ment. SAMEER is an R&D laboratory has developed in-vitro diagnostic rates are expected to create a spurt
of the Ministry of Electronics and equipment through its R&D base in adoption. India as an emerging
Information Technology, govern- in Mumbai, Roche Diagnostics has market continues to be relevant in
ment of India, mandated to contrib- developed a screening device for the global medical electronics space,
ute towards the growth of science cardio-vascular diseases, suitable for not just from a market point of view,
and technology of radio frequency/ use in rural settings, and GE Health- but also as a global hub for innova-
microwave electronics, electromag- care has developed a low-cost ECG tion and manufacturing.
T
his generation (Gen Y, born be-
tween the 1980’s and the year
2000) constantly gets bored. It
is forever looking for something new
and exciting, and everyone is willing
to try different things as long as they
can derive a good experience out of
it. Be it in any field, it is difficult to
stand out today simply because of
the problem of plenty. Looking at the
website of Proteus, I must say they
are taking this aspect seriously.
Proteus design suite is a package
put together by Labcenter Electronics
to give you a novel simulation and
printed circuit board (PCB) design-
ing experience. What makes this tool Fig. 1: Visual Designer for Arduino
special? What new does it have to
offer? Read on to know. Standard measuring instruments with Visual Designer
Proteus design kit has about 785 Fully-featured four-channel digital storage oscilloscope with measurement cursors
microcontroller variants ready for Counter/timer instrument for measuring time intervals and signal frequency
simulation, straight from the sche- DC and AC voltmeters and ammeters
matic. Be it Atmel, Microchip or ARM, Dual-mode (master/slave) serial peripheral interface protocol analyser
once you get a hang of the tool, you Pattern generator for creating 8-bit by 1kb digital data streams
need not worry about the impending 40-channel logic analyser with capture buffer and measurement cursors
RS232 terminal with configurable baud rate, data/stop bits and polarity
platform. Let us begin by considering
Dual-mode (master/slave) inter-integrated circuit protocol analyser
one of the most popular microcon- Signal generator to inject square, saw-tooth, triangle and sine waves
troller kits among students, Arduino. An advanced simulation feature that lets you perform analysis on graphs, and even
conformal analysis
Visual Designer for Arduino
Visual Designer in Proteus takes a need different peripherals for the cable, making the required configu-
cue from Arduino itself, removing the various sensors, one for the wheels rations and clicking to transfer the
lower-level complexities of software and another for the motor. The corre- flowchart into the board. PICs can
language and hardware design. It uses sponding microcontroller is automati- be simulated in real time, letting you
a combination of its trademark Virtual cally updated with connection details. test circuit functionality effectively.
System Modeling simulation—which Visual Designer allows you to set
we will come to later—flowcharts breakpoints at which you need to Shortened lifecycle
and virtual hardware, resulting in an debug the course of the robot and from schematic to PCB
integrated and intuitive development perform simulations around it. To It is VSM simulation that brings in
environment for Arduino. help you get started, the kit pro- Agile development into the embed-
Depending on the device you want vides ready-to-use Arduino shields, ded workflow, enabling you to
to connect to Proteus, you can config- breakout boards and sensors in its quickly put together a prototype with
ure the peripheral accordingly and use peripheral gallery. Transferring the hardware and firmware components.
high-level methods to control it. If you data to Arduino board simply re- The inbuilt processor model is built
are attaching, say, a robot, you might quires plugging in the programming to fully simulate input/output ports,
2
ii november 2016 | electronics for you Plus www.efymag.com
Make notes as you create
Project Notes, an application module for adding documentation or written content, comes
with Proteus. This free-form editor lets you add whatever you wish to, in the style you
choose. There are available templates for engineering change orders, PCB specifications
and the like. You can even link these to real components on the system, providing a quick
look-up table, if need be. It also turns out to be a handy navigation tool.
T
he period between design
completion and printed
circuit board (PCB) manufac-
turing can be tricky. First, you need
to completely validate the layout
you have created. Once you have
finalised it but the fabrication unit
finds faults, the layout has to be
thoroughly analysed, errors have to
be spotted and corrected, and any
other suggestions to be implement-
ed, in order to get the board you
dreamt of.
Gerbv is a tool that lets you
view, print and edit Gerber files—
the ones that act as an input for
producing a PCB. You can analyse
and validate your file’s syntax, code
count, aperture usage and other
such factors. This could be your
solution to problems during the
computer-aided manufacturing stage Fig. 1: A PCB for your IC
of your board.
Input plenty, output plenty What you need to know about Gerber
as well A Gerber file is typically the output from a PCB computer-aided designing tool, the one that is
The file sent in to Gerbv could be in sent for manufacturing your PCB. It generally follows one of the two standards, RS-274D or
formats like RS-274X, Excellon drill the more recent RS-274X; main difference being inclusion of aperture format.
and pick-place. Pick-place formats Each layer of your design, like top silk and metal layers, is stored in separate files, all of
which have to be included in Gerbv for a wholesome picture. There are many other tools that
contain x and y axes information,
deal in Gerber files like GerbvQt, Pcb2gcode, Gerber2tiff and GBTiler, to name a few.
rotation details and placement side,
and are of comma-separated ASCII
(.csv) type. Your job is made easier png or pdf formats, and even ps or study the numerous traces zigzag-
as the tool automatically reads and svg file types. ging everywhere.
detects the file format when multi- This is something you can do
ple formats are fed as inputs. A layered approach with ease using Gerbv. You can
These files are typically gener- As you progress into better and view layers individually, combine
ated by computer-aided manufactur- more complicated layouts, the first the selected few layers and even
ing export function of your layout noticeable change is the increase in change layer polarity for negative
tool. Once generated, this tool is one number of layers; the manufacturer or positive display. The layers can
of your best choices to manipulate permitting the same, of course. The also be stacked up in any order as
its details. When you are done with moment this comes into picture, so you please, by simply dragging and
all the viewing and editing, Gerbv does design complexity. dropping these—definitely a boon
lets you export the files in formats Needless to say, verification is a when trying to analyse traces travel-
suited to your application. Support- challenge. The best way is to strip ling over multiple layers.
ed formats include the very popular down the design layer by layer and With Cairo, you can make the
For More
Test and Equipment Stories
Visit www.electronicsb2b.com
I
n this edition of Electronics for
You Plus we have bundled in the
DVD a nice little software capa-
ble of simulation, co-simulation as
well as compiling into VHDL code.
Its name is GEZEL and it is distrib-
uted for free by Patrick Schaumont
and the team.
It is a hardware description
language (HDL), which allows you
the implementation of a finite-state
machine and datapath model. This Flowchart depicting GEZEL
model can be accurately described
as a mathematical abstraction that AVR. Presence of a code generator
is sometimes used to design digi- for synthesisable VHDL code would Three methods
tal logic or computer programs. It be extremely useful for first-timers, of simulation
consists of states that are essentially saving them a lot of time and effort Use command line. The following
used to assign sequences. For exam- from having to port the circuit on to a program, when run, executes three clock
ple, a program is converted into a separate code simulator. If you fancy styles.
fdlsim listing9.fdl 3
state diagram, which shows logical learning HDL and are just starting out
Use standard input. Using standard input
sequencing of the circuit. It is simi- on the journey, do try GEZEL and let allows you to pipe the design into the
lar, though less powerful, than a Tu- us know your experience with it. simulator.
ring machine. But where the Turing cat listing9.fdl | fdlsim 3
is unrestricted, the number of states The GEZEL structure Use scripting feature of the shell. The
here are dictated by the memory of GEZEL has three main tools that it only caveat here is that you must provide
a finite-state machine. utilises to perform its functions. the location of fdlsim in the code.
listing10.fdl 3
GEZEL standalone simulation
Highlights of GEZEL tool. This is a nice version of an
As mentioned earlier, GEZEL is a open source simulator. Based on Called gplatform, it helps in co-
cycle based HDL relying on the a cycle-true simulation algorithm, simulating GEZEL designs with
finite-state machine and datapath the simulator, called fdlsim, has an instruction-set simulators. Advan-
model. It allows you to add new evaluate phase and a register-update tage of such co-simulation efforts is
co-simulation interfaces by utilising phase. Evaluate the condition; if true, a design that can include co-proces-
user-defined library block exten- update register, and if not, proceed sors working on a host of different
sions in C++. Most of all, since accordingly. Simulation output can functions. gplatform supports co-
it is open source, we are following be modified with the help of simu- simulation with multiple ARM cores
EFY’s policy of promoting open lation directives, namely, display, and/or 8051 microcontrollers.
source solutions for all your elec- control and trace. Command line for If you are wondering what a
tronic needs. fdlsim is: co-simulation engine does, then do
GEZEL possesses a scripted fdlsim [-d] [<design.fdl>] <cyclecount> not worry. It is merely an abstracted
environment with easy-to-learn HDL. (The –d is a debug flag, and when version of the real hardware/soft-
It allows you to co-simulate using enabled, the simulator provides a more ware interface. Another cycle-true
embedded cores of multiple vendors, detailed account of the activities.) model, there are many forms of co-
be it ARM, Intel 8051 and/or ATMEL GEZEL co-simulation engine. simulation interfaces, depending on
Zebronics has announced the launch of its new video door phone, ZEB-VD4
GizMo ByTes
Smart, bundled with advanced security and surveillance features. It is an ideal Aadhaar app to allow people lock,
solution for those looking to upgrade their home or office security to the next inbox information
level. Ensuring the safety of your loved ones while you are at work or out for
This mobile app enables Aadhaar holders
business, the new ZEB-VD4 Smart facilitates two-way communication and to download their Aadhaar details on
transfers live video feed to a clear LCD screen, giving you a crisp and clear mobile phones. The app carries residents’
view of the individual standing before your door, while its wide-angle camera Aadhaar number and demographics data,
assures that nothing stays hidden from your view. Equipped with advanced namely, name, date of birth, gender, address
SOS Alarm function, this video phone guarantees maximum protection from and photograph on a mobile phone. It is
stranger danger. compatible with most Android phones (3.0 to
5.0.1). The app may be downloaded through
Google Play app store on mobile numbers
registered in UIDAI’s database.
iPad keyboard case Price
` 13,990
from Logitech Technology-enabled
With Apple pencil holder
learning platform
and Smart Connector for iAugmentor is a technology-enabled learning
iPad Pro 9.7 inch platform, bringing together technology,
human intervention and a whole gamut of
CREATE iPad Pro keyboard case is learning activities under one roof with the
the ultimate creativity and produc- intention of making learning more effective,
tivity toolkit. It holds everything intimate and accountable. This platform gives
access to a personalised mentor to individuals
together—your iPad Pro, Apple
who desire to learn to augment their skill
Pencil and a keyboard—in one Fitness wearable sets. The assessment based learning tool is
snug package, so all your tools
are in one place whenever you
by Samsung a personalised and adaptive medium that
intuitively suggests a learning roadmap to
need them. A fitness band you can run with you as per your learning tendencies, learning
CREATE comes with the new while your phone stays at home competencies and learning proclivities, while
constantly tracking progress.
generation of connectivity—Apple
Gear Fit2 allows you to make the most
Smart Connector, which means you
never need to charge your key-
out of every workout with a highly- Google’s AI-centric messaging app
accurate heart rate monitor. The built-in Allo app combines the best of Google’s
board; it will source power directly
GPS tracks your running route, distance predictive and search superpowers along with
from your iPad Pro. Smart Connec- an all-new personal assistant feature. It offers
and speed in real time, with precision
tor also means that Bluetooth pair- a hint at the artificial intelligence (AI)-filled
and dedication so you can go farther,
ing is a thing of the past. Just set future Google envisions. Apart from regular
better. The 3.86 cm (1.5-inch), curved,
iPad into a typing position; as soon features, Allo is home to Google Assistant, the
super-AMOLED display is large enough new conversational assistant that Google plans
as the two points of Smart Connec-
for you to quickly check your stats mid- to bring to more of its consumer products.
tor touch, you are ready to type.
workout, without ever missing a beat.
Technical features include Tizen Yahoo launches Newsroom
operating system, Bluetooth v4.2, Yahoo has unveiled its latest mobile news
Price 802.11b/g/n 2.4GHz Wi-Fi, and GPS, application, using both algorithms and user
` 9995
GLONASS location technologies. It choices to deliver the most relevant updates
features an accelerometer, a barometer, with a social twist. Yahoo Newsroom, tailored
gyro sensor and HR sensor, 200mAh for mobile devices powered by Android or
Apple operating systems, is Yahoo’s move
standard battery, along with auto
to counter Facebook and other Internet
activity tracker (for running, walking, giants as a key place for news updates. The
cycling, elliptical rowing machine or application uses algorithms for delivering
sleep) and social challenge tracker (for personalised news, and also enables you to
steps leaderboard or steps challenge). adjust the content and offer your own views.
The prices, features and specifications are based on information provided to us, or as available on various websites and portals. EFY cannot vouch for their accuracy.
M
y last article ‘Remote Sens- verter (ADC) continuously scans and a 433MHz ASK/OOK RF receiver
ing Thermometer’ pub- converts signals from eight different module. The received 8-bit serial
lished in June 2013 issue temperature sensors. The sensors are signal is then converted back to its
gave the constructional details of a selected sequentially by a 3-bit binary original parallel form, by using special
project for sensing and measuring addressing system. At any moment, data decoders as explained later. An
temperature of a body from a remote output of the ADC is an 8-bit binary equivalent analogue signal is then
place. The circuit described there number representing the analogue developed from this data by an 8-bit
works absolutely fine, but it suffers signal developed at the output of a digital-to-analogue converter (DAC).
from a major drawback; it cannot particular temperature sensor, being A digital multimeter connected at the
measure more than one temperature addressed at that moment. output of the DAC is used to show the
at a time. To overcome this problem, By using special parallel-to-serial temperature on mV scale.
a different technique is adopted here, encoders, this 8-bit data, along with
which allows you to sense eight (at the binary address of the sensor, is Sensors identification
the most) transducers at a time. sent serially to the remote receiving Scanning of sensors is governed by a
end. Communication between the two 3-bit binary counter, which places, in
The technique ends are met with the help of a pair of a cyclic fashion, sequentially-changing
Block diagram of the wireless ad- 433MHz UHF transmitter and receiver binary numbers from 000 to 111 on the
dressable digital thermometer is modules operating in ASK/OOK mode. three designated scanning input lines,
shown in Fig. 1. At the transmitting At the receiving end, the A, B and C, of the ADC. Each number
end, an 8-bit analogue-to-digital con- transmitted signal is received by bears the binary address of a particular
sensor, and whenever addressed, the
sensor sends data to the ADC for con-
A/D CONVERTER
A0 A1 A2 A3 A4 A0 A1 A2 A3 A4 said encoders.
RECEIVER UNIT 1 1 1 0 1
1 1 0 1 1
Among the total eight bits of the
(b) Receiver unit
address word, three are scanning bits,
Fig. 1: Block diagram of the wireless digital thermometer as explained above, and fixed for a
Vcc
VO
GND
Vcc
VO
GND
Vcc
VO
GND
Vcc
GND
VO
1
2
3
1
2
3
1
2
3
1
2
3
R9 R8
680K 680K
IC13 IC14
LM35 LM35 18 16 15
18 16 15
1 IN2 28 Vcc OSC1 OSC2
IN3 1 Vcc OSC1 OSC2
Vcc
VO
GND
VO
Vcc
GND
2 27 A0 1
IN4 IN1 17 A0
DOUT 17
1
2
3
1
2
3
3 26 2 DOUT
IN5 IN0 A1 2
4 25 A A1
IN6 ADD A 14
3 TE 14
Vcc
VO
GND
Vcc
VO
GND
9 20 AD10 12
OE ADC0808 D6 6 AD10
2−2 A5 6
1
2
3
1
2
3
10 19 D5 A5
CLOCK 2−3
11 18 7 11
Vcc 2−4
D4 A6 AD9 7 11
A6 AD9
12 17 D0
VREF(+) 2 −8LSB 8
A7 8
D1 13 VREF(−) 16 10 A7
GND AD8 10
9 AD8
1N4007 14 15 D2 GND 9
2−7 2−6 GND
CON1 1 IC8 3
FOR X1 7805
D2
1N4007 2
C5 D1
10u
C4
16V D3
1000u
25V
Do-it-yourself
GND
DATA
7 DIS RESET 4 2 13
N2 3 JAM 4 14 N1
Q3 1 2 3 4
5 6
R4 6 3 12
N3 TH 8 4 JAM 1 13 N4
100K JAM3
9 8 IC2 Vcc
4 11
NE555 12
explained earlier.
N4 5 CI
JAM2
2
11 10 TRI O/P 3
5 10 D3
6 Q1 N2
N5 Q2 11
1 5 1N4148
13 12 GND CV R5 6 9
7 CO 10 N3
N6 10K UP/DOWN R10 R11 R12
R1 GND 1K 1K 8
R2 8 Vss 9 1K 7 GND
1K C2 B/D
7 IC1 1K C3 R7
C1 1u T1 LED1 LED2 LED3 D4
10n 10K
500p 7404 16V
IC6 IC7 1N4148
BC547
CD4029 7408
www.eFYmag.com
Transistor BC547 (T2) is used as a pulse
VR1
10K
amplifier to amplify the signal output from RX1
and, hence, raises the pulse height to CMOS
15
14
12
11
16
Vcc 13
10
100u
C11
16V
compatible logic -1 (>3.5V at 5V). This com-
A7
V REF(+)
A6
A5
COMP
A8 LSB
VREF(−)
patible output is then fed to CMOS NAND gate
DAC0808
1.2K
TO DMM
R25
4011 (IC19). NAND gate N1 helps to get pulses
IC22
CON4
A1 MSB
of perfect rectangular-wave shape. Output of
GND
VEE
NC
A2
A3
A4
gate N1 of IC19 is fed to decoders HT12D (IC20
Io
R26
5K
2
8
1
4
and IC21). Address lines of the decoders are
preset to receive data from encoders IC4 and
100n
C10
IC5, respectively.
LEDs (LED5 and LED6) connected at their
R17
33K
2.7K
R24
VT outputs (pin 17) flicker to indicate recep-
R19 1K
LED6
LED14
tion of valid data. Decoding speed (as mea-
R34
1K
sured at pin 15) is 200kHz (approximately).
18
16
15
17
14
13
12
11
10
Decoded data is then fed to IC22, a DAC (0808).
LED13
R33
OSC1
OSC2
VT
DIN
D11
D10
D9
D8
VDD
1K
Analogue current output of the DAC (pin 4) is
HT12D
loaded with resistor R26. Voltage developed
IC21
LED11 LED12
R32
across it is fed to a digital multimeter, which
1K
VSS
shows the temperature on mV scale.
A0
A1
A2
A3
A4
A5
A6
A7
R31
A thumbwheel switch (TWS1) is used to
1K
1
9
change the preset address of the decoders (IC20
and IC21). The switch changes the last three
LED10
R16
33K
R30
1K
LSB of the address. For example, to get data LED5
R18 1K
LED9
R29
of the ADC, the number to be set on TWS1 is 4.
1K
Power supplies. The thermometer needs
18
16
15
17
14
13
12
11
10
LED8
R28
power supplies both for its transmitter and re-
1K
OSC1
OSC2
VT
DIN
D11
D10
D9
D8
VDD
LED7
R27
only a +5V regulated power supply built around
1K
X1, D1, D2 and IC8 (Fig. 2), the receiver unit
VSS
A0
A1
A2
A3
A4
A5
A6
A7
100K
R23
needs a dual +5V and -5V supplies built around
CB A
1
100K
R22
work from 230V AC, 50Hz connected to the pri-
Vcc 14
13
12
11
10
100K
R21
Power supply circuits are self-explanatory.
N4
N3
C +5V
100K
R20
2
7 GND
8
1
10u
3
3
C8
C9
BC547
R14
10K
R13 10K
7905
7805
IC17
IC18
1
1000u
1000u
25V
25V
C7
GND
5 6 7 8
DATA
1
Vcc
an actual-size, single-side PCB pattern for the
3
GND
RF RX
~BR1+
_
DB107
GND
For connection of TWS1, use a four-wire
1
GND
How to use
1. Attach LM35 sensors (IC9 through
IC16) of the transmitter unit to differ-
ent subjects of interest, noting inputs
(IN0-IN7) of the ADC to which these
are connected individually.
2. Attach a digital multimeter to
the output of the receiver unit with
positive lead to ground and negative
lead to R26. Set the multimeter’s dial
to 200mV range.
3. Switch on both transmitter and
receiver units.
4. Rotate the rotary thumbwheel
switch to get the temperature of a
Fig. 6: An actual-size PCB pattern of the receiver unit particular subject. For example, if you
like to get temperature of the subject
attached to the sensor connected to
IN6 input of the ADC, the thumb-
wheel switch ought to be rotated to
position 6.
5. A temperature of 27.5°C would
be displayed as 27.5mV (when value
of R26 is around 500-ohm). If R26 is
5k, displayed value would be 0.275V
when DMM range switch is set to 2V.
Applications
Although the system can be used best
to measure temperatures in hazard-
ous or inaccessible areas (like a ra-
dioactive zone), the same can also be
used by a hospital doctor to monitor,
from a fixed location, the body tem-
peratures of multiple patients lying in
different rooms without visiting each
patient in person.
A hotel control room can moni-
Fig. 7: Component layout of the PCB shown in Fig. 6 tor temperatures of all the rooms
at the same time by using multiple
units. The unit can also be used (with
StatuS of LEDs in thE rEcEivEr unit certain modifications) as a wireless
LED 7 8 9 10 11 12 13 14 digital voltmeter.
Data bit DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
Weight 128 64 32 16 8 4 2 1 Arup Kumar Sen is a retired technical
officer - II, S.A.I.F., Bose Institute, Kolkata
Status Off On Off Off On On Off Off
0.1u
VPS* 4
PIEZO BUZZER
C5
CON3
FOR
FOR 12V
5
12V Battery
CON4
BUC#
VR5
5K
PZ1
10K
R8
5K
R10 100E
6
POLARITY
LED5 REVERSE
4.7V
ZD1
Cum-
3.3K
LED7 R11
5
2
3
VPS* = VARIABLE POWER SUPPLY
IN1−
IC3 IN1+
IN2−
IN2+
LM358
VariaBle
OUT1
7 OUT2
GND
JUMPER
LED3 CHARGING
Vcc
Power
3.3K
R9
J3
3.3K
R7
TP7
SuPPly
BATTERY
CHARGE
1N4007
TP6
LED4
FULL
DEAD
LED6
D11
TP5
JUMPER
3.3K
R6
Fayaz Hassan
J1
3
HEALTHY
3.3K
1N4007
47K R5
3.3K
LED2
R4
D10
6A4
D4
VR3
VR2
5K
2
T
he circuit presented here can charge
JUMPER
BC547
VR1
a 12V lead-acid battery of 50Ah to
5K
T1
J2
P1
can even be used as up to 18V DC variable
12V,1C/O
12V,1C/O
USED IN PCB FOR EXTERNAL CONNECTIONS
N/O 2
N/C 1
N/C 2
N/O 1
power supply of maximum 5A capacity,
ARE JUNCTIONS
RL2
RL1
which is useful for a test bench. The circuit
0.1E, 5W
2N2222
R3
100u,35V
1N4007
T2
that time, it disconnects the output provided
D12
POINTS 1 THROUGH 6
C3
as variable power supply. It also detects the
wrong/reverse polarity connection of the
TP4
COOLING
D3
D5
270E
CON2
FAN
TP2
TP3
C2
D7
1N4007
D9
C4
1N4007
IC1
IC2
3
1
1
D6
7812
IC4
40V
C1
TP1
6A4
6A4
POWER
3.3K
LED1
X1
230V AC
ON/OFF
INPUT
CON1
50Hz,
This circuit simplifies higher cur- is fed to IC1 and IC2 that are wired ed for charging, no power is given to
rent handling of LM138 by using IC1 in parallel. Their output voltage is IC3. RL1 and RL2 are in non-ener-
and IC2 in parallel, but still output regulated either by VR1 (in case of gised state, and potmeter VR1 can be
voltage can be regulated by a single variable power supply) or VR2 (in used to get variable voltage output
variable resistance. Care should be case of battery charger), which is across CON3 fitted on the cabinet.
taken for handling the lines carry- selected by relay RL2. Output so When a 12V battery under charg-
ing 5A current. Two separate relays obtained is available for the variable ing (BUC#) is connected properly
(RL1 and RL2) are used to reduce power supply or battery charger to terminal CON4 for charging, IC3
the cost of the project. through RL1. gets power supply from the battery
Transformer X1 steps down 230V Dual op-amp LM358 (IC3) is through diode D10. If battery voltage
AC to 15V-0-15V AC that is then used to control the relays and select is below ‘dead’ voltage (say, 6-9V
rectified by diodes D1 and D2 and the type of output, that is, whether and at least above 6V), pin 7 of IC3
smoothened by capacitor C1. This for battery charger or variable power pulls low and LED6 glows. If the bat-
voltage, which is around 20V DC, supply. When no battery is connect- tery is healthy (say, more than 9V),
T
his suitcase-lift alarm circuit is built around HDX-2NC, which is Parts List
uses vibration sensor HDX- connected across connector CON2, Semiconductors:
2NC instead of a commer- transistors BC547 (T1) and BC557 T1 - BC547 npn transistor
cially available sensor. A home- (T2) and a piezo buzzer (PZ1). T2 - BC557 pnp transistor
D1 - 1N4148 signal diode
made mercury switch can also be Normally, vibration sensor ter- LED1 - 5mm LED
used instead. minals are shorted internally. When Resistors (all 1/4-watt, ±5% carbon):
the suitcase is lifted, sensor termi- R1 - 470-kilo-ohm
Circuit and working nals momentarily open. This allows
R2 - 1-kilo-ohm
R3 - 680-ohm
Circuit diagram of the simple suit- capacitor C1 to charge through resis- VR1 - 100-kilo-ohm potmeter
case-lift alarm is shown in Fig. 1. It tor R1 and diode D1. Discharging Capacitors:
C1 - 100µF, 25V electrolytic
path is through VR1 Miscellaneous:
and T1. CON1 - 2-pin terminal connector
R2
When T1 and T2 CON2 - 2-pin connector
R1 1K S1 - On/off switch
S1
470K VR1 conduct due to charged PZ1 - Piezo buzzer
POWER
T2
100K
ON/OFF C1, LED1 glows and - 9V battery
BC557 - Vibration sensor HDX-2NC
the buzzer sounds.
D1 T1
1N4148 BC547 Alarm duration can be
R3 PZ1 set using VR1. Construction and testing
C1 680E
CON2 CON1 Use a piezo buzzer An actual-size, single-side PCB
100u FOR
FOR
25V 9V with internal oscillator pattern for the simple suitcase-lift
HDX−2NC LED1
for the alarm sound. alarm is shown in Fig. 2 and its
The circuit works off component layout in Fig. 3. After
PZ1 = PIEZO BUZZER a 9V battery, which is assembling the components on
connected across con- the PCB, house the circuit in a
Fig. 1: Circuit diagram of the simple suitcase-lift alarm nector CON1. small box.
Check the circuit’s working
before you put it in your suitcase
for use as an alarm. Switch on the
circuit and place it in a suitable
place inside your suitcase.
OpenSourceForU.com
Follow us on Twitter@LinuxForYou
H
ere is a simple audio ampli- in this circuit. C1 is connected to
fier circuit built around 8-pin the middle terminal of 10k potmeter
integrated circuit LM386. VR1. C2 is connected to pins 1 and
The author’s prototype is shown 8 of IC1. Pin 5 of IC1 is its output
in Fig. 1. terminal, which is connected to
speaker LS1 through C3.
Circuit and working C4 is connected to the positive
Circuit diagram of the LM386 audio terminal of 6V battery and ground.
amplifier is shown in Fig. 2. It is Positive side of 6V is connected to Fig. 3: Actual-size PCB pattern of the audio
built around popular amplifier pin 6 of IC1 and the other side to amplifier
LM386 (IC1), an 8-ohm, one-watt ground terminal to pin 4.
speaker (LS1), four capacitors and a Inverting pin 2 of IC1 is con-
few other components. A 6V battery nected to ground and non-inverting
is used to power this project. pin 3 is connected to the input
Four electrolytic capacitors [two terminal through VR1. Audio input
10µF, 16V (C1 and C2) and two is fed to CON1. VR1 is used to
220µF, 16V (C3 and C4)] are used control volume.
Construction
and testing Fig. 4: Component layout of the PCB
An actual-size, single-
side PCB for LM386 am- Parts List
plifier is shown in Fig. Semiconductors:
3 and its component IC1 - LM386 low-power amplifier
Resistors (all 1/4-watt, ±5% carbon):
layout in Fig. 4. After as-
VR1 - 10-kilo-ohm potmeter
sembling the circuit on a Capacitors:
PCB, enclose it in a suit- C1, C2 - 10µF, 16V electrolytic
C3, C4 - 220µF, 16V electrolytic
able box. Fix connector
Miscellaneous:
CON1 on the front panel CON1 - 2-pin connector
for input and loudspeak- LS1 - 8-ohm, one-watt loudspeaker
S1 - On/off switch
er LS1 at the rear side of Batt.1 - 6V battery
the box. Connect VR1 - 2-pin terminal connector
Fig. 1: Author’s prototype on the front panel for for battery
A
soil moisture meter is used metallic probes. These probes act as of Arduino (Board1) if the soil is
for indicating the water con- sensor elements that register mois- wet enough.
tent of a given soil sample. ture and change it into an electric Repeat the calibration process
As crop production requires water value. This value is further pro- with randomly-collected soil sam-
at different stages and in different cessed into information in the form ples ranging from very dry to very
amounts, it is important to measure of an electronic display. wet, depicting different moisture
soil moisture from time to time to levels. Re-tune VR1, if necessary,
know its status. Circuit and working until you are satisfied with the
The circuit presented here, for Front-end of the soil moisture calibration process. (Note that the
monitoring the soil moisture content meter is a simple soil moisture depths of penetration of the probes
in irrigation farms, is an electronic sensor head, built around a few
device that measures soil moisture easily-available parts. Working
content accurately and precisely. of the sensor head electronics is
It measures the resistance of flow self-explanatory, so just follow the Fig. 3: Live LCD screen in author’s prototype
of the electric current between two conceptual drawing (and schematic
drawing) shown in Fig. 1 to proceed
P1
Wires
with its construction.
P2
Complete circuit diagram of the
soil moisture meter is shown in Fig.
10mm 20mm dia 2. After construction of the sen-
PVC tube sor head, power it off a regulated
Cork
Sleeved 10mm 5V DC supply.
Insert the probes of the sen-
Exposed 10mm
sor head into the soil to determine
Probes: Galvanised its moisture content, and carefully
Steel wires/needles adjust the preset VR1 so that voltage
Fig. 1: Soil moisture sensor head just above 3V is available at pin A1
SOIL
SENSOR Fig. 4: Actual-size PCB pattern of the soil
PROBES moisture meter
3
2
P1
VDD
Vss
VO
USB
D7
P2 POWER
INPUT
14
D6
AREF
13
DRIVER
R1 IOREF GND
D5
120E RST
12
13
VR2
ARDUINO
3.3V 12
D4
5V 11 10K
11
GND 10
D3
16X2 LCD
GND 9
10
LCD1
Vin 8
D2
ATMEGA328
T1
9
BC547
D1
7
8
6
DIGITAL
D0
A0 5
7
VR1
A1 4
R/W EN
10K
ANALOG
A2 3
6
A3 2
A4 TX 1
5
A/VEE
A5 RX 0
RS
4
R2
K
100E
15
16
BOARD1
Fig. 2: Circuit diagram of the soil moisture meter Fig. 5: Component layout of the PCB
P
resented here is a project that the planet. You just need an Internet need the name and code later to
lets your Raspberry Pi (RPi) connection on your RPi and smart- authenticate RPi. For example, let us
turn into a remote camera and phone. This project explains step- select Balboa for both device name
then control and watch live video by-step procedure to build your own and security code (Fig. 4). After
being captured by this camera on remote smart security camera. clicking OK, you should see your
your smartphone from anywhere on Hardware required for building Butterfly PI as offline (Fig. 5).
the camera are Android smartphone
(4.0 or higher), RPi 2, Raspberry Raspberry Pi setup
camera module, 5V, 1A power adap- Download the image of Butterfly PI
tor with micro-USB output, USB for RPi from https://drive.google.com/
audio adaptor (optional) and USB file/d/0By5lfnzRBBmAZkRzSmFEaj
Wi-Fi dongle (RPi 2-compatible). ByWU0/view?ts=5713a68b
Software required for this project
is Buttery TV app. Since the project
is developed using Butterfly TV and
RPi, we have named it Butterfly PI.
It has the following features:
1. You can broadcast live video
in several resolutions.
2. It communicates with your
audience via comments while you
are broadcasting.
Fig. 1: My Butterfly PIs 3. It allows you to share live Fig. 4: Device name and security code
video with your friends and follow-
ers on Facebook and Twitter.
4. You can sign up through Face-
book or Google+.
5. You can watch and share your
videos later and delete whenever
you want.
Smartphone setup
Download and install Butterfly TV
Fig. 2: My Butterfly PIs screen window from Google Play store. Butterfly TV Fig. 5: Butterfly TV offline mode
is integrated with the smartphone
camera. Login to Butterfly TV and
click on My Butterfly PIs item in the
menu (Fig. 1). You should see the
screen shown in Fig. 2 when you
first open My Butterfly PIs screen.
Click on Add new Butterfly PI in
the menu as shown in Fig. 3. Write
your chosen camera name as device
name and security code in Add new
Fig. 3: Add new item Butterfly PI dialogue box. You will Fig. 6: Butterfly online mode
Set up your Wi-Fi network from Fig. 7: Video capture on the smartphone
P
resented here is a project measure the distance between two 16×4 LCD, pushbutton switches and
based on Global Position- points using Haversine formula. It a few other components.
ing System (GPS) and can be a handy tool for a thermal
ATmega328P-PU microcontroller to power-plant patrolling/inspection or Circuit and working
any other application where large Circuit diagram of the GPS distance
Parts List
distance measurement is required. meter is shown in Fig. 1. To make
Semiconductors:
IC1 - ATmega328P-PU For example, in the thermal the circuitry simple and less power
microcontroller power plant industry, a patroller consuming, the 16MHz resonator/
GPS receiver - D2523T GPS receiver module
MicroSD - SparkFun microSD card
is required to take measurements crystal and associated pico capaci-
transflash breakout for laying out a new route, replace- tors on Arduino board are not used.
Resistors (all 1/4-watt, ±5% carbon): ment/shifting of old routes or exten- Arduino is programmed on plain
VR1 - 10-kilo-ohm preset
Capacitors:
sion of pipelines deep inside the ATmega328P-PU with an internal
C1 - 100µF, 16V electrolytic dyke. These activities are carried out 8MHz clock. The circuit is powered
Miscellaneous: quite often, and each measurement off a 3.7V lithium-ion battery.
LCD1 - 16×4 alphanumeric display
S1 - On/off switch requires two persons for holding a D2523T GPS receiver module
S2, S3 - Tactile/pushbutton switch large measuring tape. Demand for a used here requires between 3V and
CON1 - 2-pin terminal connector for
3.3V lithium-ion cell
GPS distance meter starts here. 3.6V DC supply and takes around
CON2 - 6-pin connector for GPS 40mA current. The module has two
receiver Hardware requirement LEDs on top and a green LED for
CON3 - 7-pin connector for microSD
card You need Arduino with an internal pulse per second (PPS).
BATT.1 - 3.3V lithium-ion battery or 8MHz clock, GPS receiver with seri- Since the pipelines are all in the
any other equivalent battery
al data port, microSD memory card, open, connection with GPS satellites
that are on low-
Earth orbit are
VR1 10K almost instant.
GPS After the device is
D2523T VSS switched on, cold
RECEIVER 1 LED−
16
start of this GPS
GPS LED 6
MODULE VE LCD1
3
VBAT 5
16x4 LCD
GND
VDD LED+
2 15
than 20 seconds.
2
3
4
100u,16V PC1
CD
DO
CS
9 PB6/XTAL1 −PU
DI
Fig. 2: An actual-size PCB pattern of the GPS distance meter Fig. 3: Component layout for the PCB
Now, move to a desired location clock circuitry with a 16MHz reso- (that is, using four or eight data
along with this assembly for taking nator and two picofarad capacitors. lines in addition to RS, enable and,
distance reading. Distance measure- You can use Arduino Uno board optionally, RW control lines).
ment values will flash on the third directly, but to get it programmed TinyGPS.h for GPS. TinyGPS is
line of the LCD and at the same on an 8MHz internal clock is rather a new Arduino library for parsing
time all readings including serial challenging. For that you need an NMEA data streams provided by
no, date, time, latitude, longitude, unprogrammed ATmega328P chip GPS modules.
dist_inst (d) and dist_total(D), will that has never been programmed SPI.h. This is for connecting the
be dumped into a text file, which with 16MHz external resonator. SD card. This library allows you to
will be stored automatically on the Because once it is programmed with communicate with SPI devices, with
microSD memory card (8GB, 16GB an external clock, it will never go Arduino as the master device.
and so on) attached to the device. back to 8MHz internal clock mode. SDFat.h. Arduino SdFat library
Latitude and longitude readings Read ‘Arduino as AVR Program- provides read/write access to
are taken up to six decimal points mer’ article for programming it FAT16/FAT32 file systems on
for calculations. Double precision with 8MHz internal clock. You can microSD/SDHC flash cards.
variable is used for the same. get it at http://electronicsforu.com/
Chances of error may be to the electronics-projects/hardware-diy/ Construction and testing
tune of 2.5 metres to 10 metres. arduino-avr-programmer An actual-size PCB pattern for the
Under the open sky, where GPS sat- An advantage of 8MHz internal GPS distance meter circuit is shown
ellites are easily located, the error is clock is that it is easy to make con- in Fig. 2 and its component layout
minimum. On a cloudy day, sighting nections on a piece of veroboard. in Fig. 3.
of GPS satellites may take a longer Besides, its power consumption is Switch on the GPS receiver and
time. So before pressing S2, wait for not even 10mA on 3.3V supply. wait till PPS LED on the GPS starts
a while until values of latitude and Various operations are imple- blinking. Soon you will find latitude
longitude get stabilised. mented in the code, and follow- and longitude values flashing on the
ing header files are included in LCD. Get the readings stabilised on
Software the library. Each header file has the LCD.
The code is written in Arduino pro- definitions for the library, while the Press S2 and you will get in-
gramming language. ATmega328P source file has the actual code. stantaneous distance (d) and total
is programmed using Arduino IDE LiquidCrystal.h for LCD panel. distance (D) values on the third line
software. Select the correct board This library allows the Arduino of the LCD panel. For example, if dis-
from Tools→Board menu in Arduino board to control LCDs based on tance from point A to B is 10 metres
IDE and burn the program (sketch) Hitachi HD44780 (or a compatible) and from point B to C is 20 metres,
through the standard USB port in chipset, which is found on most total distance D will be 30 metres.
your computer. text based LCDs. The library works The distance from A to B or from B
Arduino Uno has an external within either 4-bit or 8-bit mode to C is the instantaneous distance.
W
e receive many SMS unknown numbers. Companies use It is called Twilio Python Helper Li-
alerts every day. These services from Cloud communication brary. Twilio (www.twilio.com) is a
are automated messages platforms and send you messages Cloud communication platform that
that are broadcast to a list of mobile that are computer-generated via the provides APIs to build apps that can
numbers. Ever wondered how the Internet. Advantage of using such communicate via text messaging.
system works? This article can a platform is evident—messages We use this package to build our
help you build your own SMS alert can be broadcast to any number of SMS alert system.
system in no time and monitor it people at predefined times, without We use another API from Open-
as well. human intervention. WeatherMap (http://openweather-
If you check the messages in In this article we build a similar map.org) and read current humidity
your mobile phone, you will see that system using an interesting Python levels at a specific location. This
these marketing SMSes come from package that I recently discovered. software currently monitors for
Delhi region, but you can change it
for your location. If the read humid-
ity exceeds 70 per cent, it sends a
message ‘Humidity exceeds the set
level’ to your mobile. Else, it sends
‘Humidity below set level’ to your
mobile at desired intervals. Messag-
es are sent using Twilio API. I have
added humidity-monitoring feature
to give you an example. You can
monitor whatever you want.
The software is written in Py-
thon programming language and
tested on a Windows 10 OS based
computer.
Fig. 2: Install for all users Fig. 3: Select location for installing Python Fig. 4: Default selection
Add Python
to path
environment
variable
Python can be di-
rectly run through
the Command
Fig. 5: Status of installation Prompt on Win-
dows machine. But
this needs Python
directories to be
added in the path
Fig. 9: Path under System Variables under System Vari-
ables as explained
below. If you run python.exe com-
mand immediately after installation,
without adding the path variable,
you may encounter the error shown
in Fig. 7.
Follow the steps below to add
Fig. 6: Click Finish Python to the path in System Vari-
ables under Environment Variables:
1. Right-click on My Computer
→Properties→ Advanced System
Settings (Fig. 8).
2. Click on Environment Vari-
Fig. 10: Path in Windows 8
ables and search for the path vari-
able. Select the path under System
Fig. 7: Error in Windows PC
Variables and click Edit (Fig. 9).
3. In case of Windows 7, add
the following at the end of vari-
able value (or at the path of Python
Fig. 11: Command Prompt installation):
;C:\Python27\Scripts
Download Python 2.7.11 as shown 4. In case of Windows 8 or
in the figure. above, the window shown in Fig. 10
Once downloaded, install the will appear. Click New and add:
software. Double-click on the down- C:\Pyhton27
loaded file, select ‘Install for all 5. Select OK and it is done.
users’ and click Next (Fig. 2). 6. Open Command Prompt and
Select a location to install type Python (Fig. 11). This screen
Python. Click Next (Fig. 3). Keep confirms proper installation of
the default selection and click Next Python.
Fig. 8: Advanced System Settings
(Fig. 4). 7. Now you can directly run
You will be prompted for Python commands from Command
for this software. You can download permission to install the software; Prompt.
the same from www.python.org/ select Yes. The page shown in Fig.
downloads 5 will appear to show the status of Prerequisites
Once you open the link, you will installation. Once finished, Next tab Before you start writing your pro-
see the page shown in Fig. 1. Click gets activated. gram, install required packages so
thon as language).
Fig. 13: Twilio website 3. Twilio will ask your phone
number; enter it on the next screen.
4. Log into your account with
Fig. 16: Install PyOWM the username and password you
created.
5. You will
see the dash-
board as shown
in Fig. 15. If
you do not see
all the details
on your console
dashboard, you
can navigate to
Account and
Fig. 14: Form to be filled up
find everything
there.
that you can import these into 6. Note
your program. Register on Twilio Fig. 17: Create new account in OpenWeatherMap down account
website to obtain Twilio phone SID, authorisa-
number, account SID and authori- Note. It is important that Com- tion token (click Lock to get it) and
sation token. These are required mand Prompt is run as Administra- Twilio phone number (click Phone
in the source program to send tor. Otherwise, the command will Numbers to get it).
text messages. not work.
Then, register on OpenWeath- To check proper installation of Install PyOWM Python package
erMap website and obtain a Twilio, run Python in Command This package will be used to read
key. This key is required to read Prompt and type the command weather details from OpenWeath-
weather details from the website. given below: erMap website (http://openweath-
>>>import twilio ermap.org/). Install it by using the
Install Twilio package If this command does not give commands shown in Fig. 16.
Twilio package can be easily any error message, it means Twilio
installed in Windows using pip is properly installed. Register with
installer. This comes pre-packaged Register with Twilio. Follow OpenWeatherMap
with Python 2.7.11. So you do the steps given below to register or To obtain the key, just sign up with
not have to install it again. To sign up: the website by submitting your
download and install Twilio, run 1. Go to www.twilio.com and details (Fig. 17) and sign into your
Command Prompt as Administra- click Sign Up (Fig. 13). new account.
tor and type the command shown 2. Fill in your details in the form Click on API Keys and note
in Fig. 12. and click Get Started. (Choose Py- down your key.
Automation & Robotics Cabinets, Enclosures & Accessories Industrial & Manufacturing Equipment Services
HARIHI Ohm Electronics ..................................116 Shrey Plastic Moulders .................................... 127 Max Technology & Co. ....................................... 35 DSM India Private Limited .................................114
Rapid Radio Solution Private Limited .............. 127 NMTronics India Pvt Ltd ..................................... 13
Scientech Technologies Pvt Ltd ......................... 43 Components (Including Active & Passive) Solar Products
Tektronix India Pvt Ltd ...................................... 132 Aura Emergency Systems ................................ 125 IT Products Aura Emergency Systems ................................ 125
PSI Enterprises ................................................ 127 Sancon India Pvt Ltd .........................................112 Plugs, Sockets & Connectors Training and Certification Institutes
Sakthi Accumulators Private Ltd ...................... 126 ST Microelectronics Marketing Pvt Ltd ............... 41 Auro Controls ................................................... 109 ERT Tech.Services ........................................... 127
Srishti Electronics ............................................. 127 Educational Training Kits Reseller and Distributors Wires & Cables
Upsinverter.com ................................................111 Perfect Electronics ........................................... 126 Element14 India Pvt Ltd ....................................... 1 Sagar Switch Gear ...........................................117
Eita Technologies ...................................................................................126 Nippon India (www.nipponindia.com) .................................................... 117 Systellar Innovations (www.systellar.in)................................................. 114
Elcina Electronic Industries Association of India ..................................120 NMTronics India Pvt Ltd (www.nmtronics.com).......................................13 Tektronix India Pvt Ltd (www.tektronix.com)..........................................132
Electronic Assembly (www.lcd-module.de)..............................................37 Om Art Engineering Works ....................................................................124 Toshniwal Industries Pvt Ltd ..................................................................121
Elektro Power Systems..........................................................................126 Perfect Electronics (www.perfectelectronics.net) ..................................126 Tunwal Electronics ................................................................................. 119
Element14 India Pvt Ltd.............................................................................1 Perfect Systems .....................................................................................127 Universal Electronic Agencies (www.easternradio.co.in) ......................121
EPS PCB Technologies ......................................................................... 116 Pinnacle Mouldings ................................................................................ 119 Upsinverter.com (www.upsinverter.com) ............................................... 111
ERT Tech.Services.................................................................................127 Prism Enterprises Pvt Ltd ..................................................................... 118 Velpa Technologies ................................................................................127
Exide Industries Ltd (www.exide4u.com) ...............................................51 Progressive Engineers........................................................................... 112 Yokogawa India Ltd (www.yokogawa.com/in) .......................................123