Memastikan Ukuran Komponen

Sebelum kita membuat layout PCB (Printed Circuit Board), idealnya kita mengetahui dulu dengan pasti ukuran komponen-komponen yang dipakai. Cara paling mudah adalah dengan membeli semua komponen yang akan dipakai. Jika tidak bisa juga dengan cara mencari ukuran komponen tersebut di datasheetnya. Jika salah menduga ukuran komponen, berakibat layout rangkaian menjadi ‘aneh’, seperti pada gambar berikut ini:

ukuran-komponen-led-IMG_1579

Pada gambar tersebut, komponen yang bermasalah adalah LED 5mm, yang ternyata ukurannya lebih besar daripada tempat yang tersedia. Artikel serupa tentang ukuran komponen dapat dilihat di “Memastikan Jarak Antar Komponen”

Kegagalan Pada Produksi PCB

Defect-survey-PCB-2012Jajak pendapat yang dilakukan oleh IPC (organisasi profesi dan konsorsium industri PCB dan perakitan papan modul elektronika) menyimpulkan bahwa ada 3 jenis kegagalan paling menonjol yang di jumpai dalam proses manufaktur di industri ini:

  1. Pada pembuatan PCB: masalah jalur yang terhubung singkat atau terputus dan masalah Solderability
  2. Pada perakitan: proses Solder Reflow dan pensablonan
  3. Komponen yang paling susah dirakit: komponen elektronika dengan jenis kemasan BGA: Ball Grid Array

Referensi:

LPC800 Mikrokontroler ARM Dengan Kemasan DIP

Awal tahun 2012 lalu NXP telah mengeluarkan mikroprosesor ARM Cortex M0 dengan kemasan DIP (Dual In Line Package), yaitu tipe LPC1114FN28.

Model ini diikuti oleh model berikutnya yaitu LPC800 yang dikeluarkan pada akhir 2012. LPC800 ini juga dari keluarga ARM Cortex-M0.

NXP juga menyelenggarakan kompetisi terkait dengan produk baru ini, yaitu LPC800 Simplicity Challenge. Kompetisi ini nampaknya bertujuan mempromosikan keunggulan LPC800 yaitu kesederhanaan dan low power.

lpc800-simplicity-challenge-header-home-sub

Sejauh ini baru NXP yang membuat prosesor ARM dengan kemasan DIP, yaitu LPC810 dengan kemasan 8 pin DIP dari keluarga LPC800 dan LPC1114FN28 dengan kemasan 28 pin DIP dari keluarga LPC1100.

Menurut situs toko komponen online Element 14 (http://sg.element14.com), komponen ini harganya per unit adalah SGD 1,28 atau sekitar Rp 10.100,- saja. Lumayan murah, mengingat mikrokontroler Atmel AT89S51 di Bandung dijual sekitar Rp 12.500,- saja.

Berikut ini spesifikasi dari LPC800 tersebut:

Features and benefits

  • System:
    • ARM Cortex-M0+ processor, running at frequencies of up to 30 MHz with single-cycle multiplier and fast single-cycle I/O port
    • ARM Cortex-M0+ built-in Nested Vectored Interrupt Controller (NVIC)
    • System tick timer
    • Serial Wire Debug (SWD) and JTAG boundary scan modes supported
    • Micro Trace Buffer (MTB) supported
  • Memory:
    • 4 kB on-chip flash programming memory
    • 1 kB SRAM
  • Boot ROM API support:
    • Boot loader
    • USART drivers
    • I²C drivers
    • Power profiles
    • Flash In-Application Programming (IAP) and In-System Programming (ISP)
  • Digital peripherals:
    • High-speed GPIO interface connected to the ARM Cortex-M0+ IO bus with 6 General Purpose I/O (GPIO) pins with configurable pull-up/pull-down resistors
    • GPIO interrupt generation capability with boolean pattern-matching feature on eight GPIO inputs
    • Switch matrix for flexible configuration of each I/O pin function
    • State Configurable Timer (SCT) with input and output functions (including capture and match) assigned to pins through the switch matrix
    • Multiple-channel multi-rate timer for repetitive interrupt generation at up to four programmable, fixed rates
    • Self Wake-up Timer (WKT) clocked from either the IRC or a low-power, low-frequency internal oscillator
    • CRC engine
    • Windowed Watchdog timer
  • Analog peripherals:
    • Comparator with external voltage reference with pin functions assigned or enabled through the switch matrix
  • Serial interfaces:
    • Two USART interfaces with pin functions assigned through the switch matrix
    • One SPI controller with pin functions assigned through the switch matrix
    • One I²C-bus interface with pin functions assigned through the switch matrix
  • Clock generation:
    • 12 MHz internal RC oscillator trimmed to 1 % accuracy that can optionally be used as a system clock
    • Crystal oscillator with an operating range of 1 MHz to 25 MHz
    • Programmable watchdog oscillator with a frequency range of 9.4 kHz to 2.3 MHz
    • 10 kHz low-power oscillator for the WKT
    • PLL allows CPU operation up to the maximum CPU rate without the need for a high-frequency crystal. May be run from the system oscillator, the external clock input CLKIN, or the internal RC oscillator
    • Clock output function with divider that can reflect the crystal oscillator, the main clock, the IRC, or the watchdog oscillator
  • Power control:
    • Integrated PMU (Power Management Unit) to minimize power consumption
    • Reduced power modes: Sleep mode, Deep-sleep mode, Power-down mode, and Deep power-down mode
    • Power-On Reset (POR)
    • Brownout detect
  • Unique device serial number for identification
  • Single power supply
  • Available as DIP8 package

Features and benefits

  • System:
    • ARM Cortex-M0+ processor, running at frequencies of up to 30 MHz with single-cycle multiplier and fast single-cycle I/O port
    • ARM Cortex-M0+ built-in Nested Vectored Interrupt Controller (NVIC)
    • System tick timer
    • Serial Wire Debug (SWD) and JTAG boundary scan modes supported
    • Micro Trace Buffer (MTB) supported
  • Memory:
    • 4 kB on-chip flash programming memory
    • 1 kB SRAM
  • Boot ROM API support:
    • Boot loader
    • USART drivers
    • I²C drivers
    • Power profiles
    • Flash In-Application Programming (IAP) and In-System Programming (ISP)
  • Digital peripherals:
    • High-speed GPIO interface connected to the ARM Cortex-M0+ IO bus with 6 General Purpose I/O (GPIO) pins with configurable pull-up/pull-down resistors
    • GPIO interrupt generation capability with boolean pattern-matching feature on eight GPIO inputs
    • Switch matrix for flexible configuration of each I/O pin function
    • State Configurable Timer (SCT) with input and output functions (including capture and match) assigned to pins through the switch matrix
    • Multiple-channel multi-rate timer for repetitive interrupt generation at up to four programmable, fixed rates
    • Self Wake-up Timer (WKT) clocked from either the IRC or a low-power, low-frequency internal oscillator
    • CRC engine
    • Windowed Watchdog timer
  • Analog peripherals:
    • Comparator with external voltage reference with pin functions assigned or enabled through the switch matrix
  • Serial interfaces:
    • Two USART interfaces with pin functions assigned through the switch matrix
    • One SPI controller with pin functions assigned through the switch matrix
    • One I²C-bus interface with pin functions assigned through the switch matrix
  • Clock generation:
    • 12 MHz internal RC oscillator trimmed to 1 % accuracy that can optionally be used as a system clock
    • Crystal oscillator with an operating range of 1 MHz to 25 MHz
    • Programmable watchdog oscillator with a frequency range of 9.4 kHz to 2.3 MHz
    • 10 kHz low-power oscillator for the WKT
    • PLL allows CPU operation up to the maximum CPU rate without the need for a high-frequency crystal. May be run from the system oscillator, the external clock input CLKIN, or the internal RC oscillator
    • Clock output function with divider that can reflect the crystal oscillator, the main clock, the IRC, or the watchdog oscillator
  • Power control:
    • Integrated PMU (Power Management Unit) to minimize power consumption
    • Reduced power modes: Sleep mode, Deep-sleep mode, Power-down mode, and Deep power-down mode
    • Power-On Reset (POR)
    • Brownout detect
  • Unique device serial number for identification
  • Single power supply
  • Available as DIP8 package

Referensi

LPC1114FN28 Mikroprosesor ARM Dengan Kemasan Dual In Line Package (DIP)

ARM adalah salah satu arsitektur prosesor 32 bit yang banyak dipakai akhir-akhir ini. Prosesor keluarga ARM ini diproduksi oleh berbagai produsen mikroprosesor dengan berbagai kemasan yang berbeda. Di antara sekian banyak model prosesor ARM, setahu saya sampai saat ini hanya ada 1 model saja yang menggunakan kemasan DIP (Dual Inline Package), yaitu tipe LPC1114FN28 dari NXP. Adanya kemasan DIP ini tentu saja memudahkan para hobbiyst yang tidak sanggup menyolder kemasan SMD ataupun yang mau mencoba dulu di breadboard.

ARM Cortex M0 Dengan Kemasan DIP (foto dari http://www.adafruit.com/blog/2012/03/13/32-bit-meet-dip-arm-cortex-m0-in-dip-packages/)
ARM Cortex M0 Dengan Kemasan DIP (foto dari http://www.adafruit.com/blog/2012/03/13/32-bit-meet-dip-arm-cortex-m0-in-dip-packages/)

Fitur lengkapnya menurut website NXP adalah sebagai berikut:

  • ARM Cortex-M0 processor, running at frequencies of up to 50 MHz
  • ARM Cortex-M0 built-in Nested Vectored Interrupt Controller (NVIC)
  • Serial Wire Debug
  • System tick timer
  • 32 kB on-chip flash programming memory
  • 4 kB SRAM
  • In-System Programming (ISP) and In-Application Programming (IAP)
  • 22 General Purpose I/O (GPIO) pins with configurable pull-up/-down resistors
  • High-current output driver (20 mA) on one pin
  • Programmable WatchDog Timer (WDT)
  • 10-bit ADC with input multiplexing among 5 pins
  • UART with fractional baud rate generation
  • One SPI controller with SSP features and FIFO and multi-protocol capabilities
  • I²C-bus interface supporting full I²C-bus specification and Fast-mode Plus
  • Integrated PMU (Power Management Unit) to minimize power consumption
  • Power profiles residing in boot ROM (LPC1100Land LPC1100XL series only)
  • Unique device serial number for identification
  • Single 3.3 V power supply (1.8 V to 3.6 V)
  • Four general purpose counter/timers
Kemasan DIP28 dari NXP
Kemasan DIP28 dari NXP, sumber: http://www.nxp.com/documents/outline_drawing/sot117-1_po.pdf

Menurut seorang rekan yang bekerja di pabrik mikroprosesor, industri lebih menyukai kemasan SMD karena (a) lebih kecil dan (b) perlu material plastik lebih sedikit,  sehingga dengan kemasan SMD ini diperoleh perangkat yang lebih kecil dan harga yang lebih murah. Bagi orang yang terbiasa menggunakan kemasan DIP seperti yang banyak di ATMega, adanya ARM dengan kemasan DIP ini tentunya membuka peluang mengoprek ARM tanpa perlu belajar menyolder komponen SMD.

Referensi

Harga Komponen Elektronika di Jaya Plaza Bandung

Harga komponen elektronika di Jaya Plaza

Beberapa waktu lalu sempat jalan-jalan ke Jaya Plaza Bandung. Berikut ini daftar harga komponen di sebuah toko:

Harga komponen di Jaya Plaza Bandung
Harga komponen di Jaya Plaza Bandung

Sekilas sih tidak terlalu mahal, karena komponen yang dibeli juga tidak aneh-aneh.

Update harga komponen lain:

Harga komponen elektronika di Jaya Plaza
Harga komponen elektronika di Jaya Plaza

Komponen-komponen murah meriah, kecuali L293 (DC motor driver)

Catatan

Jika anda memerlukan komponen dan ingin membelinya secara online, silakan cek di artikel “Daftar Toko Komponen Elektronika Online“.

LED Matrix Dan Kontrol Kualitas

Beberapa waktu ini saya ada kerjaan yang memerlukan LED matrix yang cukup banyak, seperti terlihat pada foto di bawah ini:

Timbunan LED Matrix 8x8
Timbunan LED Matrix 8×8

LED Matrix yang digunakan adalah LED matrix 8×8 dengan tipe KEM-23088-BSR, nampaknya buatan China. Dari hasil googling nampaknya benda ini dibuat di “Dongguan Houjie Keming Electronic Factory” yang bertempat di Guangdong, China (http://dgkeming.com.cn/).

Dari sekian banyak LED matrix tersebut ternyata ada juga yang cacat secara fisik, dalam hal ini ada 1 kaki yang nampaknya salah produksi:

LED matrix cacat produksi
LED matrix cacat produksi

Nampaknya ada masalah dengan kontrol kualitas dari produk ini. Repot juga kan kalau dari 60 led matrix yang dibeli ternyata ada 1 yang cacat seperti ini.

Contoh kaki led matrix yang bagus adalah seperti pada foto berikut ini:

led-matrix-IMG_7447
LED Matrix dengan kaki yang bagus

Jika sudah dipasang semuanya, akan menjadi model display LED seperti foto berikut ini:

 

Modul pengembangan display led matrix
Modul pengembangan display led matrix

 

Referensi