<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Min Kim on Medium]]></title>
        <description><![CDATA[Stories by Min Kim on Medium]]></description>
        <link>https://medium.com/@m1nk1m?source=rss-20dea100fa47------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*228vaYVhxuVqxsJe.jpg</url>
            <title>Stories by Min Kim on Medium</title>
            <link>https://medium.com/@m1nk1m?source=rss-20dea100fa47------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:05:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@m1nk1m/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Hacking Health Ottawa Workshop Part 2]]></title>
            <link>https://medium.com/@m1nk1m/hacking-health-ottawa-workshop-part-2-7169a72ca26?source=rss-20dea100fa47------2</link>
            <guid isPermaLink="false">https://medium.com/p/7169a72ca26</guid>
            <category><![CDATA[ibm-bluemix]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Min Kim]]></dc:creator>
            <pubDate>Sat, 11 Mar 2017 02:01:48 GMT</pubDate>
            <atom:updated>2017-03-13T17:38:16.316Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*egrpbm-mIQIKqV2NLly21A.jpeg" /><figcaption>The workshop was held at IBM Riverside</figcaption></figure><p>Hacking Health Ottawa is an event to bring healthcare professionals with designers, developers, innovators and entrepreneurs to build realistic solutions for problems in the Canadian healthcare system and, furthermore, healthcare industry around the world.</p><p>This event is supported by many partners and sponsors including IBM. The purpose of the workshop is to help participants build up skills and knowledge to make something really cool at Hacking Health Hackathons.</p><p>On the 9th of March 2017, the second Hacking Health Ottawa was to help its participants learn how to write scripts in python to read data from sensors plugged in a raspberryPie device on a laptop through Secure Shell. Essentially, the purpose of this activity was to understand how the whole process works remotely.</p><p>There were four kinds of sensors used during this workshop: light sensor, force sensor, and flex sensor. Light sensors will output bigger numbers as it senses more darkness. Force sensor will return smaller numbers when its input force is stronger. Flex sensor will give bigger values when its gets more bent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZieTjqSn164EZvgmWQPNag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*buw-4wtS4Z73_ImKNDM6tQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ag0CcS07ADxDAzXCcKb3eg.png" /><figcaption>Pictures are from adafruit. You can get more information about these sensors or raspberryPie components at here: <a href="https://www.adafruit.com/">https://www.adafruit.com</a></figcaption></figure><p>After explanation about these sensors, the workshop introduced its participants to a library in python to write a very simple script to read data from these sensors with a raspberry pie. More details about it can be found at the following link: <a href="https://learn.adafruit.com/basic-resistor-sensor-reading-on-raspberry-pi/how-it-works?view=all">https://learn.adafruit.com/basic-resistor-sensor-reading-on-raspberry-pi/how-it-works?view=all</a></p><p>Basically, the first step is to connect your laptop to the raspberry pie device through Secure Shell and create a python script file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*Rxd__7imuk4x9DS_yv_vLg.png" /></figure><p>The second step is to import the library into the script just created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*WCxzzPByzKzVzboNLD7wFg.png" /></figure><p>The third step is to write a simple script with a function to read outputs from the sensors and run the function in an infinite loop to check the outputs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*IXfw77yod0BqFK2QRNjKUg.png" /></figure><p>The last step is to acquire permission to run a program on the raspberry pie device and run the script.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*Pptz3j-CbcTOBeKT-TnA7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*qWYL7dOmYafClFD515Z9Dg.png" /></figure><p>Here, when you run the script, you can just use a regular command like “python min-kim.py 5&quot; instead of “./min-kim.py 5”. The number following the name of the script file means the sensor you wish to monitor. At the work shop, numbers like 4, 5, 6 were used to mean light, force, flex respectively.</p><p>The outputs of the program running would be something like the picture below, depending on the type of sensors and its input</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*2wexPVYL4ce-038Hzp02Vg.png" /></figure><p>This workshop was to learn about communication between raspberry pie and a laptop for development purpose. However, with lessons provided during the first workshop, developers can actually write a simple nodeJS script on the pie device and feed Web API, using services like IBM BlueMix. This way, developers will be able to make such data more accessible to users regardless of their locations by building user-interfaces for their users. This part is the beauty of such event. All the participants get to learn how to build cool things, which can actually help people and improve the world over time.</p><p>It was a great opportunity to learn a new technology to build a really useful product with minimal cost in time and expense. Furthermore, it was also great to get to meet people who are passionate about meanings they give to their technologies and share their passions with others. Hacking Health Hackathon will be another amazing chance to join them!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VgRkHv19QHAn_oUdIB-YkQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CnUGgN-GiSMnGbWH4ZHtvw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7169a72ca26" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>