Monday, August 21, 2017

Debian Jessie: CPU frequency scaling to prevent over heat on laptop's cpu

To prevent over heat on laptop's CPU when used, we need to limit its frequency below maximum. We need cpufrequtils to do that.
To install CPU frequency scaling tools:
# apt-get install cpufrequtils
Show CPU info
# cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 1000 MHz - 1.67 GHz
  available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz
  available cpufreq governors: powersave, userspace, conservative, ondemand, performance
  current policy: frequency should be within 1000 MHz and 1.67 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1.67 GHz (asserted by call to hardware).
  cpufreq stats: 1.67 GHz:30.20%, 1.33 GHz:3.69%, 1000 MHz:66.10%  (10888)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 10.0 us.
  hardware limits: 1000 MHz - 1.67 GHz
  available frequency steps: 1.67 GHz, 1.33 GHz, 1000 MHz
  available cpufreq governors: powersave, userspace, conservative, ondemand, performance
  current policy: frequency should be within 1000 MHz and 1.67 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1.67 GHz (asserted by call to hardware).
  cpufreq stats: 1.67 GHz:28.63%, 1.33 GHz:3.90%, 1000 MHz:67.47%  (10888)
To show available frequency
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
1667000 1333000 1000000
For kernel 3.16, edit file /etc/init.d/cpufrequtils, change MIN_SPEED to 1000000 and MAX_SPEED to 1333000. For example:
...
MAX_SPEED="1333000"
MIN_SPEED="1000000"
...
NOTE: Frequency must in range in # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
Reload system daemon
# systemctl daemon-reload
References:

Friday, August 18, 2017

Aktifasi kartu baru 4444 Telkomsel

Setelah memasukan kartu prabayar, ikutilah petunjuk registrasi. Masukan outlet ID dengan benar!

Bila anda menerima sms dari 4444 sbb:
"Maaf, saat ini permintaan Anda tidak dapat diproses. Silahkan hubungi call centre 188 untuk informasi lebih lanjut."

Kirim SMS ke no 1818 dengan format "POSID <Outlet_ID>"

Anda akan menerima sms dari 1818 sbb:
"Pelanggan Yth, Layanan prabayar Anda telah telah dapat dipergunakan.Terimakasih."
Selamat, kartu prabayar anda sudah aktif. Silahkan dicoba digunakan.

18-08-2017

Sumber: http://www.aminmahrus.com/2015/12/cara.terbaru.registrasi.kartu.telkomsel.dengan.id.outlet.html

Friday, August 11, 2017

Windows 10: prevent overheat your processor in Windows 10 at your laptop

To prevent overheat your processor in Windows 10, follows these steps:
  1. Windows search and type "Edit power plan"
  2. Click "Change advance power Settings"
  3. Expand "Processor power management" -> "Maximum processor state" and modify these values:
    1. Change on battery to 90%
    2. Plugged in to 95%
Note:
Don't let 100% CPU state in your laptop. It may cause overheat depend on applications you are running.

Saturday, August 5, 2017

Kicad: create single layer pcb

Flow to create single layer pcb:
  1. Create schematic diagram using Eeschema
  2. Run PvPCB to associate components and footprint
  3. Generate netlist
  4. Run Pcbnew to layout pcb
After running Pcbnew, spread all component with following steps:
  1. Read netlist
  2. Activate Mode footprint: manual and automatic movement and placement
  3. Right click -> Global spread and place
Change default track size and distance
  1. Design Rules -> Design Rules
  2. Set Clearence: default distance between track and other components or track.
  3. Set Track width: default track width/size
Layer setup
  1. Design Rules -> Layers Setup
  2. Set F for front and B for back, with each side F and B.
    1. F: CrtYd, Fab and SilkS
    2. B: Mask, SilkS and Adhes
  • Solder Mask (F/B Mask):These define the solder masks. All pads should appear on one of these layers (SMT) or both (for through hole) to prevent the varnish from covering the pads.
  • Silk Screen (F/B SilkS):They are the layers where the drawings of the components appear. That’s where you draw things like component polarity, first pin indicator, reference for mounting, …
  • Solder Paste (F/B Paste):Used to produce a mask to allow solder paste to be placed on the pads of surface mount components, generally before reflow soldering. Usually only surface mount pads occupy these layers.
  • Adhesive (F/B Adhes):These are used in the application of adhesive to stick SMD components to the circuit board, generally before wave soldering.
  • Fabrication (F/B Fab):Footprint assembly (?).
  • Courtyard (F/B CrtYd):Used to show how much space a component physically takes on the PCB.

Thursday, July 20, 2017

Alur pindah sekolah SD 2017 (1 Propinsi/DKI)

Alur proses yang dapat dilakukan orang tua dalam mengurus pindah sekolah (mutasi) SD adalah sebagai berikut:
  1. Mendapatkan Surat Keterangan Telah Diterima dari sekolah yang dituju.
  2. Mengurus perpindahan sekolah disekolah lama dengan dokumen antara lain:
    1. Surat Keterangan Telah Diterima.
    2. Surat permohonan mutasi yang ditandatangani diatas meterai 6.000,-.
  3. Minta persetujuan dari Dinas Pendidikan Kecamatan dengan dokumen antara lain:
    1. Form 8355.
    2. Copy Akreditasi sekolah lama.
    3. Copy ijin operasional sekolah lama. 
    4. Surat Keterangan Kelakukan Baik dari sekolah lama.
    5. NISN (Nomor Induk Siswa Nasional).
    6. Keterangan pindah yang ada dibagian akhir rapot.
    7. Surat Keterangan Telah Diterima (dari no 2).
    8. Surat permohonan mutasi yang ditandatangi diatas meterai 6.000,- (dari no 2).
  4. Setelah mendapat persetujuan pada no 3 (telah ditandatang dan distempel), copy semua dokumen yang disertakan pada no.3 sebanyak 2 rangkap (1 untuk dokumen dan 1 untuk Sudin Walikota. Selanjutnya, minta persetujuan dari Dinas Pendidikan Sudin Walikota dengan dokumen asli dan copynya.
  5. Bawa berkas pada No. 4 kesekolah tujuan.
Catatan: proses no 3 & 4 membutuhkan waktu 1 hari ± 3jam.