Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: https://bktaruna.uma.ac.id/feed/

  1. <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
  2. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  3. xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  4. xmlns:dc="http://purl.org/dc/elements/1.1/"
  5. xmlns:atom="http://www.w3.org/2005/Atom"
  6. xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  7. xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  8. >
  9.  
  10. <channel>
  11. <title>Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</title>
  12. <atom:link href="https://bktaruna.uma.ac.id/feed/" rel="self" type="application/rss+xml" />
  13. <link>https://bktaruna.uma.ac.id/</link>
  14. <description>BKTARUNA</description>
  15. <lastBuildDate>Thu, 27 Mar 2025 03:39:25 +0000</lastBuildDate>
  16. <language>en-GB</language>
  17. <sy:updatePeriod>
  18. hourly </sy:updatePeriod>
  19. <sy:updateFrequency>
  20. 1 </sy:updateFrequency>
  21. <generator>https://wordpress.org/?v=6.7.2</generator>
  22.  
  23. <image>
  24. <url>https://bktaruna.uma.ac.id/wp-content/uploads/2024/03/cropped-pavicon-website-32x32.webp</url>
  25. <title>Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</title>
  26. <link>https://bktaruna.uma.ac.id/</link>
  27. <width>32</width>
  28. <height>32</height>
  29. </image>
  30. <item>
  31. <title>slide hari raya 1446 H</title>
  32. <link>https://bktaruna.uma.ac.id/slide-hari-raya-1446-h/</link>
  33. <dc:creator><![CDATA[M. Khairul Ashari]]></dc:creator>
  34. <pubDate>Wed, 26 Mar 2025 04:38:34 +0000</pubDate>
  35. <category><![CDATA[slider]]></category>
  36. <guid isPermaLink="false">https://bktaruna.uma.ac.id/?p=15203</guid>
  37.  
  38. <description><![CDATA[<p>The post <a href="https://bktaruna.uma.ac.id/slide-hari-raya-1446-h/">slide hari raya 1446 H</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  39. ]]></description>
  40. <content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-15204" src="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/IMG_0412.webp" alt="" width="795" height="330" srcset="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/IMG_0412.webp 795w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/IMG_0412-768x319.webp 768w" sizes="(max-width: 795px) 100vw, 795px" /></p>
  41. <p>The post <a href="https://bktaruna.uma.ac.id/slide-hari-raya-1446-h/">slide hari raya 1446 H</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  42. ]]></content:encoded>
  43. </item>
  44. <item>
  45. <title>Membuat Alat Pendeteksi Letak Posisi Kuburan Yang sudah Hilang Dengan Arduino</title>
  46. <link>https://bktaruna.uma.ac.id/membuat-alat-pendeteksi-letak-posisi-kuburan-yang-sudah-hilang-dengan-arduino/</link>
  47. <dc:creator><![CDATA[M. Khairul Ashari]]></dc:creator>
  48. <pubDate>Wed, 26 Mar 2025 03:35:06 +0000</pubDate>
  49. <category><![CDATA[artikel]]></category>
  50. <guid isPermaLink="false">https://bktaruna.uma.ac.id/?p=15209</guid>
  51.  
  52. <description><![CDATA[<p>Membuat alat pendeteksi letak posisi kuburan yang sudah hilang menggunakan Arduino memerlukan pemahaman dasar tentang sistem navigasi dan sensor pendukung. Secara teknis, alat ini dapat menggunakan GPS module untuk menentukan koordinat lokasi dan menyimpan atau mencocokkan koordinat yang sebelumnya tercatat &#8230; </p>
  53. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-alat-pendeteksi-letak-posisi-kuburan-yang-sudah-hilang-dengan-arduino/">Membuat Alat Pendeteksi Letak Posisi Kuburan Yang sudah Hilang Dengan Arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  54. ]]></description>
  55. <content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-15210" src="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Alat-Pendeteksi-Letak-Posisi-Kuburan-Yang-sudah-Hilang-Dengan-Arduino-scaled.webp" alt="" width="2560" height="1440" srcset="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Alat-Pendeteksi-Letak-Posisi-Kuburan-Yang-sudah-Hilang-Dengan-Arduino-scaled.webp 2560w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Alat-Pendeteksi-Letak-Posisi-Kuburan-Yang-sudah-Hilang-Dengan-Arduino-768x432.webp 768w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Alat-Pendeteksi-Letak-Posisi-Kuburan-Yang-sudah-Hilang-Dengan-Arduino-1536x864.webp 1536w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Alat-Pendeteksi-Letak-Posisi-Kuburan-Yang-sudah-Hilang-Dengan-Arduino-2048x1152.webp 2048w" sizes="(max-width: 2560px) 100vw, 2560px" /></p>
  56. <p class="" data-start="0" data-end="340"><a href="http://uma.ac.id">Membuat alat pendeteksi letak posisi kuburan yang sudah hilang menggunakan <strong data-start="75" data-end="86">Arduino</strong></a> memerlukan pemahaman dasar tentang sistem navigasi dan sensor pendukung. Secara teknis, alat ini dapat menggunakan <strong data-start="202" data-end="216">GPS module</strong> untuk menentukan koordinat lokasi dan menyimpan atau <a href="https://bktaruna.uma.ac.id">mencocokkan koordinat yang sebelumnya tercatat sebagai lokasi kuburan</a>.</p>
  57. <h3 class="" data-start="342" data-end="370"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4cb.png" alt="📋" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="349" data-end="370">Konsep Kerja Alat</strong></h3>
  58. <ol data-start="371" data-end="801">
  59. <li class="" data-start="371" data-end="528">
  60. <p class="" data-start="374" data-end="528"><strong data-start="374" data-end="403">Pencatatan Koordinat Awal</strong>: Koordinat kuburan (latitude &amp; longitude) diambil menggunakan <strong data-start="466" data-end="480">GPS Module</strong> dan disimpan di memori (EEPROM atau SD Card).</p>
  61. </li>
  62. <li class="" data-start="529" data-end="679">
  63. <p class="" data-start="532" data-end="679"><strong data-start="532" data-end="552">Pencarian Lokasi</strong>: Saat alat diaktifkan kembali, sistem akan membandingkan koordinat pengguna saat ini dengan koordinat kuburan yang disimpan.</p>
  64. </li>
  65. <li class="" data-start="680" data-end="801">
  66. <p class="" data-start="683" data-end="801"><strong data-start="683" data-end="705">Indikasi Kedekatan</strong>: Jika pengguna mendekati koordinat yang dicari, buzzer atau LED akan menyala sebagai penanda.</p>
  67. </li>
  68. </ol>
  69. <hr class="" data-start="803" data-end="806" />
  70. <h3 class="" data-start="808" data-end="843"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4e6.png" alt="📦" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="815" data-end="843">Komponen yang Dibutuhkan</strong></h3>
  71. <ol data-start="844" data-end="1300">
  72. <li class="" data-start="844" data-end="896">
  73. <p class="" data-start="847" data-end="896"><strong data-start="847" data-end="867">Arduino Uno/Nano</strong> (atau mikrokontroler lain)</p>
  74. </li>
  75. <li class="" data-start="897" data-end="952">
  76. <p class="" data-start="900" data-end="952"><strong data-start="900" data-end="914">GPS Module</strong> (contoh: <strong data-start="924" data-end="934">Neo-6M</strong> atau <strong data-start="940" data-end="949">Ublox</strong>)</p>
  77. </li>
  78. <li class="" data-start="953" data-end="1025">
  79. <p class="" data-start="956" data-end="1025"><strong data-start="956" data-end="983">OLED Display (Opsional)</strong> – Untuk menampilkan koordinat dan jarak</p>
  80. </li>
  81. <li class="" data-start="1026" data-end="1089">
  82. <p class="" data-start="1029" data-end="1089"><strong data-start="1029" data-end="1039">Buzzer</strong> – Sebagai alarm penanda ketika lokasi ditemukan</p>
  83. </li>
  84. <li class="" data-start="1090" data-end="1150">
  85. <p class="" data-start="1093" data-end="1150"><strong data-start="1093" data-end="1115">Tombol Push Button</strong> – Untuk memulai proses pencarian</p>
  86. </li>
  87. <li class="" data-start="1151" data-end="1230">
  88. <p class="" data-start="1154" data-end="1230"><strong data-start="1154" data-end="1170">Power Supply</strong> – Bisa menggunakan <strong data-start="1190" data-end="1208">baterai Li-ion</strong> atau <strong data-start="1214" data-end="1228">Power Bank</strong></p>
  89. </li>
  90. <li class="" data-start="1231" data-end="1300">
  91. <p class="" data-start="1234" data-end="1300"><strong data-start="1234" data-end="1263">SD Card Module (Opsional)</strong> – Untuk menyimpan banyak koordinat</p>
  92. </li>
  93. </ol>
  94. <hr class="" data-start="1302" data-end="1305" />
  95. <h3 class="" data-start="1307" data-end="1332"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f527.png" alt="🔧" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="1314" data-end="1332">Rangkaian Alat</strong></h3>
  96. <ol data-start="1333" data-end="1512">
  97. <li class="" data-start="1333" data-end="1406">
  98. <p class="" data-start="1336" data-end="1368"><strong data-start="1336" data-end="1350">GPS Module</strong> ke <strong data-start="1354" data-end="1365">Arduino</strong>:</p>
  99. <ul data-start="1372" data-end="1406">
  100. <li class="" data-start="1372" data-end="1387">
  101. <p class="" data-start="1374" data-end="1387">TX ke Pin 4</p>
  102. </li>
  103. <li class="" data-start="1391" data-end="1406">
  104. <p class="" data-start="1393" data-end="1406">RX ke Pin 3</p>
  105. </li>
  106. </ul>
  107. </li>
  108. <li class="" data-start="1407" data-end="1435">
  109. <p class="" data-start="1410" data-end="1435"><strong data-start="1410" data-end="1420">Buzzer</strong> ke <strong data-start="1424" data-end="1433">Pin 8</strong></p>
  110. </li>
  111. <li class="" data-start="1436" data-end="1478">
  112. <p class="" data-start="1439" data-end="1478"><strong data-start="1439" data-end="1455">OLED Display</strong> ke <strong data-start="1459" data-end="1470">SDA/SCL</strong> (I2C)</p>
  113. </li>
  114. <li class="" data-start="1479" data-end="1512">
  115. <p class="" data-start="1482" data-end="1512"><strong data-start="1482" data-end="1497">Push Button</strong> ke <strong data-start="1501" data-end="1510">Pin 7</strong></p>
  116. </li>
  117. </ol>
  118. <hr class="" data-start="1514" data-end="1517" />
  119. <h3 class="" data-start="1519" data-end="1550"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4ca.png" alt="📊" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="1526" data-end="1550">Kode Program Arduino</strong></h3>
  120. <p class="" data-start="1551" data-end="1625">Berikut contoh kode dasar untuk mendeteksi koordinat dan membandingkannya:</p>
  121. <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
  122. <div class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]">cpp</div>
  123. <div class="sticky top-9">
  124. <div class="absolute bottom-0 right-0 flex h-9 items-center pr-2">
  125. <div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary"><span class="" data-state="closed"><button class="flex gap-1 items-center select-none px-4 py-1" aria-label="Salin">Salin</button></span><span class="" data-state="closed"><button class="flex select-none items-center gap-1 px-4 py-1">Edit</button></span></div>
  126. </div>
  127. </div>
  128. <div class="overflow-y-auto p-4" dir="ltr"><code class="!whitespace-pre language-cpp"><span class="hljs-meta">#<span class="hljs-keyword">include</span></span> <span class="hljs-string">&lt;SoftwareSerial.h&gt;</span><br />
  129. <span class="hljs-meta">#<span class="hljs-keyword">include</span></span> <span class="hljs-string">&lt;TinyGPS++.h&gt;</span></p>
  130. <p><span class="hljs-function">SoftwareSerial <span class="hljs-title">gpsSerial</span></span><span class="hljs-params">(<span class="hljs-number">4</span></span>, <span class="hljs-number">3</span>); <span class="hljs-comment">// RX, TX</span><br />
  131. TinyGPSPlus gps;</p>
  132. <p><span class="hljs-type">const</span> <span class="hljs-type">float</span> targetLat = <span class="hljs-number">-6.2000</span>;  <span class="hljs-comment">// Koordinat kuburan (Latitude)</span><br />
  133. <span class="hljs-type">const</span> <span class="hljs-type">float</span> targetLon = <span class="hljs-number">106.8166</span>; <span class="hljs-comment">// Koordinat kuburan (Longitude)</span><br />
  134. <span class="hljs-type">const</span> <span class="hljs-type">int</span> buzzer = <span class="hljs-number">8</span>;<br />
  135. <span class="hljs-type">const</span> <span class="hljs-type">int</span> buttonPin = <span class="hljs-number">7</span>;</p>
  136. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">setup</span><span class="hljs-params">()</span> {<br />
  137.  Serial.<span class="hljs-built_in">begin</span>(<span class="hljs-number">9600</span>);<br />
  138.  gpsSerial.<span class="hljs-built_in">begin</span>(<span class="hljs-number">9600</span>);<br />
  139.  <span class="hljs-built_in">pinMode</span>(buzzer, OUTPUT);<br />
  140.  <span class="hljs-built_in">pinMode</span>(buttonPin, INPUT_PULLUP);<br />
  141.  Serial.<span class="hljs-built_in">println</span>(<span class="hljs-string">"Mencari Lokasi..."</span>);<br />
  142. }</p>
  143. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">loop</span><span class="hljs-params">()</span> {<br />
  144.  <span class="hljs-keyword">while</span> (gpsSerial.<span class="hljs-built_in">available</span>()) {<br />
  145.    gps.<span class="hljs-built_in">encode</span>(gpsSerial.<span class="hljs-built_in">read</span>());<br />
  146.    <span class="hljs-keyword">if</span> (gps.location.<span class="hljs-built_in">isUpdated</span>()) {<br />
  147.      <span class="hljs-type">float</span> currentLat = gps.location.<span class="hljs-built_in">lat</span>();<br />
  148.      <span class="hljs-type">float</span> currentLon = gps.location.<span class="hljs-built_in">lng</span>();<br />
  149.      Serial.<span class="hljs-built_in">print</span>(<span class="hljs-string">"Lat: "</span>); Serial.<span class="hljs-built_in">print</span>(currentLat, <span class="hljs-number">6</span>);<br />
  150.      Serial.<span class="hljs-built_in">print</span>(<span class="hljs-string">", Lon: "</span>); Serial.<span class="hljs-built_in">println</span>(currentLon, <span class="hljs-number">6</span>);</p>
  151. <p>      <span class="hljs-comment">// Hitung jarak menggunakan haversine</span><br />
  152.      <span class="hljs-type">float</span> distance = <span class="hljs-built_in">calculateDistance</span>(currentLat, currentLon, targetLat, targetLon);<br />
  153.      Serial.<span class="hljs-built_in">print</span>(<span class="hljs-string">"Jarak ke tujuan: "</span>); Serial.<span class="hljs-built_in">println</span>(distance);</p>
  154. <p>      <span class="hljs-keyword">if</span> (distance &lt; <span class="hljs-number">5.0</span>) { <span class="hljs-comment">// Jika jarak &lt; 5 meter</span><br />
  155.        <span class="hljs-built_in">digitalWrite</span>(buzzer, HIGH); <span class="hljs-comment">// Aktifkan buzzer</span><br />
  156.      } <span class="hljs-keyword">else</span> {<br />
  157.        <span class="hljs-built_in">digitalWrite</span>(buzzer, LOW);<br />
  158.      }<br />
  159.    }<br />
  160.  }<br />
  161. }</p>
  162. <p><span class="hljs-function"><span class="hljs-type">float</span></span> <span class="hljs-title">calculateDistance</span><span class="hljs-params">(<span class="hljs-type">float</span></span> lat1, <span class="hljs-type">float</span> lon1, <span class="hljs-type">float</span> lat2, <span class="hljs-type">float</span> lon2) {<br />
  163.  <span class="hljs-type">const</span> <span class="hljs-type">float</span> R = <span class="hljs-number">6371.0</span>; <span class="hljs-comment">// Radius bumi dalam km</span><br />
  164.  <span class="hljs-type">float</span> dLat = <span class="hljs-built_in">radians</span>(lat2 - lat1);<br />
  165.  <span class="hljs-type">float</span> dLon = <span class="hljs-built_in">radians</span>(lon2 - lon1);<br />
  166.  <span class="hljs-type">float</span> a = <span class="hljs-built_in">sin</span>(dLat / <span class="hljs-number">2</span>) * <span class="hljs-built_in">sin</span>(dLat / <span class="hljs-number">2</span>) + <span class="hljs-built_in">cos</span>(<span class="hljs-built_in">radians</span>(lat1)) * <span class="hljs-built_in">cos</span>(<span class="hljs-built_in">radians</span>(lat2)) * <span class="hljs-built_in">sin</span>(dLon / <span class="hljs-number">2</span>) * <span class="hljs-built_in">sin</span>(dLon / <span class="hljs-number">2</span>);<br />
  167.  <span class="hljs-type">float</span> c = <span class="hljs-number">2</span> * <span class="hljs-built_in">atan2</span>(<span class="hljs-built_in">sqrt</span>(a), <span class="hljs-built_in">sqrt</span>(<span class="hljs-number">1</span> - a));<br />
  168.  <span class="hljs-keyword">return</span> R * c * <span class="hljs-number">1000</span>; <span class="hljs-comment">// Jarak dalam meter</span><br />
  169. }<br />
  170. </code></div>
  171. </div>
  172. <hr class="" data-start="3212" data-end="3215" />
  173. <h3 class="" data-start="3217" data-end="3244"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f6e0.png" alt="🛠" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="3225" data-end="3244">Cara Kerja Alat</strong></h3>
  174. <ol data-start="3245" data-end="3440">
  175. <li class="" data-start="3245" data-end="3299">
  176. <p class="" data-start="3248" data-end="3299">Alat mulai membaca posisi menggunakan GPS Module.</p>
  177. </li>
  178. <li class="" data-start="3300" data-end="3363">
  179. <p class="" data-start="3303" data-end="3363">Bandingkan posisi saat ini dengan koordinat yang disimpan.</p>
  180. </li>
  181. <li class="" data-start="3364" data-end="3440">
  182. <p class="" data-start="3367" data-end="3440">Jika mendekati kuburan (contoh: dalam radius 5 meter), buzzer berbunyi.</p>
  183. </li>
  184. </ol>
  185. <hr class="" data-start="3442" data-end="3445" />
  186. <h3 class="" data-start="3447" data-end="3479"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4cc.png" alt="📌" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="3454" data-end="3479">Pengembangan Lanjutan</strong></h3>
  187. <ol data-start="3480" data-end="3808">
  188. <li class="" data-start="3480" data-end="3594">
  189. <p class="" data-start="3483" data-end="3594"><strong data-start="3483" data-end="3514">Penyimpanan Multi-Koordinat</strong>: Gunakan <strong data-start="3524" data-end="3535">SD Card</strong> atau <strong data-start="3541" data-end="3551">EEPROM</strong> untuk menyimpan beberapa lokasi kuburan.</p>
  190. </li>
  191. <li class="" data-start="3595" data-end="3713">
  192. <p class="" data-start="3598" data-end="3713"><strong data-start="3598" data-end="3620">Tampilan Informasi</strong>: Tambahkan <strong data-start="3632" data-end="3648">OLED Display</strong> untuk menunjukkan informasi lokasi dan jarak secara real-time.</p>
  193. </li>
  194. <li class="" data-start="3714" data-end="3808">
  195. <p class="" data-start="3717" data-end="3808"><strong data-start="3717" data-end="3734">Navigasi Arah</strong>: Implementasikan kompas (HMC5883L) untuk memandu arah ke lokasi tujuan.</p>
  196. </li>
  197. </ol>
  198. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-alat-pendeteksi-letak-posisi-kuburan-yang-sudah-hilang-dengan-arduino/">Membuat Alat Pendeteksi Letak Posisi Kuburan Yang sudah Hilang Dengan Arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  199. ]]></content:encoded>
  200. </item>
  201. <item>
  202. <title>Membuat Alat Peneteksi jatuhnya cahaya kemata dengan arduino</title>
  203. <link>https://bktaruna.uma.ac.id/membuat-alat-peneteksi-jatuhnya-cahaya-kemata-dengan-arduino/</link>
  204. <dc:creator><![CDATA[M. Khairul Ashari]]></dc:creator>
  205. <pubDate>Tue, 25 Mar 2025 01:47:03 +0000</pubDate>
  206. <category><![CDATA[artikel]]></category>
  207. <guid isPermaLink="false">https://bktaruna.uma.ac.id/?p=15206</guid>
  208.  
  209. <description><![CDATA[<p>Untuk membuat alat pendeteksi jatuhnya cahaya ke mata menggunakan Arduino, kita bisa menggunakan sensor cahaya (LDR atau photodiode) yang mendeteksi intensitas cahaya yang masuk. Jika intensitas melebihi ambang batas yang ditentukan (misalnya, cahaya terlalu terang atau mengarah langsung ke mata), &#8230; </p>
  210. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-alat-peneteksi-jatuhnya-cahaya-kemata-dengan-arduino/">Membuat Alat Peneteksi jatuhnya cahaya kemata dengan arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  211. ]]></description>
  212. <content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-15207" src="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Alat-Peneteksi-jatuhnya-cahaya-kemata-dengan-arduino-scaled.webp" alt="" width="2560" height="1440" srcset="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Alat-Peneteksi-jatuhnya-cahaya-kemata-dengan-arduino-scaled.webp 2560w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Alat-Peneteksi-jatuhnya-cahaya-kemata-dengan-arduino-768x432.webp 768w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Alat-Peneteksi-jatuhnya-cahaya-kemata-dengan-arduino-1536x864.webp 1536w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Alat-Peneteksi-jatuhnya-cahaya-kemata-dengan-arduino-2048x1152.webp 2048w" sizes="(max-width: 2560px) 100vw, 2560px" /></p>
  213. <p class="" data-start="0" data-end="392">Untuk <a href="http://uma.ac.id">membuat <strong data-start="14" data-end="57">alat pendeteksi jatuhnya cahaya ke mata</strong> menggunakan <strong data-start="70" data-end="81">Arduino</strong></a>, kita bisa menggunakan <strong data-start="105" data-end="144">sensor cahaya (LDR atau photodiode)</strong> yang mendeteksi intensitas cahaya yang masuk. Jika intensitas melebihi ambang batas yang ditentukan (misalnya, cahaya terlalu terang atau mengarah langsung ke mata), alat akan memberikan peringatan seperti <strong data-start="351" data-end="370">buzzer berbunyi</strong> atau <strong data-start="376" data-end="391">LED menyala</strong>.</p>
  214. <h3 class="" data-start="394" data-end="432"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f6e0.png" alt="🛠" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="402" data-end="430">Komponen yang Dibutuhkan untuk <a href="https://bktaruna.uma.ac.id">Membuat Alat Peneteksi jatuhnya cahaya kemata dengan arduino</a></strong></h3>
  215. <ol data-start="433" data-end="693">
  216. <li class="" data-start="433" data-end="471">
  217. <p class="" data-start="436" data-end="471"><strong data-start="436" data-end="451">Arduino Uno</strong> (atau kompatibel)</p>
  218. </li>
  219. <li class="" data-start="472" data-end="531">
  220. <p class="" data-start="475" data-end="531"><strong data-start="475" data-end="509">LDR (Light Dependent Resistor)</strong> atau <strong data-start="515" data-end="529">Photodiode</strong></p>
  221. </li>
  222. <li class="" data-start="532" data-end="566">
  223. <p class="" data-start="535" data-end="566"><strong data-start="535" data-end="564">Resistor (10kΩ untuk LDR)</strong></p>
  224. </li>
  225. <li class="" data-start="567" data-end="606">
  226. <p class="" data-start="570" data-end="606"><strong data-start="570" data-end="589">Buzzer atau LED</strong> (untuk output)</p>
  227. </li>
  228. <li class="" data-start="607" data-end="628">
  229. <p class="" data-start="610" data-end="628"><strong data-start="610" data-end="626">Kabel jumper</strong></p>
  230. </li>
  231. <li class="" data-start="629" data-end="648">
  232. <p class="" data-start="632" data-end="648"><strong data-start="632" data-end="646">Breadboard</strong></p>
  233. </li>
  234. <li class="" data-start="649" data-end="693">
  235. <p class="" data-start="652" data-end="693"><strong data-start="652" data-end="664">Komputer</strong> (untuk memprogram Arduino)</p>
  236. </li>
  237. </ol>
  238. <hr class="" data-start="695" data-end="698" />
  239. <h3 class="" data-start="700" data-end="728"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/2699.png" alt="⚙" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="707" data-end="726">Cara Kerja Alat</strong></h3>
  240. <ol data-start="729" data-end="1008">
  241. <li class="" data-start="729" data-end="782">
  242. <p class="" data-start="732" data-end="782"><strong data-start="732" data-end="739">LDR</strong> mendeteksi intensitas cahaya di sekitar.</p>
  243. </li>
  244. <li class="" data-start="783" data-end="955">
  245. <p class="" data-start="786" data-end="955">Jika <strong data-start="791" data-end="812">intensitas cahaya</strong> melebihi <strong data-start="822" data-end="838">ambang batas</strong> (cahaya terang langsung ke arah sensor), Arduino akan mengaktifkan <strong data-start="906" data-end="916">buzzer</strong> atau <strong data-start="922" data-end="929">LED</strong> sebagai <strong data-start="938" data-end="952">peringatan</strong>.</p>
  246. </li>
  247. <li class="" data-start="956" data-end="1008">
  248. <p class="" data-start="959" data-end="1008">Ambang batas bisa disesuaikan sesuai kebutuhan.</p>
  249. </li>
  250. </ol>
  251. <hr class="" data-start="1010" data-end="1013" />
  252. <h3 class="" data-start="1015" data-end="1046"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f50c.png" alt="🔌" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="1022" data-end="1044">Rangkaian Skematik</strong></h3>
  253. <ol data-start="1048" data-end="1340">
  254. <li class="" data-start="1048" data-end="1226">
  255. <p class="" data-start="1051" data-end="1087">Sambungkan <strong data-start="1062" data-end="1069">LDR</strong> ke <strong data-start="1073" data-end="1084">Arduino</strong>:</p>
  256. <ul data-start="1091" data-end="1226">
  257. <li class="" data-start="1091" data-end="1124">
  258. <p class="" data-start="1093" data-end="1124">Salah satu kaki LDR ke <strong data-start="1116" data-end="1122">5V</strong></p>
  259. </li>
  260. <li class="" data-start="1128" data-end="1189">
  261. <p class="" data-start="1130" data-end="1189">Kaki lainnya ke <strong data-start="1146" data-end="1165">A0 (analog pin)</strong> dan <strong data-start="1170" data-end="1187">resistor 10kΩ</strong></p>
  262. </li>
  263. <li class="" data-start="1193" data-end="1222">
  264. <p class="" data-start="1195" data-end="1222">Ujung resistor ke <strong data-start="1213" data-end="1220">GND</strong></p>
  265. </li>
  266. </ul>
  267. </li>
  268. <li class="" data-start="1227" data-end="1340">
  269. <p class="" data-start="1230" data-end="1267">Sambungkan <strong data-start="1241" data-end="1251">buzzer</strong> atau <strong data-start="1257" data-end="1264">LED</strong>:</p>
  270. <ul data-start="1271" data-end="1340">
  271. <li class="" data-start="1271" data-end="1305">
  272. <p class="" data-start="1273" data-end="1305">Kaki positif (+) ke pin <strong data-start="1297" data-end="1303">D8</strong></p>
  273. </li>
  274. <li class="" data-start="1309" data-end="1340">
  275. <p class="" data-start="1311" data-end="1340">Kaki negatif (-) ke <strong data-start="1331" data-end="1338">GND</strong></p>
  276. </li>
  277. </ul>
  278. </li>
  279. </ol>
  280. <hr class="" data-start="1342" data-end="1345" />
  281. <h3 class="" data-start="1347" data-end="1380"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4c4.png" alt="📄" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="1354" data-end="1378">Kode Program Arduino</strong></h3>
  282. <p class="" data-start="1382" data-end="1439">Berikut adalah kode dasar untuk mendeteksi cahaya terang:</p>
  283. <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
  284. <div class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]">cpp</div>
  285. <div class="sticky top-9">
  286. <div class="absolute bottom-0 right-0 flex h-9 items-center pr-2">
  287. <div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary"><span class="" data-state="closed"><button class="flex gap-1 items-center select-none px-4 py-1" aria-label="Salin">Salin</button></span><span class="" data-state="closed"><button class="flex select-none items-center gap-1 px-4 py-1">Edit</button></span></div>
  288. </div>
  289. </div>
  290. <div class="overflow-y-auto p-4" dir="ltr"><code class="!whitespace-pre language-cpp"><span class="hljs-type">const</span> <span class="hljs-type">int</span> ldrPin = A0;      <span class="hljs-comment">// Pin LDR ke A0</span><br />
  291. <span class="hljs-type">const</span> <span class="hljs-type">int</span> buzzerPin = <span class="hljs-number">8</span>;    <span class="hljs-comment">// Pin buzzer ke D8</span><br />
  292. <span class="hljs-type">int</span> ambangCahaya = <span class="hljs-number">800</span>;     <span class="hljs-comment">// Ambang batas intensitas (atur sesuai kebutuhan)</span></p>
  293. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">setup</span><span class="hljs-params">()</span> {<br />
  294.  <span class="hljs-built_in">pinMode</span>(buzzerPin, OUTPUT);<br />
  295.  Serial.<span class="hljs-built_in">begin</span>(<span class="hljs-number">9600</span>);       <span class="hljs-comment">// Untuk monitoring di Serial Monitor</span><br />
  296. }</p>
  297. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">loop</span><span class="hljs-params">()</span> {<br />
  298.  <span class="hljs-type">int</span> nilaiCahaya = <span class="hljs-built_in">analogRead</span>(ldrPin);  <span class="hljs-comment">// Baca nilai dari LDR</span><br />
  299.  Serial.<span class="hljs-built_in">println</span>(nilaiCahaya);           <span class="hljs-comment">// Tampilkan di Serial Monitor</span></p>
  300. <p>  <span class="hljs-keyword">if</span> (nilaiCahaya &gt; ambangCahaya) {      <span class="hljs-comment">// Jika cahaya terlalu terang</span><br />
  301.    <span class="hljs-built_in">digitalWrite</span>(buzzerPin, HIGH);       <span class="hljs-comment">// Buzzer menyala</span><br />
  302.  } <span class="hljs-keyword">else</span> {<br />
  303.    <span class="hljs-built_in">digitalWrite</span>(buzzerPin, LOW);        <span class="hljs-comment">// Buzzer mati</span><br />
  304.  }</p>
  305. <p>  <span class="hljs-built_in">delay</span>(<span class="hljs-number">500</span>);  <span class="hljs-comment">// Jeda 500ms</span><br />
  306. }<br />
  307. </code></div>
  308. </div>
  309. <hr class="" data-start="2124" data-end="2127" />
  310. <h3 class="" data-start="2129" data-end="2157"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f50e.png" alt="🔎" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="2136" data-end="2155">Penjelasan Kode</strong></h3>
  311. <ol data-start="2158" data-end="2373">
  312. <li class="" data-start="2158" data-end="2200">
  313. <p class="" data-start="2161" data-end="2200"><strong data-start="2161" data-end="2171">Pin A0</strong> membaca data dari <strong data-start="2190" data-end="2197">LDR</strong>.</p>
  314. </li>
  315. <li class="" data-start="2201" data-end="2297">
  316. <p class="" data-start="2204" data-end="2297">Jika <strong data-start="2209" data-end="2229">nilai intensitas</strong> lebih besar dari <strong data-start="2247" data-end="2269">ambangCahaya (800)</strong>, maka <strong data-start="2276" data-end="2294">buzzer menyala</strong>.</p>
  317. </li>
  318. <li class="" data-start="2298" data-end="2373">
  319. <p class="" data-start="2301" data-end="2373">Sesuaikan nilai ambang batas dengan kondisi pencahayaan lingkungan Anda.</p>
  320. </li>
  321. </ol>
  322. <hr class="" data-start="2375" data-end="2378" />
  323. <h3 class="" data-start="2380" data-end="2409"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4ca.png" alt="📊" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="2387" data-end="2407">Kalibrasi Sensor</strong></h3>
  324. <ol data-start="2410" data-end="2574">
  325. <li class="" data-start="2410" data-end="2458">
  326. <p class="" data-start="2413" data-end="2458">Buka <strong data-start="2418" data-end="2436">Serial Monitor</strong> di <strong data-start="2440" data-end="2455">Arduino IDE</strong>.</p>
  327. </li>
  328. <li class="" data-start="2459" data-end="2516">
  329. <p class="" data-start="2462" data-end="2516">Catat nilai <strong data-start="2474" data-end="2491">cahaya normal</strong> dan <strong data-start="2496" data-end="2513">cahaya terang</strong>.</p>
  330. </li>
  331. <li class="" data-start="2517" data-end="2574">
  332. <p class="" data-start="2520" data-end="2574">Ubah variabel <code data-start="2534" data-end="2548">ambangCahaya</code> sesuai hasil pembacaan.</p>
  333. </li>
  334. </ol>
  335. <hr class="" data-start="2576" data-end="2579" />
  336. <p class="" data-start="2581" data-end="2613"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f6e0.png" alt="🛠" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="2585" data-end="2610">Pengembangan Lanjutan</strong>:</p>
  337. <ul data-start="2614" data-end="2802">
  338. <li class="" data-start="2614" data-end="2683">
  339. <p class="" data-start="2616" data-end="2683">Menambahkan <strong data-start="2628" data-end="2644">OLED display</strong> untuk menampilkan intensitas cahaya.</p>
  340. </li>
  341. <li class="" data-start="2684" data-end="2747">
  342. <p class="" data-start="2686" data-end="2747">Menggunakan <strong data-start="2698" data-end="2717">modul Bluetooth</strong> untuk memantau dari ponsel.</p>
  343. </li>
  344. <li class="" data-start="2748" data-end="2802">
  345. <p class="" data-start="2750" data-end="2802">Menyimpan data intensitas menggunakan <strong data-start="2788" data-end="2799">SD card</strong>.</p>
  346. </li>
  347. </ul>
  348. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-alat-peneteksi-jatuhnya-cahaya-kemata-dengan-arduino/">Membuat Alat Peneteksi jatuhnya cahaya kemata dengan arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  349. ]]></content:encoded>
  350. </item>
  351. <item>
  352. <title>Membuat Aplikasi Menggunakan Sensor Ketebalan Lemak</title>
  353. <link>https://bktaruna.uma.ac.id/membuat-aplikasi-menggunakan-sensor-ketebalan-lemak/</link>
  354. <dc:creator><![CDATA[M. Khairul Ashari]]></dc:creator>
  355. <pubDate>Mon, 24 Mar 2025 05:11:12 +0000</pubDate>
  356. <category><![CDATA[artikel]]></category>
  357. <guid isPermaLink="false">https://bktaruna.uma.ac.id/?p=15199</guid>
  358.  
  359. <description><![CDATA[<p>Membuat aplikasi menggunakan sensor ketebalan lemak (biasanya menggunakan sensor ultrasonik atau bioelectrical impedance) memerlukan pemahaman tentang perangkat keras (hardware) dan perangkat lunak (software). Berikut adalah langkah-langkah untuk Membuat Aplikasi Menggunakan Sensor Ketebalan Lemak: ✅ 1. Menentukan Sensor Ketebalan Lemak Beberapa &#8230; </p>
  360. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-aplikasi-menggunakan-sensor-ketebalan-lemak/">Membuat Aplikasi Menggunakan Sensor Ketebalan Lemak</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  361. ]]></description>
  362. <content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-15200" src="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Aplikasi-Menggunakan-Sensor-Ketebalan-Lemak-scaled.webp" alt="" width="2560" height="1440" srcset="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Aplikasi-Menggunakan-Sensor-Ketebalan-Lemak-scaled.webp 2560w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Aplikasi-Menggunakan-Sensor-Ketebalan-Lemak-768x432.webp 768w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Aplikasi-Menggunakan-Sensor-Ketebalan-Lemak-1536x864.webp 1536w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Aplikasi-Menggunakan-Sensor-Ketebalan-Lemak-2048x1152.webp 2048w" sizes="(max-width: 2560px) 100vw, 2560px" /></p>
  363. <p class="" data-start="0" data-end="274"><a href="http://uma.ac.id">Membuat aplikasi menggunakan <strong data-start="29" data-end="55">sensor ketebalan lemak</strong></a> (biasanya menggunakan sensor ultrasonik atau bioelectrical impedance) memerlukan pemahaman tentang perangkat keras (hardware) dan perangkat lunak (software). Berikut adalah langkah-langkah untuk <a href="https://bktaruna.uma.ac.id">Membuat Aplikasi Menggunakan Sensor Ketebalan Lemak</a>:</p>
  364. <hr class="" data-start="276" data-end="279" />
  365. <h3 class="" data-start="281" data-end="327"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="287" data-end="327">1. Menentukan Sensor Ketebalan Lemak</strong></h3>
  366. <p class="" data-start="328" data-end="404">Beberapa sensor yang umum digunakan untuk mengukur ketebalan lemak meliputi:</p>
  367. <ul data-start="405" data-end="675">
  368. <li class="" data-start="405" data-end="492">
  369. <p class="" data-start="407" data-end="492"><strong data-start="407" data-end="428">Ultrasound Sensor</strong>: Menggunakan gelombang suara untuk mengukur ketebalan jaringan.</p>
  370. </li>
  371. <li class="" data-start="493" data-end="582">
  372. <p class="" data-start="495" data-end="582"><strong data-start="495" data-end="537">Bioelectrical Impedance Analysis (BIA)</strong>: Mengukur resistansi listrik di dalam tubuh.</p>
  373. </li>
  374. <li class="" data-start="583" data-end="675">
  375. <p class="" data-start="585" data-end="675"><strong data-start="585" data-end="613">Skinfold Caliper Digital</strong>: Sensor mekanis yang dikombinasikan dengan pembacaan digital.</p>
  376. </li>
  377. </ul>
  378. <p class="" data-start="677" data-end="700"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f449.png" alt="👉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="680" data-end="697">Contoh sensor</strong>:</p>
  379. <ul data-start="701" data-end="840">
  380. <li class="" data-start="701" data-end="759">
  381. <p class="" data-start="703" data-end="759"><strong data-start="703" data-end="738">Ultrasonic Fat Thickness Sensor</strong> (contoh: UST-10LX)</p>
  382. </li>
  383. <li class="" data-start="760" data-end="840">
  384. <p class="" data-start="762" data-end="840"><strong data-start="762" data-end="793">Body Fat Measurement Module</strong> (berbasis BIA seperti HX711 untuk load cell)</p>
  385. </li>
  386. </ul>
  387. <hr class="" data-start="842" data-end="845" />
  388. <h3 class="" data-start="847" data-end="884"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="853" data-end="884">2. Komponen yang Dibutuhkan</strong></h3>
  389. <ul data-start="885" data-end="1112">
  390. <li class="" data-start="885" data-end="952">
  391. <p class="" data-start="887" data-end="952"><strong data-start="887" data-end="906">Microcontroller</strong> (contoh: Arduino, ESP32, atau Raspberry Pi)</p>
  392. </li>
  393. <li class="" data-start="953" data-end="983">
  394. <p class="" data-start="955" data-end="983"><strong data-start="955" data-end="981">Sensor ketebalan lemak</strong></p>
  395. </li>
  396. <li class="" data-start="984" data-end="1037">
  397. <p class="" data-start="986" data-end="1037"><strong data-start="986" data-end="1009">Layar LCD atau OLED</strong> (untuk menampilkan hasil)</p>
  398. </li>
  399. <li class="" data-start="1038" data-end="1112">
  400. <p class="" data-start="1040" data-end="1112"><strong data-start="1040" data-end="1070">Aplikasi Mobile (Opsional)</strong> untuk memantau hasil via Bluetooth/WiFi</p>
  401. </li>
  402. </ul>
  403. <hr class="" data-start="1114" data-end="1117" />
  404. <h3 class="" data-start="1119" data-end="1151"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="1125" data-end="1151">3. Alur Kerja Aplikasi</strong></h3>
  405. <ol data-start="1152" data-end="1481">
  406. <li class="" data-start="1152" data-end="1239">
  407. <p class="" data-start="1155" data-end="1239"><strong data-start="1155" data-end="1178">Inisialisasi Sensor</strong>: Microcontroller membaca data dari sensor ketebalan lemak.</p>
  408. </li>
  409. <li class="" data-start="1240" data-end="1319">
  410. <p class="" data-start="1243" data-end="1319"><strong data-start="1243" data-end="1261">Kalibrasi Awal</strong>: Sesuaikan nilai mentah menjadi persentase lemak tubuh.</p>
  411. </li>
  412. <li class="" data-start="1320" data-end="1402">
  413. <p class="" data-start="1323" data-end="1402"><strong data-start="1323" data-end="1342">Pemrosesan Data</strong>: Hitung ketebalan atau persentase lemak dari data sensor.</p>
  414. </li>
  415. <li class="" data-start="1403" data-end="1481">
  416. <p class="" data-start="1406" data-end="1481"><strong data-start="1406" data-end="1425">Tampilkan Hasil</strong>: Hasil ditampilkan di layar atau dikirim ke aplikasi.</p>
  417. </li>
  418. </ol>
  419. <hr class="" data-start="1483" data-end="1486" />
  420. <h3 class="" data-start="1488" data-end="1542"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="1494" data-end="1542">4. Contoh Kode (Menggunakan Arduino + HX711)</strong></h3>
  421. <p class="" data-start="1544" data-end="1625">Berikut adalah contoh kode sederhana untuk mengukur ketebalan menggunakan sensor:</p>
  422. <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
  423. <div class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]">cpp</div>
  424. <div class="sticky top-9">
  425. <div class="absolute bottom-0 right-0 flex h-9 items-center pr-2">
  426. <div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary"><span class="" data-state="closed"><button class="flex gap-1 items-center select-none px-4 py-1" aria-label="Salin">Salin</button></span><span class="" data-state="closed"><button class="flex select-none items-center gap-1 px-4 py-1">Edit</button></span></div>
  427. </div>
  428. </div>
  429. <div class="overflow-y-auto p-4" dir="ltr">
  430. <p><code class="!whitespace-pre language-cpp"><span class="hljs-meta">#<span class="hljs-keyword">include</span></span> <span class="hljs-string">"HX711.h"</span></code></p>
  431. <p><span class="hljs-meta">#<span class="hljs-keyword">define</span></span> DOUT 3<br />
  432. <span class="hljs-meta">#<span class="hljs-keyword">define</span></span> CLK 2</p>
  433. <p>HX711 scale;</p>
  434. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">setup</span><span class="hljs-params">()</span> {<br />
  435. Serial.<span class="hljs-built_in">begin</span>(<span class="hljs-number">9600</span>);<br />
  436. scale.<span class="hljs-built_in">begin</span>(DOUT, CLK);<br />
  437. Serial.<span class="hljs-built_in">println</span>(<span class="hljs-string">&#8220;Inisialisasi sensor&#8230;&#8221;</span>);<br />
  438. }</p>
  439. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">loop</span><span class="hljs-params">()</span> {<br />
  440. <span class="hljs-keyword">if</span> (scale.<span class="hljs-built_in">is_ready</span>()) {<br />
  441. <span class="hljs-type">long</span> reading = scale.<span class="hljs-built_in">get_units</span>();<br />
  442. <span class="hljs-type">float</span> fatThickness = reading * <span class="hljs-number">0.01</span>; <span class="hljs-comment">// Kalibrasi sesuai kebutuhan</span><br />
  443. Serial.<span class="hljs-built_in">print</span>(<span class="hljs-string">&#8220;Ketebalan Lemak: &#8220;</span>);<br />
  444. Serial.<span class="hljs-built_in">print</span>(fatThickness);<br />
  445. Serial.<span class="hljs-built_in">println</span>(<span class="hljs-string">&#8221; mm&#8221;</span>);<br />
  446. } <span class="hljs-keyword">else</span> {<br />
  447. Serial.<span class="hljs-built_in">println</span>(<span class="hljs-string">&#8220;Menunggu sensor&#8230;&#8221;</span>);<br />
  448. }<br />
  449. <span class="hljs-built_in">delay</span>(<span class="hljs-number">1000</span>);<br />
  450. }</p>
  451. </div>
  452. </div>
  453. <hr class="" data-start="2174" data-end="2177" />
  454. <h3 class="" data-start="2179" data-end="2228"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="2185" data-end="2228">5. Membangun Aplikasi Mobile (Opsional)</strong></h3>
  455. <p class="" data-start="2229" data-end="2269">Jika ingin memantau hasil di smartphone:</p>
  456. <ol data-start="2270" data-end="2399">
  457. <li class="" data-start="2270" data-end="2331">
  458. <p class="" data-start="2273" data-end="2331">Gunakan <strong data-start="2281" data-end="2290">ESP32</strong> untuk mengirim data via <strong data-start="2315" data-end="2328">Bluetooth</strong>.</p>
  459. </li>
  460. <li class="" data-start="2332" data-end="2399">
  461. <p class="" data-start="2335" data-end="2399">Bangun aplikasi menggunakan <strong data-start="2363" data-end="2374">Flutter</strong> atau <strong data-start="2380" data-end="2396">React Native</strong>.</p>
  462. </li>
  463. </ol>
  464. <p class="" data-start="2401" data-end="2429"><strong data-start="2401" data-end="2428">Contoh data format JSON</strong>:</p>
  465. <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
  466. <div class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]">json</div>
  467. <div class="sticky top-9">
  468. <div class="absolute bottom-0 right-0 flex h-9 items-center pr-2">
  469. <div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary"><span class="" data-state="closed"><button class="flex gap-1 items-center select-none px-4 py-1" aria-label="Salin">Salin</button></span><span class="" data-state="closed"><button class="flex select-none items-center gap-1 px-4 py-1">Edit</button></span></div>
  470. </div>
  471. </div>
  472. <div class="overflow-y-auto p-4" dir="ltr"><code class="!whitespace-pre language-json"><span class="hljs-punctuation">{</span><br />
  473. <span class="hljs-attr">"user"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"John Doe"</span><span class="hljs-punctuation">,</span><br />
  474. <span class="hljs-attr">"fat_thickness"</span><span class="hljs-punctuation">:</span> <span class="hljs-number">12.5</span><span class="hljs-punctuation">,</span><br />
  475. <span class="hljs-attr">"unit"</span><span class="hljs-punctuation">:</span> <span class="hljs-string">"mm"</span><br />
  476. <span class="hljs-punctuation">}</span><br />
  477. </code></div>
  478. </div>
  479. <hr class="" data-start="2509" data-end="2512" />
  480. <h3 class="" data-start="2514" data-end="2564"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="2520" data-end="2564">6. Fitur Tambahan yang Bisa Dikembangkan</strong></h3>
  481. <ul data-start="2565" data-end="2829">
  482. <li class="" data-start="2565" data-end="2617">
  483. <p class="" data-start="2567" data-end="2617"><strong data-start="2567" data-end="2587">Penyimpanan Data</strong>: Simpan riwayat pengukuran.</p>
  484. </li>
  485. <li class="" data-start="2618" data-end="2678">
  486. <p class="" data-start="2620" data-end="2678"><strong data-start="2620" data-end="2643">Grafik Perkembangan</strong>: Tampilkan tren ketebalan lemak.</p>
  487. </li>
  488. <li class="" data-start="2679" data-end="2759">
  489. <p class="" data-start="2681" data-end="2759"><strong data-start="2681" data-end="2701">Kalibrasi Akurat</strong>: Gunakan beberapa pengujian untuk meningkatkan akurasi.</p>
  490. </li>
  491. <li class="" data-start="2760" data-end="2829">
  492. <p class="" data-start="2762" data-end="2829"><strong data-start="2762" data-end="2781">Integrasi Cloud</strong>: Simpan hasil di Firebase atau Google Sheets.</p>
  493. </li>
  494. </ul>
  495. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-aplikasi-menggunakan-sensor-ketebalan-lemak/">Membuat Aplikasi Menggunakan Sensor Ketebalan Lemak</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  496. ]]></content:encoded>
  497. </item>
  498. <item>
  499. <title>Membuat Pendataan Sampel Darah Menggunakan Arduino</title>
  500. <link>https://bktaruna.uma.ac.id/membuat-pendataan-sampel-darah-menggunakan-arduino/</link>
  501. <dc:creator><![CDATA[M. Khairul Ashari]]></dc:creator>
  502. <pubDate>Thu, 20 Mar 2025 17:15:28 +0000</pubDate>
  503. <category><![CDATA[artikel]]></category>
  504. <guid isPermaLink="false">https://bktaruna.uma.ac.id/?p=15195</guid>
  505.  
  506. <description><![CDATA[<p>Pendataan sampel darah menggunakan Arduino dapat dilakukan dengan menghubungkan sensor yang sesuai, seperti sensor warna (TCS3200) untuk analisis warna darah atau sensor optik untuk mendeteksi kadar oksigen (SpO2). Data yang dikumpulkan bisa ditampilkan di LCD, dikirim ke komputer, atau disimpan &#8230; </p>
  507. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-pendataan-sampel-darah-menggunakan-arduino/">Membuat Pendataan Sampel Darah Menggunakan Arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  508. ]]></description>
  509. <content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-15196" src="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pendataan-Sampel-Darah-Menggunakan-Arduino-scaled.webp" alt="" width="2560" height="1440" srcset="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pendataan-Sampel-Darah-Menggunakan-Arduino-scaled.webp 2560w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pendataan-Sampel-Darah-Menggunakan-Arduino-768x432.webp 768w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pendataan-Sampel-Darah-Menggunakan-Arduino-1536x864.webp 1536w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pendataan-Sampel-Darah-Menggunakan-Arduino-2048x1152.webp 2048w" sizes="(max-width: 2560px) 100vw, 2560px" /></p>
  510. <p data-start="0" data-end="318"><a href="http://uma.ac.id">Pendataan sampel darah menggunakan <strong data-start="35" data-end="46">Arduino</strong></a> dapat dilakukan dengan menghubungkan sensor yang sesuai, seperti sensor warna (TCS3200) untuk analisis warna darah atau sensor optik untuk mendeteksi kadar oksigen (SpO2). Data yang dikumpulkan bisa ditampilkan di LCD, dikirim ke komputer, atau disimpan dalam kartu SD.</p>
  511. <h3 data-start="320" data-end="353"><strong data-start="324" data-end="353">Komponen yang Dibutuhkan untuk <a href="https://bktaruna.uma.ac.id">Membuat Pendataan Sampel Darah Menggunakan Arduino</a>:</strong></h3>
  512. <ol data-start="354" data-end="937">
  513. <li data-start="354" data-end="411"><strong data-start="357" data-end="377">Arduino Uno/Nano</strong> – Sebagai mikrokontroler utama.</li>
  514. <li data-start="412" data-end="533"><strong data-start="415" data-end="439">Sensor Warna TCS3200</strong> – Untuk mendeteksi warna darah (misalnya, membedakan sampel darah normal dan tidak normal).</li>
  515. <li data-start="534" data-end="622"><strong data-start="537" data-end="576">Pulse Oximeter (MAX30100/ MAX30102)</strong> – Untuk mengukur kadar oksigen dalam darah.</li>
  516. <li data-start="623" data-end="685"><strong data-start="626" data-end="652">LCD I2C 16&#215;2 atau OLED</strong> – Menampilkan hasil pembacaan.</li>
  517. <li data-start="686" data-end="752"><strong data-start="689" data-end="713">Micro SD Card Module</strong> – Untuk menyimpan data sampel darah.</li>
  518. <li data-start="753" data-end="859"><strong data-start="756" data-end="797">Bluetooth/WiFi Module (ESP8266/HC-05)</strong> – Jika ingin mengirim data ke aplikasi Android atau server.</li>
  519. <li data-start="860" data-end="937"><strong data-start="863" data-end="879">Buzzer &amp; LED</strong> – Indikator visual atau suara jika sampel tidak sesuai.</li>
  520. </ol>
  521. <hr data-start="939" data-end="942" />
  522. <h3 data-start="944" data-end="970"><strong data-start="948" data-end="970">Langkah Pembuatan:</strong></h3>
  523. <ol data-start="971" data-end="1552">
  524. <li data-start="971" data-end="1177">
  525. <p data-start="974" data-end="1002"><strong data-start="974" data-end="1000">Rangkai Semua Komponen</strong></p>
  526. <ul data-start="1006" data-end="1177">
  527. <li data-start="1006" data-end="1052">Hubungkan sensor warna TCS3200 ke Arduino.</li>
  528. <li data-start="1056" data-end="1138">Jika menggunakan MAX30100, hubungkan pin <strong data-start="1099" data-end="1106">SCL</strong> dan <strong data-start="1111" data-end="1118">SDA</strong> ke Arduino (I2C).</li>
  529. <li data-start="1142" data-end="1177">Pasang LCD/OLED untuk tampilan.</li>
  530. </ul>
  531. </li>
  532. <li data-start="1179" data-end="1373">
  533. <p data-start="1182" data-end="1208"><strong data-start="1182" data-end="1206">Buat Program Arduino</strong></p>
  534. <ul data-start="1212" data-end="1373">
  535. <li data-start="1212" data-end="1258">Baca data dari sensor warna atau MAX30100.</li>
  536. <li data-start="1262" data-end="1294">Tampilkan hasil ke LCD/OLED.</li>
  537. <li data-start="1298" data-end="1373">Simpan data ke SD Card atau kirim ke komputer melalui Serial/Bluetooth.</li>
  538. </ul>
  539. </li>
  540. <li data-start="1375" data-end="1552">
  541. <p data-start="1378" data-end="1397"><strong data-start="1378" data-end="1395">Analisis Data</strong></p>
  542. <ul data-start="1401" data-end="1552">
  543. <li data-start="1401" data-end="1463">Tentukan batas nilai sampel darah normal dan tidak normal.</li>
  544. <li data-start="1467" data-end="1552">Tambahkan algoritma pemrosesan untuk membandingkan data dengan standar kesehatan.</li>
  545. </ul>
  546. </li>
  547. </ol>
  548. <hr data-start="1554" data-end="1557" />
  549. <h3 data-start="1559" data-end="1614"><strong data-start="1563" data-end="1614">Contoh Kode Arduino (Baca Sensor Warna TCS3200)</strong></h3>
  550. <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
  551. <div class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]">cpp</div>
  552. <div class="sticky top-9">
  553. <div class="absolute bottom-0 right-0 flex h-9 items-center pr-2">
  554. <div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary"><span class="" data-state="closed"><button class="flex gap-1 items-center select-none px-4 py-1" aria-label="Salin">Salin</button></span><span class="" data-state="closed"><button class="flex select-none items-center gap-1 px-4 py-1">Edit</button></span></div>
  555. </div>
  556. </div>
  557. <div class="overflow-y-auto p-4" dir="ltr"><code class="!whitespace-pre language-cpp"><span class="hljs-meta">#<span class="hljs-keyword">include</span></span> <span class="hljs-string">&lt;Wire.h&gt;</span><br />
  558. <span class="hljs-meta">#<span class="hljs-keyword">include</span></span> <span class="hljs-string">&lt;LiquidCrystal_I2C.h&gt;</span></p>
  559. <p><span class="hljs-function">LiquidCrystal_I2C <span class="hljs-title">lcd</span></span><span class="hljs-params">(<span class="hljs-number">0x27</span></span>, <span class="hljs-number">16</span>, <span class="hljs-number">2</span>);</p>
  560. <p><span class="hljs-type">const</span> <span class="hljs-type">int</span> s2 = <span class="hljs-number">4</span>;<br />
  561. <span class="hljs-type">const</span> <span class="hljs-type">int</span> s3 = <span class="hljs-number">5</span>;<br />
  562. <span class="hljs-type">const</span> <span class="hljs-type">int</span> sensorOut = <span class="hljs-number">6</span>;</p>
  563. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">setup</span><span class="hljs-params">()</span> {<br />
  564.    <span class="hljs-built_in">pinMode</span>(s2, OUTPUT);<br />
  565.    <span class="hljs-built_in">pinMode</span>(s3, OUTPUT);<br />
  566.    <span class="hljs-built_in">pinMode</span>(sensorOut, INPUT);<br />
  567.    Serial.<span class="hljs-built_in">begin</span>(<span class="hljs-number">9600</span>);<br />
  568.    lcd.<span class="hljs-built_in">begin</span>();<br />
  569.    lcd.<span class="hljs-built_in">backlight</span>();<br />
  570. }</p>
  571. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">loop</span><span class="hljs-params">()</span> {<br />
  572.    <span class="hljs-built_in">digitalWrite</span>(s2, LOW);<br />
  573.    <span class="hljs-built_in">digitalWrite</span>(s3, LOW);<br />
  574.    <span class="hljs-type">int</span> red = <span class="hljs-built_in">pulseIn</span>(sensorOut, LOW);</p>
  575. <p>    <span class="hljs-built_in">digitalWrite</span>(s3, HIGH);<br />
  576.    <span class="hljs-type">int</span> blue = <span class="hljs-built_in">pulseIn</span>(sensorOut, LOW);</p>
  577. <p>    <span class="hljs-built_in">digitalWrite</span>(s2, HIGH);<br />
  578.    <span class="hljs-type">int</span> green = <span class="hljs-built_in">pulseIn</span>(sensorOut, LOW);</p>
  579. <p>    Serial.<span class="hljs-built_in">print</span>(<span class="hljs-string">"R: "</span>); Serial.<span class="hljs-built_in">print</span>(red);<br />
  580.    Serial.<span class="hljs-built_in">print</span>(<span class="hljs-string">" G: "</span>); Serial.<span class="hljs-built_in">print</span>(green);<br />
  581.    Serial.<span class="hljs-built_in">print</span>(<span class="hljs-string">" B: "</span>); Serial.<span class="hljs-built_in">println</span>(blue);</p>
  582. <p>    lcd.<span class="hljs-built_in">clear</span>();<br />
  583.    lcd.<span class="hljs-built_in">setCursor</span>(<span class="hljs-number">0</span>, <span class="hljs-number">0</span>);<br />
  584.    lcd.<span class="hljs-built_in">print</span>(<span class="hljs-string">"R: "</span>); lcd.<span class="hljs-built_in">print</span>(red);<br />
  585.    lcd.<span class="hljs-built_in">setCursor</span>(<span class="hljs-number">0</span>, <span class="hljs-number">1</span>);<br />
  586.    lcd.<span class="hljs-built_in">print</span>(<span class="hljs-string">"G: "</span>); lcd.<span class="hljs-built_in">print</span>(green);<br />
  587.    lcd.<span class="hljs-built_in">print</span>(<span class="hljs-string">" B: "</span>); lcd.<span class="hljs-built_in">print</span>(blue);</p>
  588. <p>    <span class="hljs-built_in">delay</span>(<span class="hljs-number">1000</span>);<br />
  589. }<br />
  590. </code></div>
  591. </div>
  592. <p data-start="2532" data-end="2637">Kode ini membaca data warna dari sensor TCS3200 dan menampilkannya di <strong data-start="2602" data-end="2620">Serial Monitor</strong> serta <strong data-start="2627" data-end="2634">LCD</strong>.</p>
  593. <hr data-start="2639" data-end="2642" />
  594. <h3 data-start="2644" data-end="2677"><strong data-start="2648" data-end="2677">Pengembangan Lebih Lanjut</strong></h3>
  595. <ul data-start="2678" data-end="2926">
  596. <li data-start="2678" data-end="2757"><strong data-start="2680" data-end="2710">Integrasi dengan Database:</strong> Kirim data ke server melalui WiFi (ESP8266).</li>
  597. <li data-start="2758" data-end="2838"><strong data-start="2760" data-end="2781">Aplikasi Android:</strong> Buat aplikasi untuk membaca data dari Bluetooth HC-05.</li>
  598. <li data-start="2839" data-end="2926"><strong data-start="2841" data-end="2862">Machine Learning:</strong> Gunakan AI untuk analisis lebih lanjut terhadap sampel darah.</li>
  599. </ul>
  600. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-pendataan-sampel-darah-menggunakan-arduino/">Membuat Pendataan Sampel Darah Menggunakan Arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  601. ]]></content:encoded>
  602. </item>
  603. <item>
  604. <title>Membuat Pengaduk Tela2 Ubi menggunakan Arduino</title>
  605. <link>https://bktaruna.uma.ac.id/membuat-pengaduk-tela-tela-ubi-menggunakan-arduino/</link>
  606. <dc:creator><![CDATA[M. Khairul Ashari]]></dc:creator>
  607. <pubDate>Thu, 20 Mar 2025 15:47:09 +0000</pubDate>
  608. <category><![CDATA[artikel]]></category>
  609. <guid isPermaLink="false">https://bktaruna.uma.ac.id/?p=15192</guid>
  610.  
  611. <description><![CDATA[<p>Membuat pengaduk tela-tela ubi menggunakan Arduino bisa dilakukan dengan mengontrol motor listrik atau servo untuk mengaduk ubi secara otomatis. Berikut langkah-langkah untuk Membuat pengaduk tela-tela ubi menggunakan Arduino: 1. Komponen yang Dibutuhkan Arduino Uno (atau board Arduino lainnya) Motor DC &#8230; </p>
  612. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-pengaduk-tela-tela-ubi-menggunakan-arduino/">Membuat Pengaduk Tela2 Ubi menggunakan Arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  613. ]]></description>
  614. <content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-15193" src="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengaduk-Tela2-Ubi-menggunakan-Arduino-scaled.webp" alt="" width="2560" height="1440" srcset="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengaduk-Tela2-Ubi-menggunakan-Arduino-scaled.webp 2560w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengaduk-Tela2-Ubi-menggunakan-Arduino-768x432.webp 768w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengaduk-Tela2-Ubi-menggunakan-Arduino-1536x864.webp 1536w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengaduk-Tela2-Ubi-menggunakan-Arduino-2048x1152.webp 2048w" sizes="(max-width: 2560px) 100vw, 2560px" /></p>
  615. <p data-start="0" data-end="176"><a href="http://uma.ac.id">Membuat pengaduk tela-tela ubi menggunakan <strong data-start="43" data-end="54">Arduino</strong></a> bisa dilakukan dengan mengontrol motor listrik atau servo untuk mengaduk ubi secara otomatis. Berikut langkah-langkah untuk <a href="https://bktaruna.uma.ac.id">Membuat pengaduk tela-tela ubi menggunakan <strong data-start="43" data-end="54">Arduino</strong></a>:</p>
  616. <h3 data-start="178" data-end="213"><strong data-start="182" data-end="213">1. Komponen yang Dibutuhkan</strong></h3>
  617. <ul data-start="214" data-end="506">
  618. <li data-start="214" data-end="260"><strong data-start="216" data-end="231">Arduino Uno</strong> (atau board Arduino lainnya)</li>
  619. <li data-start="261" data-end="337"><strong data-start="263" data-end="316">Motor DC + Driver Motor (L298N atau Relay Module)</strong> atau <strong data-start="322" data-end="337">Servo Motor</strong></li>
  620. <li data-start="338" data-end="391"><strong data-start="340" data-end="391">Sensor Ultrasonik (opsional, untuk otomatisasi)</strong></li>
  621. <li data-start="392" data-end="444"><strong data-start="394" data-end="444">Power Supply (Baterai 12V atau Adaptor 5V/12V)</strong></li>
  622. <li data-start="445" data-end="506"><strong data-start="447" data-end="464">Bahan mekanik</strong> (wajan, pengaduk, rangka besi/kayu, dll.)</li>
  623. </ul>
  624. <h3 data-start="508" data-end="531"><strong data-start="512" data-end="531">2. Konsep Kerja</strong></h3>
  625. <ul data-start="532" data-end="739">
  626. <li data-start="532" data-end="585">Motor DC digunakan untuk menggerakkan pengaduk ubi.</li>
  627. <li data-start="586" data-end="642">Kecepatan bisa dikontrol menggunakan PWM dari Arduino.</li>
  628. <li data-start="643" data-end="739">Sensor ultrasonik atau push button bisa digunakan untuk mengaktifkan/mematikan mesin otomatis.</li>
  629. </ul>
  630. <hr data-start="741" data-end="744" />
  631. <h3 data-start="746" data-end="777"><strong data-start="750" data-end="777">3. Rangkaian Elektronik</strong></h3>
  632. <p data-start="778" data-end="823"><strong data-start="778" data-end="823">Jika menggunakan Motor DC + Driver L298N:</strong></p>
  633. <ol data-start="824" data-end="1064">
  634. <li data-start="824" data-end="872"><strong data-start="827" data-end="839">Motor DC</strong> dihubungkan ke output <strong data-start="862" data-end="871">L298N</strong>.</li>
  635. <li data-start="873" data-end="954"><strong data-start="876" data-end="891">Input L298N</strong> dihubungkan ke pin digital Arduino (misalnya <strong data-start="937" data-end="952">pin 5 dan 6</strong>).</li>
  636. <li data-start="955" data-end="1001"><strong data-start="958" data-end="973">PWM Arduino</strong> mengontrol kecepatan motor.</li>
  637. <li data-start="1002" data-end="1064"><strong data-start="1005" data-end="1020">Power motor</strong> dihubungkan ke sumber daya (misal <strong data-start="1055" data-end="1062">12V</strong>).</li>
  638. </ol>
  639. <p data-start="1066" data-end="1099"><strong data-start="1066" data-end="1099">Jika menggunakan Servo Motor:</strong></p>
  640. <ol data-start="1100" data-end="1259">
  641. <li data-start="1100" data-end="1178"><strong data-start="1103" data-end="1125">Kabel sinyal Servo</strong> dihubungkan ke <strong data-start="1141" data-end="1177">pin PWM Arduino (misalnya pin 9)</strong>.</li>
  642. <li data-start="1179" data-end="1259"><strong data-start="1182" data-end="1197">Power Servo</strong> dihubungkan ke <strong data-start="1213" data-end="1227">5V Arduino</strong> atau <strong data-start="1233" data-end="1258">sumber daya eksternal</strong>.</li>
  643. </ol>
  644. <hr data-start="1261" data-end="1264" />
  645. <h3 data-start="1266" data-end="1297"><strong data-start="1270" data-end="1297">4. Kode Program Arduino</strong></h3>
  646. <h4 data-start="1298" data-end="1342"><strong data-start="1303" data-end="1342">Menggunakan Motor DC + Driver L298N</strong></h4>
  647. <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
  648. <div class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]">cpp</div>
  649. <div class="sticky top-9">
  650. <div class="absolute bottom-0 right-0 flex h-9 items-center pr-2">
  651. <div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary"><span class="" data-state="closed"><button class="flex gap-1 items-center select-none px-4 py-1" aria-label="Salin">Salin</button></span><span class="" data-state="closed"><button class="flex select-none items-center gap-1 px-4 py-1">Edit</button></span></div>
  652. </div>
  653. </div>
  654. <div class="overflow-y-auto p-4" dir="ltr"><code class="!whitespace-pre language-cpp"><span class="hljs-meta">#<span class="hljs-keyword">define</span></span> ENA 9    <span class="hljs-comment">// PWM speed control</span><br />
  655. <span class="hljs-meta">#<span class="hljs-keyword">define</span></span> IN1 5    <span class="hljs-comment">// Motor direction</span><br />
  656. <span class="hljs-meta">#<span class="hljs-keyword">define</span></span> IN2 6    </p>
  657. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">setup</span><span class="hljs-params">()</span> {<br />
  658.  <span class="hljs-built_in">pinMode</span>(ENA, OUTPUT);<br />
  659.  <span class="hljs-built_in">pinMode</span>(IN1, OUTPUT);<br />
  660.  <span class="hljs-built_in">pinMode</span>(IN2, OUTPUT);<br />
  661. }</p>
  662. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">loop</span><span class="hljs-params">()</span> {<br />
  663.  <span class="hljs-built_in">digitalWrite</span>(IN1, HIGH);<br />
  664.  <span class="hljs-built_in">digitalWrite</span>(IN2, LOW);<br />
  665.  <span class="hljs-built_in">analogWrite</span>(ENA, <span class="hljs-number">150</span>);  <span class="hljs-comment">// Atur kecepatan motor (0-255)</span><br />
  666.  <span class="hljs-built_in">delay</span>(<span class="hljs-number">5000</span>);  <span class="hljs-comment">// Berjalan selama 5 detik</span></p>
  667. <p>  <span class="hljs-built_in">digitalWrite</span>(IN1, LOW);<br />
  668.  <span class="hljs-built_in">digitalWrite</span>(IN2, LOW); <span class="hljs-comment">// Motor mati</span><br />
  669.  <span class="hljs-built_in">delay</span>(<span class="hljs-number">2000</span>); <span class="hljs-comment">// Tunggu sebelum mengaduk lagi</span><br />
  670. }<br />
  671. </code></div>
  672. </div>
  673. <h4 data-start="1822" data-end="1854"><strong data-start="1827" data-end="1854">Menggunakan Servo Motor</strong></h4>
  674. <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
  675. <div class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]">cpp</div>
  676. <div class="sticky top-9">
  677. <div class="absolute bottom-0 right-0 flex h-9 items-center pr-2">
  678. <div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary"><span class="" data-state="closed"><button class="flex gap-1 items-center select-none px-4 py-1" aria-label="Salin">Salin</button></span><span class="" data-state="closed"><button class="flex select-none items-center gap-1 px-4 py-1">Edit</button></span></div>
  679. </div>
  680. </div>
  681. <div class="overflow-y-auto p-4" dir="ltr"><code class="!whitespace-pre language-cpp"><span class="hljs-meta">#<span class="hljs-keyword">include</span></span> <span class="hljs-string">&lt;Servo.h&gt;</span><br />
  682. Servo pengaduk;</p>
  683. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">setup</span><span class="hljs-params">()</span> {<br />
  684.  pengaduk.<span class="hljs-built_in">attach</span>(<span class="hljs-number">9</span>);  <span class="hljs-comment">// Pin servo</span><br />
  685. }</p>
  686. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">loop</span><span class="hljs-params">()</span> {<br />
  687.  pengaduk.<span class="hljs-built_in">write</span>(<span class="hljs-number">90</span>); <span class="hljs-comment">// Putar ke satu arah</span><br />
  688.  <span class="hljs-built_in">delay</span>(<span class="hljs-number">2000</span>);<br />
  689.  pengaduk.<span class="hljs-built_in">write</span>(<span class="hljs-number">0</span>);  <span class="hljs-comment">// Putar ke arah lain</span><br />
  690.  <span class="hljs-built_in">delay</span>(<span class="hljs-number">2000</span>);<br />
  691. }<br />
  692. </code></div>
  693. </div>
  694. <hr data-start="2091" data-end="2094" />
  695. <h3 data-start="2096" data-end="2124"><strong data-start="2100" data-end="2124">5. Pembuatan Mekanis</strong></h3>
  696. <ul data-start="2125" data-end="2399">
  697. <li data-start="2125" data-end="2208">Gunakan <strong data-start="2135" data-end="2158">gearbox atau pulley</strong> untuk memperbesar torsi motor agar kuat mengaduk.</li>
  698. <li data-start="2209" data-end="2276">Pastikan rangka cukup kokoh agar tidak goyah saat motor berputar.</li>
  699. <li data-start="2277" data-end="2399">Bisa menggunakan <strong data-start="2296" data-end="2337">wadah berbentuk drum atau wajan besar</strong> yang diputar untuk membantu proses pencampuran tela-tela ubi.</li>
  700. </ul>
  701. <hr data-start="2401" data-end="2404" />
  702. <h3 data-start="2406" data-end="2442"><strong data-start="2410" data-end="2442">6. Pengembangan Lebih Lanjut</strong></h3>
  703. <ul data-start="2443" data-end="2774">
  704. <li data-start="2443" data-end="2572"><strong data-start="2445" data-end="2464">Sensor otomatis</strong>: Gunakan sensor ultrasonik atau limit switch untuk mendeteksi jumlah ubi dan menyesuaikan waktu pengadukan.</li>
  705. <li data-start="2573" data-end="2686"><strong data-start="2575" data-end="2595">Pemanas otomatis</strong>: Bisa dikombinasikan dengan pemanas listrik atau gas agar ubi matang sempurna saat diaduk.</li>
  706. <li data-start="2687" data-end="2774"><strong data-start="2689" data-end="2710">Kontrol Kecepatan</strong>: Tambahkan potensiometer agar kecepatan motor bisa disesuaikan.</li>
  707. </ul>
  708. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-pengaduk-tela-tela-ubi-menggunakan-arduino/">Membuat Pengaduk Tela2 Ubi menggunakan Arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  709. ]]></content:encoded>
  710. </item>
  711. <item>
  712. <title>Membuat Pengecasan handphone menggunakan WIFI</title>
  713. <link>https://bktaruna.uma.ac.id/membuat-pengecasan-handphone-menggunakan-wifi/</link>
  714. <dc:creator><![CDATA[M. Khairul Ashari]]></dc:creator>
  715. <pubDate>Wed, 19 Mar 2025 04:56:01 +0000</pubDate>
  716. <category><![CDATA[artikel]]></category>
  717. <guid isPermaLink="false">https://bktaruna.uma.ac.id/?p=15189</guid>
  718.  
  719. <description><![CDATA[<p>Membuat pengisian daya baterai handphone melalui Wi-Fi secara langsung saat ini belum memungkinkan dengan teknologi yang ada. Pengisian daya melalui Wi-Fi secara nirkabel merupakan konsep yang menarik, tetapi masih dalam tahap penelitian dan pengembangan. Namun, ada teknologi yang mendekati konsep &#8230; </p>
  720. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-pengecasan-handphone-menggunakan-wifi/">Membuat Pengecasan handphone menggunakan WIFI</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  721. ]]></description>
  722. <content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-15190" src="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengecasan-handphone-menggunakan-WIFI-scaled.webp" alt="" width="2560" height="1440" srcset="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengecasan-handphone-menggunakan-WIFI-scaled.webp 2560w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengecasan-handphone-menggunakan-WIFI-768x432.webp 768w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengecasan-handphone-menggunakan-WIFI-1536x864.webp 1536w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengecasan-handphone-menggunakan-WIFI-2048x1152.webp 2048w" sizes="(max-width: 2560px) 100vw, 2560px" /></p>
  723. <p data-start="0" data-end="256"><a href="http://uma.ac.id">Membuat pengisian daya baterai handphone melalui Wi-Fi</a> secara langsung saat ini belum memungkinkan dengan teknologi yang ada. Pengisian daya melalui Wi-Fi secara nirkabel merupakan konsep yang menarik, tetapi masih dalam tahap penelitian dan pengembangan.</p>
  724. <p data-start="258" data-end="524">Namun, ada teknologi yang mendekati konsep tersebut, yaitu <strong data-start="317" data-end="364">pengisian daya nirkabel (wireless charging)</strong> yang menggunakan standar seperti <strong data-start="398" data-end="413">Qi charging</strong>. Teknologi ini menggunakan induksi elektromagnetik untuk mentransfer energi secara nirkabel pada jarak dekat.</p>
  725. <h3 data-start="526" data-end="571">Apakah Mungkin Mengisi Daya dengan Wi-Fi?</h3>
  726. <p data-start="572" data-end="943">Secara teoritis, <a href="http://bktauna.uma.ac.id">Wi-Fi memancarkan gelombang radio</a> yang membawa energi, tetapi daya yang dipancarkan terlalu kecil untuk mengisi daya perangkat seperti handphone dengan efisien. Teknologi yang mampu memanfaatkan gelombang radio untuk mengisi daya perangkat disebut <strong data-start="837" data-end="861">RF Energy Harvesting</strong>, tetapi ini masih memiliki keterbatasan besar dalam hal jarak dan efisiensi daya.</p>
  727. <h3 data-start="945" data-end="984">Teknologi yang Sedang Dikembangkan:</h3>
  728. <ol data-start="985" data-end="1550">
  729. <li data-start="985" data-end="1161"><strong data-start="988" data-end="1018">Wireless Power Over Wi-Fi:</strong> Peneliti telah mengembangkan perangkat prototipe yang dapat memanen energi dari sinyal Wi-Fi, tetapi daya yang dihasilkan masih sangat rendah.</li>
  730. <li data-start="1162" data-end="1386"><strong data-start="1165" data-end="1190">RF Energy Harvesting:</strong> Teknologi ini menggunakan antena untuk menangkap energi dari frekuensi radio, termasuk Wi-Fi. Namun, daya yang dikumpulkan biasanya hanya cukup untuk perangkat berdaya rendah, seperti sensor IoT.</li>
  731. <li data-start="1387" data-end="1550"><strong data-start="1390" data-end="1415">Xiaomi Mi Air Charge:</strong> Xiaomi memperkenalkan teknologi pengisian daya jarak jauh dengan transmisi gelombang milimeter, tetapi masih dalam tahap pengembangan.</li>
  732. </ol>
  733. <h3 data-start="1552" data-end="1596">Solusi Pengisian Daya Wireless Saat Ini:</h3>
  734. <ul data-start="1597" data-end="1849">
  735. <li data-start="1597" data-end="1697"><strong data-start="1599" data-end="1624">Qi Wireless Charging:</strong> Standar umum untuk pengisian daya nirkabel pada banyak handphone modern.</li>
  736. <li data-start="1698" data-end="1766"><strong data-start="1700" data-end="1720">MagSafe (Apple):</strong> Teknologi pengisian daya magnetis dari Apple.</li>
  737. <li data-start="1767" data-end="1849"><strong data-start="1769" data-end="1786">Charging Pad:</strong> Alat pengisian daya nirkabel berbasis induksi elektromagnetik.</li>
  738. </ul>
  739. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-pengecasan-handphone-menggunakan-wifi/">Membuat Pengecasan handphone menggunakan WIFI</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  740. ]]></content:encoded>
  741. </item>
  742. <item>
  743. <title>Membuat Pengontrol Mouse Dengan Arduino</title>
  744. <link>https://bktaruna.uma.ac.id/membuat-pengontrol-mouse-dengan-arduino/</link>
  745. <dc:creator><![CDATA[M. Khairul Ashari]]></dc:creator>
  746. <pubDate>Tue, 18 Mar 2025 02:20:59 +0000</pubDate>
  747. <category><![CDATA[artikel]]></category>
  748. <guid isPermaLink="false">https://bktaruna.uma.ac.id/?p=15186</guid>
  749.  
  750. <description><![CDATA[<p>Untuk membuat pengontrol mouse dengan Arduino, kita dapat memanfaatkan library Mouse.h yang tersedia di Arduino IDE. Library ini memungkinkan Arduino untuk berfungsi sebagai perangkat HID (Human Interface Device) dan dapat mengontrol kursor mouse pada komputer. Berikut adalah langkah-langkah untuk membuat &#8230; </p>
  751. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-pengontrol-mouse-dengan-arduino/">Membuat Pengontrol Mouse Dengan Arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  752. ]]></description>
  753. <content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-15187" src="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengontrol-Mouse-Dengan-Arduino-scaled.webp" alt="" width="2560" height="1440" srcset="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengontrol-Mouse-Dengan-Arduino-scaled.webp 2560w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengontrol-Mouse-Dengan-Arduino-768x432.webp 768w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengontrol-Mouse-Dengan-Arduino-1536x864.webp 1536w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Pengontrol-Mouse-Dengan-Arduino-2048x1152.webp 2048w" sizes="(max-width: 2560px) 100vw, 2560px" /></p>
  754. <p data-start="0" data-end="265"><a href="http://uma.ac.id">Untuk membuat pengontrol mouse dengan Arduino</a>, kita dapat memanfaatkan library <strong data-start="79" data-end="90">Mouse.h</strong> yang tersedia di Arduino IDE. Library ini memungkinkan Arduino untuk berfungsi sebagai perangkat HID (Human Interface Device) dan dapat mengontrol kursor mouse pada komputer.</p>
  755. <p data-start="267" data-end="354">Berikut adalah langkah-langkah untuk <a href="https://bktaruna.uma.ac.id">membuat pengontrol mouse sederhana dengan Arduino</a>:</p>
  756. <hr data-start="356" data-end="359" />
  757. <h2 data-start="361" data-end="402"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f3af.png" alt="🎯" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="367" data-end="402">Alat dan Bahan yang Diperlukan:</strong></h2>
  758. <ol data-start="403" data-end="597">
  759. <li data-start="403" data-end="486">Arduino yang mendukung fungsi USB HID (Arduino Leonardo, Micro, atau Pro Micro).</li>
  760. <li data-start="487" data-end="523">Tombol push button atau joystick.</li>
  761. <li data-start="524" data-end="540">Kabel jumper.</li>
  762. <li data-start="541" data-end="555">Breadboard.</li>
  763. <li data-start="556" data-end="597">Komputer dengan Arduino IDE terinstal.</li>
  764. </ol>
  765. <hr data-start="599" data-end="602" />
  766. <h2 data-start="604" data-end="630"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f527.png" alt="🔧" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="610" data-end="630">Skema Rangkaian:</strong></h2>
  767. <ul data-start="631" data-end="842">
  768. <li data-start="631" data-end="692">Hubungkan push button atau joystick ke pin digital Arduino.</li>
  769. <li data-start="693" data-end="754">Hubungkan pin GND dari tombol atau joystick ke GND Arduino.</li>
  770. <li data-start="755" data-end="842">Hubungkan pin output tombol atau joystick ke pin digital (misal, pin 2, 3, 4, dan 5).</li>
  771. </ul>
  772. <p data-start="844" data-end="878">Contoh skema menggunakan joystick:</p>
  773. <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
  774. <div class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]">scss</div>
  775. <div class="sticky top-9">
  776. <div class="absolute bottom-0 right-0 flex h-9 items-center pr-2">
  777. <div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary"><span class="" data-state="closed"><button class="flex gap-1 items-center select-none px-4 py-1" aria-label="Salin">Salin</button></span><span class="" data-state="closed"><button class="flex select-none items-center gap-1 px-4 py-1">Edit</button></span></div>
  778. </div>
  779. </div>
  780. <div class="overflow-y-auto p-4" dir="ltr"><code class="!whitespace-pre">   Joystick Pin    -    Arduino Pin<br />
  781.   GND             -    GND<br />
  782.   VCC             -    <span class="hljs-number">5</span>V<br />
  783.   VRx             -    A0 (sumbu X)<br />
  784.   VRy             -    A1 (sumbu Y)<br />
  785.   SW (tombol)     -    Pin <span class="hljs-number">2</span><br />
  786. </code></div>
  787. </div>
  788. <hr data-start="1084" data-end="1087" />
  789. <h2 data-start="1089" data-end="1120"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4bb.png" alt="💻" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="1095" data-end="1120">Kode Program Arduino:</strong></h2>
  790. <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
  791. <div class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]">cpp</div>
  792. <div class="sticky top-9">
  793. <div class="absolute bottom-0 right-0 flex h-9 items-center pr-2">
  794. <div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary"><span class="" data-state="closed"><button class="flex gap-1 items-center select-none px-4 py-1" aria-label="Salin">Salin</button></span><span class="" data-state="closed"><button class="flex select-none items-center gap-1 px-4 py-1">Edit</button></span></div>
  795. </div>
  796. </div>
  797. <div class="overflow-y-auto p-4" dir="ltr"><code class="!whitespace-pre language-cpp"><span class="hljs-meta">#<span class="hljs-keyword">include</span></span> <span class="hljs-string">&lt;Mouse.h&gt;</span></p>
  798. <p><span class="hljs-type">int</span> xPin = A0;<br />
  799. <span class="hljs-type">int</span> yPin = A1;<br />
  800. <span class="hljs-type">int</span> buttonPin = <span class="hljs-number">2</span>;</p>
  801. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">setup</span><span class="hljs-params">()</span> {<br />
  802.  <span class="hljs-built_in">pinMode</span>(buttonPin, INPUT_PULLUP);<br />
  803.  Mouse.<span class="hljs-built_in">begin</span>();<br />
  804. }</p>
  805. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">loop</span><span class="hljs-params">()</span> {<br />
  806.  <span class="hljs-type">int</span> xValue = <span class="hljs-built_in">analogRead</span>(xPin) - <span class="hljs-number">512</span>;<br />
  807.  <span class="hljs-type">int</span> yValue = <span class="hljs-built_in">analogRead</span>(yPin) - <span class="hljs-number">512</span>;</p>
  808. <p>  xValue = <span class="hljs-built_in">map</span>(xValue, <span class="hljs-number">-512</span>, <span class="hljs-number">512</span>, <span class="hljs-number">-10</span>, <span class="hljs-number">10</span>);<br />
  809.  yValue = <span class="hljs-built_in">map</span>(yValue, <span class="hljs-number">-512</span>, <span class="hljs-number">512</span>, <span class="hljs-number">-10</span>, <span class="hljs-number">10</span>);</p>
  810. <p>  Mouse.<span class="hljs-built_in">move</span>(xValue, yValue);</p>
  811. <p>  <span class="hljs-keyword">if</span> (<span class="hljs-built_in">digitalRead</span>(buttonPin) == LOW) {<br />
  812.    Mouse.<span class="hljs-built_in">press</span>(MOUSE_LEFT);<br />
  813.  } <span class="hljs-keyword">else</span> {<br />
  814.    Mouse.<span class="hljs-built_in">release</span>(MOUSE_LEFT);<br />
  815.  }</p>
  816. <p>  <span class="hljs-built_in">delay</span>(<span class="hljs-number">10</span>);<br />
  817. }<br />
  818. </code></div>
  819. </div>
  820. <hr data-start="1616" data-end="1619" />
  821. <h2 data-start="1621" data-end="1650"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4dd.png" alt="📝" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="1627" data-end="1650">Penjelasan Program:</strong></h2>
  822. <ol data-start="1651" data-end="2022">
  823. <li data-start="1651" data-end="1725">Library <strong data-start="1662" data-end="1673">Mouse.h</strong> diinisialisasi agar Arduino dapat mengontrol mouse.</li>
  824. <li data-start="1726" data-end="1793">Pin analog A0 dan A1 membaca posisi sumbu X dan Y dari joystick.</li>
  825. <li data-start="1794" data-end="1864">Nilai analog dibaca dan diubah (map) menjadi rentang -10 hingga 10.</li>
  826. <li data-start="1865" data-end="1931">Fungsi <code data-start="1875" data-end="1904">Mouse.move(xValue, yValue);</code> menggerakkan kursor mouse.</li>
  827. <li data-start="1932" data-end="2022">Tombol joystick digunakan untuk klik kiri dengan <code data-start="1984" data-end="1999">Mouse.press()</code> dan <code data-start="2004" data-end="2021">Mouse.release()</code>.</li>
  828. </ol>
  829. <hr data-start="2024" data-end="2027" />
  830. <h2 data-start="2029" data-end="2060"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f527.png" alt="🔧" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="2035" data-end="2060">Upload dan Pengujian:</strong></h2>
  831. <ol data-start="2061" data-end="2224">
  832. <li data-start="2061" data-end="2141">Pilih board sesuai jenis Arduino (Leonardo, Micro, Pro Micro) di Arduino IDE.</li>
  833. <li data-start="2142" data-end="2172">Pilih port COM yang sesuai.</li>
  834. <li data-start="2173" data-end="2224">Upload program dan uji fungsi mouse di komputer.</li>
  835. </ol>
  836. <hr data-start="2226" data-end="2229" />
  837. <h2 data-start="2231" data-end="2267"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f525.png" alt="🔥" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="2237" data-end="2267">Pengembangan Lebih Lanjut:</strong></h2>
  838. <ul data-start="2268" data-end="2443">
  839. <li data-start="2268" data-end="2337">Menambah fungsi klik kanan atau klik tengah dengan tombol tambahan.</li>
  840. <li data-start="2338" data-end="2376">Mengatur sensitivitas gerakan mouse.</li>
  841. <li data-start="2377" data-end="2443">Implementasi kontrol dengan accelerometer atau sensor gyroscope.</li>
  842. </ul>
  843. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-pengontrol-mouse-dengan-arduino/">Membuat Pengontrol Mouse Dengan Arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  844. ]]></content:encoded>
  845. </item>
  846. <item>
  847. <title>Membuat Smart Farming dengan Arduino</title>
  848. <link>https://bktaruna.uma.ac.id/membuat-smart-farming-dengan-arduino/</link>
  849. <dc:creator><![CDATA[M. Khairul Ashari]]></dc:creator>
  850. <pubDate>Mon, 17 Mar 2025 02:08:21 +0000</pubDate>
  851. <category><![CDATA[artikel]]></category>
  852. <guid isPermaLink="false">https://bktaruna.uma.ac.id/?p=15183</guid>
  853.  
  854. <description><![CDATA[<p>Membuat Smart Farming dengan Arduino adalah proyek menarik yang bisa membantu meningkatkan efisiensi pertanian dengan memanfaatkan teknologi IoT (Internet of Things). Berikut adalah langkah-langkah untuk membuat Smart Farming sederhana dengan Arduino. 📦 1. Alat dan Bahan: Arduino Uno atau Arduino &#8230; </p>
  855. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-smart-farming-dengan-arduino/">Membuat Smart Farming dengan Arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  856. ]]></description>
  857. <content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-15184" src="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Smart-Farming-dengan-Arduino-scaled.webp" alt="" width="2560" height="1440" srcset="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Smart-Farming-dengan-Arduino-scaled.webp 2560w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Smart-Farming-dengan-Arduino-768x432.webp 768w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Smart-Farming-dengan-Arduino-1536x864.webp 1536w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Smart-Farming-dengan-Arduino-2048x1152.webp 2048w" sizes="(max-width: 2560px) 100vw, 2560px" /></p>
  858. <p data-start="0" data-end="251"><a href="http://uma.ac.id">Membuat Smart Farming dengan Arduino</a> adalah proyek menarik yang bisa membantu meningkatkan efisiensi pertanian dengan memanfaatkan teknologi IoT (Internet of Things). Berikut adalah langkah-langkah untuk <a href="https://bktaruna.uma.ac.id">membuat Smart Farming sederhana dengan Arduino</a>.</p>
  859. <hr data-start="253" data-end="256" />
  860. <h2 data-start="258" data-end="286"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4e6.png" alt="📦" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="264" data-end="286">1. Alat dan Bahan:</strong></h2>
  861. <ul data-start="287" data-end="690">
  862. <li data-start="287" data-end="318">Arduino Uno atau Arduino Nano</li>
  863. <li data-start="319" data-end="367">Sensor kelembaban tanah (Soil Moisture Sensor)</li>
  864. <li data-start="368" data-end="421">Sensor suhu dan kelembaban udara (DHT11 atau DHT22)</li>
  865. <li data-start="422" data-end="451">Pompa air mini DC dan relay</li>
  866. <li data-start="452" data-end="520">Modul WiFi (ESP8266 atau ESP32 jika tidak menggunakan Arduino Uno)</li>
  867. <li data-start="521" data-end="550">Breadboard dan kabel jumper</li>
  868. <li data-start="551" data-end="581">Power supply atau baterai 9V</li>
  869. <li data-start="582" data-end="620">LCD 16&#215;2 dengan modul I2C (opsional)</li>
  870. <li data-start="621" data-end="636">LED indikator</li>
  871. <li data-start="637" data-end="667">Resistor (220 ohm untuk LED)</li>
  872. <li data-start="668" data-end="690">Software Arduino IDE</li>
  873. </ul>
  874. <hr data-start="692" data-end="695" />
  875. <h2 data-start="697" data-end="726"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/2699.png" alt="⚙" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="703" data-end="726">2. Skema Rangkaian:</strong></h2>
  876. <ol data-start="727" data-end="1303">
  877. <li data-start="727" data-end="857">
  878. <p data-start="730" data-end="758"><strong data-start="730" data-end="758">Sensor Kelembaban Tanah:</strong></p>
  879. <ul data-start="762" data-end="857">
  880. <li data-start="762" data-end="785">Pin VCC ke 5V Arduino</li>
  881. <li data-start="789" data-end="813">Pin GND ke GND Arduino</li>
  882. <li data-start="817" data-end="857">Pin data (A0) ke pin analog A0 Arduino</li>
  883. </ul>
  884. </li>
  885. <li data-start="859" data-end="1002">
  886. <p data-start="862" data-end="907"><strong data-start="862" data-end="907">Sensor Suhu dan Kelembaban (DHT11/DHT22):</strong></p>
  887. <ul data-start="911" data-end="1002">
  888. <li data-start="911" data-end="934">Pin VCC ke 5V Arduino</li>
  889. <li data-start="938" data-end="962">Pin GND ke GND Arduino</li>
  890. <li data-start="966" data-end="1002">Pin data ke pin digital D2 Arduino</li>
  891. </ul>
  892. </li>
  893. <li data-start="1004" data-end="1181">
  894. <p data-start="1007" data-end="1031"><strong data-start="1007" data-end="1031">Pompa Air dan Relay:</strong></p>
  895. <ul data-start="1035" data-end="1181">
  896. <li data-start="1035" data-end="1060">VCC relay ke 5V Arduino</li>
  897. <li data-start="1064" data-end="1090">GND relay ke GND Arduino</li>
  898. <li data-start="1094" data-end="1136">Pin data relay ke pin digital D3 Arduino</li>
  899. <li data-start="1140" data-end="1181">Koneksi pompa air ke relay (NO dan COM)</li>
  900. </ul>
  901. </li>
  902. <li data-start="1183" data-end="1303">
  903. <p data-start="1186" data-end="1210"><strong data-start="1186" data-end="1210">LCD 16&#215;2 (jika ada):</strong></p>
  904. <ul data-start="1214" data-end="1303">
  905. <li data-start="1214" data-end="1233">VCC ke 5V Arduino</li>
  906. <li data-start="1237" data-end="1257">GND ke GND Arduino</li>
  907. <li data-start="1261" data-end="1303">SDA ke A4, SCL ke A5 (untuk Arduino Uno)</li>
  908. </ul>
  909. </li>
  910. </ol>
  911. <hr data-start="1305" data-end="1308" />
  912. <h2 data-start="1310" data-end="1339"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4bb.png" alt="💻" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="1316" data-end="1339">3. Program Arduino:</strong></h2>
  913. <p data-start="1340" data-end="1420">Berikut adalah contoh kode program sederhana untuk Smart Farming dengan Arduino:</p>
  914. <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
  915. <div class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]">cpp</div>
  916. <div class="sticky top-9">
  917. <div class="absolute bottom-0 right-0 flex h-9 items-center pr-2">
  918. <div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary"><span class="" data-state="closed"><button class="flex gap-1 items-center select-none px-4 py-1" aria-label="Salin">Salin</button></span><span class="" data-state="closed"><button class="flex select-none items-center gap-1 px-4 py-1">Edit</button></span></div>
  919. </div>
  920. </div>
  921. <div class="overflow-y-auto p-4" dir="ltr"><code class="!whitespace-pre language-cpp"><span class="hljs-meta">#<span class="hljs-keyword">include</span></span> <span class="hljs-string">&lt;DHT.h&gt;</span><br />
  922. <span class="hljs-meta">#<span class="hljs-keyword">include</span></span> <span class="hljs-string">&lt;LiquidCrystal_I2C.h&gt;</span></p>
  923. <p><span class="hljs-meta">#<span class="hljs-keyword">define</span></span> DHTPIN 2<br />
  924. <span class="hljs-meta">#<span class="hljs-keyword">define</span></span> DHTTYPE DHT11<br />
  925. <span class="hljs-meta">#<span class="hljs-keyword">define</span></span> SOIL_SENSOR A0<br />
  926. <span class="hljs-meta">#<span class="hljs-keyword">define</span></span> RELAY_PIN 3</p>
  927. <p><span class="hljs-function">DHT <span class="hljs-title">dht</span></span><span class="hljs-params">(DHTPIN, DHTTYPE)</span>;<br />
  928. <span class="hljs-function">LiquidCrystal_I2C <span class="hljs-title">lcd</span></span><span class="hljs-params">(<span class="hljs-number">0x27</span></span>, <span class="hljs-number">16</span>, <span class="hljs-number">2</span>);</p>
  929. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">setup</span><span class="hljs-params">()</span> {<br />
  930.  Serial.<span class="hljs-built_in">begin</span>(<span class="hljs-number">9600</span>);<br />
  931.  dht.<span class="hljs-built_in">begin</span>();<br />
  932.  <span class="hljs-built_in">pinMode</span>(SOIL_SENSOR, INPUT);<br />
  933.  <span class="hljs-built_in">pinMode</span>(RELAY_PIN, OUTPUT);<br />
  934.  lcd.<span class="hljs-built_in">begin</span>(<span class="hljs-number">16</span>, <span class="hljs-number">2</span>);<br />
  935.  lcd.<span class="hljs-built_in">print</span>(<span class="hljs-string">"Smart Farming"</span>);<br />
  936.  <span class="hljs-built_in">delay</span>(<span class="hljs-number">2000</span>);<br />
  937.  lcd.<span class="hljs-built_in">clear</span>();<br />
  938. }</p>
  939. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">loop</span><span class="hljs-params">()</span> {<br />
  940.  <span class="hljs-type">float</span> suhu = dht.<span class="hljs-built_in">readTemperature</span>();<br />
  941.  <span class="hljs-type">float</span> kelembaban = dht.<span class="hljs-built_in">readHumidity</span>();<br />
  942.  <span class="hljs-type">int</span> kelembabanTanah = <span class="hljs-built_in">analogRead</span>(SOIL_SENSOR);</p>
  943. <p>  <span class="hljs-comment">// Tampilkan di serial monitor</span><br />
  944.  Serial.<span class="hljs-built_in">print</span>(<span class="hljs-string">"Suhu: "</span>);<br />
  945.  Serial.<span class="hljs-built_in">print</span>(suhu);<br />
  946.  Serial.<span class="hljs-built_in">print</span>(<span class="hljs-string">" C, Kelembaban: "</span>);<br />
  947.  Serial.<span class="hljs-built_in">print</span>(kelembaban);<br />
  948.  Serial.<span class="hljs-built_in">print</span>(<span class="hljs-string">" %, Tanah: "</span>);<br />
  949.  Serial.<span class="hljs-built_in">println</span>(kelembabanTanah);</p>
  950. <p>  <span class="hljs-comment">// Tampilkan di LCD</span><br />
  951.  lcd.<span class="hljs-built_in">setCursor</span>(<span class="hljs-number">0</span>, <span class="hljs-number">0</span>);<br />
  952.  lcd.<span class="hljs-built_in">print</span>(<span class="hljs-string">"Temp: "</span>);<br />
  953.  lcd.<span class="hljs-built_in">print</span>(suhu);<br />
  954.  lcd.<span class="hljs-built_in">print</span>(<span class="hljs-string">" C"</span>);<br />
  955.  lcd.<span class="hljs-built_in">setCursor</span>(<span class="hljs-number">0</span>, <span class="hljs-number">1</span>);<br />
  956.  lcd.<span class="hljs-built_in">print</span>(<span class="hljs-string">"Moist: "</span>);<br />
  957.  lcd.<span class="hljs-built_in">print</span>(kelembabanTanah);</p>
  958. <p>  <span class="hljs-comment">// Kontrol pompa berdasarkan kelembaban tanah</span><br />
  959.  <span class="hljs-keyword">if</span> (kelembabanTanah &lt; <span class="hljs-number">400</span>) {<br />
  960.    <span class="hljs-built_in">digitalWrite</span>(RELAY_PIN, LOW);  <span class="hljs-comment">// Pompa menyala</span><br />
  961.    Serial.<span class="hljs-built_in">println</span>(<span class="hljs-string">"Pompa Aktif!"</span>);<br />
  962.    lcd.<span class="hljs-built_in">setCursor</span>(<span class="hljs-number">10</span>, <span class="hljs-number">1</span>);<br />
  963.    lcd.<span class="hljs-built_in">print</span>(<span class="hljs-string">"Pompa ON "</span>);<br />
  964.  } <span class="hljs-keyword">else</span> {<br />
  965.    <span class="hljs-built_in">digitalWrite</span>(RELAY_PIN, HIGH); <span class="hljs-comment">// Pompa mati</span><br />
  966.    Serial.<span class="hljs-built_in">println</span>(<span class="hljs-string">"Pompa Nonaktif"</span>);<br />
  967.    lcd.<span class="hljs-built_in">setCursor</span>(<span class="hljs-number">10</span>, <span class="hljs-number">1</span>);<br />
  968.    lcd.<span class="hljs-built_in">print</span>(<span class="hljs-string">"Pompa OFF"</span>);<br />
  969.  }</p>
  970. <p>  <span class="hljs-built_in">delay</span>(<span class="hljs-number">2000</span>); <span class="hljs-comment">// Delay 2 detik sebelum pembacaan berikutnya</span><br />
  971. }<br />
  972. </code></div>
  973. </div>
  974. <hr data-start="2805" data-end="2808" />
  975. <h2 data-start="2810" data-end="2835"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f527.png" alt="🔧" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="2816" data-end="2835">4. Penyesuaian:</strong></h2>
  976. <ul data-start="2836" data-end="3040">
  977. <li data-start="2836" data-end="2921">Ubah nilai threshold kelembaban tanah sesuai dengan kebutuhan tanaman yang ditanam.</li>
  978. <li data-start="2922" data-end="3040">Jika menggunakan WiFi (ESP8266/ESP32), data bisa dikirim ke server atau dashboard IoT seperti Blynk atau ThingSpeak.</li>
  979. </ul>
  980. <hr data-start="3042" data-end="3045" />
  981. <h2 data-start="3047" data-end="3086"><img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f4ca.png" alt="📊" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong data-start="3053" data-end="3086">5. Pengembangan Lebih Lanjut:</strong></h2>
  982. <ul data-start="3087" data-end="3306">
  983. <li data-start="3087" data-end="3166">Monitoring dan kontrol berbasis aplikasi Android menggunakan Blynk atau MQTT.</li>
  984. <li data-start="3167" data-end="3230">Integrasi dengan tenaga surya sebagai sumber daya alternatif.</li>
  985. <li data-start="3231" data-end="3306">Penambahan sensor tambahan seperti sensor cahaya (LDR) atau sensor hujan.</li>
  986. </ul>
  987. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-smart-farming-dengan-arduino/">Membuat Smart Farming dengan Arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  988. ]]></content:encoded>
  989. </item>
  990. <item>
  991. <title>Membuat Denah Lokasi Menggunakan Arduino</title>
  992. <link>https://bktaruna.uma.ac.id/membuat-denah-lokasi-menggunakan-arduino/</link>
  993. <dc:creator><![CDATA[M. Khairul Ashari]]></dc:creator>
  994. <pubDate>Fri, 14 Mar 2025 02:58:27 +0000</pubDate>
  995. <category><![CDATA[artikel]]></category>
  996. <guid isPermaLink="false">https://bktaruna.uma.ac.id/?p=15180</guid>
  997.  
  998. <description><![CDATA[<p>Membuat denah lokasi menggunakan Arduino bisa dilakukan dengan memanfaatkan sensor jarak seperti ultrasonik (HC-SR04) atau LIDAR, serta modul GPS dan kompas (gyroscope/accelerometer seperti MPU6050). Berikut adalah langkah-langkah untuk Membuat Denah Lokasi Menggunakan Arduino: 1. Komponen yang Dibutuhkan Arduino Uno / &#8230; </p>
  999. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-denah-lokasi-menggunakan-arduino/">Membuat Denah Lokasi Menggunakan Arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  1000. ]]></description>
  1001. <content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-15181" src="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Denah-Lokasi-Menggunakan-Arduino-scaled.webp" alt="" width="2560" height="1440" srcset="https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Denah-Lokasi-Menggunakan-Arduino-scaled.webp 2560w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Denah-Lokasi-Menggunakan-Arduino-768x432.webp 768w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Denah-Lokasi-Menggunakan-Arduino-1536x864.webp 1536w, https://bktaruna.uma.ac.id/wp-content/uploads/2025/03/Membuat-Denah-Lokasi-Menggunakan-Arduino-2048x1152.webp 2048w" sizes="(max-width: 2560px) 100vw, 2560px" /></p>
  1002. <p data-start="0" data-end="252"><a href="http://uma.ac.id">Membuat denah lokasi menggunakan Arduino</a> bisa dilakukan dengan memanfaatkan sensor jarak seperti <strong data-start="97" data-end="121">ultrasonik (HC-SR04)</strong> atau <strong data-start="127" data-end="136">LIDAR</strong>, serta modul <strong data-start="150" data-end="157">GPS</strong> dan <strong data-start="162" data-end="214">kompas (gyroscope/accelerometer seperti MPU6050)</strong>. Berikut adalah langkah-langkah untuk <a href="https://bktaruna.uma.ac.id">Membuat Denah Lokasi Menggunakan Arduino</a>:</p>
  1003. <hr data-start="254" data-end="257" />
  1004. <h2 data-start="259" data-end="293"><strong data-start="262" data-end="293">1. Komponen yang Dibutuhkan</strong></h2>
  1005. <ul data-start="294" data-end="649">
  1006. <li data-start="294" data-end="318"><strong data-start="296" data-end="318">Arduino Uno / Mega</strong></li>
  1007. <li data-start="319" data-end="377"><strong data-start="321" data-end="350">Sensor Ultrasonik HC-SR04</strong> <em data-start="351" data-end="377">(untuk pengukuran jarak)</em></li>
  1008. <li data-start="378" data-end="444"><strong data-start="380" data-end="417">Modul GPS (Neo-6M atau Ublox M8N)</strong> <em data-start="418" data-end="444">(untuk koordinat lokasi)</em></li>
  1009. <li data-start="445" data-end="502"><strong data-start="447" data-end="487">Kompas digital MPU6050 atau HMC5883L</strong> <em data-start="488" data-end="502">(untuk arah)</em></li>
  1010. <li data-start="503" data-end="559"><strong data-start="505" data-end="531">Motor Servo (opsional)</strong> <em data-start="532" data-end="559">(untuk pemetaan otomatis)</em></li>
  1011. <li data-start="560" data-end="649"><strong data-start="562" data-end="602">Display LCD/OLED atau SD Card Module</strong> <em data-start="603" data-end="649">(untuk menampilkan dan menyimpan hasil scan)</em></li>
  1012. </ul>
  1013. <hr data-start="651" data-end="654" />
  1014. <h2 data-start="656" data-end="678"><strong data-start="659" data-end="678">2. Konsep Kerja</strong></h2>
  1015. <ul data-start="679" data-end="1103">
  1016. <li data-start="679" data-end="870"><strong data-start="681" data-end="719">Jika menggunakan sensor ultrasonik</strong> → Arduino akan membaca jarak ke berbagai arah dengan bantuan servo. Data jarak ini digunakan untuk membuat sketsa denah dalam bentuk peta sederhana.</li>
  1017. <li data-start="871" data-end="1020"><strong data-start="873" data-end="908">Jika menggunakan GPS dan kompas</strong> → Arduino akan mencatat koordinat lokasi dan arah, sehingga bisa digunakan untuk membuat peta rute sederhana.</li>
  1018. <li data-start="1021" data-end="1103"><strong data-start="1023" data-end="1049">Jika menggunakan LIDAR</strong> → Lebih akurat dalam pemetaan area secara otomatis.</li>
  1019. </ul>
  1020. <hr data-start="1105" data-end="1108" />
  1021. <h2 data-start="1110" data-end="1135"><strong data-start="1113" data-end="1135">3. Skema Rangkaian</strong></h2>
  1022. <ol data-start="1136" data-end="1568">
  1023. <li data-start="1136" data-end="1253">
  1024. <p data-start="1139" data-end="1179"><strong data-start="1139" data-end="1179">Sensor Ultrasonik HC-SR04 ke Arduino</strong></p>
  1025. <ul data-start="1183" data-end="1253">
  1026. <li data-start="1183" data-end="1195">VCC → 5V</li>
  1027. <li data-start="1199" data-end="1212">GND → GND</li>
  1028. <li data-start="1216" data-end="1232">Trig → Pin 9</li>
  1029. <li data-start="1236" data-end="1253">Echo → Pin 10</li>
  1030. </ul>
  1031. </li>
  1032. <li data-start="1255" data-end="1354">
  1033. <p data-start="1258" data-end="1299"><strong data-start="1258" data-end="1299">Servo (Opsional, untuk rotasi sensor)</strong></p>
  1034. <ul data-start="1303" data-end="1354">
  1035. <li data-start="1303" data-end="1315">VCC → 5V</li>
  1036. <li data-start="1319" data-end="1332">GND → GND</li>
  1037. <li data-start="1336" data-end="1354">Sinyal → Pin 6</li>
  1038. </ul>
  1039. </li>
  1040. <li data-start="1356" data-end="1465">
  1041. <p data-start="1359" data-end="1379"><strong data-start="1359" data-end="1379">Modul GPS Neo-6M</strong></p>
  1042. <ul data-start="1383" data-end="1465">
  1043. <li data-start="1383" data-end="1395">VCC → 5V</li>
  1044. <li data-start="1399" data-end="1412">GND → GND</li>
  1045. <li data-start="1416" data-end="1447">RX → Pin 4 (SoftwareSerial)</li>
  1046. <li data-start="1451" data-end="1465">TX → Pin 3</li>
  1047. </ul>
  1048. </li>
  1049. <li data-start="1467" data-end="1568">
  1050. <p data-start="1470" data-end="1501"><strong data-start="1470" data-end="1501">MPU6050 (Untuk arah kompas)</strong></p>
  1051. <ul data-start="1505" data-end="1568">
  1052. <li data-start="1505" data-end="1519">VCC → 3.3V</li>
  1053. <li data-start="1523" data-end="1536">GND → GND</li>
  1054. <li data-start="1540" data-end="1552">SDA → A4</li>
  1055. <li data-start="1556" data-end="1568">SCL → A5</li>
  1056. </ul>
  1057. </li>
  1058. </ol>
  1059. <hr data-start="1570" data-end="1573" />
  1060. <h2 data-start="1575" data-end="1604"><strong data-start="1578" data-end="1604">4. Contoh Kode Arduino</strong></h2>
  1061. <h3 data-start="1605" data-end="1657"><strong data-start="1609" data-end="1657">a) Pemetaan dengan Sensor Ultrasonik + Servo</strong></h3>
  1062. <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
  1063. <div class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]">cpp</div>
  1064. <div class="sticky top-9">
  1065. <div class="absolute bottom-0 right-0 flex h-9 items-center pr-2">
  1066. <div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary"><span class="" data-state="closed"><button class="flex gap-1 items-center select-none px-4 py-1" aria-label="Salin">Salin</button></span><span class="" data-state="closed"><button class="flex select-none items-center gap-1 px-4 py-1">Edit</button></span></div>
  1067. </div>
  1068. </div>
  1069. <div class="overflow-y-auto p-4" dir="ltr"><code class="!whitespace-pre language-cpp"><span class="hljs-meta">#<span class="hljs-keyword">include</span></span> <span class="hljs-string">&lt;Servo.h&gt;</span></p>
  1070. <p><span class="hljs-meta">#<span class="hljs-keyword">define</span></span> trigPin 9<br />
  1071. <span class="hljs-meta">#<span class="hljs-keyword">define</span></span> echoPin 10<br />
  1072. Servo servoMotor;</p>
  1073. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">setup</span><span class="hljs-params">()</span> {<br />
  1074.    Serial.<span class="hljs-built_in">begin</span>(<span class="hljs-number">9600</span>);<br />
  1075.    <span class="hljs-built_in">pinMode</span>(trigPin, OUTPUT);<br />
  1076.    <span class="hljs-built_in">pinMode</span>(echoPin, INPUT);<br />
  1077.    servoMotor.<span class="hljs-built_in">attach</span>(<span class="hljs-number">6</span>);<br />
  1078. }</p>
  1079. <p><span class="hljs-function"><span class="hljs-type">long</span></span> <span class="hljs-title">getDistance</span><span class="hljs-params">()</span> {<br />
  1080.    <span class="hljs-built_in">digitalWrite</span>(trigPin, LOW);<br />
  1081.    <span class="hljs-built_in">delayMicroseconds</span>(<span class="hljs-number">2</span>);<br />
  1082.    <span class="hljs-built_in">digitalWrite</span>(trigPin, HIGH);<br />
  1083.    <span class="hljs-built_in">delayMicroseconds</span>(<span class="hljs-number">10</span>);<br />
  1084.    <span class="hljs-built_in">digitalWrite</span>(trigPin, LOW);</p>
  1085. <p>    <span class="hljs-type">long</span> duration = <span class="hljs-built_in">pulseIn</span>(echoPin, HIGH);<br />
  1086.    <span class="hljs-keyword">return</span> duration * <span class="hljs-number">0.034</span> / <span class="hljs-number">2</span>;  <span class="hljs-comment">// Konversi ke cm</span><br />
  1087. }</p>
  1088. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">loop</span><span class="hljs-params">()</span> {<br />
  1089.    <span class="hljs-keyword">for</span> (<span class="hljs-type">int</span> angle = <span class="hljs-number">0</span>; angle &lt;= <span class="hljs-number">180</span>; angle += <span class="hljs-number">10</span>) {<br />
  1090.        servoMotor.<span class="hljs-built_in">write</span>(angle);<br />
  1091.        <span class="hljs-built_in">delay</span>(<span class="hljs-number">500</span>);<br />
  1092.        <span class="hljs-type">long</span> distance = <span class="hljs-built_in">getDistance</span>();<br />
  1093.        Serial.<span class="hljs-built_in">print</span>(<span class="hljs-string">"Angle: "</span>);<br />
  1094.        Serial.<span class="hljs-built_in">print</span>(angle);<br />
  1095.        Serial.<span class="hljs-built_in">print</span>(<span class="hljs-string">"° - Distance: "</span>);<br />
  1096.        Serial.<span class="hljs-built_in">print</span>(distance);<br />
  1097.        Serial.<span class="hljs-built_in">println</span>(<span class="hljs-string">" cm"</span>);<br />
  1098.    }<br />
  1099. }<br />
  1100. </code></div>
  1101. </div>
  1102. <h3 data-start="2476" data-end="2523"><strong data-start="2480" data-end="2523">b) Menampilkan Lokasi dengan GPS Neo-6M</strong></h3>
  1103. <div class="contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary">
  1104. <div class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]">cpp</div>
  1105. <div class="sticky top-9">
  1106. <div class="absolute bottom-0 right-0 flex h-9 items-center pr-2">
  1107. <div class="flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary"><span class="" data-state="closed"><button class="flex gap-1 items-center select-none px-4 py-1" aria-label="Salin">Salin</button></span><span class="" data-state="closed"><button class="flex select-none items-center gap-1 px-4 py-1">Edit</button></span></div>
  1108. </div>
  1109. </div>
  1110. <div class="overflow-y-auto p-4" dir="ltr"><code class="!whitespace-pre language-cpp"><span class="hljs-meta">#<span class="hljs-keyword">include</span></span> <span class="hljs-string">&lt;SoftwareSerial.h&gt;</span></p>
  1111. <p><span class="hljs-function">SoftwareSerial <span class="hljs-title">GPS</span></span><span class="hljs-params">(<span class="hljs-number">4</span></span>, <span class="hljs-number">3</span>); <span class="hljs-comment">// RX, TX</span></p>
  1112. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">setup</span><span class="hljs-params">()</span> {<br />
  1113.    Serial.<span class="hljs-built_in">begin</span>(<span class="hljs-number">9600</span>);<br />
  1114.    GPS.<span class="hljs-built_in">begin</span>(<span class="hljs-number">9600</span>);<br />
  1115. }</p>
  1116. <p><span class="hljs-function"><span class="hljs-type">void</span></span> <span class="hljs-title">loop</span><span class="hljs-params">()</span> {<br />
  1117.    <span class="hljs-keyword">while</span> (GPS.<span class="hljs-built_in">available</span>()) {<br />
  1118.        <span class="hljs-type">char</span> c = GPS.<span class="hljs-built_in">read</span>();<br />
  1119.        Serial.<span class="hljs-built_in">print</span>(c);<br />
  1120.    }<br />
  1121. }<br />
  1122. </code></div>
  1123. </div>
  1124. <hr data-start="2771" data-end="2774" />
  1125. <h2 data-start="2776" data-end="2801"><strong data-start="2779" data-end="2801">5. Pengolahan Data</strong></h2>
  1126. <ul data-start="2802" data-end="3073">
  1127. <li data-start="2802" data-end="2959">Jika menggunakan ultrasonik + servo, data jarak dapat diplot sebagai peta sederhana menggunakan software seperti <strong data-start="2917" data-end="2956">Processing atau Python (Matplotlib)</strong>.</li>
  1128. <li data-start="2960" data-end="3073">Jika menggunakan GPS, koordinat dapat disimpan di SD Card atau dikirim ke Google Maps untuk menampilkan rute.</li>
  1129. </ul>
  1130. <hr data-start="3075" data-end="3078" />
  1131. <h2 data-start="3080" data-end="3111"><strong data-start="3083" data-end="3111">6. Pengembangan Lanjutan</strong></h2>
  1132. <ul data-start="3112" data-end="3319">
  1133. <li data-start="3112" data-end="3173">Gunakan <strong data-start="3122" data-end="3131">LIDAR</strong> untuk pemetaan 2D/3D yang lebih akurat.</li>
  1134. <li data-start="3174" data-end="3244">Tambahkan komunikasi <strong data-start="3197" data-end="3214">ESP8266/ESP32</strong> untuk mengirim data ke web.</li>
  1135. <li data-start="3245" data-end="3319">Gunakan <strong data-start="3255" data-end="3267">LCD/OLED</strong> untuk menampilkan hasil pemetaan secara langsung.</li>
  1136. </ul>
  1137. <p>The post <a href="https://bktaruna.uma.ac.id/membuat-denah-lokasi-menggunakan-arduino/">Membuat Denah Lokasi Menggunakan Arduino</a> appeared first on <a href="https://bktaruna.uma.ac.id">Biro Perencanaan Keuangan dan Tata Laksana Rumah Tangga</a>.</p>
  1138. ]]></content:encoded>
  1139. </item>
  1140. </channel>
  1141. </rss>
  1142.  

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=https%3A//bktaruna.uma.ac.id/feed/

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda