tag:blogger.com,1999:blog-49165775925078256182024-02-08T06:29:42.554+08:00A little bit of everythingThis blog is dedicated to my hobby in IT and electronicsARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.comBlogger70125tag:blogger.com,1999:blog-4916577592507825618.post-21457910330501386052017-09-10T21:57:00.000+08:002017-09-10T21:57:03.879+08:00Barebone Intel N3150: solusi murah HTPC<div style="text-align: justify;">
Akhir pekan ini, sebuah Mini PC tiba dengan spesifikasi: <a href="http://ark.intel.com/products/87258/Intel-Celeron-Processor-N3150-2M-Cache-up-to-2_08-GHz" target="_blank">Intel N3150 (Brasswell)</a>, memory 4GB DDR3, harddisk SSD 64 GB mSATA, Wifi dengan dua antena, bluetooth, 2 port HDMI, 2 port LAN 1GBps, 2 port USB standar dan 4 port USB 3. Biasanya harga jual benda ini mencapai Rp. 3 juta tanpa SSD, dan saya cukup beruntung mendapatkan semuanya dengan harga di bawah Rp. 2 juta. </div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP7qgeMiPiuLfdj-xxNJBJoYD37UQbKtopF4o_VYWUIHPr1wA5hmMsnQ1Auv5wzf5dVwzWkix_LMzDsMQ18DdKaSanX4vkR01tzLocy778RhnCgSJB1qOY8w1N9v3AzK8pLhLxLIQxwJ8T/s1600/IMG_20170910_212124.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="900" data-original-width="1600" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP7qgeMiPiuLfdj-xxNJBJoYD37UQbKtopF4o_VYWUIHPr1wA5hmMsnQ1Auv5wzf5dVwzWkix_LMzDsMQ18DdKaSanX4vkR01tzLocy778RhnCgSJB1qOY8w1N9v3AzK8pLhLxLIQxwJ8T/s320/IMG_20170910_212124.jpg" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Tampak depan</td></tr>
</tbody></table>
<br /><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSI656UM5G6Pl3gbGh8nD4LZeN_Mm2a-rq46S1URHCtEm1lsaRJuxaJ9AAZSpFL7049ED-M7m2qI1AA-g18lGQfQbzyoktYggwcLLKSEZ2cnddxlnAsFNiVEVZnrOoQa_TX4VuBr_W7OoP/s1600/IMG_20170910_212146.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="900" data-original-width="1600" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSI656UM5G6Pl3gbGh8nD4LZeN_Mm2a-rq46S1URHCtEm1lsaRJuxaJ9AAZSpFL7049ED-M7m2qI1AA-g18lGQfQbzyoktYggwcLLKSEZ2cnddxlnAsFNiVEVZnrOoQa_TX4VuBr_W7OoP/s320/IMG_20170910_212146.jpg" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Tampak belakang</td></tr>
</tbody></table>
<br />
<div style="text-align: justify;">
Spesifikasi ini sebenarnya dapat digunakan dengan berbagai OS seperti Chromebook, maupun OS untuk HTPC seperti OpenELEC, Kodibuntu, dan sebagainya. Akan tetapi, pada kesempatan ini Windows 10 versi 1703 digunakan sebagai sistem operasi terpasang. Proses <i>update</i> Windows ke versi 1703 memakan waktu sekitar 4 jam. Booting dari Mini PC sejak awal dinyalakan berlangsung sekitar 15 detik, dan Mini PC dapat dioperasiokan dengan nyaman setelah 30 detik. Cukup cepat untuk ukuran sebuah komputer berbasis SoC dengan daya puncak sekitar 15 W dan suhu casing mencapai ~40 C saat <i>full load</i>. </div>
<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9cZNy6Zmvqbepo6_qU2xu3bcH1VqAw9i2IytoML-qRiqhxtwDUTsrOSQ-AhNMAHyTe5Cds4owOjEJ2Z35WAx3JqdpyTVr1A0KGU9n76wPXS2mxinoJ9fxzrZDumEWAfaISSVtNGaUFb49/s1600/Capture1.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="242" data-original-width="469" height="165" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9cZNy6Zmvqbepo6_qU2xu3bcH1VqAw9i2IytoML-qRiqhxtwDUTsrOSQ-AhNMAHyTe5Cds4owOjEJ2Z35WAx3JqdpyTVr1A0KGU9n76wPXS2mxinoJ9fxzrZDumEWAfaISSVtNGaUFb49/s320/Capture1.PNG" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Sistem Operasi yang digunakan</td></tr>
</tbody></table>
<br />
<div style="text-align: justify;">
Burst speed berada pada kecepatan 2,07 GHz, sementara kecepatan normalnya adalah 1,6 GHz. Saat dipadankan dengan monitor 4K, resolusi puncak yang dapat dicapai adalah 3840x2160p (30 Hz) atau 2560x1440p (60 Hz). Tetapi saya menggunakan resolusi 1920x1080p (60Hz), karena masih banyak program yang belum mendukung resolusi di atas 1080p dengan nyaman (misal: <i>font</i> tidak dapat di-<i>scaling, </i>sehingga tampak terlalu kecil). </div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu5JwyYJfXStCjhYKIiIMeyTP1ZEjLDU7C2XF-gbQfBiADkSLKvTDUXFrR_fNlgqz2jd74d-B-uaChHI_B0FIj_1XutNGd1HkhSqLBJ7accpH1v3Vdat42pbpGJIzddh021E4biwWu4Ccn/s1600/Capture2.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="696" data-original-width="1187" height="372" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhu5JwyYJfXStCjhYKIiIMeyTP1ZEjLDU7C2XF-gbQfBiADkSLKvTDUXFrR_fNlgqz2jd74d-B-uaChHI_B0FIj_1XutNGd1HkhSqLBJ7accpH1v3Vdat42pbpGJIzddh021E4biwWu4Ccn/s640/Capture2.PNG" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Pengaturan resolusi dan beban CPU</td></tr>
</tbody></table>
<br />
<br />
<div style="text-align: justify;">
Untuk menjadi HTPC, Kodi dapat diinstalasikan dari Windows Store ataupun dengan mengunduh langsung dari website Kodi. Saya menggunakan resolusi 1280x720p dengan Kodi agar <i>streaming</i> berlangsung dengan <i>smooth</i>. Sebenarnya, pada resolusi 1920x1080p pun masih terlihat tanpa <i>lag</i>, hanya saja internet di kota ini kurang stabil untuk resolusi Full-HD. </div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhviswOz4WD7y2Qi1Ayn509d-xF6JHzGHbNKicGHCC4G__5ddHUxEq-4SGgKcbe8dgpkpRZZ0ty8UmVpcE5-hmCB_75FQvduIoV7KrlYQKCBxYLJ0YD4TOo4gngA6q_XwB8xDA1h3-ZYchm/s1600/Capture4.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="701" data-original-width="1252" height="223" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhviswOz4WD7y2Qi1Ayn509d-xF6JHzGHbNKicGHCC4G__5ddHUxEq-4SGgKcbe8dgpkpRZZ0ty8UmVpcE5-hmCB_75FQvduIoV7KrlYQKCBxYLJ0YD4TOo4gngA6q_XwB8xDA1h3-ZYchm/s400/Capture4.PNG" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">TV streaming dengan Kodi</td></tr>
</tbody></table>
<br />
<div style="text-align: justify;">
Secara umum, Mini PC ini nyaman digunakan untuk <i>browsing</i>, karena sinyal yang kuat akibat Wifi 2 antena, dan cukup responsif untuk pekerjaan ringan tersebut. Saya membuka 6-7 tab di Google Chrome, dua diantaranya adalah Gmail dan Google Drive yang dimanfaatkan untuk bekerja sehari-hari, terutama kolaborasi data dengan tim menggunakan Google Docs, Sheets dan Presentation. Kinerja multimedia ringan seperti untuk mengedit dua foto pertama di atas (masing-masing dengan besar <i>file</i> 4.4 MB) berlangsung mulus. Saya menggunakan app <i>Photo</i> bawaan Windows 10 di komputer ini tanpa mengalami <i>lag, </i>beban puncak CPU yang diamati berada pada kisaran 60-70% selama 1-2 detik. Saat upload, dan tab terbuka cukup banyak, beban CPU naik mencapai 85-90% dan memori terpakai sekitar 87%.</div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguJQQ9y8qWq5EEtALsZD_9ltqFbbgFHAfNtiOBOTZ2BiPu2Oq2qA2Z7NabXvgqMzvYe6rSyplLdtv9o9gVkSQ6a9DTAvuoD2KaxsniWqmja-SLjsqSyFE0khHgjEvem05q6wENtpRylWlA/s1600/Capture3.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="761" data-original-width="1086" height="446" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguJQQ9y8qWq5EEtALsZD_9ltqFbbgFHAfNtiOBOTZ2BiPu2Oq2qA2Z7NabXvgqMzvYe6rSyplLdtv9o9gVkSQ6a9DTAvuoD2KaxsniWqmja-SLjsqSyFE0khHgjEvem05q6wENtpRylWlA/s640/Capture3.PNG" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Saat capture, upload gambar, dan pemantauan kinerja Mini PC</td></tr>
</tbody></table>
<br />
<div style="text-align: justify;">
Intinya, Mini PC berkekuatan Intel N3150 ini worthed untuk keperluan ringan seperti browsing, menonton youtube, menjadi HTPC, penggunaan office ringan seperti mengedit melalui Google Docs. </div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Akan tetapi, apabila Anda ingin menggunakan untuk keperluan yang lebih serius, seperti mengedit foto dengan Photoshop, bekerja dengan worksheet yang kompleks (banyak rumus dan skrip), <a href="https://www.intel.com/content/www/us/en/products/boards-kits/nuc/kits/nuc6i5syh.html" target="_blank">Intel NUC dengan chip Intel Iris</a> dengan prosesor minimal i3, memori 8 GB dan SSD 256 GB tampaknya lebih sesuai. Untuk <i>gamer,</i> solusi Mini PC disarankan dengan Mini-ITX yang dapat ditambahkan <i>graphic card</i>. Urusan elektronik, harga memang tidak bohong :D</div>
ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-26528385485847309072017-06-13T18:21:00.002+08:002017-06-14T04:03:23.935+08:00VPN in Opera: a working anonimity solutionA short introduction of securing our connection to the intended server.<br />
When it comes to privacy, there are choices to mask our IP address of origin. Open Proxy plus DNS proxy can be used in combination to mask our true IP address to any server. This, however, does not guarantee that the connection between our computer and the server is encrypted. A rogue proxy server, instead of acting as a masking layer, may act as man in the middle and steal any important data if the connection is not encrypted.<br />
VPN secures connection between us and VPN server. A well designed VPN service may randomize the exit connection to any network that they provide to decrease the chance of being tracked. Plus, the connection between our computer and the exit connection of the VPN is encrypted.<br />
The next option is Tor, which is basically multiple random proxy and dns proxy. Requests are hardly streamed through a single channel, rather utilize a number of routes to complete the data requested. This increases the difficulty of whole/complete data being captured in the middle, hence captured, by thousand magnitudes.<br />
<br />
What Opera does?<br />
<br />
They integrate VPN service to the browser. This simplifies the whole process of securing our connection. To use a VPN with Opera is as simple single click as pressing a mouse button.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAv6nHjWs80vAmZrMjLDc4PCZbFUbsz8aqPVJIK72Aa3_gp5e2bgEQhvkk0k2zdDQEg52dla2I5IveVZilXIbUpGc_g1rwHF7dxPQpNBEURY6Qk1XU1-Uybb7bJJePIEpvUYldD-uB5dMd/s1600/opera2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="917" data-original-width="1124" height="522" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAv6nHjWs80vAmZrMjLDc4PCZbFUbsz8aqPVJIK72Aa3_gp5e2bgEQhvkk0k2zdDQEg52dla2I5IveVZilXIbUpGc_g1rwHF7dxPQpNBEURY6Qk1XU1-Uybb7bJJePIEpvUYldD-uB5dMd/s640/opera2.png" width="640" /></a></div>
After the VPN option is enabled, the VPN connection is provided automatically. From here, we can test our connection. The left picture is a plain Mozilla (without any customization). The detected IP address is from Balikpapan, Indonesia, which is the internet hub city of our residence. The right window is Opera with VPN enabled. The detected IP address is from Amsterdam, Netherland. <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpbHxqF9DTRINJdv5jUM9CSuGJ8h1zSHSEUkbm62lZgJ8-zlyuEbfd7EnIDPS-CTEsXW8WKeh9wq5YeWZFedg2uSrnZafi6l8lExRKm58qJgc9DXmWHbG4kkHhq2diUplJD_YeNjVouKFQ/s1600/opera.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpbHxqF9DTRINJdv5jUM9CSuGJ8h1zSHSEUkbm62lZgJ8-zlyuEbfd7EnIDPS-CTEsXW8WKeh9wq5YeWZFedg2uSrnZafi6l8lExRKm58qJgc9DXmWHbG4kkHhq2diUplJD_YeNjVouKFQ/s640/opera.png" width="640" /></a></div>
<br />
This, in combination with DNSCrypt, increases our anonimity to another degree.<br />
<br />
<br />
However, (1) browsing pattern, (2) any credential that is shared when logging in to any service (mail server), (3) images that are shared through the net, (4) and a compromised system (bios hacked, keylogged system, unpatch/obsolete OS and program), may still indicate our true presence.<br />
<br />ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-45207881732535084552017-06-13T10:23:00.000+08:002017-06-13T10:23:55.289+08:00Into the actor's dark act.Tracking down digital trace may be difficult. But, we can use several common key questions:<br />
<br />
1. what we know about the domains?<br />
<br />
The first domain is well known: ******cinta******.com<br />
The second domain is less known: ******cinta******1.com<br />
<br />
******cinta******.com receives about 140 unique visitors and 154 (1.10 per visitor) page views per day. Last updated on 6 Feb 2017. Site is hosted in San Francisco, CA, 94107, Seychelles and links to network IP address 94.102.53.188.<br />
(http://www.hypestat.com/info/******cinta******.com & http://www.hypestat.com/info/******cinta******1.com)<br />
<br />
2. where was it hosted?<br />
<br />
Most probably Qhoster with an Italy/Seychelles IP.<br />
<br />
3. is Qhoster popular in ******sia?<br />
<br />
Not really, unless the person has read many reviews of VPS hosting services. It is in fact a mediocre provider (by rating).<br />
<br />
3. any ******sian site that has been registered with Qhoster?<br />
<br />
We should see something here...<br />
<br />
4. does the registrar use similar pattern of registering the domains to a registrar that the name pops up first in the mind.<br />
<br />
Most probably yes. Or a second tought: to cover the track, no.<br />
The first domain (******cinta******.com) and the second domain (******cinta******1.com) are both registered with the same hosting company.<br />
The last recorded IP was: 94.102.53.188<br />
<br />
5. who is from ******sia that may create a domain with Qhoster?<br />
<br />
The person is most likely has an experience to register VPS in the same hosting company since he/she read a review that Qhoster provides better value than others.<br />
Or that person is trying to cover track by registering to a lesser known hoster.<br />
<br />
6. is finding the sites difficult now<br />
<br />
Yes, since the site is down and dig program returned internet-positive PTR (as a result that the domain was blocked by Kominfo).<br />
<br />
7. is the registrant well understood about the hosting and its procedure?<br />
<br />
Yes. this narrowed down to some tech people that were dealing with hostname registration.<br />
<br />
8. is 94.102.53.188 has a shared domain?<br />
<br />
No. most likely this is a VPS.<br />
<br />
9. what type of server<br />
<br />
Server: Apache (matched with VPS OS selection: Centos, Debian, Ubuntu)<br />
Protocol: HTTP/1.1<br />
Content-Type: text/html; charset=iso-8859-1<br />
<br />
10. who is wanting to sacrifice ~$100/6mths- ~$200/yr for a VPS with a domain?<br />
<br />
People that may have problem with the person's view or movement or want to defame the person.<br />
<br />
11. any possible scenario of the uploader:<br />
<br />
<ul>
<li>Someone that is familiar with Paypal, since the payment to Qhoster most probably via paypal than a direct credit card payment (unless he/she uses an illegal credit card/carding).</li>
<li>Someone that is from this country, since an international person may find the target less valuable for their perspective/interest.</li>
<li>Someone that was asked by a mastermid that wants to defame the person, since the latter had sacrificed more money to host the domain with VPS, not a common shared hosting.</li>
<li>Someone that is familiar with covering the track by selecting a combination of scenario: (least known hoster, protected domain, VPS, geolocation: Italy/Seychelles instead of US, Paypal).</li>
<li>Someone that is familiar with website hosting, most likely a Linux (Centos, Debian, Ubuntu) based VPS.</li>
<li>Someone that probably has a better access to the original source/image leaker that was asked by the true mastermind.</li>
<li>Someone that inclines to contra the person's view or movement during the past election.</li>
</ul>
<br />
12. is the info useful enough to trackdown the uploader<br />
<br />
Yes, at least it can be narrowed down to less than 500 persons with that scenario-building capacity and interest.ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-87445858173349912742017-06-12T08:27:00.004+08:002017-06-12T08:27:55.516+08:00Mengupdate Wordpress untuk semua subdomain<a href="https://wordpress.org/" target="_blank">Wordpress</a> adalah platform populer untuk situs-situs blogging maupun manajemen konten untuk situs lain yang lebih serius. Sayangnya, Wordpress juga merupakan <a href="https://premium.wpmudev.org/blog/wordpress-security-exploits/" target="_blank">target deface</a> yang sangat umum, utamanya bagi para cracker yang ingin eksis. Untuk itu, Wordpress harus selalu diperbaharui.<br />
<br />
Memperbaharui Wordpress untuk satu situs mungkin bukan pekerjaan yang berat, sekalipun butuh kehati-hatian. Akan tetapi, memperbaharui beberapa situs yang identik, perlu waktu yang cukup. Kegiatan ini dilakukan berulang-ulang, sehingga memerlukan suatu otomasi.<br />
<br />
Skrip ini dibangun tidak sempurna, akan tetapi cukup untuk melayani proses update minor/security fix dari Wordpress yang diinstall.<br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#!/bin/bash</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#Variabel</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">WORDPRESS_LAST_VER=4.7.5</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">WORDPRESS_NEW_VER=4.8</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">WORDPRESS_URL='https://wordpress.org/latest.tar.gz'</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#Bekerja di direktori update</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">echo "Got to Working Directory"</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">cd /var/wp-updates</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#Mengunduh berkas Wordpress terkompresi</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">echo "Downloading Latest Wordpress Version"</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">mv latest.tar.gz latest-$WORDPRESS_LAST_VER.tar.gz</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">WGET_OUTPUT=$(wget -q "$WORDPRESS_URL")</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#Cek kelayakan berkas Wordpress terkompresi yang baru diunduh</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">if [[ $(tar -ztf latest.tar.gz | wc -l) != 0 ]]</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> then echo 'tar successful!'</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> else echo "don't have any files"</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> exit 1</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">fi</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#Ekstraksi berkas-berkas Wordpress terbaru</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">echo "Extracting New Wordpress Files"</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">tar -xzf latest.tar.gz</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#Mengarsipkan website lama</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">echo "Backing-Up All Files from Websites"</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">tar -czf </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">/var/backup/website-$WORDPRESS_LAST_VER.tar.gz /var/subdomain1.a.b.c/public_html/</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#Menggandakan berkas-berkas wordpress ke situs subdomain1 </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">echo "Copying New Wordpress Files to Websites" </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">cp -R wordpress/* /var/subdomain1.a.b.c/public_html/ </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"> </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">#Mengganti Kepemilikan file situs subdomain1 </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">echo "Fixing Ownership of Files"</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">chown -R subdomain_user.apache /var/subdomain1.a.b.c/public_html/</span><br />
<br />ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-7611879324326706712017-05-21T21:36:00.001+08:002017-05-21T21:36:38.466+08:00Driver Wireless TP-Link di Slackware64-current<a href="http://static.tp-link.com/res/images/products/gallery/TL-WN7200ND-01.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://static.tp-link.com/res/images/products/gallery/TL-WN7200ND-01.jpg" height="240" width="320" /></a>Slackware64-current minggu ini telah menggunakan kernel 4.9.28. Ini merupakan update yang cukup signifikan bagi para pengguna kartu/USB wireless, karena banyak <i>driver</i> untuk wireless baru yang ditambahkan.<br />
Saya menggunakan dua USB wireless dari TP-Link:<br />
<br />
<ol>
<li>TP-Link WN7200ND </li>
<li>TP-Link WN727N</li>
</ol>
<br />
<br />
<a href="http://static.tp-link.com/res/images/products/gallery/TL-WN727N-01.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="http://static.tp-link.com/res/images/products/gallery/TL-WN727N-01.jpg" height="240" width="320" /></a>Untuk perangkat pertama, kernel 4.4.x pun telah mendukung <i>plug and play, </i>sehingga instalasi driver secara manual tidak lagi dibutuhkan.<br />
Untuk perangkat kedua, dukungan terhadap plug and play baru dapat dijumpai di kernel 4.9.27 ke atas.<br />
<br />
Apabila Linux yang Anda gunakan tetap tidak mendukung <i>plug and play</i> salah satu perangkat ini, maka diperlukan instalasi manual.<br />
<br />
Adapun cara konfigurasi driver manual dari kedua perangkat ini adalah:<br />
Download driver dimaksud di situs TP-Link. Misalnya <a href="http://www.tp-link.com/us/download/TL-WN722N.html" target="_blank">TP-Link WN722N</a>.<br />
Instalasikan driver tersebut secara manual dengan perintah:<br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">./configure</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">make </span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">make install</span><br />
<br />
Lakukan perintah instalasi kernel module, misalnya dengan<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">modprobe -v rt2800usb</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
Apabila berhasil, maka kita dapat melihat driver tersebut di log<b><i> dmesg</i></b>:<br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">dmesg | more</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">usb 1-2: new full speed USB device using ohci_hcd and address 3</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">usb 1-2: New USB device found, idVendor=148f, idProduct=5370</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">usb 1-2: Product: 802.11 n WLAN</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">usb 1-2: Manufacturer: TPlink</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">usb 1-2: SerialNumber: 1.0</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">usb 1-2: configuration #1 chosen from 1 choice</span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">rtusb init rt2800 ---></span><br />
<br />
Demikian proses instalasi driver wireless TP-Link di Linux. Untuk Slackware64-current dengan kernel 4.9.27 ke atas, cara manual sudah tidak diperlukan lagi, karena sudah <i>plug and play</i>!<br />
<br />ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-1250595658449016172017-05-21T21:01:00.000+08:002017-05-21T21:15:13.425+08:00Pengalaman Pertama dengan Windows Build 1703<b>Windows 10 build 1703 keren!</b><br />
<br />
Tampaknya Microsoft mengeluarkan OS Windows 10 mengikuti model Mac OS X atau Arch Linux, yaitu dengan sistem rolling edition. Ini sudah windows 10 generasi keempat. Sebenarnya, build 1703 baru resmi beredar bulan Juni mendatang (semua Windows 10 build 1607 dapat free upgrade). <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcn1TcvDV9tC_HdU5vXMFytGdX3-KkQMtHdqqAKHdDotgSnR6vQz5T2U5W1TWLIot6n72PiSRVm0a4UPok11I_3_n4-rgypHiNv0GvT0ZR5O1q091nEF92zlp7fOHYpXLqZcubyZ8-yhmN/s1600/Capture1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="256" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcn1TcvDV9tC_HdU5vXMFytGdX3-KkQMtHdqqAKHdDotgSnR6vQz5T2U5W1TWLIot6n72PiSRVm0a4UPok11I_3_n4-rgypHiNv0GvT0ZR5O1q091nEF92zlp7fOHYpXLqZcubyZ8-yhmN/s400/Capture1.PNG" width="400" /></a></div>
<br />
<br />
<b>Kelebihan:</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8b7-PvQDirY9XaXsMxTA_iVlG7ck7wTcrf9O68o0CbJCHiyjjpn5-V3giAA9Yfl96PTW2KD1J1EsqyIY7dYtH9JGoFynTqnByhlpXj08nc0YAQjyzARqE-PI_HngwbM0_BHcwEUhv6ny3/s1600/Capture4.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="221" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8b7-PvQDirY9XaXsMxTA_iVlG7ck7wTcrf9O68o0CbJCHiyjjpn5-V3giAA9Yfl96PTW2KD1J1EsqyIY7dYtH9JGoFynTqnByhlpXj08nc0YAQjyzARqE-PI_HngwbM0_BHcwEUhv6ny3/s400/Capture4.PNG" width="400" /></a></div>
<br />
<br />
<ol>
<li>Boot up sangat cepat, < 10 detik dengan SSD Samsung Evo 850.</li>
<li>Integrasi Windows Defender (antivirus, antimalware dan antirootkit) dengan Antivirus lebih terlihat (double protection-nya jalan dengan mulus). Kustomasinya lebih mudah.</li>
<li>Integrasi dengan Office 2016 juga terlihat lebih baik.</li>
<li>Memory footprint-nya lebih baik (versi 64bit perlu memori sekitar 2.7 GB termasuk cache).</li>
<li>XBox-nya lebih polished.</li>
</ol>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0lQr8Ke5c39289aq4I7J2ynfhNS2BR31GPSdM3Ce0GV3HgBCrfPORcCnpj9duFsDEbxA2WdbZAN-AAg3I98qJFwtpq_st7ohz_Gnl9D3e-Riw04P36DXhi1dLI44OPqYFkJaAChi5M9q8/s1600/Capture2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="232" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0lQr8Ke5c39289aq4I7J2ynfhNS2BR31GPSdM3Ce0GV3HgBCrfPORcCnpj9duFsDEbxA2WdbZAN-AAg3I98qJFwtpq_st7ohz_Gnl9D3e-Riw04P36DXhi1dLI44OPqYFkJaAChi5M9q8/s400/Capture2.PNG" width="400" /></a></div>
<br />
<b>Kekurangan:</b><br />
<br />
<ol>
<li>Banyak program 3rd party yg jadi tidak kompatible. Program-program ini tidak muncul dan tidak bisa dipanggil secara manual walau sudah terinstalasi.</li>
<li>Office add-on tidak bisa diinstalasikan, disarankan mereparasi instalasi Office terlebih dahulu.</li>
<li>Semua serba otomatis, pengguna kurang memegang kontrol konfigurasi (misal kustomasi menu dst)</li>
<li>Entah kalau malware berbasis exploit yang powerful, macam eternal blue, yang lain muncul.</li>
</ol>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1HwxiGl8Nrk5c4UT7YE0uwPcPD8kB6BbxQuZXPhEZ83uGzGaoh1DHlrfbJLgReYkVddEaUXYx9Hb4_j_SkZyJ6EQeb7HMpTC7Q2xoDRo1SV0tO2P_9wt3sb_OCz2HcXE6Rmh2D6A7HYEI/s1600/Capture5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="232" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1HwxiGl8Nrk5c4UT7YE0uwPcPD8kB6BbxQuZXPhEZ83uGzGaoh1DHlrfbJLgReYkVddEaUXYx9Hb4_j_SkZyJ6EQeb7HMpTC7Q2xoDRo1SV0tO2P_9wt3sb_OCz2HcXE6Rmh2D6A7HYEI/s320/Capture5.PNG" width="320" /></a></div>
<br />
<br />
<b>Catatan khusus:</b><br />
<b><br /></b>
Harus beli <a href="https://www.microsoft.com/en-us/store/d/Windows-10-Home/D76QX4BZNWK4/1NT3" target="_blank">key asli di situs MS</a> atau situs lain yang terpercaya macam <a href="http://www.bhinneka.com/products/sku05215765/microsoft_windows_10_home_64_bit__kw9-00139_.aspx" target="_blank">Bhinneka</a> atau <a href="http://www.lazada.co.id/paket-windows-10-pro-office-pro-2016-original-20166807.html?ff=1&sc=EV0N" target="_blank">lainnya</a>. Jangan coba-coba pakai key bajakan (KMSpico, Windows Loader, dkk gak bakal jalan juga). Dijamin K.O. semua. Ini berlaku utk semua Windows (7 SP1, 8.1, 10) dengan update > 20 Mei 2017.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5lGbocEmQCkatZ-BWWEXsQnMB6PBJABLOFJ_FJbsGQLMfj4lbWITZErD8v-XcBJ1-SFkVEvi66vHEF_dC-wBF0jjSNEZvQdDAAGaZx8V6EB9T7LmuehqGyhHnx7JvkrCw3nqPUOsFSib6/s1600/Capture3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="166" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5lGbocEmQCkatZ-BWWEXsQnMB6PBJABLOFJ_FJbsGQLMfj4lbWITZErD8v-XcBJ1-SFkVEvi66vHEF_dC-wBF0jjSNEZvQdDAAGaZx8V6EB9T7LmuehqGyhHnx7JvkrCw3nqPUOsFSib6/s400/Capture3.PNG" width="400" /></a></div>
<br />ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-65186236246594838702017-05-15T20:16:00.000+08:002017-05-15T20:16:01.498+08:00Uji kesehatan dan kecepatan SSD secara sederhana di Linux SSD adalah media simpan masa depan yang mengalahkan performa <i>hard disk</i> konvensional. Kecepatan baca dan tulis SSD dapat mencapai 20 kali dibandingkan kecepatan yang dimiliki <i>hard disk</i>. SSD sekarang sudah semakin terjangkau, sehingga banyak yang melakukan <i>upgrade </i>komponen ini setelah memaksimalkan kinerja komponen-komponen lain.<br />
<br />
Ragam SSD dari berbagai generasi, terutama yang <i>second</i>, adalah pilihan yang sangat menarik sebagai komponen upgrade komputer tua. Harga SSD <i>second</i> dengan kondisi memuaskan (kesehatan >95%) berkisar 40-50% dibanding harga barunya.<br />
<br />
Bagaimana cara memeriksa kesehatan SSD di Linux dengan program-program berbasis <i>command line</i>?<br />
<br />
<b>Memeriksa kesehatan dengan <i>smartctl</i></b><br />
<br />
Salah satu cara mudah untuk memeriksa kesehatan SSD adalah dengan menggunakan program <i>smartctl</i>.<br />
<br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">smartctl -a /dev/sdX</span></span> (X diganti dengan indeks dimana SSD terpasang, misal sda, sdb, dst)<br />
<br />
Contoh luaran yang dihasilkan:<br />
<br />
<span style="font-size: xx-small;"><span style="font-family: "Courier New",Courier,monospace;">ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE<br /> 3 Spin_Up_Time 0x0020 100 100 000 Old_age Offline - 0<br /> 4 Start_Stop_Count 0x0030 100 100 000 Old_age Offline - 0<br /> 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 24<br /><b> 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 2573</b><br /> 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 602<br /><b>192 Unsafe_Shutdown_Count 0x0032 100 100 000 Old_age Always - 93</b><br />225 Host_Writes_32MiB 0x0030 100 100 000 Old_age Offline - 379974<br />226 Workld_Media_Wear_Indic 0x0032 100 100 000 Old_age Always - 2535800<br />227 Workld_Host_Reads_Perc 0x0032 100 100 000 Old_age Always - 3<br />228 Workload_Minutes 0x0032 100 100 000 Old_age Always - 947822021<br />232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0<br /><b>233 Media_Wearout_Indicator 0x0032 098 098 000 Old_age Always - 0</b><br />184 End-to-End_Error 0x0033 100 100 090 Pre-fail Always - 0</span></span><br />
<br />
Power_on_hours adalah lama pemakaian SSD, dalam hal ini 2,573 jam atau sekitar 107,2 hari.<br />
Media_Wearout_Indicator adalah status kesehatan SSD dalam %, dalam hal ini SSD berkondisi 98%.<br />
Unsafe_Shutdown_Count adalah status berapa kali SSD dimatikan paksa.<br />
<br />
<b>Menguji kecepatan SSD</b><br />
<br />
Menguji kecepatan baca tulis aktual dari SSD ke kontroler SATA dengan besar file pengujian 100 kb.<br />
<br /><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">time sh -c "dd if=/dev/zero of=testfile bs=100k count=1k && sync"</span></span><br />
Contoh luarannya:<br />
<br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">104857600 bytes (105 MB, 100 MiB) copied, 0.0967178 s, 1.1 GB/s</span></span><br />
<br />
<br />
Menguji kecepatan baca dan tulis pada besaran tertentu, dalam hal ini 384 kb.<br />
<br /><span style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">dd if=/dev/zero of=/tmp/output conv=fdatasync bs=384k count=1k; rm -f /tmp/output</span></span><br /><br />
Contoh luarannya:<br />
<br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">402653184 bytes (403 MB, 384 MiB) copied, 3.86371 s, 104 MB/s</span></span><br />
Menguji kecepatan cache dan pembacaan secara umum<br />
<br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">hdparm -Tt /dev/sda</span></span><br />
<br />
<span style="font-size: small;"><span style="font-family: inherit;">Contoh luarannya:</span></span><br />
<br />
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">Timing cached reads: 13406 MB in 2.00 seconds = 6710.07 MB/secTiming buffered disk reads: 684 MB in 3.01 seconds = 227.48 MB/sec </span></span><br />
<br />
<br />
Demikian sekilas cara pengujian kesehatan dan kecepatan SSD di linux dengan perintah-perintah CLI.<br />
<br />ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-47947968993230135272017-05-14T22:12:00.004+08:002017-05-16T14:42:15.704+08:00Serangan Wannacry<pre></pre>
<pre> Langsung saja:</pre>
<pre> </pre>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://yin.thp.unmul.ac.id/wannacry/WannaCry-Screenshot.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://yin.thp.unmul.ac.id/wannacry/WannaCry-Screenshot.jpg" height="334" width="640" /></a></div>
<pre> </pre>
<pre> </pre>
<pre>1. <a href="https://blog.malwarebytes.com/threat-analysis/2017/05/the-worm-that-spreads-wanacrypt0r/" target="_blank">Apa yang terjadi</a>?</pre>
<pre>2. <a href="https://blog.avast.com/ransomware-that-infected-telefonica-and-nhs-hospitals-is-spreading-aggressively-with-over-50000-attacks-so-far-today" target="_blank">Siapa yang terkena</a></pre>
<pre>3. <a href="http://www.hackingtutorials.org/exploit-tutorials/exploiting-eternalblue-for-shell-with-empire-msfconsole/" target="_blank">Mengapa dapat terjadi</a>?</pre>
<pre>4. <a href="https://github.com/countercept/doublepulsar-detection-script" target="_blank">Apa itu backdoor Double Pulsar</a>?</pre>
<pre>5. <a href="https://securitydaily.org/trustlookwannacrytoolkit-wannacrytoolkit-scanner-removal-toolkit/" target="_blank">Bagaimana cara deteksi di jaringan</a>?</pre>
<pre>6. <a href="https://f5.com/labs/articles/threat-intelligence/malware/from-nsa-exploit-to-widespread-ransomware-wannacry-is-on-the-loose-26847" target="_blank">Dalam jaringan, port apa saja yang perlu dimatikan</a>?</pre>
<pre>7. <a href="https://blogs.technet.microsoft.com/msrc/2017/05/12/customer-guidance-for-wannacrypt-attacks/" target="_blank">Bagaimana menghentikan penyebaran di komputer terjangkit</a>?</pre>
<pre>8. <a href="https://gist.github.com/rain-1/989428fa5504f378b993ee6efbc0b168" target="_blank">Sampai dimana fakta dan perkembangan tentang hal ini</a>?</pre>
<pre> </pre>
<pre><b> </b></pre>
<pre><b>APABILA ANDA TELAH TERINFEKSI</b></pre>
<pre><b> </b></pre>
<pre>1. Data Anda sudah tidak dapat diselamatkan
2. Untuk melindungi orang lain:
a. Segera putuskan semua koneksi internet, cabut kabel UTP, matikan WiFi
b. Jangan masukkan USB data, harddisk dst.
c. Gunakan CD/DVD Windows untuk langsung memformat komputer Anda disemua partisi.
d. Sekali lagi pastikan semua partisi diformat. Data Anda tidak dapat diselamatkan.
e. Instal ulang Windows/OS Anda dan segera update Windows-nya
f. Instalasikan Antivirus dan Antimalware terbaru (update Mei 2017)
g. Jangan masukan USB/Harddisk yang telah terinfeksi. Segera format semuanya
</pre>
<pre><b> </b></pre>
<pre><b> </b></pre>
<pre><b>TIPS PENCEGAHAN</b> </pre>
<pre> </pre>
<pre>Adapun beberapa langkah tambahan yang dapat dilakukan adalah:
1. Melakukan pemblokiran pada port 139/445 & 3389
2. Mencadangkan data secara rutin, mencadangkan data secara rutin akan
membuat data lebih aman untuk disimpan dan jika terjadi suatu bencana
maka kan mudah untuk mengembalikannya.
3. Menampilkan ekstensi file yang tersembunyi, terkadang tanpa kita sadari
bahwa file tersembunyi (hidden file) merupakan malware yang mungkin akan
menyerang komputer kita.
4. Melakukan filter file .exe yang dikirimkan melalui email, ekstensi exe
merupakan file installasi untuk aplikasi yang ada di microsoft maka bisa
jadi file tersebut adalah malware.
5. Untuk sementara lakukan pemblokiran atau tidak mengakses file atau
tautan berekstensi zip yang terpassword
6. Gunakan Cryptolocker Prevention Kit, ini merupakan salah satu tools yang
memungkinkan untuk mencegah ransomware menjalankan aksinya
7. Nonaktifkan Remote Desktop Protocol yang secara otomatis menjadi service
di sistem operasi kalian
8. Silakan update software terbaru di komputer Anda dengan program yang tersedia
di folder ini sesuai versi Windows-nya.
9. Gunakan tools antimalware dan segera update databasenya
10. Segera matikan koneksi Anda baik dari Wifi maupun kabel jika mengenali
adanya ransomware
11. Gunakan system restore untuk mengembalikan file Anda jika ternyata
terjangkit ransomware
11. Untuk saat ini belum ada cara untuk mengatasi komputer yang telah
terkena malware ini, tidakan paling efektif adalah dengan cara
pencegahan penyebaran malware tersebut.
<b> </b></pre>
<pre><b>Catatan Nomor Patch</b>
<i><b>
Windows 7</b></i>
May, 2017 Security Monthly Quality Rollup for Windows 7 (KB4019264)
April, 2017 Security Monthly Quality Rollup for Windows 7 (KB4015549)
March, 2017 Security Monthly Quality Rollup for Windows 7 (KB4012215)
<i><b>Windows 8.1</b></i>
May, 2017 Security Monthly Quality Rollup for Windows 8.1 (KB4019215)
April, 2017 Security Monthly Quality Rollup for Windows 8.1 (KB4015550)
March, 2017 Security Monthly Quality Rollup for Windows 8.1 (KB4012216)
<b><i>
Windows 10</i></b>
May, 2017 Security Monthly Quality Rollup for Windows 10 (KB4019472)
April, 2017 Security Monthly Quality Rollup for Windows 10 (KB4015438)
March, 2017 Security Monthly Quality Rollup for Windows 10 (KB4013429)
<i><b>Windows XP</b></i>
March, 2017 Security Patch for Windows XP (KB4012598)
<a href="http://www.lemsaneg.go.id/index.php/bahaya-ransomware-wannacry-dan-cara-pencegahannya/" target="_blank">Sumber</a>
</pre>
<pre> </pre>
<pre><div class="separator" style="clear: both; text-align: center;">
</div>
Khusus di lingkungan kampus, mohon segera membackup data penting, </pre>
<pre>mengupgrade OS, antivirus (minimal Windows Defender), dan antimalware </pre>
<pre>ke versi terbaru. </pre>
<pre> </pre>
<pre>Layanan berkecepatan tinggi (di dalam intranet kampus) dapat diakses </pre>
<pre>di alamat yang telah diedarkan melalui pesan berantai (WA). </pre>
ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-75887025082766104152017-05-09T23:51:00.003+08:002017-05-10T06:01:23.330+08:00Mengganti harddisk konvensional dengan SSD untuk LinuxHari ini pesanan saya yaitu Intel SSD series 320 dengan kapasistas 160 GB tiba. Ini adalah tipe harddisk SSD yang cukup legendaris, sekalipun kemampuannya mungkin masih kalah dibandingkan Samsung Evo.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEyoYuETm8TzP0JsoXo8ZSa_FxnYshOJ1rDQatnEGSdD7WpmYM4kksWsoTN6ODFoLx3hcM57M0XOSJtAiodjzOrc3JMjNbSDgzQYXI4bgEWEuR-9iHOHLHgLw8FtiXkseBsD96joimzaCC/s1600/sku_318771_2.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEyoYuETm8TzP0JsoXo8ZSa_FxnYshOJ1rDQatnEGSdD7WpmYM4kksWsoTN6ODFoLx3hcM57M0XOSJtAiodjzOrc3JMjNbSDgzQYXI4bgEWEuR-9iHOHLHgLw8FtiXkseBsD96joimzaCC/s320/sku_318771_2.jpg" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Intel SSD Series 320 kapasitas 160 GB</td></tr>
</tbody></table>
<br />
<br />
Pertama, kita tentunya mempartisi harddisk sesuai dengan keperluan. Saya menggunakan GParted untuk melakukan hal ini. Pastikan bahwa yang dioperasikan adalah harddisk kedua (<i>/dev/sdb</i>), dan bukan harddisk dimana Linux saat ini tertanam (<i>/dev/sda</i>).<br />
<br />
Langkah kedua adalah memindahkan isi dari harddisk konvensional ke SSD di Linux Slackware sulit. Prosesnya hampir sama dengan memindahkan harddisk di Windows. Cara paling mudah adalah dengan perintah <b><i>rsync</i></b>.<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">rsync -aAXv --delete --progress \</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> --exclude= {"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} \</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> / /run/media/{myusername}/{drive_id}</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<span style="font-family: inherit;">Kita perlu mengeluarkan <i>/proc, /dev, /sys, /tmp, /run, /mnt,</i> dan <i>/media</i> dari daftar karena memang akan berakibat terhentinya proses <b><i>rsync</i></b>.</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">Ketiga, kita perlu mengedit <i>/etc/fstab</i> di SSD, karena tentu saja partisinya berbeda. </span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">/run/media/{myusername}/{drive_id}/etc/fstab</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">Ini adalah model partisi SSD saya:</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">/dev/sda2 swap swap defaults 0 0</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">/dev/sda1 / ext4 defaults,noatime 1 0</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">/dev/sda5 /var ext4 noatime,nosuid,noexec,defaults 1 0</span><br />
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">/dev/sda6 /tmp ext4 noatime,nosuid,nodev,defaults 1 0</span></div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">/dev/sda7 /home ext4 noatime,nosuid,nodev,noexec 0 0</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>Sebagai info, tab keenam (angka 0 terakhir) mengindikasikan bahwa kita tidak perlu mengaktifkan <i>fsck</i>, karena SSD tidak mengenal <i>fsck</i>.<br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">Selanjutnya adalah menginstalasi <i>boot loader</i> dengan rekoveri dari DVD atau USB installer. </span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><span style="font-family: inherit;">boot: </span><span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">huge.s root=/dev/sda1</span></span><br />
<span style="font-family: inherit;"><br /></span><span style="font-family: inherit;">Lalu kita dapat mengaktifkan atau <i>mounting</i> partisi tersebut</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">mkdir /blah</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">mount /dev/sda1 /blah</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">cd /blah</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">Kernel yang saya gunakan adalah versi terbaru, sementara kernel yang terdapat di USB <i>installer</i> adalah versi lebih lama. Untuk itu. kita memerlukan kernel dari SSD yang baru dan <i>lilo.conf</i> untuk berada di partisi root.</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">cp /blah/etc/lilo.conf /etc/.</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">rm -fr /boot</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">cp -R /blah/boot/* /boot/.</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">Lalu kita dapat mengaktifkan <b><i>lilo</i></b> pada partisi root.</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">/blah/sbin/lilo -r /blah</span><br />
<br />
<br />
Setelah sukses booting dari SSD, kita perlu menyesuaikan fitur pengecekan kesehatan SSD. Kita tidak perlu mengaktifkan <i>fsck</i>, karena SSD tidak mengenal <i>fsck</i>. Untuk memastikan bahwa SSD berada dalam kondisi sehat, kita perlu mengaktifkan <i>trim</i>. Ada dua cara, yaitu dengan menambahkan opsi discard pada <i>/etc/fstab</i>, misalnya:<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">/dev/sda1 / ext4 defaults,noatime,discard 1 0</span><br />
<br />
<div>
Akan tetapi, menurut beberapa pengalaman, menempatkan <i>discard</i> dapat meyebabkan instabilitas sistem (<i>hang</i>).<br />
<br />
Cara kedua adalah dengan menjalankan perintah <i><b>fstrim</b></i> untuk semua mount point secara periodik:<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">#!/bin/sh</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span><span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">LOG=/var/log/ssd_trim.log</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">echo "*** $(date -R) ***" >> $LOG</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span><span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">for fs in $(lsblk -o MOUNTPOINT,DISC-MAX,FSTYPE | grep -E '^/.* [1-9]+.* ' | awk '{print $1}'$</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> /sbin/fstrim "$fs" >> $LOG</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">done</span><br />
<div>
<br /></div>
perintah ini dapat ditempatkan di <i>cron</i><br />
<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">crontab -e</span><br />
<br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">* * * * 0 /usr/local/trim.sh 1> /dev/null</span><br />
<br />
Untuk memastikan sekali lagi, kita dapat mematikan counter pengaktifan/<i>mounting</i> dengan perintah <b><i>tune2fs</i></b>, contohnya:<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">tune2fs -c 0 -i 0 /dev/sda1</span><br />
<br />
Kita dapat cek kembali dengan <b><i>tune2fs</i></b>.<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">tune2fs -l /dev/sda1 | grep -i check</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">Last checked: Tue May 9 05:50:06 2017</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"></span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"></span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">Check interval: 0 (<none>)</none></span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span></div>
<br />
Selesai ! Lonjakan kecepatan <i>booting</i> dan <i>loading</i> program dengan SSD sudah dapat dinikmati.ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-39434611798428788902017-05-09T06:12:00.003+08:002017-05-09T06:13:46.367+08:00Patching rc.firewall with modprobe -lA little note to myself:<br />
<br />
Since ~2011, the <b><i>modprobe</i></b> does not include <i><b>-l (--list)</b></i> function anymore, hence we need some workaround to some of our scripts that rely on that function. A trusty script made by <span style="white-space: pre-wrap;">wand [at] users.sf.net, <i><b><a href="http://go2linux.garron.me/pics/other_files/rc.firewall.txt" target="_blank">rc.firewall </a></b></i>was affected by this change.</span><br />
<br />
The solution is to replace the function by a new one. For <i style="font-weight: bold;">rc.firewall</i> case, it can be replaced easily by <i><b>lsmod</b></i>.<br />
<br />
These are the lines that we changed:<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> for MODULE in $REQUIRED_MODULES; do</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> #modprobe -l is depreciated, and replaced by</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> #lsmod</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> #orig:</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> #if (( `modprobe -l | grep -c "$MODULE"` )); then</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> #changed to:</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> if (( `lsmod | grep -c "$MODULE"` )); then</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> modprobe $MODULE > /dev/null 2>&1</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> fi</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> done</span><br />
<div>
<br /></div>
<div>
For one who need a similar output of <i><b>modprobe -l</b></i>, we can use this function:</div>
<div>
<br /></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">find /lib/modules/`uname -r`/kernel -type f -printf '%f\n'</span></div>
<div>
<br /></div>
<div>
A patched rc.firewall with lsmod is <a href="http://zen.thp.unmul.ac.id/rc.firewall.txt" target="_blank">available here</a>.</div>
<div>
<br /></div>
ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-4062226752011268412017-05-08T04:59:00.001+08:002017-05-08T05:08:27.960+08:00Using Xrander to set up specific monitor resolutionI came from a world of black and white when it is about GNU/Linux. No GUI but CLI. Hence, I normally don't care about monitor resolution. But there's a switch. Xorg is mature to be used on daily basis, albeit I still left my system at init 3 (the GUI normally at init 4 or 5).<br />
<br />
To set up correct monitor resolution in the past is quite experimental. This is not the case with modern Linux, where normally it detects the optimum monitor resolution automatically.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikq1AFf8RNSw9VPnek9vOmGTmPVmy02gUC0Gw36JCwq0NcsWNA_FnFCpQsFRuMuy97YjdwYCAimO_LHEPN7XetwMILCPW5db_4xE2czbZw1oaHfDGTsFTknSTqkLpsMGkX8nds6J3VD8od/s1600/snapshot4.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="328" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikq1AFf8RNSw9VPnek9vOmGTmPVmy02gUC0Gw36JCwq0NcsWNA_FnFCpQsFRuMuy97YjdwYCAimO_LHEPN7XetwMILCPW5db_4xE2czbZw1oaHfDGTsFTknSTqkLpsMGkX8nds6J3VD8od/s640/snapshot4.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">With System Setting, we can identify the right output for each monitor </td></tr>
</tbody></table>
<br />
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6C_rkwx3rfF1MKapcbZp36wy4N8jPN7JZ0hHgwSj2_odGHVzI3IKojGDoUS_eGMSuVCJp3HcKkHy60u5nlo3YVZ1LLHgVU15uOig5qk6m7InwqQQny8EeRiDnA9JlfU7CdynyL5G6o3BG/s1600/81hH9cC70UL._SX425_.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" height="151" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6C_rkwx3rfF1MKapcbZp36wy4N8jPN7JZ0hHgwSj2_odGHVzI3IKojGDoUS_eGMSuVCJp3HcKkHy60u5nlo3YVZ1LLHgVU15uOig5qk6m7InwqQQny8EeRiDnA9JlfU7CdynyL5G6o3BG/s200/81hH9cC70UL._SX425_.jpg" width="200" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">DVI to VGA converter</td></tr>
</tbody></table>
But, there's an example where autodetect failed to do what we want. In this case, I use a graphic card that does not have a physical VGA out, but a DVI and a Display Port. Hence to connect to a monitor with VGA port (without a DVI port) or a HDMI port (I haven't seen any monitor with Display Port), an adapter i.e. DVI to VGA can solve the physical port connection.<br />
<br />
<br />
But this is not without a consequence, the correct monitor resolution is not detected perfectly. In this case, we need to call <b><i>cvt</i></b> and <i><b>xrander</b></i>:<br />
<br />
<br />
This line will register a new modeline for monitor resolution<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">cvt 1440 900 60</span><br />
<br />
Then, we need to pass this info to xrander. Note here is DVI-0, where my monitor is connected.<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">xrandr --addmode DVI-0 1440x900_60.00</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<span style="font-family: inherit;">To activate the setting, we can call <b><i>xrander</i></b> once more:</span><br />
<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">xrandr --output DVI-0 --mode 1440x900_60.00</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<span style="font-family: inherit;">The setting may not be permanent, unless we create a simple bash script and call it each time when we start any GUI/desktop. Lets called this script <i style="font-weight: bold;">gui.sh </i>and saved in <b><i>/usr/local/script/</i></b> for example and set the permission to 755 (rwxr-xr-x).</span><br />
<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">#to force resolution when autodetect failed giving you the correct ones.</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">#!/bin/sh</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">#1440 x 900</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">cvt 1440 900 60</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">xrandr --addmode DVI-0 1440x900_60.00</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">#xrandr --output DVI-0 --mode 1440x900_60.00</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">#1680 x 1050</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">cvt 1680 1050 60</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">xrandr --addmode DVI-0 1680x1050_60.00</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">#xrandr --output DVI-0 --mode 1680x1050_60.00</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">#1920 x 1080</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">cvt 1920 1080 60</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">xrandr --addmode DVI-0 1920x1080_60.00</span><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">xrandr --output DVI-0 --mode 1920x1080_60.00</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">I am using KDE Plasma 4 right now, then we can use autostart program to run the script when GUI is started.</span><br />
<span style="font-family: inherit;"><br /></span>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgutlYeIJYHTlZFEWpRg_Ge7V8rNbNRcENigWWYa06GFPjLE_i5i4aXsrot5ETNd3Q6cmYHtYxR7z_DAj3573a8KTb33h8dz_q_q63UT4QVIxMGoOLXnJ3fnM0wDmwlTRQOOZC5oRugVUzw/s1600/snapshot3.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgutlYeIJYHTlZFEWpRg_Ge7V8rNbNRcENigWWYa06GFPjLE_i5i4aXsrot5ETNd3Q6cmYHtYxR7z_DAj3573a8KTb33h8dz_q_q63UT4QVIxMGoOLXnJ3fnM0wDmwlTRQOOZC5oRugVUzw/s1600/snapshot3.png" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Activating script during GUI startup with autostart </td></tr>
</tbody></table>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span>ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-43418354124812947802017-05-07T21:57:00.005+08:002017-05-07T22:24:31.119+08:00Perl 5.22 to 5.24 upgrading issueThere's a big issue when upgrading from any Perl version, i.e. 5.22 on Slackware64-14.2 to 5.24 on Slackware-current. Perl based programs are broken.<br />
<br />
<b>Error sample:</b><br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">LibIDN.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xdb80080)<br />Zlib.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xdb80080)<br />DBI.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xdb80080)</span><br />
<b><br /></b>
<b>Symptom:</b><br />
<br />
This problem is due to Perl handsake feature, where it detects modules that are compiled with different Perl version.<br />
<br />
<br />
<b>Solution:</b><br />
<br />
1. quick and dirty solution<br />
<br />
Move all related modules that was compiled with Perl 5.22. In this case I back them up in different folders. I execute a simple bash script, something like:<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">VERSION=_5.22<br />mv /usr/local/lib64/perl5 /usr/local/lib64/perl5$VERSION<br />mv /usr/local/shared/perl5 /usr/local/shared/perl5$VERSION<br />mv /root/.cpan /root/.cpan$VERSION<br />mv /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/vendor_perl$VERSION<br />mv /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl$VERSION<br />mv /usr/lib64/perl5 /usr/lib64/perl5$VERSION<br />mv /usr/share/perl5 /usr/share/perl5$VERSION</span>
<br />
<br />
2. Second workaround<br />
<br />
Downgrade to 5.22 version first then install <b><i>App::cpanminus</i></b> and <b><i>App::cpanoutdated</i></b><br />
or <b><i>App::pmuninstall</i></b>. We may uninstall CPAN modules by invoking all installed modules via cpanm<br />
<br />
Something like:<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">cpanm --uninstall {module}</span><br />
<br />
3. Third workaround<br />
<br />
Downgrade to 5.22 version and live happily. :D<br />
<br />
<br />
Now I am with Perl 5.24.1 on Slackware64-current and Perl based programs are working :DARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-27575255460180622752017-05-04T21:46:00.003+08:002017-05-09T20:38:53.474+08:00Xeon LGA 771 di mobo LGA 775Bermula dari jebolnya komputer pribadi yang digunakan untuk layanan <i>e-learning </i>dan repositori abstrak skripsi bagi institusi tempat kami mengabdi, petualangan menyambung nyawa komputer tua dimulai.<br />
<div>
<br /></div>
<div>
<i>Spike</i> listrik adalah biang utama rusaknya perangkat ini. Ya, sebaiknya perangkat elektronik perlu pelindung dari lonjakan listrik sekedipan mata yang mematikan. Komponen yang menjadi almarhum akibat <i>spike</i> kali ini adalah VGA card dan tombol <i>reset (kok bisa, ya?). </i></div>
<div>
<i><br /></i></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfRj8nbVeFXIq1GPFxJHCrr6QIRvbZ0ApgoT9VLxWtMlqoV07IUz87VUf10PKCN2dlxEAkoB8ARbTKfmdSXIXjo1-4q-5kI4DaJkWcnBas7aXWXaawa-DsIpQFFYI8UERG4qToMwI_2NAi/s1600/HIS-130HY2_LG.gif" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="219" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfRj8nbVeFXIq1GPFxJHCrr6QIRvbZ0ApgoT9VLxWtMlqoV07IUz87VUf10PKCN2dlxEAkoB8ARbTKfmdSXIXjo1-4q-5kI4DaJkWcnBas7aXWXaawa-DsIpQFFYI8UERG4qToMwI_2NAi/s320/HIS-130HY2_LG.gif" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">VGA card Radeon X1300 128 MB</td></tr>
</tbody></table>
<div>
<i><br /></i></div>
<div>
Komputer ini sudah cukup tua usianya, sekitar 9 tahun. Motherboard-nya <a href="https://ark.intel.com/products/50375/Intel-Desktop-Board-DG31PR" target="_blank">Intel DG31PR</a> dengan prosesor <a href="http://ark.intel.com/products/36503/Intel-Core2-Duo-Processor-E7500-3M-Cache-2_93-GHz-1066-MHz-FSB" target="_blank">Intel Core 2 Duo E7500</a>, memori DDR 2 3 GB dan harddisk SATA 500 GB 7200 RPM. Sistem operasi yang digunakan adalah <a href="http://www.slackware.com/" target="_blank">Slackware Linux</a> versi 13.37. Kinerja komputer ini sebagai server <i>e-learning </i>untuk kategori dosen jelata macam kami sudah cukup memuaskan. Sekitar 80 orang pengguna dapat dilayani secara simultan, walau <i>bottleneck</i>-nya tentu saja di <i>hard-disk</i> dan wifi seputar ruang lab. </div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6LYgXyDUrlKm78f_unySx52g7WTuf-I0soXAE0-7VsiHbWLLe-lyjsZSK1tRY6NGzS2mG00z_R6COQohnDh-WzO-AJrHktSiusPeD6EEVhSK8zxk8w7tPLRb0fof_8oEPUCfEWlTN9FsU/s1600/96c718650c795aadb330316364ecff45.1600.jpg" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6LYgXyDUrlKm78f_unySx52g7WTuf-I0soXAE0-7VsiHbWLLe-lyjsZSK1tRY6NGzS2mG00z_R6COQohnDh-WzO-AJrHktSiusPeD6EEVhSK8zxk8w7tPLRb0fof_8oEPUCfEWlTN9FsU/s200/96c718650c795aadb330316364ecff45.1600.jpg" width="200" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Intel Core 2 Duo E7500</td></tr>
</tbody></table>
<div>
<br /></div>
<div>
Tadinya, kami kira prosesor dan <i>motherboard</i> pun kena <i>spike, </i>sehingga terpaksa diorder semua komponen-komponen tersebut. Menariknya, Forum Overcloker punya info kalau <a href="http://www.overclock.net/t/1384920/good-news-for-the-lga775-now-771-is-available-to-convert-to-775-motherboard/80" target="_blank">prosesor Xeon seri (x52xx s.d. x56xx) dengan soket LGA 771 dapat dipasang di motherboard soket LGA 775 dengan beberapa perubahan</a>. Prosesor xeon yang dipilih adalah <a href="https://ark.intel.com/products/34446/Intel-Xeon-Processor-X5450-12M-Cache-3_00-GHz-1333-MHz-FSB" target="_blank">Xeon x5450 </a>3 GHz dengan FSB 1333 MHz dan TDP 95 W, atau nyaris 200% lebih tinggi dibandingkan E7500. </div>
<div>
<br /></div>
<div style="text-align: center;">
<br /></div>
<div>
<br /></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuyuP6wwbm4uVSRpCqoqzzASZXsTZ0Gw9o6kbFd42aw-oSrlxmypAYoLPvg0JGMcwIr1PbJi4D9jRXRBJghNqsKVfChXAD6OuYv5DBGLw4jXBamPlv82HsxWQ9o__M34gLInPoYDY8BQ8d/s1600/Intel-socket-775-font-b-Xeon-b-font-font-b-X5450-b-font-Quad-Core-3.jpg" imageanchor="1" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuyuP6wwbm4uVSRpCqoqzzASZXsTZ0Gw9o6kbFd42aw-oSrlxmypAYoLPvg0JGMcwIr1PbJi4D9jRXRBJghNqsKVfChXAD6OuYv5DBGLw4jXBamPlv82HsxWQ9o__M34gLInPoYDY8BQ8d/s200/Intel-socket-775-font-b-Xeon-b-font-font-b-X5450-b-font-Quad-Core-3.jpg" width="183" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Xeon x5450 modifikasi LGA 775</td></tr>
</tbody></table>
<div>
Setelah semua perangkat pengganti tiba (mobo Intel G31, prosesor Xeon x5450, VGA Radeon 6450 1 GB), maka dirakitlah kembali semua perangkat tersebut. Pertama dicek adalah kompatibilitas dan versi BIOS. Versi terakhir BIOS untuk mobo ini adalah <a href="https://downloadcenter.intel.com/product/50375/Intel-Desktop-Board-DG31PR" target="_blank">0071 tahun 2010</a>. Kata pemodifikasi, harusnya prosesor Xeon x5450 langsung terdeteksi.</div>
<div>
<br /></div>
<div>
Pengalaman pertama: Xeon x5450 ini termasuk sangat panas bila dibandingkan E7500. Sepengalaman kami, sepanas-panasnya E7500 (load > 95%) berada di kisaran 60 C, sementara Xeon x5450 pada kondisi standar (load ~10%) dapat mencapai suhu 100 C. Wow!</div>
<div>
<br /></div>
<div>
Diskusi punya diskusi, ada yang wajib ditambahkan: pasta termal. Penambahan pasta termal diantara <a href="http://images.anandtech.com/reviews/cpu/intel/nehalem/review/heatsinks2.jpg" target="_blank"><i>heatsink </i>standar Intel</a> dapat menurunkan suhu kerja menjadi sekitar 70 C (load ~10%). Selanjutnya, ditambahkan pula kipas brushless 12 cm dengan aliran udara masuk ke dalam casing (<i>positive flow</i>). Penambahan kipas ini menurunkan suhu kerja menjadi sekitar 65 C (load ~10%). Tampaknya sistem sudah aman untuk digunakan.</div>
<div>
<br /></div>
<div>
Sistem selanjutnya di-<i>stress test </i>kurang lebih 20 menit pada load > 95%, kami menggunakan perangkat lunak <a href="http://www.passmark.com/download/bitlinux_download.htm" target="_blank">Burnintest</a>. Ada dua hasil yang didapatkan setelah sistem yang baru ini dirakit. Pertama adalah <a href="http://cpu.userbenchmark.com/Compare/Intel-Xeon-X5450-vs-Intel-Core2-Duo-E7500/m5169vsm987" target="_blank">performa prosesor Xeon x5450 memang jauh berbeda dibandingkan E7500</a>. Sistem masih responsif digunakan (KDE bawaan <a href="http://www.slackware.com/announce/14.2.php" target="_blank">Slackware 14.2</a>) pada kondisi tersebut (load > 95%). Kedua, Xeon ini memang panas hehehe... <i>Heatsink</i> bawaan Intel tidak sanggup mendinginkan otak Xeon yang hampir mendidih (suhu tercatat konstan di 90 C). Pada suhu setinggi ini, prosesor akan menurunkan <i>clock</i> kerjanya agar tidak <i>overheat</i>. </div>
<div>
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoycpNGnP2QNLAJCnpMAOIZEJtyajJe_-YznGbBCB4-rGufLFFiADK00m0BPkhTpOiAX5K1NCMOOB3o4GowW5iPaIrw42Aqt6G_W9oGnzYhdsjcq5hgczlqtv-J3vW9iXJoPwNp6fPnyti/s1600/snapshot1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoycpNGnP2QNLAJCnpMAOIZEJtyajJe_-YznGbBCB4-rGufLFFiADK00m0BPkhTpOiAX5K1NCMOOB3o4GowW5iPaIrw42Aqt6G_W9oGnzYhdsjcq5hgczlqtv-J3vW9iXJoPwNp6fPnyti/s640/snapshot1.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Skrinsut saat burnintest sebagai user</td></tr>
</tbody></table>
<div>
<br /></div>
<div>
Tahap berikutnya adalah terpaksa membeli heatsink yang pantas untuk prosesor dengan TDP 95 W. Pilihan jatuh ke <a href="http://www.deepcool.com/product/cpucooler/2014-05/7_869.shtml" target="_blank">DeepCool Ice Edge v. 2</a> dengan kipas 10 cm. Harga produk lumayan murah dan reviewnya kelihatan cukup memuaskan. Tadinya ingin langsung ke seri <a href="http://www.deepcool.com/product/cpucooler/2013-12/7_481.shtml" target="_blank">DeepCool Gamaxx 300 yang cocock untuk prosesor dengan TDP 130 W</a>, akan tetapi kipasnya berukuran 12 cm. Setelah diukur, casingnya bakal tidak muat, <i>ngepres banget</i>.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxPt1BSZc_x6Gh_A2g5PyxCSQBmw42lN3y6EsicGM36KHdwZius0g4tzX-lEkQU58a3nUo2dy81ow2Sb-Is74cvUyQUcAEDLuWtUUT2zISA5RaFFL3LmUoEqohdl_WPlF79CgdmLs8tSsu/s1600/5ad78bd1c649405589d0db813a824e58.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxPt1BSZc_x6Gh_A2g5PyxCSQBmw42lN3y6EsicGM36KHdwZius0g4tzX-lEkQU58a3nUo2dy81ow2Sb-Is74cvUyQUcAEDLuWtUUT2zISA5RaFFL3LmUoEqohdl_WPlF79CgdmLs8tSsu/s400/5ad78bd1c649405589d0db813a824e58.jpg" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">DeepCool seri Ice Edge v 2.0</td></tr>
</tbody></table>
<br /></div>
<div>
<b>Update 9 Mei 2017</b>: Setelah dipasang, ternyata heatsink yang baru memperlihatkan hasil yang sedikit lebih baik pada kondisi full load. Pada kondisi load > 95%, temperatur prosesor dapat bertahan di sekitar 80 C. Sementara pada kondisi load ~10% (browsing, mengetik, mendengarkan musik), suhu kerja berada di kisaran 62 C.<br />
<br />
<i>Overall, </i>komputer tua ini nyaman untuk digunakan kembali. </div>
<div>
<br />
<div style="text-align: right;">
</div>
Pertanyaannya: kenapa nggak <i>upgrade</i> saja ya ke i5, <i>sandy bridge</i> second bertaburan dan harganya murah.... <i>Enggak ah</i>, petualangan <i>upgrade</i>-nya bakal tidak berujung !<br />
<br /></div>
<div>
<br /></div>
<div>
<b>Catatan tepi:</b><br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Xhys-PfsRU1NMfY9YsmoPwWHiN7iXNS84nPLbYvs2JGnqfKjrY3hCt_CDpvnAukFsSidJSIb3uKTghXEfELaCAAx18x_fJ38WagnClZOJjO0d_qGoAkOfZCv6LI0MrHW02Gd6QcHrdw8/s1600/snapshot2.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Xhys-PfsRU1NMfY9YsmoPwWHiN7iXNS84nPLbYvs2JGnqfKjrY3hCt_CDpvnAukFsSidJSIb3uKTghXEfELaCAAx18x_fJ38WagnClZOJjO0d_qGoAkOfZCv6LI0MrHW02Gd6QcHrdw8/s400/snapshot2.png" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="font-size: 12.8px; text-align: center;">Linux 4.4. Mendeteksi tipe prosesor X5450 pada mobo Intel DG31PR dengan benar.</td></tr>
</tbody></table>
</div>
<div>
<br />
<ol>
<li>Slackware 14.2 sangat nyaman digunakan sebagai desktop, walau beberapa <i>gimmick</i> perlu diinstall: <a href="https://slackbuilds.org/repository/14.2/desktop/cairo-dock-plugins/" target="_blank">Cairo Dock</a>, <a href="http://wps-community.org/download.html" target="_blank">WPS Office versi komunitas</a>.</li>
<li>Kenapa VGA-nya Radeon? Karena hingga setidaknya awal 2017, <a href="https://nouveau.freedesktop.org/wiki/CodeNames/" target="_blank"><i>driver open source</i> nouveau </a>di Linux <a href="http://www.phoronix.com/scan.php?page=article&item=openclose-amdnv-2017&num=2" target="_blank">sangat teroptimasi untuk Radeon</a>. </li>
<li>Mobo DG31PR mengenali prosesor Xeon x5450 pada frekuensi kerja 2 GHz dengan cache 6M saja. Sebenarnya ini salah, sebabnya adalah CPU microcode untuk LGA771 tidak terdaftar (tentu saja!). Performa terlihat optimal, artinya prosesor bekerja dengan benar. Disarankan untuk mengkompilasi manual <a href="http://www.delidded.com/lga-771-xeon-microcode/" target="_blank">BIOS dengan CPU microcode</a> yang sesuai dengan <a href="http://www.delidded.com/lga-771-to-775-adapter/2/" target="_blank">mobo non Intel (karena BIOSnya dienkripsi) dengan chipset yang lain</a>. </li>
</ol>
</div>
<div>
<br /></div>
ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-51911649073088997182015-07-08T10:36:00.001+08:002015-07-08T10:50:56.769+08:00Merakit Destilator Bioetanol Sederhana (1)Baru aktif kembali ngeblog, kali ini dengan bahasa Indonesia saja. Berawal dari kebutuhan alat untuk penelitian mahasiswa, akhirnya dirakitlah alat destilator bioetanol sederhana ini.<br />
<br />
<b>Kebutuhan alat</b><br />
<br />
1. Sebuah panci aluminium ukuran medium<br />
2. Dua buah toples kaca bertutup stainless steel ataupun aluminium, diameter sekitar 15 cm.<br />
3. Sebuah selang stainless steel fleksibel ukuran 1/2 in panjang 50 cm.<br />
4. Fitting pipa seperti pada gambar, sangat dianjurkan terbuat dari stainless steel. Akan tetapi pada kali ini menggunakan fitting kuningan.<br />
5. Seal karet ataupun seal stainless steel ukuran M 24, Pada kali ini seal terbuat dari besi non stainless steel.<br />
6. Mata bor ukuran 28.<br />
7. Klem pengencang tutup toples dengan diameter menyesuaikan tutup toples.<br />
8. Seal tape.<br />
9. Dua buah kunci inggris.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm6SkFYcenJPihERATxG1g48Y6aBpE6OGqpYFnDSEkWW4UBMcedQr2i_I65m1X85nVU9pHL_CP4ElBgUQZmfYoymI88-fBdWJLiCj0xe0jMOuvLoB20DQ6p6DjEvTXQse0I3hqRGFhC2ko/s1600/2015708101341.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm6SkFYcenJPihERATxG1g48Y6aBpE6OGqpYFnDSEkWW4UBMcedQr2i_I65m1X85nVU9pHL_CP4ElBgUQZmfYoymI88-fBdWJLiCj0xe0jMOuvLoB20DQ6p6DjEvTXQse0I3hqRGFhC2ko/s400/2015708101341.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<b>Tahap Pengerjaan</b></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
1. Semua tutup toples dan tutup panci dibor.</div>
<div class="separator" style="clear: both; text-align: left;">
2. Semua fitting dilapisi dengan seal tape.</div>
<div class="separator" style="clear: both; text-align: left;">
3. lalu fitting dirakit satu persatu.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKM6e4q7oTKJAb767KbGyTva6OI47nfzFdI4EjQ3r99BjyGo_o5YcMb5Tv_I080b6s9DzDn82F_dcSEYGgesBABoYTiXl0htuurRTgHp2qJFIoD24poKHaHkjpad3oeF3Je5d_yEg3eoUo/s1600/2015708100455.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKM6e4q7oTKJAb767KbGyTva6OI47nfzFdI4EjQ3r99BjyGo_o5YcMb5Tv_I080b6s9DzDn82F_dcSEYGgesBABoYTiXl0htuurRTgHp2qJFIoD24poKHaHkjpad3oeF3Je5d_yEg3eoUo/s400/2015708100455.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
4. Selanjutnya tutup toples diberi klam pengencang sesuai ukuran.</div>
<div class="separator" style="clear: both; text-align: left;">
5. Sebelum semua dikencangkan, selang fleksible dimasukkan melalui lubang tutup panci bari kemudian dirangkai seluruhnya. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9wrOpe253Surx8uHzlNQ3532uOeMVVUy3WiP7fjrRQVZxVri897Ohi-BE3hKh8xRHuO65B0mBfQHQyNeteUwfavQUZwU-6tCKOkUagRvq6laeiXD3tcG9biBjGFifG4QTndyq4GvaT8qV/s1600/2015708100810.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9wrOpe253Surx8uHzlNQ3532uOeMVVUy3WiP7fjrRQVZxVri897Ohi-BE3hKh8xRHuO65B0mBfQHQyNeteUwfavQUZwU-6tCKOkUagRvq6laeiXD3tcG9biBjGFifG4QTndyq4GvaT8qV/s400/2015708100810.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
6. Botol dirakit dan siap untuk digunakan. Botol di bagian penampung sebaiknya direndam dalam air dingin/air es, sehigga uap segera mencair.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiALJX_BaLBN8ejL1vuK_exKod1pwZqD-DE-haJJo47Ddfo3Y9jK6K8H1PzVZBhEKpGMvinlfh1UdlnqHjIQpBHgvtxs4qd42RlgFzN-0nzXN9r-yQu970ChXzKYltqPDXUGzqO5mUaFMP1/s1600/2015706075910.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiALJX_BaLBN8ejL1vuK_exKod1pwZqD-DE-haJJo47Ddfo3Y9jK6K8H1PzVZBhEKpGMvinlfh1UdlnqHjIQpBHgvtxs4qd42RlgFzN-0nzXN9r-yQu970ChXzKYltqPDXUGzqO5mUaFMP1/s400/2015706075910.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
7. Sebaiknya dilakukan beberapa kali sirkulasi sebelum alat digunakan untuk membersihkan kotoran yang terdapat pada bagian dalam fitting dan selang fleksibel.</div>
<div class="separator" style="clear: both; text-align: left;">
8. Alat siap untuk digunakan.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilo6oc-GOc5PHLHEHat2dq7BNanCSzVddWPKWcUSTqnICLWlcVNyJOcBVbkpwkUBlBz0OF3pxgZeRFufwSgByOMPrathQmmR7-fdQjMixI7OoNGxYRnI5ReIkisJeQE4NpuAcUPQAZeNBj/s1600/IMG-20150706-WA0003.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilo6oc-GOc5PHLHEHat2dq7BNanCSzVddWPKWcUSTqnICLWlcVNyJOcBVbkpwkUBlBz0OF3pxgZeRFufwSgByOMPrathQmmR7-fdQjMixI7OoNGxYRnI5ReIkisJeQE4NpuAcUPQAZeNBj/s320/IMG-20150706-WA0003.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
9. Untuk hasil yang bersih, semua seal dan fitting diganti dengan stainless steel.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Tahap selanjutnya adalah membuat kontrol temperatur untuk suhu destilasi dengan Arduino + termokopel.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-78959145426806571012015-01-02T23:58:00.004+08:002015-01-05T20:03:04.946+08:00DHT11 incubator with I2C LCD (part 2)<b style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;">DESCRIPTION</b><br />
<br style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;" />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;">This iteration of <a href="http://teknologi.arahmadi.net/2014/11/dht11-incubator-with-i2c-lcd-part-1.html">part 1</a> updates code for </span><span style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;">button as controls to set the TempTarget and time/duration.</span><br />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;">DHT11 is applied as a sensor for temperature and humidity. To control temperature, a relay is used and connected to heating elements. Humidity and Temperature are displayed on a 16x2 LCD via I2C/PCF8574. On the next iteration, there will be </span><span style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;">humidity control via pneumatic parts</span><br />
<br style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;" />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;">However, other incubator implementing LM35 as temperature sensor is already explained </span><a href="https://codebender.cc/sketch:36730" style="-webkit-transition: color 0.3s; background-color: white; color: #009eb8; display: inline; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; outline: none; text-align: justify; text-decoration: none; transition: color 0.3s;">on this link</a><br />
<br style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;" />
<b style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;">EQUIPMENT IN USE</b><br />
<br style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;" />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;">This incubator uses a clone of Arduino UNO, <a href="http://www.jasinski.us/wp-content/uploads/2014/09/cheap-arduino-767x767.jpg">DCcduino</a> with <a href="http://www.arduined.eu/ch340g-converter-windows-7-driver-download/">CH340G USB</a>, a <a href="http://playground.arduino.cc/Main/DHTLib">DHT11</a> sensor, a relay, and a LCD 16x2 connected to<a href="http://playground.arduino.cc/Code/LCDi2c"> I2C module (PCF8574</a>).</span><br />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;"><br /></span>
<b><br /></b>
<b style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;">DIAGRAM AND PICTURES</b><br />
<b style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;"><br /></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw-Kxhx8oJztYbFAJ2sRQ2z8PfuQvZZArgbEJoC-95BRNTAnKOVI-MHNTa3zZAMRlC0e_hz_Kmstd40MPcRs3dZX_6erBJiJHKoO1VLyKyD8iGquNKj_m3YEJwegPgl7AkUUxuXMGVnxkO/s1600/2014924125339.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw-Kxhx8oJztYbFAJ2sRQ2z8PfuQvZZArgbEJoC-95BRNTAnKOVI-MHNTa3zZAMRlC0e_hz_Kmstd40MPcRs3dZX_6erBJiJHKoO1VLyKyD8iGquNKj_m3YEJwegPgl7AkUUxuXMGVnxkO/s1600/2014924125339.jpg" height="360" width="640" /></a></div>
<b style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;"><br /></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ZfD3faPsp34UMwv_NZU-91-LNH99QuH5mY9x0AaWxWbvYhK-kSa4k0gF8afSHTmG7jqb2bHB28oTGwKlw-l0IUKYDkfYBU2ON6NRqPHMU2LgMpOsvSpqRCIwYPTDWsRh1y2JHd71gxcA/s1600/arduino+003.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ZfD3faPsp34UMwv_NZU-91-LNH99QuH5mY9x0AaWxWbvYhK-kSa4k0gF8afSHTmG7jqb2bHB28oTGwKlw-l0IUKYDkfYBU2ON6NRqPHMU2LgMpOsvSpqRCIwYPTDWsRh1y2JHd71gxcA/s1600/arduino+003.JPG" height="236" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsU8p498ZkEarIgbnxcLkfqKFIKDu7w7z09NqVqaeDyy3O-AqYftKcfgQeWCbgcRM8mU6lJ6jjYV7Kxi_wt7pZH5ymK9aKAa4WxZkpAefQQ5Zbqz2nZi5I8cuLu8CEmPCLMOQ7LNG5poPA/s1600/arduino+005.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsU8p498ZkEarIgbnxcLkfqKFIKDu7w7z09NqVqaeDyy3O-AqYftKcfgQeWCbgcRM8mU6lJ6jjYV7Kxi_wt7pZH5ymK9aKAa4WxZkpAefQQ5Zbqz2nZi5I8cuLu8CEmPCLMOQ7LNG5poPA/s1600/arduino+005.JPG" height="209" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRiIugNTRZURZAUZgb2gLEcSAU5jsSBF6DO7qd-xlc_DnJzM5k96goRcJHJQiXt7o3K6c1s7EiSerprofsJ3J37FFiE3Ix1mvd2HvEzDDp2hwUl0A4ThXFYPwn6r8IAOwCvB0RsyLN9TFh/s1600/10873517_10152587185398365_8602616836853968603_o.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRiIugNTRZURZAUZgb2gLEcSAU5jsSBF6DO7qd-xlc_DnJzM5k96goRcJHJQiXt7o3K6c1s7EiSerprofsJ3J37FFiE3Ix1mvd2HvEzDDp2hwUl0A4ThXFYPwn6r8IAOwCvB0RsyLN9TFh/s1600/10873517_10152587185398365_8602616836853968603_o.jpg" height="454" width="640" /></a></div>
<b style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;"><br /></b>
<b style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;"><br /></b>
<b style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;">CODE</b><br />
<br />
<span style="background-color: white; color: #333333; font-family: 'Helvetica Neue Light', HelveticaNeue-Light, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19.6000003814697px; text-align: justify;">You may grab the code <a href="https://codebender.cc/sketch:71882">here</a></span><br />
<br />
<iframe allowtransparency="true" frameborder="0" src="https://codebender.cc/embed/sketch:71882" style="height: 510px; margin: 10px 0 10px; width: 100%;"></iframe>ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-87268745607353083302014-11-20T04:34:00.003+08:002014-11-21T06:24:17.789+08:00DHT11 incubator with I2C LCD (part 1)<b>DESCRIPTION</b><br />
<br />
DHT11 is applied as a sensor for temperature and humidity. To control temperature, a relay is used and connected to heating elements. Humidity and Temperature are displayed on a 16x2 LCD via I2C/PCF8574. On the next iteration, there will be:<br />
<br />
<ol>
<li>an additional relay to control a cooling fan</li>
<li>humidity control via pneumatic parts</li>
<li>button as controls to set the TempTarget and HumiTarget.</li>
</ol>
<br />
However, other incubator implementing LM35 as temperature sensor is already explained <a href="https://codebender.cc/sketch:36730">on this link</a><br />
<br />
<b>EQUIPMENT IN USE</b><br />
<br />
This incubator uses a clone of Arduino UNO, DFRduino v2.1, a DHT11 sensor, a relay, and a LCD 16x2 connected to I2C module (PCF8574).<br />
<br />
<b>DIAGRAM AND PICTURES</b><br />
<b><br /></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil8JJ-ZqwNPfvMGYLkekoO6rWomXBEd6iIgYhMeUdkkPrqdE06HU7tS14uGZCluJolDuDRUvOky9qFlXI1E2eDn9heW1XoMmBi4txhCKN5xE3OR2eCL-2vwmnLFn-i6xGSoiWE9arcf-5o/s1600/Fullscreen+capture+20112014+43900+AM.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil8JJ-ZqwNPfvMGYLkekoO6rWomXBEd6iIgYhMeUdkkPrqdE06HU7tS14uGZCluJolDuDRUvOky9qFlXI1E2eDn9heW1XoMmBi4txhCKN5xE3OR2eCL-2vwmnLFn-i6xGSoiWE9arcf-5o/s1600/Fullscreen+capture+20112014+43900+AM.jpg" height="440" width="640" /></a></div>
<b><br /></b>
<b><br /></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieMHRQ7sBFMVFoYtP_LIyTbtQrUgwGjlzTN8hEsVEXqEkXTFVBiMuh-wQOjqunM0Az0YO9_p9s2rjtxm6LsZE_xELFFlAni_m_IvwOn5X9V8OcZdzvr1HIn9sJlrK9xZYl6mY5HTkCo-gp/s1600/incubator+002.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieMHRQ7sBFMVFoYtP_LIyTbtQrUgwGjlzTN8hEsVEXqEkXTFVBiMuh-wQOjqunM0Az0YO9_p9s2rjtxm6LsZE_xELFFlAni_m_IvwOn5X9V8OcZdzvr1HIn9sJlrK9xZYl6mY5HTkCo-gp/s1600/incubator+002.JPG" height="640" width="620" /></a></div>
<b><br /></b>
<br />
<b><br /></b>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWZ-x9-Dp_8fcR7QN6bI7VsLSOpow8X9YVdJXh7mPyOg9xLTmV3jPMAyYwpAfISIAy212kIdZlZklXmlQcyEyNHKwx6WPfs6zlu88UupIEyyPbyfLz6dKeLn8Zv-SiQzwDqA1Es4H6Xs7y/s1600/2014924125339.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWZ-x9-Dp_8fcR7QN6bI7VsLSOpow8X9YVdJXh7mPyOg9xLTmV3jPMAyYwpAfISIAy212kIdZlZklXmlQcyEyNHKwx6WPfs6zlu88UupIEyyPbyfLz6dKeLn8Zv-SiQzwDqA1Es4H6Xs7y/s1600/2014924125339.jpg" height="360" width="640" /></a></div>
<b><br /></b>
<b><br /></b>
<b>THE CODE</b><br />
<br />
<a href="https://codebender.cc/sketch:62651">you can grab the code here</a><br />
<br />
<iframe allowtransparency="true" frameborder="0" src="https://codebender.cc/embed/sketch:62651" style="height: 510px; margin: 10px 0 10px; width: 100%;"></iframe>ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-14016389111647670682014-11-12T21:46:00.004+08:002014-11-12T22:27:14.125+08:00Herry's Hybrid Sun and Element Drier Project with ArduinoHerry's Hybrid Sun and Element Drier with Arduino is an undergraduate student final project at <a href="http://zen.thp.unmul.ac.id/">THP Mulawarman University</a>. The aim is to produce a hybrid sun + electric drier for agricultural products, mainly focusing on herbal products. This sketch is version 1.0 as of October 2014.<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF4oHJdMXNG1p0bqBkQsE9VNXuzvZ2Zv-6cnBLVxh3wfx9WihNydcL4RhPGXLBD_DqjAXdqumEP8fc70p4bY3Mq55Sgw9Aw364VrFIIur4swJqEy9lE3ifK-FuN1j4JpLH_lofIQClEkoL/s1600/Fullscreen+capture+12112014+94432+PM.jpg" imageanchor="1"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF4oHJdMXNG1p0bqBkQsE9VNXuzvZ2Zv-6cnBLVxh3wfx9WihNydcL4RhPGXLBD_DqjAXdqumEP8fc70p4bY3Mq55Sgw9Aw364VrFIIur4swJqEy9lE3ifK-FuN1j4JpLH_lofIQClEkoL/s640/Fullscreen+capture+12112014+94432+PM.jpg" /></a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<iframe allowtransparency="true" frameborder="0" src="https://codebender.cc/embed/sketch:61016" style="height: 510px; margin: 10px 0 10px; width: 100%;"></iframe><br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9nGBZBH1TOx5ADaYqd-V-tQOGrVec2NB1zxt5fyySWGDWushnbnvQ2jy07CkyXTHdP4qnGtK1TT5jROOXuqjYWAlKqNCxrkDFtbCCPI6yPx0yUzQHOkXSzvpGIbgemNztmaVFgSoNkepz/s1600/Fullscreen+capture+12112014+95038+PM.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="467" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9nGBZBH1TOx5ADaYqd-V-tQOGrVec2NB1zxt5fyySWGDWushnbnvQ2jy07CkyXTHdP4qnGtK1TT5jROOXuqjYWAlKqNCxrkDFtbCCPI6yPx0yUzQHOkXSzvpGIbgemNztmaVFgSoNkepz/s640/Fullscreen+capture+12112014+95038+PM.jpg" width="640" /></a><br />
<br />
Our Past Abstract<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNnIF0WlqMx9QHYPbGuT2SPGv0gIkUikesI_rmK1d3-Seaq-kcPLxdVzjDbd4QTxof3ZRI96ZAaiPADa4pFc6M2iqWWNT2Ylzop9BR3VIMxIj2q243_Cnqi4ppN3aLCgbqlVmdV1iD8WHe/s1600/Fullscreen+capture+27082014+14947+PM.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNnIF0WlqMx9QHYPbGuT2SPGv0gIkUikesI_rmK1d3-Seaq-kcPLxdVzjDbd4QTxof3ZRI96ZAaiPADa4pFc6M2iqWWNT2Ylzop9BR3VIMxIj2q243_Cnqi4ppN3aLCgbqlVmdV1iD8WHe/s640/Fullscreen+capture+27082014+14947+PM.jpg" width="640" /></a>ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-63164841350638463352014-11-12T20:19:00.002+08:002014-11-12T20:38:09.450+08:00Updating vmail-1.7Just a minute note on installing Postfix with MySQL and virtualmail on Slackware linux.<br />
The explanation can be read from <a href="https://code.google.com/p/postfix-mysql-virtualmail-on-slackware/source/browse/vmail-1.7b.txt">here</a>.<br />
<br />
Old versions of this note are available from <a href="https://code.google.com/p/postfix-mysql-virtualmail-on-slackware/source/browse/">here</a>.<br />
<br />
Feel free to discuss and improve the files as I am doing this in very limited time and as for fun only. Anyone to co-write for next version, please contact me via email/my profile.<br />
Cheers,<br />
<br />
<br />ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-51454123488647169572014-06-21T07:46:00.004+08:002014-11-12T20:34:37.525+08:00Minute note on avoiding email server from spam blacklist databaseMaintaining reputable email server is increasingly time demanding, no only complying to different 'standards' from major MTA providers, but also dealing with bad habit of the users and ever growing innovative ways of user account collectors and spam engine ditchers.<br />
<br />
I will try to list some of the most important settings that are required for a high reputation email server, so that any email sent from the account will not fall into spam folder:<br />
<br />
<ol>
<li><a href="http://www.sendblastersmtp.com/resources/docs/improving-emai-deliverability-wp">A dedicated IP</a></li>
<li><a href="http://www.spamhaus.org/news/article/706/the-return-of-the-open-relays">Closed Relay</a></li>
<li><a href="http://support.simpledns.com/kb/a45/what-is-reverse-dns-and-do-i-need-it.aspx">Reverse DNS</a></li>
<li><a href="http://www.openspf.org/">SPF</a> for every domain, including sub-domains.</li>
<li><a href="http://www.opendkim.org/">DKIM</a> for every domain, including sub-domains.</li>
<li>Valid <a href="http://www.tldp.org/HOWTO/SSL-Certificates-HOWTO/x64.html">SSL certificate</a></li>
<li>SSL and TLS connection</li>
<li>A good configuration, i.e. <a href="http://www.akadia.com/services/postfix_uce.html">Postfix UCE</a></li>
<li>Forcing password to expire after some months</li>
<li>For incoming email, it is equally important to set several hurdles like <a href="http://www.greylisting.org/">greylist</a>, <a href="http://spamassassin.apache.org/">spamassassin</a>, and <a href="http://www.clamav.net/lang/en/">anti-virus</a> for the email server.</li>
<li>Refreshing users about <a href="http://www.talktalk.co.uk/security/email-do-and-dont.html">do and dont</a> with corporate email. </li>
<li>A good communication with spam blacklist providers, in case the email server is accidentally abused.</li>
</ol>
<br />
<br />
Cheers!ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-81810867139690494202014-06-21T07:15:00.003+08:002014-06-21T07:15:36.846+08:00Burning Arduino Bootloader to ATmega328P-PU with Pro Mini<h3>
Introduction</h3>
<br />
The good thing about Arduino is the capability of becoming an USB programmer for other minimum system. In today's case, I burn ATmega328P-PU on a breadboard with an Arduino Pro-Mini that is coonected to a computer via FTDI.<br />
<br />
<h3>
Hardware Setup</h3>
<ol>
<li><a href="https://www.sparkfun.com/products/9718">An FTDI cable</a></li>
<li>Arduino Pro-Mini, my version is <a href="https://www.sparkfun.com/products/11113">ATmega 328, 16MHz, 5v</a>.</li>
<li><a href="http://arduino.cc/en/Main/Standalone">Minimum system of Arduino</a> with ATmega 328P-PU chip. </li>
<li>capacitors: a 100nF connecting DTR from FTDI to Arduino Pro Mini, and a 10uF connecting RST to GND on breadboard.</li>
<li>some jumper cables.</li>
</ol>
<br />
<h3>
Step by step</h3>
<br />
<ul>
<li>Open the tool tab and select Arduino Pro-Mini 5v, 16MHz, ATmega 328 from the board list of the Arduino IDE</li>
<li>Open the example sketch, select Arduino ISP, and then upload the compiled program to Arduino Pro-Mini.</li>
</ul>
<br />
<br />
<div style="text-align: right;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb52k2lszdpYPP9uqNG4631QAbYGopNOxLzlr2b9uAqv4zvqAKaqadMQklVa4-VrGRs-f0Yi_Bf7j-ZeV6Z8Y86D6xP51C92YgX8rOx6C7nqw3wNgIb9d6GAseIeP490sowY8bMSCSJOzP/s1600/Fullscreen+capture+21062014+63725+AM.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb52k2lszdpYPP9uqNG4631QAbYGopNOxLzlr2b9uAqv4zvqAKaqadMQklVa4-VrGRs-f0Yi_Bf7j-ZeV6Z8Y86D6xP51C92YgX8rOx6C7nqw3wNgIb9d6GAseIeP490sowY8bMSCSJOzP/s1600/Fullscreen+capture+21062014+63725+AM.jpg" height="121" width="400" /></a></div>
<br />
<ul>
<li>Connect D10 of Arduino Pro-Mini to RST of the targeted chip on breadboard, then connect a 10uF connecting RST to GND on breadboard.</li>
<li>Connect D11, D12, D13, VCC, and GND of Arduino Pro-mini to the respective I/O of the targeted chip on breadbard.</li>
</ul>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirAVGFyHCPiPQgEZa7F4FxBpY7Y4Hfz0D9kVPwe42PMM43rNwDOfuMUKx3GSYGhNHAJHnPt2zqG-cov18UIg1eah2T1Sjf4jRC_DCsQZqVSbpiWhyphenhyphenQmHI4vBeNtbxIH2tiawE0XDD_Nl5I/s1600/arduino+002.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirAVGFyHCPiPQgEZa7F4FxBpY7Y4Hfz0D9kVPwe42PMM43rNwDOfuMUKx3GSYGhNHAJHnPt2zqG-cov18UIg1eah2T1Sjf4jRC_DCsQZqVSbpiWhyphenhyphenQmHI4vBeNtbxIH2tiawE0XDD_Nl5I/s1600/arduino+002.jpg" height="480" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik5sVnwq6cxnpgkywg18agZCsVGGx9oQpMWkBFZnqvLO51YinYhKKqO1aL25Uzf7J59Hr7DissLY6tUhol1L6cd_R0Pw48CDhHYpY9EdD_G3ioc5z6roM7ZctI_oBEVryfpEyp_1x4TuQ7/s1600/arduino+010.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik5sVnwq6cxnpgkywg18agZCsVGGx9oQpMWkBFZnqvLO51YinYhKKqO1aL25Uzf7J59Hr7DissLY6tUhol1L6cd_R0Pw48CDhHYpY9EdD_G3ioc5z6roM7ZctI_oBEVryfpEyp_1x4TuQ7/s1600/arduino+010.jpg" height="640" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: left;">
</div>
<ul>
<li>Now select Arduino as ISP from the Programmer sectio of the Tool tab</li>
<li>Also, change the Board to Arduino Uno or other type, depends on what chip is going to be flashed.</li>
</ul>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXbDgU23qgjh1i8Lkfc5M7Q7eW6TyTtpJqZV0EtqEchdC4u-2cnm9yX2nizfsa7pwgwB8Lxo0BuTZfn_-eTUsqXqKSXWv7XeHvWzWFBG5IG-9IjmJxUKpsSOpI_6cn6Fcl_fhISUFNBkPu/s1600/Fullscreen+capture+21062014+63742+AM.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXbDgU23qgjh1i8Lkfc5M7Q7eW6TyTtpJqZV0EtqEchdC4u-2cnm9yX2nizfsa7pwgwB8Lxo0BuTZfn_-eTUsqXqKSXWv7XeHvWzWFBG5IG-9IjmJxUKpsSOpI_6cn6Fcl_fhISUFNBkPu/s1600/Fullscreen+capture+21062014+63742+AM.jpg" height="318" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<ul>
<li>The last step is to burn bootloader that can be selected from the Tool tab.</li>
</ul>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoB3aOkJJO4zgko4wS-Y8gXLVKgYjCr_XPtCmwEPXhzrSFCAA98aqh_DwK7s_kVqHxjug-8zehlcyMUVPDSzRP8-J2UOJPcbfPN8dWYrUoFsIdIrrAi5d36e1R5OcibQpm7lURYYxf2ijp/s1600/Fullscreen+capture+21062014+63749+AM.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoB3aOkJJO4zgko4wS-Y8gXLVKgYjCr_XPtCmwEPXhzrSFCAA98aqh_DwK7s_kVqHxjug-8zehlcyMUVPDSzRP8-J2UOJPcbfPN8dWYrUoFsIdIrrAi5d36e1R5OcibQpm7lURYYxf2ijp/s1600/Fullscreen+capture+21062014+63749+AM.jpg" height="286" width="320" /></a></div>
<br />
<br />ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-24100069168138196332014-06-16T22:58:00.002+08:002014-06-16T23:20:49.664+08:00Analog read smoothing with Arduino<h3 style="text-align: justify;">
Introduction</h3>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
This is a bit more technical and I will update the article if in the future there is a mistake/misconception in applying the correct algorithm which I believe is already sufficient for the smoothing of analogue value reading from Arduino.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
There are many methods of value smoothing, categorized in software based high pass filter, low pass filter, Butterworth filter, etc. But this does not mean that it will increase accuracy of a value generated by a probe. It will only increase the reproducibility within the accuracy range. For example, a<a href="http://www.omega.com/temperature/Z/pdf/z204-206.pdf"> typical k-type thermocouple</a> has accuracy of ±12 LSB (equal to ±3.00°C) when connected via <a href="http://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX6675.html">Maxim 6675</a> amplifier and 5v DC. To increase the accuracy, a careful calibration (i.e. 4/5 degree polynomial equation, or a lookup table) may be needed. For a greater accuracy, it is recommended to use different probe as discussed <a href="https://learn.adafruit.com/thermocouple/">here</a>. </div>
<h3 style="text-align: justify;">
Methods of averaging</h3>
<div style="text-align: justify;">
To acquire a reproducible average, <a href="http://playground.arduino.cc/Main/MaxSonar">mode and median filters </a>are commonly implemented. There are, however, many sophisticated low pass filter that can be use in addition to the previous two. <a href="https://inst.eecs.berkeley.edu/~ee123/sp14/docs/SGFilter.pdf">Savitzky-Golay</a> and <a href="http://lorien.ncl.ac.uk/ming/filter/filmav.htm">Moving Average</a> are applied to smoothen values from sensors. Obtaining trend in trading, <a href="http://www.dailyfx.com/forex/education/trading_tips/daily_trading_lesson/2012/07/27/Trading_with_Moving_Averages.html">Fibonacci Moving Average</a> is also a common algorithm.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: center;">
{I am so sleepy now, this article will be improved later}</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
From all the theories, I tried to extract only some of the most convenient methods to implement. <a href="https://codebender.cc/sketch:37040">You may grab the code here</a>.</div>
<br />
<iframe allowtransparency="true" frameborder="0" src="https://codebender.cc/embed/sketch:37040" style="height: 510px; margin: 10px 0 10px; width: 100%;"></iframe>
ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-8811872916636022982014-06-16T05:36:00.005+08:002014-06-16T05:42:17.317+08:00Writing and reading float using Arduino EEPROM This post is just for a personal reminder after reading discussions from elsewhere about storing and reading float values to/from EEPROM with Arduino.<br />
<br />
<h3>
Scenario</h3>
<br />
Writing negative float to EEPROM can be tricky, since EEPROM only recognises up to 8-bit values (see <a href="http://tronixstuff.com/2011/03/16/tutorial-your-arduinos-inbuilt-eeprom/">Tronixstuff explanation</a>), therefore it requires an additional algorithm to make it able to store negative and float. the scheme is <a href="http://forum.arduino.cc/index.php?topic=188355.0">to use four bits of the ATmega328's EEPROM</a> to store numerical parts of a float value. The function involved is <a href="http://playground.arduino.cc/Code/ResourceFriendlyStructs">union</a>.<br />
<br />
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace;">//union value</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace;">typedef union{</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace;"> float flt;</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace;"> byte array[4];</span></blockquote>
<blockquote class="tr_bq">
<span style="font-family: Courier New, Courier, monospace;">} FloatConverter;</span></blockquote>
<br />
<h3>
The code</h3>
<br />
<a href="https://codebender.cc/sketch:37001">You may grab the code here</a><br />
<br />
<br />
<iframe allowtransparency="true" frameborder="0" src="https://codebender.cc/embed/sketch:37001" style="height: 510px; margin: 10px 0 10px; width: 100%;"></iframe>ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-59747644763035866682014-06-15T14:03:00.002+08:002014-06-16T05:37:07.581+08:00A simple tank robot v1<div class="separator" style="clear: both; text-align: left;">
Inspired by: <a href="http://www.barrymiller.com.au/tankrobot/index.html">Barry Miller's tank robot</a>, I wanted to clone his niche Tamiya tank.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<h3 class="separator" style="clear: both; text-align: left;">
Hardware setup</h3>
<div class="separator" style="clear: both; text-align: left;">
The list of hardware required is:</div>
<ol>
<li><a href="http://www.dfrobot.com/index.php?route=product/product&path=52_104&product_id=838">an Arduino uno R3</a></li>
<li><a href="http://www.pololu.com/product/61">Tamiya twin gearbox motor </a>(left right independent)</li>
<li>a <a href="http://www.ti.com/lit/ds/symlink/l293d.pdf">L293D</a> motor driver (homemade) </li>
<li><a href="http://www.pololu.com/product/106">Tamiya track and wheel set</a> </li>
<li><a href="http://www.tamiya.com/english/products/70172plate/">Tamiya twin multi-purpose plate</a></li>
<li>a <a href="https://www.sparkfun.com/products/12043">small breadboard</a></li>
<li>a pinger (<a href="http://www.micropik.com/PDF/HCSR04.pdf">HC-SR4</a>)</li>
<li>a <a href="http://www.servodatabase.com/servo/hextronik/hx5010">standard servo </a>or a mini servo</li>
<li>an infrared proximity sensor (<a href="http://www.sharpsma.com/webfm_send/1208">GP2Y0A21YK</a>)</li>
</ol>
All parts were available at <a href="http://klinikrobot.com/">Klinik Robot</a> or similar websites. <br />
<ol>
</ol>
After arranging, here is the front look:<br />
<br />
<div style="text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtStX9PbbSngTaP2NLWo6ZpY_fQy0cHNawg9hig_26c0ayLjUk3yGUkgGOaBOe-JiVXJxJbDXq2GZq2K9ro8wlQwEF9O_WqX6aj34YetC7XJiOhz0j3H72VwXoygfC7wUSJQQIii6TQjQm/s1600/tank+002.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtStX9PbbSngTaP2NLWo6ZpY_fQy0cHNawg9hig_26c0ayLjUk3yGUkgGOaBOe-JiVXJxJbDXq2GZq2K9ro8wlQwEF9O_WqX6aj34YetC7XJiOhz0j3H72VwXoygfC7wUSJQQIii6TQjQm/s1600/tank+002.jpg" height="400" width="263" /></a> </div>
<ol>
</ol>
<h3 class="separator" style="clear: both; text-align: left;">
The Program</h3>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://codebender.cc/sketch:36977">You may grab the code here</a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<iframe allowtransparency="true" frameborder="0" src="https://codebender.cc/embed/sketch:36977" style="height: 510px; margin: 10px 0 10px; width: 100%;"></iframe><br />
<br />
<h3 class="separator" style="clear: both; text-align: left;">
Lets the fun starts
</h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtStX9PbbSngTaP2NLWo6ZpY_fQy0cHNawg9hig_26c0ayLjUk3yGUkgGOaBOe-JiVXJxJbDXq2GZq2K9ro8wlQwEF9O_WqX6aj34YetC7XJiOhz0j3H72VwXoygfC7wUSJQQIii6TQjQm/s1600/tank+002.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWbe2hvkV8MYvFm6hYHP2MOsn0MZo2FU-ZmnEr6ASOqaL4l57LigSTNH0NtYWbHMUJVSJWBoi-FVAMh61LS5ZH4Ge3G1EgIEHKR5WhLvavjozgVlD_t6SKEFpLyPdJJLcqyZhHoICLoncd/s1600/tank+007.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWbe2hvkV8MYvFm6hYHP2MOsn0MZo2FU-ZmnEr6ASOqaL4l57LigSTNH0NtYWbHMUJVSJWBoi-FVAMh61LS5ZH4Ge3G1EgIEHKR5WhLvavjozgVlD_t6SKEFpLyPdJJLcqyZhHoICLoncd/s1600/tank+007.jpg" height="306" width="400" /></a></div>
<br />
Enjoy!ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-34458905290285158122014-06-14T08:17:00.000+08:002014-06-16T05:40:30.758+08:00NTC Thermistor Incubator Part 3: Integrating double digits 7-segmentThis is a close to final version of my triplet NTC thermistors incubator with multi-buttons on a single analog input and double digits 7 segment output. You may read <a href="http://sqvalkic.blogspot.com/2014/05/ntc-thermistor-incubator-with-arduino.html">part1</a> and <a href="http://sqvalkic.blogspot.com/2014/05/ntc-thermistor-incubator-with-arduino_28.html">part2</a>, for the whole story. On a separated article, I replaced NTC thermistor and 7segment with LM35 probe and LCD 16x2, <a href="http://sqvalkic.blogspot.com/2014/06/lm35-incubator-with-lcd-16x2-on-arduino.html">here</a>.<br />
<br />
<h3>
Hardware setup</h3>
I use <a href="http://arduino.cc/en/Tutorial/ArduinoToBreadboard">Arduino standalone on breadboard</a>, <a href="http://www.betlux.com/product/LED_seven_segment_display/two_digit_seven_segment_display/BL-D30C-21.PDF">common anode double digits 7 segment</a> 16 pins, two <a href="http://arduino.cc/en/tutorial/ShiftOut">74HC595</a>s, three <a href="http://en.wikipedia.org/wiki/Thermistor">NTC thermistor</a>s, <a href="https://www.sparkfun.com/tutorials/245">an FTDI 5v uploader</a>, <a href="http://www.dx.com/p/one-channel-5v-relay-module-for-arduino-red-157153">an optocoupler protected relay module</a>, resistors (10kΩ, 1kΩ, 4k7Ω, 470Ω, 220Ω and 47Ω), and push buttons.<br />
<br />
Since the 7 segment that I purchased has no datasheet, it is important to look at other version of common anode (tandyonline.co.uk):<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.tandyonline.co.uk/media/wysiwyg/276-078-Two-Digit-7-Segment-Display-pins.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.tandyonline.co.uk/media/wysiwyg/276-078-Two-Digit-7-Segment-Display-pins.png" height="281" width="400" /></a></div>
<br />
<br />
The final setup on breadboard:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRD1LB1fa_zL01hrnqRgDX2wHI4R9pzSngmeXBXZN8BqFA6q8lKaMG1mbUYRrRGRtkKGzowBSHMsmn2QCsjytjRqNSBKjJLb3UA3eL_Qz8b3kCCa4DLM1NEDl_x6fNakHZxz6z961CZjhv/s1600/arduino+009.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRD1LB1fa_zL01hrnqRgDX2wHI4R9pzSngmeXBXZN8BqFA6q8lKaMG1mbUYRrRGRtkKGzowBSHMsmn2QCsjytjRqNSBKjJLb3UA3eL_Qz8b3kCCa4DLM1NEDl_x6fNakHZxz6z961CZjhv/s1600/arduino+009.JPG" height="357" width="400" /></a></div>
<br />
<h3>
The codes</h3>
<a href="https://codebender.cc/sketch:36931">You may grab the codes here</a><br />
<iframe allowtransparency="true" frameborder="0" src="https://codebender.cc/embed/sketch:36931" style="height: 510px; margin: 10px 0 10px; width: 100%;"></iframe><br />
<h3>
What next?</h3>
Obviously, the next step is to print a PCB (<a href="http://www.youtube.com/watch?v=wKEe3otWstM">there is a great tutorial</a> on the Tube, or if you understand Bahasa Indonesia, here is <a href="http://duwiarsana.com/cara-cepat-cetak-layout-pcb/">a great tutorial from Duwi</a>) for this project and to assemble all the parts on it.<br />
<br />
I will definitely give it a try when I have enough spare time for this hobby.<br />
Have fun!ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0tag:blogger.com,1999:blog-4916577592507825618.post-55297281027736711892014-06-10T22:09:00.004+08:002014-06-10T23:13:53.557+08:00LM35 Incubator with LCD 16x2 on Arduino<h3>
Past articles:</h3>
<div>
<ol>
<li><a href="http://sqvalkic.blogspot.com/2014/05/ntc-thermistor-incubator-with-arduino.html">NTC thermistor incubator (part 1): connecting triple thermistor</a></li>
<li><a href="http://sqvalkic.blogspot.com/2014/05/ntc-thermistor-incubator-with-arduino_28.html">NTC thermistor incubator (part 2): multi-buttons input for single Analog pin</a> </li>
</ol>
</div>
<h3>
<b>Introducing CodeBender</b></h3>
Today I found a great code sharing website called <a href="http://www.codebender.cc/">codebender</a> that allows me to use Arduino in any computer since it has online IDE with crossplatform browser plugin to upload to Arduino system.<br />
<br />
Remember, Arduino is an Open Source Hardware project, I encourage people to share as much as we learn from others too. Sharing knowledge is awesome!<br />
<br />
Since everything is online and pretty straight forward, I will try to explain my project as simple as possible.<br />
<br />
<h3>
<b>The Aim</b></h3>
My aim is still to produce an incubator, but today the specification will be:<br />
<br />
<ol>
<li>Internal LM35 temperature sensor that will be placed inside the incubator</li>
<li>External LM35 temperature sensor that will monitor ambient/room temperature</li>
<li>Peltier element that will be connected through a relay module</li>
<li>Displaying internal (current temp, CT), external (ambient temp, AT), and target temperature (TT), and running mode (M) on a 16x2 LCD display.</li>
<li>Store and fecth all preset data </li>
<li>Creating 4 sub-menus that will adjust target temperature, calibrate both of LM35 sensors, and save the preset in EEPROM.</li>
<li>Also, logs parameters in SD card.</li>
</ol>
<h3>
Hardware setup</h3>
<div>
For the hardware, I use an <a href="http://arduino.cc/en/Main/arduinoBoardUno">Arduino Uno</a>, <a href="http://imall.iteadstudio.com/im120417007.html">SD card shield</a> (iteadStudio), <a href="http://www.dfrobot.com/index.php?route=product/product&product_id=51#.U5cYNHKSy-g">LCD 16x2 shield</a> (DFRobot),<a href="http://www.aliexpress.com/popular/relay-5v-220v.html"> twin relay module</a> (some chinese brand), two <a href="http://www.ti.com/product/lm35">LM35 sensor</a> breakouts (DFRobot and homemade), and an <a href="http://splashtronic.wordpress.com/tag/rtc/">RTC DS1307 module</a> (SplashTronic).<br />
For incubator prototyping, I use a<a href="http://www.amazon.com/Portable-Beverage-Fridge-Coolar-Warmer/dp/B005IJN4DI"> USB portable peltier softdrink cooler/heater</a> (some chinese brand) or if you reside in Indonesia, <a href="http://www.lazada.co.id/tokokadounik-kulkas-mini-hot-cold-merah-89370.html">you can buy it here</a>.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirD2ogW7KFofxv_s3S4vwcMGftWoXiA3lY2QMSEAHMcAZTZ8i8so_HLFAc4kzCDHCwTChkHfYzXeqprOgxVbjaDNcb7fhWLSOXK-s8YAyDK5TRbvs3Fw9qJugAEhgsOMudNWI_-PtNbRrN/s1600/inkubator+004.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirD2ogW7KFofxv_s3S4vwcMGftWoXiA3lY2QMSEAHMcAZTZ8i8so_HLFAc4kzCDHCwTChkHfYzXeqprOgxVbjaDNcb7fhWLSOXK-s8YAyDK5TRbvs3Fw9qJugAEhgsOMudNWI_-PtNbRrN/s1600/inkubator+004.JPG" height="241" width="320" /></a></div>
<div>
<br /></div>
<div>
Pinouts:</div>
<div>
Analog Pins:</div>
<div>
<ol>
<li>A0 - for onboard LCD shield buttons</li>
<li>A1 - for internal LM35 sensor</li>
<li>A2 - for external LM35 sensor</li>
<li>A3 - for relay to peltier</li>
<li>A4 & A5 - for RTC clock</li>
</ol>
<div>
Digital pins (mostly for LCD and SDcard)</div>
</div>
<div>
<ol>
<li class="L5" style="background: white; line-height: 20px; list-style-type: decimal !important;"><span class="com" style="tab-size: 4; white-space: pre;">Digital 4 DB4</span></li>
<li class="L6" style="background: white; line-height: 20px; list-style-type: decimal !important;"><span class="com" style="tab-size: 4; white-space: pre;">Digital 5 DB5</span></li>
<li class="L7" style="background: white; line-height: 20px; list-style-type: decimal !important;"><span class="com" style="tab-size: 4; white-space: pre;">Digital 6 DB6</span></li>
<li class="L8" style="background: white; line-height: 20px; list-style-type: decimal !important;"><span class="com" style="tab-size: 4; white-space: pre;">Digital 7 DB7</span></li>
<li class="L9" style="background: white; line-height: 20px; list-style-type: decimal !important;"><span class="com" style="tab-size: 4; white-space: pre;">Digital 8 RS (Data or Signal Display Selection)</span></li>
<li class="L0" style="background: white; line-height: 20px; list-style-type: decimal !important;"><span class="com" style="tab-size: 4; white-space: pre;">Digital 9 Enable</span></li>
<li class="L1" style="background: white; line-height: 20px; list-style-type: decimal !important;"><span class="com" style="tab-size: 4; white-space: pre;">Digital 10 Backlit Control</span></li>
<li class="L3" style="background: white; line-height: 20px; list-style-type: decimal !important;"><span class="com" style="tab-size: 4; white-space: pre;">MOSI - pin 11</span></li>
<li class="L4" style="background: white; line-height: 20px; list-style-type: decimal !important;"><span class="com" style="tab-size: 4; white-space: pre;">MISO - pin 12</span></li>
<li class="L5" style="background: white; line-height: 20px; list-style-type: decimal !important;"><span class="com" style="tab-size: 4; white-space: pre;">CLK - pin 13</span></li>
<li class="L6" style="background: white; line-height: 20px; list-style-type: decimal !important;"><span class="com" style="tab-size: 4; white-space: pre;">CS - pin 10 //Itead Studio SD Shield 2.0</span></li>
</ol>
</div>
<div>
</div>
<h3>
The code</h3>
<div>
<a href="https://codebender.cc/sketch:36730">Just grab the code here</a></div>
<div>
<br />
<iframe allowtransparency="true" frameborder="0" src="https://codebender.cc/embed/sketch:36730" style="height: 510px; margin: 10px 0 10px; width: 100%;"></iframe></div>
<div>
<br /></div>
<h3>
Time for fun</h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs9_za_JnuXPYBZiHS4tFrhoKd5NInQ3h5YIzdSftB715XoNwvDMeKcGoIUwZGeZQAYLL2-Xlkm1YGJQdvVSw6PbyeSrQ0Tq1WFQSf1rgaa_rssFV89Gg9qRYBlFMssFqTjyYXZLyHUBgH/s1600/inkubator+001.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs9_za_JnuXPYBZiHS4tFrhoKd5NInQ3h5YIzdSftB715XoNwvDMeKcGoIUwZGeZQAYLL2-Xlkm1YGJQdvVSw6PbyeSrQ0Tq1WFQSf1rgaa_rssFV89Gg9qRYBlFMssFqTjyYXZLyHUBgH/s1600/inkubator+001.JPG" height="400" width="255" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Cheers!!</div>
ARahmadihttp://www.blogger.com/profile/12280583392907852665noreply@blogger.com0