Вы находитесь на странице: 1из 17

Extending wind meter to an IoT device

Architecting of IoT

CHM College - Internet of Things - Session 5

Compiled by - Deepak .

1
Learning Objectives of this session

1, Building a mechanical structure

2, Building an electro-mechanical device

3, Understanding electrical interface of mobile phones and sensors

4, Interpreting electrical values

5, Mobile app to display and transmit wind speed data

2
Disclaimer: Some of the images used here are downloaded from WWW for fair and educational purpose.
Recap: Wind meter (A)

Voltage output at motor terminals

Voltage range = 0-40mV

3
Recap: Wind meter (B)

Voltage output at motor terminals

Reading (mV) Interpretation (wind speed)

0 not moving / stationary

3.4 very slow

5.7 slow

28.2 very fast

19.5 fast

-5.6 opposite direction, slow 4


Recap: Wind meter (C)

Rotary Coupling DC Motor


Record voltage
spoons with toy as
with multimeter
structure dc motor dynamo

5
Sample voltage signal

6
Wind meter - Interface with smartphone

Rotary Coupling DC motor Dynamo Impedance 4-terminal


spoons with toy acts as output voltage matching TRRS-AUX
structure dc motor dynamo characterisation for use as connector
line-in

Connect with
smartphone

Record with
voice recording
app

Make an app to
show calibred
display values 7
Terminology: 3.5mm AUX connector

8
TRRS connection standard for smartphone

9
Microphone input voltage specification

Typical electret microphone output voltage range = 0-200mV

Smartphone mic-input voltage saturation limit = 50mV

Mic-detection

Phone detects mic is connected, if phone finds an impedance of about 1600 ohms
on mic-input terminal

Impedance matching of dynamo, connecting 1.5ohm connector in series

10
Electronic components and tools needed

Male stereo connector (1pc)

TRS to TRRS adapter cable (1pc)

1.5k ohm resistor (1pc)

10cm long multi-strand wires, red and black (1pc each)

Heat shrink sleeve 3mm (10cm)

Hot air gun or hair dryer

Soldering kit
11
Electronic components and tools needed

Heat shrink sleeve 3mm,

Hot air gun or hair dryer

12
Electronic components and tools needed

Soldering kit

Wire stripper

Solder lead wire (70:30)

Solder iron (25W)

Solder stand

13
Electronic assembly of interface

1, Make 5x1cm cut-pieces from heat shrink sleeve (HSS)

2, Insert one HSS into each leg of 1.5K resistor

3, Solder any one end of 1.5K resistor to one terminal of motor

4, Cut, strip and solder one end of red wire to open end of 1.5K resistor

5, Insert two HSS into black wire

6, Cut, strip and solder one end of black wire to the other open terminal of the motor

14
Electronic assembly of interface

7, Solder the open end of black wire to the smallest terminal (R) of the male stereo
connector

8, Insert last HSS into red wire

9, Strip, solder the open end of red wire to the biggest terminal (S) of male stereo
connector

10, Insert stereo connector to the TRRS adapter

15
Testing with Voice recorder app

1, Connect the wind-meter with the audio jack of smartphone

2. Most android smartphones will show head-set icon in notificitaion area, as soon
as this device is connected

3, If Impedance matching is done, head-set icon is seen, else only head-phone


icon is seen (PS: iPhones don’t show any icon, but the device is tested on iPhone)

3, Using voice recorder app, record the voltage signal when the rotary structure is
moving

4, Playback voice recording to confirm the signal


16
Assignment 6

1, Build an android app to visualize and record wind-meter voltage signal

2, Convert the signal values into rpm (rotations per minute) by calibrating
wind-meter

17

Вам также может понравиться