<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sardar Faisal</title>
    <description>The latest articles on DEV Community by Sardar Faisal (@sardarfaisal).</description>
    <link>https://dev.to/sardarfaisal</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4218273%2Fd8be90af-4b98-4da7-aa05-8c3fb3789e3e.jpeg</url>
      <title>DEV Community: Sardar Faisal</title>
      <link>https://dev.to/sardarfaisal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sardarfaisal"/>
    <language>en</language>
    <item>
      <title>How Does a Fitness Tracker Measure Heart Rate? A Developer's Guide to PPG Sensors</title>
      <dc:creator>Sardar Faisal</dc:creator>
      <pubDate>Wed, 18 Nov 2026 08:19:21 +0000</pubDate>
      <link>https://dev.to/sardarfaisal/how-does-a-fitness-tracker-measure-heart-rate-a-developers-guide-to-ppg-sensors-3j8m</link>
      <guid>https://dev.to/sardarfaisal/how-does-a-fitness-tracker-measure-heart-rate-a-developers-guide-to-ppg-sensors-3j8m</guid>
      <description>&lt;p&gt;A fitness tracker measures heart rate with photoplethysmography (PPG). It shines light into the skin, reads how much light returns, and uses software to turn each pulse into a beats-per-minute value.&lt;/p&gt;

&lt;h2&gt;
  
  
  How PPG works
&lt;/h2&gt;

&lt;p&gt;PPG sensors detect small changes in blood volume in the tiny vessels under your skin. Each heartbeat pushes more blood through, so the skin absorbs more light at the peak of every pulse. A photodiode records the changing light level as a wave. Software then counts the waves.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why trackers use green light
&lt;/h2&gt;

&lt;p&gt;A review of wearable pulse sensors notes that blood absorbs green light strongly, so green LEDs give the clearest pulse signal near the skin surface. Infrared light reaches deeper and often supports other measurements, such as blood oxygen.&lt;/p&gt;

&lt;h2&gt;
  
  
  The signal pipeline in 5 steps
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Emit:&lt;/strong&gt; The LED pulses light into the skin.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Detect:&lt;/strong&gt; The photodiode measures the light that returns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sample:&lt;/strong&gt; The chip converts the signal into digital values, often tens of times per second.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Filter:&lt;/strong&gt; Software removes slow drift and high-frequency noise.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Count:&lt;/strong&gt; An algorithm finds the peaks and calculates beats per minute.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Sample code: find heart rate in simulated data
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;numpy&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;scipy&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;signal&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;butter&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;filtfilt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;find_peaks&lt;/span&gt;

&lt;span class="n"&gt;fs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;50&lt;/span&gt;                       &lt;span class="c1"&gt;# samples per second&lt;/span&gt;
&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;arange&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;fs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;ppg&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sin&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pi&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="mf"&gt;1.2&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mf"&gt;0.2&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;random&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;randn&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# sample data, about 72 bpm&lt;/span&gt;

&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;butter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mf"&gt;0.7&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;3.5&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;btype&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"band"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;fs&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;fs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# keep 42-210 bpm&lt;/span&gt;
&lt;span class="n"&gt;clean&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;filtfilt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ppg&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;peaks&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;find_peaks&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;clean&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;distance&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;fs&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="mf"&gt;0.4&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;bpm&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;diff&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;peaks&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;mean&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;fs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;round&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;bpm&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The band-pass filter keeps frequencies in the normal heart rate range. The peak finder then measures the time between beats.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why motion is the hard part
&lt;/h2&gt;

&lt;p&gt;Motion artifacts can be larger than the pulse signal and can sit in the same frequency range as heart rate. Researchers have proposed methods that use a second light wavelength or an accelerometer as a motion reference. A 2025 study of arm-worn PPG monitors found that accuracy dropped during short, high-intensity, full-body activity, and that sensor placement changed accuracy. A review of 44 studies found the largest errors in weightlifting, cycling and other high-intensity sports.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Star Tech's Biokoop page says
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://www.startech.com.bd/kieslect-biokoop-fitness-tracker" rel="noopener noreferrer"&gt;Kieslect Biokoop Fitness Tracker&lt;/a&gt; is a 12.9 g, screen-free aluminum band. Star Tech lists 24/7 heart rate, HRV, SpO2, stress and sleep tracking, 3 ATM water resistance, up to 14.1 days of battery life, and 32MB of local data storage. The page does not publish LED colors, sampling rates or algorithms, so treat the pipeline above as a typical design and not a confirmed spec. The page uses the phrase "medical-grade," which is marketing language. Treat the band as a wellness tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tips for better readings
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Wear the band snug, but not tight, and keep it in the same position each day.&lt;/li&gt;
&lt;li&gt;Rest for a few minutes before you check resting heart rate.&lt;/li&gt;
&lt;li&gt;Keep the sensor clean and dry.&lt;/li&gt;
&lt;li&gt;Expect more error during intense, irregular workouts. A chest strap is more accurate for hard training.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Is wrist heart rate accurate?
&lt;/h3&gt;

&lt;p&gt;It works well at rest and during steady activity. It is less reliable during intense or irregular movement.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can a tracker replace an ECG?
&lt;/h3&gt;

&lt;p&gt;No. A tracker can show trends, but it cannot replace a medical test. See a doctor if you have chest pain, dizziness or an irregular heartbeat.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to buy
&lt;/h2&gt;

&lt;p&gt;Check price and warranty on &lt;a href="https://www.startech.com.bd/kieslect-biokoop-fitness-tracker" rel="noopener noreferrer"&gt;Star Tech's product page&lt;/a&gt;, or browse the &lt;a href="https://www.startech.com.bd/smart-band" rel="noopener noreferrer"&gt;Smart Band category&lt;/a&gt;. Star Tech listed the band at 5,250 BDT cash price with a 1-year warranty at the time of writing.&lt;/p&gt;

</description>
      <category>development</category>
      <category>python</category>
      <category>code</category>
    </item>
    <item>
      <title>Glucometer Buying Guide: How to Choose the Right Blood Glucose Meter</title>
      <dc:creator>Sardar Faisal</dc:creator>
      <pubDate>Thu, 05 Nov 2026 07:07:09 +0000</pubDate>
      <link>https://dev.to/sardarfaisal/glucometer-buying-guide-how-to-choose-the-right-blood-glucose-meter-3le2</link>
      <guid>https://dev.to/sardarfaisal/glucometer-buying-guide-how-to-choose-the-right-blood-glucose-meter-3le2</guid>
      <description>&lt;p&gt;A &lt;a href="https://www.startech.com.bd/glucometer" rel="noopener noreferrer"&gt;glucometer&lt;/a&gt;, also known as a blood glucose meter, is a portable medical device used to measure blood glucose levels. It helps people with diabetes monitor how their glucose levels change throughout the day.&lt;/p&gt;

&lt;p&gt;But with different types and features available, how do you choose the right one?&lt;/p&gt;

&lt;h2&gt;
  
  
  How Does a Glucometer Work?
&lt;/h2&gt;

&lt;p&gt;A standard glucometer uses a small blood sample, usually collected from a fingertip.&lt;/p&gt;

&lt;p&gt;The process is simple:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Insert a compatible test strip into the meter.&lt;/li&gt;
&lt;li&gt;Use a lancing device to collect a small blood sample.&lt;/li&gt;
&lt;li&gt;Apply the blood to the test strip.&lt;/li&gt;
&lt;li&gt;Wait for the meter to display the result.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Many modern meters provide readings within approximately five seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Types of Glucose Monitoring Devices
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Standard Glucometer&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Uses test strips and a finger-prick blood sample to provide an individual glucose reading. It is a common choice for home monitoring.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Bluetooth Glucometer&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Connects to a smartphone application to store and track glucose readings. This makes reviewing historical data and sharing reports with healthcare professionals more convenient.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Continuous Glucose Monitor (CGM)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Uses a wearable sensor to monitor glucose trends throughout the day. Unlike standard meters, it provides continuous or frequent readings.&lt;/p&gt;

&lt;h2&gt;
  
  
  Important Features to Consider
&lt;/h2&gt;

&lt;p&gt;Before choosing a glucose meter, consider these factors:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Accuracy:&lt;/strong&gt; Look for compliance with ISO 15197:2013.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test strip availability:&lt;/strong&gt; Ensure compatible strips are easy to find.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blood sample size:&lt;/strong&gt; Smaller samples can make testing more comfortable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Testing time:&lt;/strong&gt; Faster results can simplify regular monitoring.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory:&lt;/strong&gt; Stored readings and average reports help track trends.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bluetooth connectivity:&lt;/strong&gt; Useful for digital tracking and sharing reports.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Display:&lt;/strong&gt; Large digits and backlighting can improve readability.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Glucometer vs. CGM: Which Should You Choose?
&lt;/h2&gt;

&lt;p&gt;A standard glucometer provides a reading at the moment of testing, while a CGM tracks glucose trends using a wearable sensor.&lt;/p&gt;

&lt;p&gt;The right option depends on your monitoring needs and healthcare professional's recommendations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Choosing a glucometer isn't just about the device itself. Test strip compatibility, accuracy, ease of use, and long-term availability of accessories are equally important.&lt;/p&gt;

&lt;p&gt;Explore the available glucometers at Star Tech:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.startech.com.bd/glucometer" rel="noopener noreferrer"&gt;https://www.startech.com.bd/glucometer&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Important:&lt;/strong&gt; A home glucometer supports daily monitoring but does not diagnose diabetes. Follow your healthcare professional's instructions and use only compatible test strips.&lt;/p&gt;

</description>
      <category>healthtech</category>
      <category>glucometer</category>
      <category>diabetescare</category>
      <category>medicaldevices</category>
    </item>
    <item>
      <title>MacBook vs Windows for CSE Students: Development Tools, RAM, and CUDA</title>
      <dc:creator>Sardar Faisal</dc:creator>
      <pubDate>Mon, 02 Nov 2026 08:14:28 +0000</pubDate>
      <link>https://dev.to/sardarfaisal/macbook-vs-windows-for-cse-students-development-tools-ram-and-cuda-2oh7</link>
      <guid>https://dev.to/sardarfaisal/macbook-vs-windows-for-cse-students-development-tools-ram-and-cuda-2oh7</guid>
      <description>&lt;p&gt;When choosing a laptop for a CSE degree, consider your development environment before choosing your operating system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;macOS:&lt;/strong&gt; A Unix-based environment with support for Python, Java, C++, JavaScript, and common backend development workflows. Xcode requires macOS, so it's the natural choice for iOS development. Apple Silicon doesn't offer native NVIDIA CUDA support, and memory generally isn't upgradeable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Windows:&lt;/strong&gt; Supports Visual Studio, .NET, and many other development tools. Windows Subsystem for Linux makes Linux-based workflows accessible. Selected models provide RAM and SSD upgrades, while compatible NVIDIA GPUs can support CUDA workloads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A practical baseline:&lt;/strong&gt; 16GB RAM and a 512GB SSD are reasonable starting points for many students. Consider more capacity if you regularly run Android Studio, Docker, virtual machines, or machine-learning frameworks.&lt;/p&gt;

&lt;p&gt;Neither OS makes you a better programmer by itself. Select the setup that supports your coursework and projects.&lt;/p&gt;

&lt;p&gt;Full article from Dhaka Tribune:&lt;br&gt;
&lt;a href="https://www.dhakatribune.com/feature/tech/423475/macbook-vs-windows-laptops-for-cse-students-in" rel="noopener noreferrer"&gt;https://www.dhakatribune.com/feature/tech/423475/macbook-vs-windows-laptops-for-cse-students-in&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laptop</category>
      <category>macbook</category>
      <category>microsoft</category>
    </item>
  </channel>
</rss>
