Electronics For You Express 2 2021
Electronics For You Express 2 2021
BINAY
LED Aviation Obstruction
LIGHTS
All BINAY Aviation Lights are based on Non-switching passive type circuitry (NO SMPS)
The circuitry incorporated inside the LED Aviation Obstruction Lights is passive electronic (solid-state) in nature, and does not use internal SMPS
driver switching units to control the light unit. Internal LED current control is by non-switching electronic means only. No electrolytic capacitors
are used inside the Aviation Obstruction Light unit.
The above is necessary to ensure reliability of the LED Aviation Obstruction Light. This system design effectively eliminates any active components
and circuits inside the aviation light itself, and enhances the solid-state passive reliability of the LEDs (mounted in relatively inaccessible locations
at the height of tall structures). This drastically reduces the possibility of component failure - and hence possibility of any maintenance require-
ment – in the LED Aviation Obstruction Lights themselves (which are mounted at extreme heights in the system).
Binay Opto Electronics Pvt. Ltd. 27, Panditia Terrace, Calcutta 700 029, India
Binay Opto Electronics Pvt. Ltd.
Lighting Up The Future
SAFELY Control
airborne infection
from viruses
and bacteria
Continuously and online in
indoor occupied public spaces
with
BINAY UPPER ROOM
ULTRAVIOLET-C
GERMICIDAL
IRRADIATION SYSTEM
Upper Room systems operate continuously in indoor occupied areas, and are safe
for occupied-area use. They are a relatively simple and effective means of controlling airborne
infection and can be cost-effective for many types of facilities, including offices, cabins, corridors,
industrial plants, canteens, hospital applications, waiting rooms, and any indoor occupied area
• Safe for active use in occupied areas – Occupants in the room are not exposed to UVC radiation
• Proven Technology – Used globally against viruses and bacteria for over 70 years (widely used in North America)
IN
MADE
IND%IA
100
1.0" 1.2" 1.5" 1.8" 2" / 2.3" 3.0" 4.0" 5.0"
0.24"(23x10x5) 0.36”(36.5x14x8)
0.32"(28x11x5) 0.56”(63x19x8)
0.25"(12x7x6.5) 0.25"(15x8x4)
0.25"(24x10x5.1) 0.36"(30x14x7)
0.28"(15x10x6)
0.3"(15.5x15x7)
0.26"(18x8.8x4)
0.28"(22.5x10x6 0.28"(32x10x6) 0.39"(40x12.6x7) 6 DIGIT
0.39"(40x14x7) 0.56"(37x19x8) NEW
0.36"(15x14x7) 0.31"(21.0x11x7)
0.56"(50X19X8) 0.56"(50x19x8)
0.39"(20x13x7) 0.36"(22.5x14x7)
0.8"(71.6x25.7x8.5) 0.8"(54x23x8) NEW
0.4"(20x16x7) 0.39"(30.5x14x7)
0.8"(71.6x25.7x8.5) 0.30”(41.0x11x5.8)
0.56"(25x19x8) 0.4"(30x16x7) NEW
0.39" 0.5" 0.5" Dual Digit 0.8" 1.0" 1.2" 1.5" 2.0" / 2.3" 0.4" 0.56" 1.0" 2.3" 4.0"
1.5" 2.0" 5x8 - 2.3" 3.0" / 4.0" 1.5" 2.0" 2.0" 2.3"
www.AlfaOpto.com BUSINESS
ENQUIRIES [email protected] 9223239790 9029232301
Explore > Select > Order
We Make Instruments Brighter
February 2021 | Vol. 1 No. 4
do-it-yourself JAPAN :
Tandem Inc.
E-mail: [email protected]
50 Automated Washroom Light Using IR Sensors taiwan : J.K. Media
E-mail: [email protected]
54 Smart Agriculture Irrigation System United Kingdom : ASA Media
E-mail: [email protected]
58 Creating A Very Basic Chatbot In Python On Telegram Messenger
United States : E & Tech Media
E-mail: [email protected]
EFY EXPRESS DIGITAL PHOTO FRAME along with capacitor to Zobel net-
I used to purchase kits and books from This is regarding ‘Design Your Own work circuit at output, as given in the
Kits‘n’Spares. Now I have retired and Digital Photo Frame’ DIY project pub- datasheet that has a 4.7-ohm resistor?
stopped reading EFY for a year or so. lished in April 2020 issue (also available Absence of resistor can cause oscilla-
However, now you have an abridged at https://www.electronicsforu.com/ tions in the circuit!
version of EFY Express, an ezine version, electronics-projects). I am getting follow-
which is good, and I liked it. ing messages - C:\Users\Kjell 2\App- Anirvan Kule
EFY news-stand (ezine portal) price Data\Local\Temp\Rar$DIa9656.29544\
is `50 per month and you have offered display\display.ino:42:14: warning: The author Raj K. Gorkhali replies:
50% discount for old senior customers. converting to non-pointer type ‘int’ 1. No, it does not affect the gain. It’s a
In view of that, please share the link so from NULL [-Wconversion-null], if (f low cut-off frequency. If the capacitor
that I can pay for six months and get EFY != NULL) { //file exists. What does value is increased, it just delays the start-
Express for 12 months. this mean? ing time. To reduce the gain, you may
add a 22-kilo-ohm pot at the input side.
Bhabadeb Sinha Kjell Nilsson 2. Yes, the complete Zobel filter net-
work can be implemented at the output
EFY. Thanks for sharing your feedback! The author Dr Manikandan replies: using inductor, resistor, and capacitor
EFY Express is a free-to-read ezine, and Thanks for showing interest in our to protect speakers for higher wattage
hence you need not pay anything to read article! After opening Arduino IDE, amplifiers. Zobel network was not
it. But, if you want to subscribe to the make sure to select ‘Show verbose included here just to make the circuit
full print edition, you can avail the 50% output during compilation’ from File/ simpler for this low-watt amplifier to
off offer at renew.efyindia.com. For fur- Preferences options. Otherwise, you construct.
ther queries please contact our support will get error message “warning: con- •••
team ([email protected]). verting to non-pointer type ‘int’ from
••• NULL [-Wconversion-null]” Please LIQUID VENDING MACHINE
share a snapshot of the error, as it may This is regarding ‘Arduino-based Liquid
SUGGESTIONS be a simple warning that can be easily Vending Machine’ DIY article published
I would like to suggest to you to include ignored. in May 2020 issue. I am doing this pro-
a series of topics on the latest electronics ••• ject but the amount of water flowing
developments for military applications out from the 12V DC solenoid valve is
and electronic weapons. Also, please STEREO AMPLIFIER very less. Please suggest whether there
try to cover space electronics like Apollo I have some doubts concerning is any remedy?
mission and related electronics systems. ‘6W+6W Stereo Amplifier Using
LA4440’ DIY article published in Yellala Palguna Reddy
Alan Alappatt November 2020 issue:
1. Why the negative feedback capac- The author Sagar Raj Gupta replies:
EFY. Thanks for the suggestions! The itor value is increased from 47µF (as Attach or join a DC water pump
topic was covered extensively in a series mentioned in the datasheet) to 100µF? between water source and solenoid
of articles a couple of years ago, but we Will it reduce the gain of the circuit? valve to increase water pressure. Such
shall try to cover the latest developments How to reduce the gain to 40dB? example can be seen in an automatic
in some of the forthcoming issues. 2. Why no resistor is connected water purifier.
Q1. Is there any health risk with a Wi-Fi router and what would be a safe distance from
a Wi-Fi router installed in a building?
R. Roy
A1. There are many articles on the Internet suggesting that a Wi-Fi routers generally us 2.4GHz or 5GHz band. The
Wi-Fi router poses potential health risks while others negate 5GHz Wi-Fi routers offer higher download speeds but the
it. Scientists and researchers are still studying the effects of 2.4GHz waves can travel through walls, which 5GHz have
long-term electromagnetic radiation. difficulty in doing.
Some experts say that wireless routers and allied systems The radiation from a router is the strongest near its
produce radiation in low GHz frequency, which is potentially antenna and reduces when you move away. Most experts
dangerous even when it is within the so-called ‘safe limits’ suggest that radiation level of three to six microwatts per
set by some countries. As the RF radiations could still cause metre squared are safe, which can be measured using an RF/
harmful or non-thermal biological problems, we should EMF meter.
understand the risks associated with Wi-Fi radiation from our You can use a meter to measure the Wi-Fi radiation in your
own routers and those installed by our neighbours, offices, or environment or you can use Wi-Fi router guards available in
even in public places. the market if you are feeling stressed due to the radiation.
Q2. What is fanout in PCB layout design? Can we place a via under the BGA pad
without fanout?
A. Samiuddhin
A2. In PCB layout designing, especially for BGA (ball grid vias next to a pad, in some cases even by removing some pads
array), the PCB fanout, land, and via are particularly impor- from the BGA footprint. Here fanouts are not involved.
tant. Fanouts are traces from the device lands to adjacent via, If there is a via in pad (Fig. 2), it needs to be filled either
as shown in Fig. 1. A via is an electrical connection between with copper or non-conductive material. Because an open
layers in PCB to connect the input and output, power, and hole would cause the solder to flow away from the pad, which
ground tracks. is not desirable. This via creates an extra step in PCB manu-
Typically, there is one via per land. PCB lands are where facturing and involves additional costs. That is why many
device balls sit and get soldered to. One of the important and designers don’t use this option.
difficult aspects of PCB design using fine pitch BGAs is the The second problem is the required drill-hole diameter. For
layout of their lands and fanouts. example, it is difficult to place a 0.2mm hole in a pad of a 0.4mm
You can place a via under the BGA pad without fanout, spaced BGA. Using a smaller drill size would result higher costs.
but it comes with advantages and disadvantages. Having vias One of the solutions is to use normal fanout routing with few
placed on a pad is a common practice. Some designers place vias. This option would give you a much cheaper solution.
land
fan out
via
Answers compiled by Sani Theo, technical editor. Letters and questions for publication may be addressed to Editor, Electronics For You, D-87/1, Okhla Industrial Area,
Phase 1, New Delhi 110020 (e-mail: [email protected]) and should include name and address of the sender.
Fast
Fast
Charge/Discharge
Charge/Discharge
Fast Charge/Discharge
High
High
power
power
performance
performance Long
Long
cycle
cycle
lifelife
High power performance Long cycle life
Extensive
Extensive
temperature
temperature
usage
usage
conditions
conditions
Extensive temperature usage conditions
Feature
Feature Green-Cap
Green-Cap
Feature Green-Cap
Charge
Charge
timetime Sec.Sec.
unitunit
Charge time Sec. unit
Temp.
Temp.
Characteristic
Characteristic - 40- ~4085~ ℃
85 ℃
Temp. Characteristic - 40 ~ 85 ℃
Power
Power
Density
Density
(W/kg)
(W/kg) 10,000
10,000~ 20,000
~ 20,000
Power Density (W/kg) 10,000 ~ 20,000
Charge/Discharge
Charge/Discharge
Cycle
Cycle
LifeLife 500,000
500,000~ 1,000,000
~ 1,000,000
Charge/Discharge Cycle Life 500,000 ~ 1,000,000
Environment
Environment Environmentally
Environmentally friendly
friendly
Environment Environmentally friendly
· An
· An
energy
energy storage
storagedevice
device withwith
rapid
rapid
AnCharge
energy
· Charge storage
& discharge
& discharge device with
characteristics
characteristics rapid
andand
semi-permanent
semi-permanent
cycle
cycle
lifelife
/ Supply
/ Supply
of eco-friendly
of eco-friendly
products
products
in single-cell
in single-cell
andand
module
module
form
form
Charge & discharge characteristics and semi-permanent cycle life / Supply of eco-friendly products in single-cell and module form
· Application:
· Application:
Renewable
Renewable
energy
energy
(wind
(wind
power,
power,
solar
solar
power),
power),
Hybrid
Hybrid
cars,
cars,
improvement
improvement
of energy
of energy
efficiency,
efficiency,
ESSESS
(energy
(energy
storage
storage
device)
device)
etcetc
· Application: Renewable energy (wind power, solar power), Hybrid cars, improvement of energy efficiency, ESS (energy storage device) etc
Samwha
Samwha India
India
Energy
Energy Savings
Savings
Pvt.
Pvt.
Ltd.
Ltd.
Samwha
(Noida
(Noida India
Office)
Office) Energy
C-35,
C-35,
Sec-2,
Sec-2,Savings
Gautam
Gautam Pvt.
Budh
Budh Ltd.Noida
Nagar,
Nagar, Noida
- 201301,
- 201301,
(U.P.),
(U.P.),
India
India
(Noida
(BangaloreOffice)
(Bangalore C-35,
Office)
Office) Sec-2,
S-422,
S-422, Gautam
Manipal
Manipal BudhNo-47,
Centre,
Centre,Nagar,
No-47,Noida - 201301,
Dickenson
Dickenson
Road,
Road,(U.P.), IndiaIndia.
Bangalore,
Bangalore, India.
(Bangalore
TelTel Office)
: +91-120-4571-339 S-422,
: +91-120-4571-339 Manipal
E-mail
E-mail Centre, No-47,
: [email protected]
: [email protected] Road, Bangalore, India.
Tel : +91-120-4571-339 E-mail : [email protected]
Samwha
Samwha Electric
Electric
Co.Co.
Ltd.
Ltd.
3,Samwha Electric
Bongmyeong-ro,
3, Bongmyeong-ro, Co. Ltd.
Heungdeok-gu,
Heungdeok-gu,
Cheongju-si,
Cheongju-si,
Chungcheongbuk-do,
Chungcheongbuk-do,
Korea
Korea
(28589)
(28589)
3, Tel
Tel Bongmyeong-ro,
: +82-2-2056-1646 Heungdeok-gu,
: +82-2-2056-1646
FAXFAX Cheongju-si, Chungcheongbuk-do, Korea (28589)
: +82-2-542-8554
: +82-2-542-8554
Tel : +82-2-2056-1646 FAX
http://www.samwha.com/electric
http://www.samwha.com/electric: +82-2-542-8554
E-mail
E-mail
: [email protected]
: [email protected]
http://www.samwha.com/electric E-mail : [email protected]
Tech News
Israel’s doctors perform first-ever AR, 3D eye socket surgery
Doctors at the Galilee Medical Center in Nahariya, Israel, have
performed an eye socket fracture repair using augmented real-
ity (AR) and 3D technologies. The surgery was on a 31-year-old
patient who needed the floor of his eye socket repaired due to
a serious fracture, which had led to double vision as well as
impairment of the look and symmetry of the eyes.
Using a software, a 3D-printed model of the patient’s skull
was built and, with the help of computerised tomography
(CT) scan, a plate was designed that matched the patient’s
eye socket floor. This plate was then printed in titanium and
placed beneath the eye using AR.
One of the surgeons wore Microsoft’s HoloLens AR glasses,
which connected to the computer software and thus both the
patient’s skull and plate models. The model was virtually
placed over the patient’s head and the surgeon then placed
Surgeons are seen examining a model skull ahead of eye surgery using the plate in the correct position in real time. The surgery was
AR technology (Credit: www.jpost.com) successful and only took an hour and a half.
MAX4721
MAX4721
LCD LCD
MAX4721
SWITCHSWITCH LCD
SWITCH
MCU MCU
MCU
MAX35101
MAX35101
MAX35101
TIME-TO-DIGITAL CONVERTER
TIME-TO-DIGITAL CONVERTER
TIME-TO-DIGITAL CONVERTER
TEMP 1 TEMP 1
ULTRASONIC
ULTRASONIC TEMP
TEMP 21 TEMP 2
PULSES PULSES
ULTRASONIC TEMP 2
PULSES
MAXREFDES70#
MAXREFDES70# ultrasonic time-of-flight
ultrasonic flowflow
time-of-flight metermeter
INLET (80 0
C TYPICAL)
INLET (800C TYPICAL) MAXREFDES70#
by Maxim
by Maxim ultrasonic
Integrated sends
Integrated time-of-flight
and receives
sends and receives flowultrasound
meter
ultrasound
INLET (800C TYPICAL)
by Maxim
waveswaves Integrated
between sends and
piezoelectric
between receives
transducers
piezoelectric transducersultrasound
in both the the
in both
RADIATOR
OR
RADIATOR
OR
waves
upstreambetween
upstream piezoelectric
and and
downstream
downstream transducers
directions
directions ininboth
in the the the
pipe.pipe.
RADIATOR
OUTLETOUTLET
SYSTEMSYSTEM
OR upstream
By measuringandthe
By measuringdownstream
TOF directions
difference
the TOF between
difference inthe
between theupstream
pipe.
the upstream
SYSTEM
OUTLET By
andmeasuring
downstreamthe TOF
and downstreamwavedifference
travels,
wave between
utilizing
travels, the upstream
sophisticated
utilizing sophisticated
and downstream
digital signal
digital signalwave
processing travels, utilizing
techniques,
processing techniques, sophisticated
a very accurate
a very accurate
digital
flowflowsignal
rate can processing
rate be techniques, a very accurate
cancalculated.
be calculated.
flow rate can be calculated.
150,000-plus
Readers Like You
Will Read This Ad.
Your investment…
Rs 12,500 / US$ 220 only.
Driving
Driving what's
what's next
next in
in mmWave
mmWave testing
testing solutions
solutions
Driving
Driving
Since 1965, Anritsu continues
what's
what's
to lead the
next
next in
in
design of high-frequency
mmWave
mmWave
connectors,
testing
testing solutions
solutions
• Developed K and V connectors
Since
Since 1965, Anritsu continues to lead the design of high-frequency connectors, • Developed K and
and VV connectors
connectors
Since 1965,
Since 1965, Anritsu
components, Anritsu
1965, Anritsu
continues
and test
continues
continues
to
to lead
equipment for the
lead the design
to lead design of
microwave
the and
of high-frequency
high-frequency
design of
connectors,
millimeter-wave applications.
connectors,
high-frequency connectors,
•• Developed
Created 145KKGHz
Developed and 0.8mm coaxial connector
V connectors
•• Developed
components,
components,
Since and test
and test
1965, Anritsu equipment
equipment
continues for microwave
for
to lead microwave
the design and
and
of millimeter-wave
millimeter-wave
high-frequency applications.
applications.
connectors, •• Created 145KKGHz
Created 145
Developed
and 0.8mm
GHz V connectors
and 0.8mm coaxial connector
coaxial
V connectors connector
Its industry-leading
components,
components, and and
and test
test first-of-its-kind
equipment
equipment for millimeter-wave
for microwave
microwave and
and measurement
millimeter-wave
millimeter-wave applications.
applications. Introduced
145compact
Created 145
•• Created GHz
GHz 0.8mm
0.8mm40 GHz USBconnector
coaxial
coaxial VNA
connector
Its
Its industry-leading
industry-leading and
testand first-of-its-kind
first-of-its-kind millimeter-wave
millimeter-wave measurement
measurement Introduced
•• Introduced compact
compact 40
40 GHz USB VNA
components,
capabilities
Its
Its
andAnritsu
put
industry-leading
industry-leading
equipment
and atop the for microwave
podium
first-of-its-kind
andatop
first-of-its-kind as the and manufacturer
first millimeter-wave
millimeter-wave
millimeter-wave to
measurement
measurement
applications.
break the Created 145handheld
Developed
Introduced
•• Introduced
GHz 0.8mm
compact
compact 40 GHz
110
40 GHzUSB
coaxial
GHz
GHz
VNA
connector
spectrum
USB
USB VNA analyzer
VNA
Optical Test
Its Test &
capabilities
capabilities
capabilities
Optical
capabilities & Measurement
Measurement Solutions
put Anritsu
put
put
millimeter-wave
capabilities
millimeter-wave
Anritsu
industry-leading
millimeter-wave barrier.
Anritsu
put Anritsu
millimeter-wave barrier.
Solutions
andatop
atop
the podium
the
the
podium as
first-of-its-kind
podium
as
as the
the
first manufacturer
the first manufacturer
millimeter-wave
first
to break
to break the
measurement
manufacturer to break
atop the podium as the first manufacturer to break the
barrier.
barrier.atop the podium as the first manufacturer to break the
put Anritsu
the
the
Developed
•• Developed
Developed
•• Developed
Offer
•• Offer VNAs
Offer VNAs
Developed
handheld
VNAshandheld
Introduced
Offer handheld
handheld
to
to both
to both
VNAshandheld
70
both 70
110
to both 70110
compact 40
110
GHz
GHz
GHz
110and
GHz
GHz
and
70110and
145
145
GHz
and
spectrum
spectrum
spectrum
spectrum
GHz
GHz
145spectrum
GHz
analyzer
GHzVNA analyzer
145USB analyzer
analyzer
analyzer
millimeter-wave barrier. • Offer VNAs to both 70 and 145 GHz
Optical Test & Measurement
Optical TestSolutions
millimeter-wave barrier.
& Measurement Solutions • Offer VNAs to both 70 and 145 GHz
Optical Test & Measurement
Optical TestSolutions
& Measurement Solutions
Products
Products
Products OTDR Products
R&D PRODUCTION Products OTDR
Signal Quality Products
Analyzer
R&D
R&D PRODUCTION
PRODUCTION R&D PRODUCTION
OTDR
Signal Quality
Signal
AnalyzerBit Quality
Error Rate
OTDR
Analyzer
Analyzer (BERT)
OTDR
Spectrum Master™ MS2760A Signal
OTDR Quality Analyzer
VectorStarR&D
™ Series
™ PRODUCTION ShockLineR&DSeries™™ PRODUCTION
Spectrum Master™
Bit
Signal Error MS2760A
Rate
Quality
Analyzer
Bit Error Rate
(BERT)
IP/Ethernet Analyzer
Analyzer-10G/100G
W1 Bit Error
Components
Signal Rate
Quality(BERT)
Analyzer (BERT)
VectorStar Series ShockLine Series
Series™™ Spectrum Master™
Ultra-Portable MS2760A
VectorStar
VectorStar ™ Series
™
™
Series with ShockLine
ShockLine Series™
Spectrum
Spectrum Bit ErrorAnalyzer
Master™
Master™
IP/Ethernet
Ultra-Portable
MS2760A
MS2760A
RateAnalyzer-10G/100G
AnalyzerAnalyzer (BERT) W1
IP/Ethernet
OTN/SDH/SONET
W1 Components
Analyzer-10G/100G
IP/Ethernet
Bit Error
Components Rate Analyzer-10G/100G
Analyzer Analyzer (BERT)
HighestVectorStar Series
overall performance ShockLine
Enables Series
market-leading, Ultra-Portable
Spectrum Master™
Ultra-Portable Analyzer
MS2760A
Analyzer
OTN/SDH/SONET
W1
W1 Components
Components
Analyzer Metrology-grade coaxial
HighestVectorStar
overall Series
performance
™
with ShockLine Series IP/Ethernet
Ultra-Portable Analyzer-10G/100G
Analyzer OTN/SDH/SONET
IP/Ethernet Analyzer
Analyzer-10G/100G
Highest overall
broadest performance
coverage of 70 kHzwith
to Enables
Enables
high-frequency
market-leading,
market-leading,
measurement
™
The world’s first handheld
OTN/SDH/SONET
Optical W1
Metrology-grade Analyzer
Components
Spectrum Analyzer
coaxial
Highest overall performance with Enables market-leading,
market-leading, Ultra-Portable
The world’s firstAnalyzer
Optical
OTN/SDH/SONET handheld Analyzer
Spectrum Analyzer Metrology-grade
Optical coaxial
from DCSpectrum
to 110 GHzAnalyzer
OTN/SDH/SONET Analyzer
Highest overall
broadest
broadest
Highest
coverage
I&M
coverage
overall
broadest coverage
of
ofI&M
performance
70
70 kHz
70 kHz
145performance
GHz.ofI&M
with
to
to
kHzwith
to O&MEnables
high-frequency
high-frequency
performance
O&M measurement
I&M
inmeasurement
a compact,
Enables market-leading,
The
mmWave
O&M
The
The
mmWave
world’s
world’s
first
spectrum
world’s first handheld
analyzer
handheld
first Spectrum
Optical
spectrum handheld
Power
to
Meter
analyzer Optical
Optical
Analyzer
to
components
Metrology-grade
Spectrum
Metrology-grade
components
Power from
Meter
Optical
coaxial
Analyzer
coaxial
DCSpectrum
to 110
Power110 GHz
GHz
Meter
Analyzer
broadest coverage
145 I&M
145 GHz.
GHz.of 70 kHz to high-frequency
high-frequency
O&M
performance
performance
O&M
in
measurement
measurement
inI&M
aaa compact,
compact, mmWave
O&M
provide
The
mmWave spectrum
continuous
world’s
spectrum
Optical
analyzer
coverage
first Power
handheld
analyzer
Loss Test
to
toSetOptical
Meter Optical
components
delivers
components
components
Power
delivers
Loss
from
precision
Metrology-grade
from
from
precision
Test
DC
DC
DC
Meter
to
performance
coaxial
to 110
to 110 GHz
performance
SetLoss
GHz
broadest coverage
145 GHz.
145 GHz. of 70 kHz to economical
high-frequency
performance
performance
economical in
form
in factor.
measurement
compact,
a compact,
mmWave
provide
provide
spectrum
continuous analyzer
coverage to delivers Optical
precision
deliversand
components to 110 GHz Set
Power
performance
repeatability.
from DC
precision performance
Test
Meter
145 GHz. economical
performance
form
form
in a
factor.
factor.
compact,
mmWave
provide
provide continuous
from 9Optical
kHz to Loss
spectrum
continuous
Coherent
continuous 110coverage
GHz.
analyzer
coverage
OTDRTest
coveragetoSetOpticaldelivers
Coherent Lossprecision
and
OTDRTest performance
Set
Coherent
Optical Loss
repeatability.OTDR Test Set
economical form
economical form factor.factor. from
from 9 kHz to
99Coherent
kHz 110 GHz. and
delivers repeatability.
precision
and performance
repeatability.
economical form factor.
provide
from
from kHz to
continuous
9 kHz to 110
Sampling
to 110
GHz.
110coverage
Oscilloscope
OTDR
GHz.
GHz. Coherent
Sampling and Sampling OTDR
Coherent
repeatability.
OTDR
Oscilloscope
Oscilloscope
9Sampling
from GHz. Sampling and
kHz to 110Oscilloscope repeatability.
Sampling Oscilloscope
Oscilloscope
Be a Leader - Discover how you can get better measurement confidence with Anritsu.
Be aa Leader
Be Leader -- Discover
Discover how
how you you can
can get
get better
better measurement
measurement confidence
confidence withwith Anritsu.
Anritsu.
Be aacomplete
View our Leader --toDiscover
line how you
of mmWave youtesting
can get
get better
solutions measurement
atmore
IMS 2019. confidence
Visit us atdemo with
IMSwith
2019Anritsu.
– Booth 542 discussion
©2020 Anritsu Company
Company
Write to [email protected]
View our for more
Write
complete lineinformation,
of mmWave demo
[email protected]
testing & application
solutionsfor
at IMS discussion
information,
2019. Visit us at IMS 2019& application
– Booth
Write to [email protected] for more information, demo & application
View our complete line of mmWave testing solutions at IMS 2019. Visit us at IMS 2019 – Booth 542discussion
Company
Anritsu
Write to [email protected]
Anritsu India Private Limited Anritsu
Anritsu
for more
India
India Private
Private
information,
Limited
Limited
demo & application discussion
Anritsu India Private Limited
Anritsu
IndiqubeIndia
ETA,Private
No 38/4,Limited
6th Floor, OfficeIndia
Indiqube No
ETA, 19,NoGround Floor,
38/4,Limited
6th Floor, Office NoIndia
19, Ground
Private Floor,
Anritsu
© 2019
Anritsu Anritsu
Anritsu India Private
Private Limited Anritsu Limited
Adjacent ETA,
Indiqube to EMC No2, Doddanekundi,
38/4, 6th Floor, D-5, Logix
Adjacent
Office
Indiqube to EMC
No
ETA, Infotech
19, No 2,
GroundPark,
38/4, Sect 59,
Doddanekundi,
Floor,
6th Floor, D-5, Logix
Office No 19,Infotech
GroundPark, Sect 59,
Floor,
Anritsu
© 2019
Anritsu
Outer Ring
India Private Limited Anritsu India Private Limited
Adjacent to Road,
EMC 2,Bengaluru, India
Doddanekundi, NOIDA
Outer
D-5,Ring (UP)
Logix Road, India
Bengaluru,
Infotech Park,
Adjacent to EMC 2, Doddanekundi, India
Sect 59, NOIDA (UP) India
D-5, Logix Infotech Park, Sect 59,
Anritsu
Ring-India
Indiqube ETA, Private
No 38/4,Limited
6th Floor, Outer - Anritsu
Office
301No India Private Floor,
19,India
Ground Limited
© 2019
Pin Code
Outer 560
Road,048
Bengaluru, India Pin
PinNOIDA
CodeCode
Ring-(UP)
560 201
Road, 048
India
Bengaluru, Pin Code
NOIDA - 201
(UP) 301
India
Indiqube
Adjacent ETA,
to 048No2,
80 EMC 38/4, 6th Floor, Pin
Doddanekundi, - Office
D-5, No 19,
Logix Ground
Infotech Floor,
Park, Sect 59,
© 2019
Phone:
Pin Code+91
- 560 67281300 Phone:
Phone:
Pin Code
Code -+91
+91 80
560 120
201
048 4211330-32
67281300
301 Phone:
Pin Code+91 120301
- 201 4211330-32
© 2019 Anritsu Company
Adjacent
Outer +91
Phone: Ringto EMC
80Road, 2,Bengaluru,
67281300 Doddanekundi,
India Phone:
Phone:+91+9180D-5,
NOIDA
120 Logix
(UP)Infotech
4211330-32
67281300 India Park, Sect
Phone:59,
+91 120 4211330-32 © 2019 Anritsu Company
©
© 2019
2019 Anritsu
Anritsu Company
Company
Outer Ring- 560
Pin Code Road, Bengaluru, India
048 NOIDA (UP)
Pin Code India
- 201 301 © 2019 Anritsu Company
© 2019 Anritsu Company
Truly Innovative Tech
Amongst numerous press releases of new products received by us, these are the ones
we found worthy of the title Truly Innovative Tech
NEODEN K1830
IN12
EMERGENCY
USB
START/PAUSE
To Subscribe:
http://subscribe.efy.in OR
What’s New
M
Dr K.S. Kuppusamy achine learning has emerged as an or Monet. The major steps in neural style
important and powerful tool for transfer are:
software developers. It has helped • Get an image
solve problems that were earlier considered • Get a reference image
unsolvable, and has been adopted in a wide • Blend the images with ML
spectrum of domains. In addition to the • Output the image with the transformed
various tech domains that have benefited style
from ML, many art forms have also benefited Fig. 1 shows a source image (the banner
from it. This article focuses on two major art image of an earlier article titled, ‘Is your
forms—music and painting. website accessible and inclusive?’ in the
Various tools can assist in applying ML March 2020 issue of OSFY available at https://
to the creative process. Some of them are: opensourceforu.com/2020/03/is-your-website-
• Magenta accessible-and-inclusive/) and a reference style
• Google Deep Dream image (a Kandinsky painting).
• MuseNet The fast style transfer using TensorFlow
There are various applications that have Hub is shown in Fig. 2.
been developed using popular tools such The code snippet with TensorFlow Hub
as TensorFlow. This article has two major is as follows:
sections: import tensorflow_hub as hub
• The first section explores neural style hub_module = hub.load(‘https://tfhub.dev/google/
transfer using TensorFlow. magenta/arbitrary-image-stylization-v1-256/1’)
• The second section explores Magenta stylized_image = hub_module(tf.constant(content_
and its application to music. image), tf.constant(style_image))[0]
tensor_to_image(stylized_image)
Neural style transfer In the style conversion process, the follow-
Composing one image in the style of another ing steps are involved:
image is called neural style transfer. Using • Defining content and style representa-
this technique, an ordinary picture can be tions
converted into a style of painting created • Building the model
by the masters such as Picasso, Van Gogh, • Calculating the style
S
Vinay Prabhakar Minj ystem development has come a long DSRAMs are coming in. “I will not be sur-
way over the years. The process began prised if intelligent memory starts coming in
right when computers were being the future. We have not reached that point
designed. In a system, the critical compo- yet, but we have come to a stage where we
nents are the processor and memory. When are thinking of pipelined design in software,”
both of these are efficient, you get more says Nikhil Bhaskaran, founder, Shunyaos.
processing power and better bandwidth for
memory. Already a lot has happened on the Neural networks
processing side with the central processing Neural networks certainly hold promise in
units (CPUs) evolving into graphics pro- developing intelligent memory for faster
cessing units (GPUs) and later transitioning data compute and efficiency. Huge datasets
into neural processing units (NPUs). require frequent memory access. Doing that
This has come into effect in mobile in today’s memory system creates high inef-
phones with the introduction of NPUs for ficiency, leading to speed loss. To overcome
faster artificial intelligence (AI) process- that, AI on edge offers a viable solution
ing. It seems the maximum limit has been where a fast output can be obtained. “This
reached there. Now the focus is shifting correlates with testing the limits of a system,
towards strengthening the memory effi- but that is when things start getting fixed,”
ciency. This is where 3D SRAMs and stack says Nikhil.
www.tracopower.com
Figure 4 Figure 5
Circuits
C
Vinay Prabhakar Minj onnectors have come a long way India (as compared to European ones like
since they were conceptualised and CE mark, UL certification, etc, which we
invented. With changing times, used to follow earlier). The flame-retarda-
they have undergone many different modi- bility characteristics of the connectors are
fications. And with the ongoing techno- also improving.
logical developments, they will certainly “Connectors are the heart of everything.
go through more. Even if you design electronics with the best
Compared to several years ago, connec- microcontroller, best semiconductor chips
tors nowadays have become high-end and and best software/firmware, the failure
miniaturised. Also, earlier we used to rely of the connector means the failure of the
on European connector manufacturers for product. If a connector fails, then the design
our needs, but with the entry of many Chi- fails. Therefore, connector selection is very
nese and Indian connector manufacturers, vital,” says Mahendra Karandikar, GM-
the same quality of products is now avail- Developments & Projects, JISL.
able at a much lower cost. Adding to that, Abhinav Behl, R&D
Due to globalisation and increasing engineer at Logic Fruit Technologies says,
awareness concerning certification, certain “Connectors help establish contact with an
standards have been now introduced for electronic device. While choosing a connec-
tor type, the first thing to consider should be
its durability. Any misalignment should not
cause failure in the connector or the PCB.”
Considerations for
selecting a connector
First go through the
datasheet and speci-
fication of a par-
ticular connector
to have clarity
regarding details
such as its cur-
rent carrying
capacity, voltage
rating, and type
of insulation mate-
rial used. Then check
the other aspects. For
S
Jawaaz Ahmad ometimes cooling needs to be con- applications, such as controlling the rate
trolled more strictly than a simple or performance of a chemical reaction, also
heat-sink and fan can handle. Rap- require precisely managed cooling.
idly fluctuating loads can make it difficult Fortunately, there is a solution to help
to keep a component cool and stable. you tackle tough challenges like these.
However, this can often be important when Thermoelectric modules, or Peltier mod-
trying to improve signal-to-noise perfor- ules, are available in a variety of sizes that
mance or prevent damage to a system. can be connected to an IC package or other
On the other hand, reliability calcula- types of components in a manner similar
tions may require a controller or power to a heat-sink.
component to operate below normal Powered by a small current, the module
ambient temperature. Non-electronic actively draws thermal energy from the
attached heat source
Heat Absorbed (Cold Side) and dissipates it into
the atmosphere. It can
be designed to keep the
component cooled to a
specific temperature, or
even below room tem-
perature, if necessary.
A Peltier module
comprises two external
Positive (+)
ceramic plates separated
by a series of PN-doped
semiconductor pellets
p-Type Semiconductor
that are electrically con-
nected in series. When
n-Type Semiconductor Electrical Conductor current passes through
(Copper)
Electrical Insulator (Ceramic) the matrix, a tempera-
ture gradient is estab-
lished according to the
Peltier effect.
This causes one of
the module’s boards to
Negative (–) cool down, allowing
Heat Rejected (Hot Side)
it to absorb heat from
a source (such as the
Fig. 1: The constitution of a Peltier module surface of a component,
1 3
D
Dr Dharmendra Patel ata analytics is vital for the success such a variety of data.
and Dr Atul Patel of IoT projects and businesses. IoT 3. Real-time decision-making. Many
applications have several charac- IoT applications generate real-time data.
teristics that are suitable for analytics. Analytics of such real-time data is essen-
1. Volume. IoT projects generate a tial for fast and accurate decision making.
large amount of data every day. Analysis Analytics serves as a lifesaving solution
of this data set reveals interesting patterns for many IoT projects.
that help organisations make wise and 4. Business growth. Businesses use
timely decisions. the data generated by IoT for revenue
2. Variety of data. IoT applications generation. Analytics gives a number of
capture diverse types of data such insights into the large volume of data that
as structured, semi-structured, and can really help businesses foresee trends,
unstructured. Analytics is the only way helping them to strategise and increase
to derive useful and novel insights from their earnings.
Types of analytics for IoT uted File System (HDFS), MapR file played with various layers and shapes.
system, Cassandra, Kudu, etc. It also Time series analytics. Time
The traditional way of analytics supports a pseudo-distributed local series data analytics is familiar in IoT
uses a combination of reporting and mode. applications such as health monitor-
predictive analytics, but IoT applica- Apache Storm. This distributed ing systems, weather forecasting
tions have different characteristics, real-time computing system is fast, systems, geological applications, and
so this way is not effective. IoT and easy to set up and operate. It is processing manufacturing and other
analytics requires real-time stream- scalable and fault-tolerant. industrial settings.
ing data analysis. It demands more Spatial analytics. Spatial data Several popular Time series analyt-
data, and needs automation and is generated in a multitude of ways. ics open source tools are listed below.
integration to perform efficiently. IoT applications have increased Influxdb. This open source Time
Streaming analytics. Accord- such data exponentially. Spatial series platform includes several APIs
ing to Jerry Baulier, vice presi- analytics is the demand of the for a variety of data analytics tasks
dent, Internet of Things R&D, SAS, modern era due to the exponential such as storing and querying, ETL pro-
“Streaming analytics generates growth of data that is generated cess, dashboard, and visualisations. It
informed decisions in milliseconds through satellite measurements is very helpful for real-time analytics.
from millions of devices, and also and imaging, through sensors on Timescaledb. This tool is open
examines thousands of events per IoT applications, use of specialised source and optimised for complex
second.” Streaming analytics helps handheld devices, Wi-Fi, etc. Spa- queries in real-time situations. It per-
in providing security by identifying tial analytics is the logical process- forms automatic partitioning across
events that are vulnerable to threats ing of such data using topological time and space. It looks like regular
and risks rapidly. It plays a key role or geographical properties. tables but is only an abstraction of
in data-driven organisations, and A few popular Spatial analytics many individual tables comprising
allows them to build real-time solu- open source tools are listed below. actual data.
tions using IoT. Real-time streaming GIS tools for Hadoop. This com- Tdengine. This open source Big
analytics uses Big Data to gener- prises a collection of GIS tools for Data platform is designed and opti-
ate statistics and visualisations to Spatial analytics of Big Data. GIS mised for the Internet of Things. It
measure the efficacy of any process tools for Hadoop are divided into provides several functionalities such
in the organisation. two main parts: Spatial Framework as caching, stream computing, and
Here are several open source for Hadoop and Geoprocessing Tools message queuing.
tools for Streaming analytics. for Hadoop. Spatial Framework for Nightingale. This open source,
Apache Flink. This open source Hadoop contains Java Helper utili- distributed high-performance system
platform is capable of distributed ties for Hadoop developers and Hive is suitable for IoT applications.
data processing and batch data spatial user-defined functions. Geo- Analytics in IoT is very crucial in
processing. Any kind of data is processing Tools for Hadoop consist the modern era, as billions of con-
produced as a stream of events. of ArcGIS Desktop or server. ArcGIS nected devices generate a humon-
Credit card transactions, sensor supports advanced analysis, data gous amount of data every day.
measurements, machine logs, visualisation, and authoritative data In this article, we have described
user interactions on a website, or maintenance in both 2D and 3D. three main types of analytics for IoT
mobile applications—all of this Geoplot. This is the high-level applications: Streaming, Spatial and
data is generated as a stream, and geospatial data visualisation library Time series. In each category, several
can be processed as unbounded or for Python. It is an extension of popular open source tools that are
bounded streams. Apache Flink cartopy and matplotlib that makes very essential for effective analytics
excels at processing unbounded mapping easy. It has three main fea- have been listed.
and bounded data sets. tures: high-level plotting API, native
Apache Samza. This is an open projection support, and compatibil- This article was first published in December 2020
source distributed stream processing ity with matplotlib. issue of Open Source For You
framework. It uses Apache Kafka Geospark. This is the cluster
for messaging and Apache Hadoop computing system for process-
YARN to provide fault tolerance, ing large-scale spatial data. It
security and resource management. extends Apache Spark and Spark- Dr Dharmendra Patel (left) and Dr Atul
Patel (right) are associated with the Smt.
Samza is built to handle a large SQL with the set of Spatial Resil- Chandaben Mohanbhai Patel Institute of
amount of states. ient Distributed Datasets (SRDDs)/ Computer Applications, Charusat, Gujarat.
Apache Spark. This open source SpatialSQL. Their areas of interest
platform is for large scale data pro- are data mining, data
Googleway. This is the R package science, artificial
cessing. For cluster management, for accessing and plotting Google intelligence, deep
Spark supports Hadoop YARN or Maps. Googleway provides access to learning, and image
Apache Mesos. For distributed Google Maps APIs, and the ability to processing
storage, it can use Hadoop Distrib- plot an interactive Google Map over-
A
Dr Gaurav Kumar number of devices and gadgets time applications of these technologies.
communicate in real-time using The FASTags introduced in the country
advanced wireless technologies. recently to pass through toll plazas is a
Smart cities, smart offices, smart homes, classical implementation of IoT, in which
etc, are interconnected specifically by a small chip on a vehicle communicates
the Internet of Things (IoT) in which with the nearby sensor and a transaction
gadgets and smart objects communicate is done automatically.
with each other using specific wire- In such scenarios, the scalability as well
less protocols. IoT is also referred to as reliability issues are addressed by high-
as Ubiquitous Computing or Pervasive performance network communications or
Computing, and there are many real- advanced wireless communications using
4G, 5G, and related technologies.
Protocols and engines for the
implementation of IoT
IoT helps smart gadgets communicate
using less resources and minimum power
consumption. In the IoT environment,
MQTT is a specific protocol for low-
powered and lightweight communication
so that there is minimum load on devices
and gadgets. It is the key data protocol
used in IoT for swift communication in
low-powered devices.
Lightweight and low-powered com-
munication needs to be speedy and reli-
able in order to operate on high frequency
network communications with various
Fig. 1: Key constituents of MQTT devices. MQTT enables this communica-
tion between a large number of devices and
gadgets with varying configurations.
Key Protocols in IoT Communication Table 1
Layer Protocols Dimensions of MQTT broker
Data protocols MQTT, AMQP, CoAP, Node, Websocket In IoT communication, there are mainly
Infrastructure 6LowPAN, RPL, IPv4/IPv6 two types of objects—publisher and sub-
scriber. Data signals transmission is known
Communication transport Wi-Fi, LPWAN, Bluetooth
as publishing. Technically, the transfer of
Semantics Web Thing, JSON-LD data from the computer to a separate end
Discovery Physical Web, DNS-SD, mDNS is called publishing.
The sender of data signals is known as
Device management OMA-DM, TR-069
publisher and the receiver is referred to as
Identification URIs, EPC, IPv6, uCode subscriber. The MQTT broker is the central
T
his project based on Arduino person enters the washroom, the light light remaining on by mistake after
Uno and IR sensors is used to bulb (or tubelight) will automatically use of the washroom. The author’s
automatically switch on and turn on. When the person leaves the prototype is shown in Fig. 1.
switch off a washroom’s light that bathroom, the light will turn off. This
works on AC mains. Whenever a will save electricity charges due to the Circuit and working
Circuit diagram of the automated light
is shown in Fig. 2. It is built around
Arduino Uno (Borad1), BC547 transis-
tor (T1), infrared (IR) sensor modules
(Module1 and Module2), and relay
(RL1).
Infrared sensor. The IR sensors
(FC-51) used here (refer Fig. 3) are
commonly used in obstacle-detection
projects. Two pairs of the IR sensor
modules are used to detect a person’s
entry or exit from the washroom.
Each sensor has three pins, namely,
Vcc, Vout, and GND. The Vcc pin is
to be provided with 5V DC supply,
which can be taken from 5V pin of the
Arduino Uno. The ground pin (GND)
of the sensor can be connected to GND
pin of Arduino Uno. The Vout pins of
IR Module1 and IR Module2 are the
Fig. 1: Author’s prototype output pins connected to pins 8 and 7
of Arduino Uno, respectively.
The output of each sensor will be
N either 5V (high) or 0V (low) based
L
BOARD1
NO
on the detection. When a person is
CON2
POWER USB
230V AC
detected, Vout is low, otherwise it is
INPUT D1
high (about 5V). These logic levels of
1N4007 NC
DRIVER AREF both the sensors are used to find out
IOREF GND RL1
RST 13 5V,1CO
CON3 whether the person is entering or leav-
ARDUINO
3.3V
5V
12
11 R1 RELAY
230V AC ing the washroom.
60W BULB
GND 10 220E 5V relay. The 5V electromechani-
T1 CON4
GND
Vin
9
8 FOR IR cal relay (RL1) is used to switch on
BC547
MODULE 1 and switch off the light bulb. A typi-
ATMEGA328
CON1
FOR
7
OUT (EXIT) Vcc cal sugar-cube type 5V relay has five
5V 6 GND terminals, two of which are used
DIGITAL
A0 5 OUT
A1 4
for energising the coil. The rest are
ANALOG
5V COM
0V
NO
T
his is an Internet of Things (IoT) Tx Antenna
Cloud
based irrigation system that
automatically turns on water- Rx Antenna
pump when soil moisture in the field
433MHz RF Wi-Fi
goes below the set threshold level. It Tx Module
433MHz RF
Module
Rx Module
has three parts—transmitter, receiver, Status
and the IoT system—as may be seen
from its block diagram in Fig. 1. Soil Moisture
Relay Drive
Sensor
DATA
is installed in the field along with soil Decoder HT12D, RF TX
GND
ANT
18 16 15 +
Vcc
MODULE _
moisture sensor (SS1). The sensor’s with address pins 1 V
A0
DD OSC1 OSC2
1 2 3 4
17
signal is transmitted by TX1 to the A0 though A7 con- 2
DOUT CON1
A1
receiver, which is installed nearby— nected to ground, 14
FOR 5V
3 TE
within a few metres from the trans- receives the serial A2 OV 5V
Vcc
mitter. The transmitter works off 5V data at its pin 14 4
A3 IC1 AD11
13 J1 GND
FOR LOGIC
DC supply. from RX1. Data pin D0
A4 HT12E
5 0 OR 1 A0
Threshold level of the soil moisture D8 of IC2 drives the 6
AD10
12
can be set using the in-built pot in soil relay through tran- A5 D1 CON2
R3 1N4007 FOR SS1
sensor module. When soil moisture sistors T2 and T3. 7
A6 AD9
11
330E
in the field goes below the threshold Diode 1N4007 8
A7
R2
330E R4
10
level, the sensor produces active low (D2) connected in 9
AD8 330E
VSS T1
(0V) signal, which goes to the base of reverse bias mode is
BC547
inverting transistor T1. Encoder IC1 used to protect the
receives active-high signal at pin 10 circuit against volt- SS1 = SOIL SENSOR MODULE
(AD8) from collector of T1 and gener- age spikes during
ates serial data at pin 17 (DOUT) with switching on/off of Fig. 2: Circuit diagram of transmitter
its address pins A0 through A7 con- the water-pump.
nected to ground. The modulated ASK LED3 is for power on indication, LED4 computer or smartphone over cloud.
RF signal from DOUT is transmitted by for RF signal, and LED1 for water- Adafruit IoT platform is used to monitor
TX1 module at 433MHz frequency. J1 pump’s motor on status. If optional the water-pump’s status online.
is used for optional sensor input for an sensor is used at J1 in the transmitter, Pump’s switching off. When soil
optional motor in the receiver circuit. LED2 indicates the optional motor’s is adequately wet, SS1 output pin D0 is
Receiver. The receiver comprises status. low, which makes transistor T1 to stop
433MHz RF receiver module (RX1), conduction. So, collector voltage of
decoder HT12D (IC2), two BC317 IoT system T1 becomes high (5V), which is con-
transistors (T2 and T3), a 5V single- The heart of the IoT system is NodeMCU nected to pin AD8 of IC1. Transmitter
changeover relay (RL1), and NodeM- ESP32/8266 Wi-Fi module. Data pin TX1 transmits this signal, which is
CU (Board1). This receiver also oper- D8 of IC2 is connected to pin D0 of received by receiver RX1, decoded,
ates off a 5V DC supply. NodeMCUmodule (Board1) to provide and passed on to transistor T2 through
The signal from transmitter is the motor on/off status on a remote resistor R10. So, T2 conducts making
DATA
DATA
device using your account.
GND
GND
GND
1N4007
ANT
Vcc
Vcc
2
A1 OSC1
16 POLE
R6
8 7 6 5 4 3 2 1
NC NC You get one key per account,
3 15 47K
A2 OSC2 but you can revoke and
4
A3 VT
17
CON3
regenerate your key any time.
IC2
5
A4 DIN
14 LED4
R7 R8
FOR 5V 3. After creating an
HT12D 470E 4.7K
RF SIGNAL T3 account, you need to manage
6 13
BC317
A5 D11
LED2
R9 Vin
your feeds for publishing
7
A6 D10
12 OPTIONAL MOTOR
470E D0 on the dashboard. (Feeds is
8
A7 D9
11 GND basically a set of data that
R10
9 10 470E
LED3 CON5 you can read or write, as
VSS D8 POWER
LED1 T2 FOR specified in the program, as
R11 R12 BOARD1
MOTOR STATUS 470E
BC317 per your application.) In this
470E
project, we used Relay1 on
BOARD1 = NODE MCU the dashboard, as shown in
GND
Figs 6 and 7.
Fig. 3: Circuit diagram of receiver More details regarding
configuration with Adafruit
IoT and NodeMCU are given
in ‘Interfacing with Adafruit
and NodeMCU’ document
file in the source code folder.
Software
Arduino IDE is used for
programming the NodeMCU
board (Board1). The Arduino
code ‘program_soil.ino’ is to
Fig. 6: Relay1 on be uploaded into NodeMCU
Fig. 4: NodeMCU module board before connecting it to
the receiver circuit.
Connect the NodeMCU
to PC/laptop and select
proper COM port and board
name from Tools menu of
the Arduino IDE. The board
name we used in this project
is ‘NodeMCU 1.0 ESP-12E
Module.’ The board name
will depend on the model you
Fig. 7: Relay1 off are using.
Before compiling and
sistor T2. This makes transistor T3 uploading the source code, do not
Fig. 5: Soil sensor module to conduct and energise relay RL1, forget to include ESP8266WiFi.h,
making the pump switch on. Adafruit, and MQTT libraries from
its collector low, which turns transis- Library Manager. Also, you need to
tor T3 off. This de-energises relay Adafruit IoT platform add the ‘package_esp8266com_index.
RL1 and the pump connected to it is NodeMCU Wi-Fi is connected to Ada- json’ package under Preferences in
switched off. fruit.io open source cloud service to your Arduino IDE, as shown in Fig. 8.
Pump’s switching on. When soil is provide real-time data online. Steps to Next, open program_soil.ino code
dry, SS1 output pin D0 is high, which organise the dashboard on Adafruit.io from Arduino IDE and make some
makes transistor T1 to conduct. So, IoT platform are: changes, such as Wifi SSID, password,
collector voltage of T1 becomes low 1. Open https://io.adafruit.com Adafruit username, and key with your
(0V), which is connected to pin AD8 website. Create an account with a own credentials, as shown in the code
of IC1. Transmitter TX1 transmits this unique username. Note down this below:
signal, which is received by receiver username as it will be used in Arduino #include <ESP8266WiFi.h>
RX1, decoded, and passed on to tran- code (program_soil.ino) later. #include <Adafruit_Sensor.h>
Job
www.opensourceforu.com
Guaranteed.
You don’t need a training institute. Just do it yourself.
Demand for Open Source is
sky rocketing. Be it for
managing IT infrastructure
or development of software
—Open Source experts are
what organisations are
seeking. Develop expertise
WORK WITH OPEN SOURCE. in an Open Source stack,
and watch your career
graph zoom.
T
o get started with building the
chatbot in real-time, there are
some prerequisites, which are
as follows:
• Basic knowledge of Python and
using Pip/Conda to install packages.
• A Python IDE (I use Jupyter user, the Telegram server that hosts
Notebook, while you could pick any the bot, and the bot controller (which
of the popular options like Spyder, is from the Python script that we write
PyCharm, Visual Studio Code, or and execute).
Eclipse (with PyDev)). Also, note that you can use the
• You need to install Telegram following two ways to control the bot: controller script does not ‘poll’ the
on a mobile phone and also on your The ‘polling’ scheme. Here the bot; rather, it is the bot that informs
desktop. Python script (which controls the bot) the bot controller that a new mes-
• You will need the Python library will periodically access, i.e., ‘poll’ the sage has been sent by a bot user. This
python-telegram-bot. bot on the Telegram server, check if scheme, however, requires two addi-
there are any new messages from a bot tional things—a permanent IP address
How the bot scheme works user, and respond accordingly. of the server where the bot controller
You need to understand that there are The webhook scheme. This is the is located, and that the server host-
three actors in the scheme—the bot more efficient scheme. Here the bot ing the bot controller must be HTTPS
them on to the Dispatcher class. function gets triggered. The way the return value of context.bot) is an
When you create an Updater Telegram package is written is such object of class telegram.Bot. Further,
object, it will create a Dispatcher that when you write a function (like this object, i.e., my_bot, being an
object for you and link them together /start here), the Telegram server will object of class telegram.Bot, has a
with a Queue. This Dispatcher object pass it two attributes. So, you must method send_message(). So, you can
can then be used to sort the updates have two attributes in your function use this method to send a message to
fetched by the Updater according definition and, by convention, these the bot user.
to the handlers you registered, and are called update and context. I don’t Note. You can confirm that the
deliver them to a callback function want to get too technical but for those return of context.bot is actually an
that you defined. interested, the attribute update will object of class telegram.Bot by looking
The above para may be a bit get an object of class telegram.update. at the source code for this in the file
confusing, so I have elaborated on Update. While the attribute context callbackcontext.py. You can find this
it, as follows: will get an object of class telegram.ext. file on GitHub at https://github.com/
Step 1. Create an object (we will callbackcontext.CallbackContext python-telegram-bot/python-telegram-
call it my_updater) of class telegram. The attribute update is actually a bot/blob/7b3b278c7c09d2961a696e
ext.Updater. To do this, you need to Python dictionary. You can confirm 58b955914486d96313/telegram/ext/
import the Updater class from tel- this by putting a print(update) com- callbackcontext.py. You will find the
egram.ext. Also, when you create your mand somewhere in your get() func- definition of bot() around lines 155-
Updater object, namely my_updater, tion. This dictionary has a key named 157. Also, the class telegram.Bot has a
you will need the HTTP API key for effective_chat and the value of this key method send_message() by looking at
the bot you created earlier. The code is another dictionary, which contains the source code of the file bot.py avail-
to create this object will be like what keys like ID, first_name, last_name, able at https://github.com/python-
follows: etc. So, using a format of type update. telegram-bot/python-telegram-bot/
my_updater = Updater(token=’your_bot_ effective_chat.id, you can get the ID blob/master/telegram/bot.py. You will
token’, use_context=True) of the chat. In our bot code, we will get the code for the method send_mes-
Note. In the example code on the ‘extract’ three parameters of the bot sage() around lines 265-275.
website (Ref 2 & 3), this variable is user—(1) id, (2) first_name, and (3) But, in the above scheme, there
often called Dispatcher, but I have last_name is one problem—you need to register
used my_dispatcher to specify that this In this step, we will do the follow- this command, i.e., get() in the dis-
is not some method of a class but an ing things: patcher. To do this, the module has
object of class Updater, which I have • Extract id, first_name, and a class Handler, and from this class
created. last_name from the parameter update. many other classes are inherited such
Step 2. Now, this Updater class has • We will use the first_name and as CommandHandler, MessageHan-
an attribute called Dispatcher. This last_name to send a reply back to the dler, etc. Here, since get() is a com-
attribute returns an object of class bot user. mand, we will use the specific Handler
telegram.ext.Dispatcher. Don’t get • To send a reply back to the bot meant to handle commands, which is
confused by this scheme. This is a typi- user, we need to use the following Commandhandler. Note that the class
cal method by which many libraries command: Commandhandler sub-classes the
of Python work. So, you can create an context.bot.send_message(chat_id, text= class Handler, i.e., it inherits from the
object of Dispatcher class (we will call out_text) class Handler. So, the scheme works
it my_dispatcher) by using the dispatch- To make the code more readable like this.
er attribute of the object of the Updater and easier to follow, I have split this You first create an object of class
class (which here is my_updater). The in two lines as: CommandHandler (I have named it
following code snippet shows this: my_bot = context.bot start_handler) and pass to it the name
my_dispatcher = my_updater.dispatcher my_bot.send_message(chat_id, text= out_ of the command as the first parameter
Step 3. Here, we will write a func- text) and the name of the callback function
tion named start. So, whenever the For the technically inclined, you as the second parameter. So, the line
bot user types a message /start, this may note that my_bot (which is the of code will be as follows:
TechWorldCongress
id of the chat. 24 # to start polling Telegram for any chat
Visit ‘Online Only’ expo-cum-conference
7 f_name = update.effective_chat.first_nameupdates.
Anurag Gupta is an engineer by education but
a police officer by profession. He is a Python
from anywhere, any time.25it #wont
# First name of bot user The bot has its own separate threads so @Home
enthusiast who 2021
has recently co-authored a
8 l_name = update.effective_chat.last_name halt your Python script. book on Python named Python Programming:
Problem Solving, Packages and Libraries
# Last name of bot user 26 my_updater.start_polling()
TechWorldCongress
@Home 2021
Source: https://slnp.eeslindia.org
Source: https://beep.eeslindia.org
Source: www.counterpointresearch.com
Quectel
Others 24.86%
32.26%
Global Cellular IoT
Module Revenue
Share by Brand,
Q3, 2020 Sierra Wireless
10.41%
Sunsea
6.78%
Thales
Fibocom
Telit 9.83%
7.67%
8.19%
Source: www.counterpointresearch.com
www.EFYMag.com electronics FOR YOU express • FEBRUARY 2021 63
Industry News
Industry Updates
On The move
Sterlite appoints Sandeep Girotra as head Shukla as the managing director of its vehicle group in
India. In this role, Shukla will be responsible for leading the
of global sales vehicle business in India and oversee operations, sales
Sterlite Technologies, the fibre-optic cables manufacturing performance, market development, customer management,
company, has announced the appointment of Sandeep Girotra partner relationships, new product launches, and leadership
as its global sales head. He will be responsible for driving the development.
company’s order book and revenues across portfolios, customer
segments, and geographies. Girotra will be a part of the Executive
Committee of the company. Prior to joining STL, Sandeep was IEEE selects Deepak Mathur as director
associated with Nokia for 24 years. of Asia-Pacific region
IEEE, the world’s largest technical professional organisation
dedicated to advancing technology for humanity, recently
Rajita D’Souza joins STMicroelectronics announced Deepak Mathur as director of the IEEE Asia-
as president-HR and CSR Pacific Region for the year 2021-2022. The region represents
The Swiss multinational semiconductors company the largest and most diverse geographical area for IEEE
STMicroelectronics has appointed Rajita D’Souza as president, containing 26 countries with 59 geographical sections
Human Resources and Corporate Social Responsibility wef consisting of 122,000 members.
January 1, 2021. She reports directly to Jean-Marc Chery, president
and CEO, and is a member of ST’s Executive Committee. She will
play a critical role in driving the company’s sustainability strategy
MeitY secretary Ajay Prakash Sawhney
and programmes including ST’s goal to be carbon neutral by 2027.
gets IESA’s Sarabhai Award
India Electronics and Semiconductor Association (IESA) has
announced its flagship Technovation Award winners for 2019-
Eaton appoints Shailendra Shukla 2020. Sarabhai Award was given to Ajay Sawhney, Secretary,
as MD of vehicle group Ministry of Electronics & Information Technology (MeitY),
Power management company Eaton has appointed Shailendra Government of India.
ECTRONICS
• Highly sensetive to heat
• Snap action
• Hair Dryer, Heater, Oven, - AC/DC Motors, Pumps
• Blender, Fan, Food Processor - Ballasts
B INDUSTRY
- Transformer
- 60˚C~160˚C
Thermal
W AT A CLICK Protectors
OF A BUTTON! Thermostats
ST-22 New ST-30
& Bracket 15x6x3mm HB-2 and HB-21
- Electrical Ratings - Coffee Maker
: AC 125V/10A, 250V/7A, DC 48V/3A - Dish Washer
- 50˚C~150˚C - Boiler, Refrigerator
- Size: 18.5x7x3.5 - Microwave Oven
- IP45 - -20˚C~180˚C
- LED Lighting, Power Supplies, Motors - Auto & Manual Reset
ELECTRONICS
B2B INDUSTRY
IS NOW AT A CLICK OF A BUTTON!
Log on to www.electronicsb2b.com
and be in touch with the
Electronics B2B fraternity 24x7
Industry News
UP state government has also con-
sented to release 22 million rupees as
its share towards the project, which
is being developed under the state’s
Electronics Manufacturing Policy, so
that the first phase of development
can start.
an incentive scheme for manufactur- ment that it predicts that the Indian multiple incentives to reduce the
ing such devices. EMS industry will gallop from $23.5 share of coal-based power and shift
The sops will be in line with the billion in 2019-20 to $152 billion by more towards green energy. Under
Production Linked Incentive (PLI) 2025. This effectively means that it has the new policy, the state government
scheme launched for mobile phones the potential to grow from less than 3 has scrapped the condition that the
and components last year. It is aimed percent of the global industry to about installed capacity of a solar project
at capturing the huge anticipated 14 percent within five years. needs to be 50 per cent of the sanc-
demand for wearables, hearables as Electronics and IT Secretary Ajay tioned load or contract demand.
well as IoT and VR devices. Prakash Sawhney, releasing the The state government would pur-
‘EMS Task Force Report’ by ELCINA, chase surplus energy from residen-
Electronics contract emphasised on the necessity to manu- tial and micro, small, and medium
manufacturing to grow facture printed circuit board (PCB) enterprise consumers after setting off
over six times assemblies inside the nation and cut against their consumption. They would
The electronics contract manufactur- back import dependence. be allowed to sell their surplus power at
ing sector in India is projected to grow the rate of 2.25 rupees per unit.
by over six-fold, as per industry body Gujarat brings out
ELCINA. Globally, the electronics Solar Power Policy 2021 Maharashtra government
manufacturing services (EMS) sector Gujarat’s chief minister Vijay Rupani extends policy tenure
was valued at $832 billion in 2019 and has announced the state’s new Solar by two years
is estimated to grow to $1,055 billion Power Policy, which will be valid for The Maharashtra government has
by 2025. ELCINA has said in a state- the next five years. It comes with decided to increase the Maharash-
APPLICATION APPLICATION
APPLICATION Router Micro
Solar Power
LED Batten UPS
Plant and UPS
MANUFACTURER OF :
SOLDER WIRES, FLUXES, SOLVENTS, SOLDER
STICKS, THERMAL CONDUCTIVE PASTE
SOLDER WIRE SOLDER BAR ULTRA PURE
63/37 Solder Wire 63/37 Solder Rod
60/40 Solder Wire 60/40 Solder Rod
Lead Free Solder Wire Lead Free Solder Rod
(RoHS Compliance) (RoHS Compliance)
RMA Resin Flux Core Solder Wire Tin Ingots
RA Resin Flux Core Solder Wire Tin Anodes
Water Soluble Flux Core Solder Wire Tin/Zinc Solder Rod
No Clean Flux Core Solder Wire Any other specification as per
customer requirements
ALUMINIUM SOLDERING FLUX
Premier Industries
ROSIN FLUXES FLUX PASTES
Flux Type R General Purpose Flux Paste
Flux Type RMA Electronic Grade Flux Paste 78, Phase-II, Badli Industrial Estate, Delhi-110042 (India)
No Clean Flux Paste Mob.: +91 8929119370, Tel: +91-11-47065016, 47565016
Flux Type RA Email: [email protected], [email protected]
LEAD FREE SOLDERS FOR THE SAFETY OF ENVIRONMENT CONTACT FOR SOLDER SOLUTION & CONSULTATION:
Mr. VINOD ANEJA, +91 9811016242
www.EFYMag.com electronics
electronics FOR YOU express
For You • •
february
FEBRUARY2021 71
2021 105
We offer a Wide Range of
RECHARGEABLE BATTERIES
at Affordable Prices
in Battery
Popular Applications Business
Medical Equipment
Garden Lights, Table Lights &
Emergency Lights
Mining Cap Lamp
Pack BIS
d e from
ma ved
A ro s
p p
cell
www.opensourceforu.com
Wanna
Be Your
Demand for Open Source
is sky rocketing. Be it for
managing IT infrastructure
or development of
Own Boss?
software--Open Source
solutions are what
customers are seeking.
72
106 FEBRUARY
february2021 electronicsFOR
2021• •electronics For express
You
YOU www.EFYMag.com
Response pages
TAKEOVER OF
RUNNING BUSINESS
WE ARE MSME IN marketing, SERVICE SECTOR AND MFG.
IN INDUSTRIAL ELECTRONICS IN PUNE 411002
We do online marketing through INDIAMART AND TRADEINDIA
AVERAGE TURNOVER FOR LAST 3 YEARS IS 1 CRORE PER YEAR
GP IS 30% AND NP IS 5%
WE ARE DOING E TENDERING ON ALL CENTRAL GOVT. TENDER SITES and
MAINLY INVOLVED IN INDUSTRIAL ELECTRONICS CUSTOM BUILT EQUIPMENT
POWER SUPPLIES, BATTERY CHARGERS, PROCESS CONTROL EQUIPMENT.
WE HAVE JOINT VENTURE AGREEMENT WITH 5 OEMS.
ELECTRONICS
B2B INDUSTRY
To Advertise IS NOW AT A CLICK OF A BUTTON!
In This Section
Log on to
CALL www.electronicsb2b.com
Mameeta (+91-9599814784) and be in touch with the
You can also write to us at: [email protected] Electronics B2B fraternity 24x7
India’s
Electronics
Magazine
RANKING AS PER
ELCINA-IMRB
REPORT
TOP 10 things that your Antivirus solution should provide to tackle today's threat...
EDR- Endpoint
Ransomware File Protection ATP- Advance Threat Protection
Detection And Response
Deep Learning
Application Blocking Exploit Prevention URL Blocking
Malware Analysis
I. T. Solutions India Private Limited • Mumbai 2020 BEST NEXTGEN PARTNER | Delhi/ NCR
D-88/5, Okhla Industrial Area, Okhla Phase I, New Delhi -110020 • Jaipur 2019 BEST NEXTGEN PARTNER | Delhi/ NCR
A Total Solutions Company
Ph: 011-47695000 • Email: sales@ itsipl.com • www.itsipl.com • Chandigarh 2018 BEST SI PARTNER | Delhi