8 Nov 2017

IoT පද්ධතියක සංරචක

2020 වසර වන විට ලෝකයේ බිලියන 26 ක් ජාලාංග අන්තර්ජාලයට සම්බන්ධ වන බව පර්යේෂකයෝ විස්වාස කරති. සමහරු එය බිලියන 100 ක් වේ යයි කියති. කෙසේ උවද දැනුම් ආර්ථිකයක සිටින අපට ජාත්‍යන්තර IoT ක්‍ෂේත්‍රයේ රැකියා සහ සේවා අවස්ථා රැසක් ගලා එනු ඇත. IoT පර්යේෂණ සහ සංවර්ධනය, සේවා, නඩත්තුව, ආරක්‍ෂණය සහ IoT ව්‍යාපාර ඉන් සමහරක්. IoT විද්‍යාව, ගණිතය , තාක්‍ෂණය හා ඉංජිනේරු එකමුතුවක්. එහි මූලික වන්නේ භෞතික පරිගණනයයි. එනම් Physical Computing.
මූලික IoT සංරචක

1. Sensors - අප අවට පරිසරයෙන් විවිධ ආදාන ලබාගන්නා සංවේදක.
2 Algorithm - එම සංවේදක වලින් ලබාගන්නා දත්ත අනුව තීරණ ගන්නා අැලොගරිතම. මේවා Software හෝ Hardware විය හැක.
3. Control - අැලොගරිතම ගන්නා තීරණ අනුව පද්ධතියේ පාලනය සඳහා ක්‍රියාත්මක වල චාලක. (Actuators)
4. Internet - අන්තර්ජාලය සම්බන්ධ වී අනිකුත් ජාලාංග මගින් දත්ත විකාශණය හා ලබාගැනීමේ හැකියාව.
5. Power - IoT ක්‍රියාවලිය සඳහා විද්යුත් බ‍‍ලයක් අවශ්‍ය වේ. 3.3v - 5v දක්වා වෝල්ටීයතාවයකින් ඒවා වැඩ කරයි.
6. Security - IoT ආරක්‍ෂණය ඉතා වැදගත් අංශයක් වන්නේ එම පද්ධති අන්තර්ජාලයට සම්බන්ධවන නිසාය.
7. 5. Embeded Device - සංවේදක, චාලක, මුදුකාංග හා සන්නිවේදනය ලබාදෙන දෘඩාංගය. එය Arduino, microbit, Raspberry Pi වැනි පුවරුවකි. IoT පරිගණනයට අවශ්‍ය සියළු උපාංග එම පුවරුවට ඔබ්බා ඇත.
උදාහරණයක් ලෙස IoT ශීතකරණයක barcode ස්කෑනරය මගින් එයට දමන සහ ගන්න ආහාර දත්ත මත ක‍ල් ඉකුත් වන දිනය,වට්ටෝරු, මිලදී ගැනුම් ලැයිස්තු හා නැවත ඇණවුම් කල හැකිවේ. මෙහිදී අාහාර ඇසුරුම් දත්ත, ස්කෑනරයෙන් සංවේදනය කර, නීති මත පදනම් වූ ඇලොගරිතමයකින් අදාල තීරණ ගනී. එය අන්තර්ජාලයේ කෑම වට්ටෝරු සොයා අමතරව අවශ්‍ය දේ ඔබට යෝජනා කරනු ඇත. ඔබගේ පවුලේ ආහාර පුර‍ැදු අධ්‍යනය කර (machine learning) අනුව ආහාර සුරක්‍ෂිත භාවය වැඩිකරනු ඇත. නව්‍යකරණය තවත් දුරට යාහැක.
සන්නිවේදනය සඳහා සෑම උපාංගටක්ම ඒකීය ලිපිනයක් භාවිතා කළ යුතුය. unique address. එය සොයාගන්නා අයෙකුට එය Hack කල හැක. බිලියන ගණනාවක් ජාලාංග අන්තර්ජාලයට සම්බන්ධවීම මත ගැන සිතන්න. IoT ආරක්‍ෂණය හා පුද්ගලිකත්වය ඉතා වැදගත් බව දැන් ඔබට වැටහේද?
ඔබගේ නිවසේ රූපවාහිනියේ පාලනය අන්තර්ජාලයට සම්බන්ධ යයි සිතන්න. රූපවාහිනිය කියාත්මක වන්නේ ඔබ නිවසේ සිටන විටදී පමණය. ඔබ නිවසේ සිටින බව හෝ කිසිවෙකු නැති බව හොරෙකුට දැනගැනීමට අවශ්‍ය වේ. ඔහුට ඔබගේ නිවෙස් ජාලය විද්යුත්ව සිදුරු කර එම දත්තය ලබාගත හැක. එය ඔබ කලින් දැනසිටින්නේ නම් Polling, Proxy ආදී උපක්‍රම මගින් එය වලකා ගත හැක. නමුත් අන්තර්ජාලයට සම්බන්ධකිසිවක් 100% ආරක්‍ෂිත නොවන බව අප දනිමු.
Share with your friends. IoT is a great future to think.

25 Oct 2017

Step into Robotics : Learn BBC Micro:bit Lesson #1

Let Us Learn Robotics: Microbit සූවිශේෂත්වය


Microbit සූවිශේෂත්වයක් වන්නේ එහි ත්වරණමානයයි. මයික්‍රෝබිට් x,y,z දිසාවන්ගේ ප්‍රවේගයේ වේගය වෙනස්වීම තත්පර වර්ගයට මීටර් ගුරුත්වය ලෙස ලබාදේ. පෘතුවියේ ගුරුත්වය 9.8 බව ඔබ දනී. Microbit ත්වරණමානය IoT සෙලවීම්, පෙරලීම්, දිශානත කිරීම් සංවේදනයට හා රොබෝ හා ඩ්‍රෝන යාත්‍රා පාලනයට පහසුවෙන් යොදාගත හැකිය.




 සරළ උදාහරණය : Quick Example
https://makecode.microbit.org/_MRoJrKEcFWt5 

Microbit comes with built in accelerator. You can measure x,y,z rate of change of the velocity of an object in meters per second squared (m/s2) or in G-forces (g). A single G-force for us here on planet Earth is equivalent to 9.8 m/s2. Accelerometers are useful for sensing vibrations in systems, orientation and flying drones.

If you like this lesson , share it with your group & friends Join microbit club. https://goo.gl/vWvohs

Understanding accelerometer data

Accelermeters measure *acceleration* and express this as three values which we refer to as X, Y and Z. These values are "vectors" meaning they express both a magnitude (amount) and direction.

In the case of the BBC micro:bit, with the micro:bit held flat with its LED display facing upwards and the edge connector facing toward you, the X value measures the amount of acceleration to the left and right of you.

Y measures the acceleration in the direction away from you or back towards you whilst Z measures acceleration up or down. So X and Y describe acceleration in the two horizontal planes whereas Z measures acceleration in the vertical plane.

The micro:bit uses values which are in multiples of one "milli-g" i.e. one thousandth of the acceleration due to gravity. Bitty Data Logger scales the values up to be relative to g itself.

#FrontierInnovators #Shilpa64 #AlogoHack #microbit #SriLanka