Posts

How Does Self Driving Cars Work

Image
Self-driving cars , also known as autonomous vehicles, have been a topic of interest for many years and have recently begun to be seen on the roads in various forms. The technology behind self-driving cars is complex, but can be broken down into a few key components: sensors, software, and mechanical systems. Waymo  undergoing testing in the San Francisco Bay Area By Dllu - Own work, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=64517567 Tesla Autopilot  is classified as an SAE Level 2 system By Ian Maddox - Own work, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=67227170 Sensors are an essential component of self-driving cars. These devices are used to detect and interpret the vehicle's surroundings. The most commonly used sensors in autonomous vehicles include cameras, lidar, radar, and ultrasonic sensors. Cameras can capture visual information, such as traffic lights and road signs, while lidar, radar, and ultrasonic sensors are used to detec...

Breathable Fabric For Passive Cooling

Image
 Breathable fabric can be used as a way to cool passive houses, also known as passive cooling. Passive cooling refers to the use of natural ventilation and thermal mass to cool a building, rather than relying on mechanical cooling systems. A traditional Iranian solar cooling design using a  wind tower By Wind-Tower-and-Qanat-Cooling-1.jpg: Williamborgderivative work: Monsih (talk) - Wind-Tower-and-Qanat-Cooling-1.jpg, Public Domain, https://commons.wikimedia.org/w/index.php?curid=8981659 One type of breathable fabric that can be used for this purpose is a fabric known as "smart fabric." Smart fabrics are designed to respond to changes in temperature and humidity, and can be used in walls, roofs, and other building elements to regulate the temperature and airflow within a passive house.   Another type of breathable fabric that can be used for passive cooling is a type of insulation known as "breathable insulation." This type of insulation allows moisture to pass thr...

Graphene For Flexible Display In Future Mobile Phones

Image
  Graphene is a material that has been gaining a lot of attention in recent years for its potential applications in various fields, including flexible displays for mobile phones. Graphene is a single layer of carbon atoms arranged in a hexagonal lattice, and it is considered a two-dimensional material. Structure Of Graphene By AlexanderAlUS - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=11294534 It is extremely thin (about 0.3 nm), transparent, and lightweight, making it an ideal candidate for use in flexible displays. One of the key benefits of using graphene in flexible displays is that it is highly conductive, which means that it can be used to create transparent and efficient electrodes. This can be used to make flexible and transparent touch screens, which are important for creating mobile phones with flexible displays. Graphene is also very strong and durable, making it able to withstand the rigors of daily use and maintain its functionality over t...

Raspberry pi computer එකක් භාවිතා කරලා LED light එකක් blink වෙන් විදිහට program කරන්නේ කොහොමද? Raspberry pi programming in සිංහල (raspberry pi tutorial episode 04)

Image
අද අපේ raspberry pi 4වෙනි tutorial එක අපි කතා කරන්න යන්නේ LED ලයිට් එකක් Blink වෙන විදිහට program කරන්නේ කොහොමද කියලා මේකට ඕන කරන ප්‍රධානම දේවල් තමයි          jumper cables          led light          220 ohm resistor එකක්  ඔයගොල්ලෝ මගේ raspberry pie පලවෙනි tutorial එක  කියෙව්වා නම් මං ඒකෙදි කතාකරා GPIO 40 ගැන ඉතින් අපි මෙතනදී ground pin එක විදිහට 39 පින් එකක් GPIO pin එක විදිහට 40 වෙනි  pin එකක් යොදා ගනිමු. මෙන්න මේ විදිහට තමයි cirtcuit diagram එක  තියෙන්නේ code එක ලියන්න පියවර ටික තමා මේ විදිහට තියෙන්නෙ (1) terminal එක open කරගන්න (2) sudo nano bled.py කියල type කරන්න (3) enter කරන්න        (iii) ලැබෙන interface එක මෙන්න මේ වගේ   (4) මෙන්න මේ විදිහට code එක ලියන්න (සැලකිය යුතුයි මං උඩින්  දාල තියෙන photo එකේ තියන විදිහටම space තියලා code එක ලියන්න ඕනෙ නැත්නම් bugs එනවා...

Raspberry pi computer එකක් භාවිතා කරලා LED light එකක් හසුරුවන්නේ කොහොමද? Raspberry pi programming in සිංහල (raspberry pi tutorial episode 03)

Image
අද අද අපේ raspberry pi තුන්වෙනි tutorial එක අද අපි කතාකරමු Raspberry pi computer එකක් භාවිතා කරලා LED light එකක් හසුරුවන්නේ කොහොමද කියලා මේකට ඕන කරන ප්‍රධානම දේවල් තමයි          jumper cables          led light          220 ohm resistor එකක්  ඔයගොල්ලෝ මගේ raspberry pie පලවෙනි tutorial එක  කියෙව්වා නම් මං ඒකෙදි කතාකරා GPIO 40 ගැන ඉතින් අපි මෙතනදී ground pin එක විදිහට 39 පින් එකක් GPIO pin එක විදිහට 40 වෙනි  pin එකක් යොදා ගනිමු. circuit diagram එක මෙන්න මේ විදියට තමා තියෙන්නේ, code එක ලියන්න ඕන මෙන්න මේ විදිහට කලින් තියෙන පියවර ටික තමයි මං මේ අංක දාලා විස්තර කරලා තියෙන්නේ (1 ) terminal එක open කරගන්න (2) terminal එකේ sudo nano led.py කියලා type කරන්න (3)  enter කරන්න (4)  එතකොට led.py කිියලා file එකක් create වෙනවා ඒ file එකේ මෙන්න මේ code එක ලියන්න. import RPi.GPIO as GPIO       #Java තුළ GPIO l...

Raspberry Pi computer එකට raspbian OS එක install කරන්නේ කොහොමද? Raspberry pi programming in සිංහල (raspberry pi tutorial episode 02)

Image
මේ පෝස්ට් එකෙන් අපි කතා කරන්න බලාපොරොත්තු වෙන්නේ raspberry pi computer එකකට ඕන වෙන  Raspbian OS එක එක install කරන්නේ කොහොමද කියල. මේක සරලව කරන්න තියෙන ක්‍රමය ගැන අද අපි කතා කරමු. ඔයගොල්ලන්ට Raspbian OS එක download කර ගන්න මේ link එකෙන් පුලුවන්. https://www.raspberrypi.org/downloads/raspbian/ ඒවගේම මේකට ඕන කරන  Etcher  කියන software එක මේ ලින්ක් එකෙන් download කරන්න පුළුවන්. https://www.balena.io/etcher/ මේ software එක free and open source source software එකක් ඒ හින්දා කිසිම අවුලක් නැතුව ඛinux,windows mac කියන operating system තුනේම කිසිම අවුලක් නැතුව install කරගන්න පුළුවන් ඔයගොල්ලෝ මේ විදිහට Etcher software එක install කරගෙන ඉවර වෙලා open කරාම ඕගොල්ලන්ට පේනවා select  image කියලා menu එකක් ඒක ක්ලික් කරලා කලින් download කරගත්ත file එක select කරගන්න ඊට පස්සෙ ඕගොල්ලන්ට පුළුවන් ඕගොල්ලන්ගේ microsd කාඩ් එක සෙට් කරගන්න  මේ microsd කාඩ් එක කලින් format කරලා තියෙන්න ඕන. ඊට පස්සේ ඕගොල්ලන්ට පුළුවන් ඒකෙ තියෙන flash කියන menu එක click  කරලා i...

Raspberry pi programming in සිංහල (raspberry pi tutorial episode 01)

Image
 ගොඩක් කාලයක් තිස්සේ ඉන්ටනෙට් එකේ ඒවගේම තනියම ඉගෙන ගත්ත දෙයක් ගැන තමා පොස්ට් එක හදන්න හිතුවේ. මාත් raspberry pi programming  ඉගෙන ගන්න මාරම කට්ටක් කෑවා. ඇත්තටම සිංහල Youtube tutorial ආවා. ඒත් ටික කාලෙකින්  ඉවර වුණා ඒ නිසා ඉදිරියේ Youtube videos අරන් එන්නම්. raspberry pi කියන්නෙ මොකද්ද?  මේක ඇත්තටම පොඩි computer එකක් https://www.raspberrypi.org/ කියන වෙබ් සයිට් එකෙන් ඕගොල්ලොන්ට මේක purchase කරන්න පුළුවන්.  මේ computer එක ඩිසයින් කරලා deliver කරන්නේ UK වල තියෙන company එකක්.මං මගේ raspberry එක ගත්තේ https://microchip.lk/  එකෙන්. මේක (IOT) internet of things ගණයට වැටෙන මේ කුඩා device එක හරියටම කිව්වොත් මෙන්න මේ වගේ,  raspberry pi models  raspberry pi one model b plus කියන මොඩල් එක තමා raspberry pi computers වල first edition එක ඒ වගේම second edition එක raspberry pi 3 model b plus කියන එක මේක ගැන පොඩි විස්තරයක් කරොත් මෙකේ A900 MHz quad core ARM cortex -A7 කියන processor එක  තියෙනවා ඒ වගේම 1 GB ram  එකකුත් තියනවා. ඉති...