Singapore Office:            sales@pic-control.com

Microcontroller Firmware Programming Upload with MPLAB X IDE

Introduction

This section provides fresh user a step-by-step instruction to upload your updated firmware (a program or machine codes) onto your circuit board using a Microchip microcontroller.

Microchip logo

Things That You Need To Prepare

  1. Your Microchip microcontroller circuit board
  2. Programmer Tool (PICkit)
  3. MPLAB X IDE (Integrated Development Environment)
  4. Firmware (a hex code file *.hex or project files, containing the program of your controller)

Once you are prepared, you can proceed step-by-step to upload your firmware to your microcontroller.

Microchip Circuit Board

Most microchip circuit board design by PIC-CONTROL comes with a programming port which allows us to upload the program onto the microcontroller chip onboard.

There are standard microchip programming port also known as ICSP, which you can connect to with your programmer tool.

Programming Connector Port on your circuit board product

The programming port is usually located near the edge of your circuit board. It is a row of 6 holes grouped up with a rectangular box (2.54mm pitch header pins).

You must know how to identify the pin no.1 on this port. Pin number 1 of the footprint is indicated by a triangle arrow marking. You can also identify this pin 1 from the bevel corner on the rectangular box.

The following are some photos of how the ICSP programming port looks like on your circuit board.

ICSP programming port on PCB board     ICSP programming port on PCB board     ICSP programming port on PCB board

smd ICSP programming port on PCB board (without holes) ICSP (a special version without any holes)

You are suppose to connect the programmer tool to these ICSP port, with alignment to the pin 1.

Details of the procedure will be provided in the later section below.

Programmer Tool

You will need to get yourself a programmer tool. A programmer tools helps you to connect your computer to your microcontroller chip. It is used for uploading of the microcontroller firmware (controller program) onto the microcontroller on your circuit board.

There are a number of programmer tools which allows you to upload your firmware. In this example, we are using the official PICkit 3 or PICkit 4 programming tool from Microchip.

Other commonly known programming tools available are ICD4 (In-Circuit Debugger), ICD3, PM3 and REAL ICE.

Please take note of the pin no.1  on the programmer tool. You must identify this pin and align it to the pin 1 of the ICSP port on your circuit board.

PICkit 3 Programming Tool

PICkit 3 programmer tool

PICkit 3

PICkit 4 programmer tool

PICkit 4 (new version)

PICkit Programming Tool’s Pin-out

This is the PICkit programmer pin-out. This pin-out is also known as the ICSP programming port.

Please take note that the pin no.1 is identified by the triangular arrow head.

PICkit 3 programmer pin out

MPLAB X IDE (Integrated Development Environment for Microchip Microcontroller)

The last item that you need is the software which allows you to develop and upload your program to your microcontroller chip.

MPLAB X IDE is a free microchip microcontroller development software. It is a complete platform for your firmware coding development work.

What you should do now is to download the following,

  1. MPLAB X IDE software (Windows version).
  2. MPLAB XC Compiler.

Download & Install the MPLAB X IDE Software MPLAB X IDE

You can click on this shortcut link to download the latest MPLAB X IDE software (Windows version). If this links cannot work, please follow the steps here to download from the Microchip official website.
https://www.microchip.com/mplab/mplab-x-ide

  1. Click here to go to the Microchip website for MPLAB X IDE software.
  2. Scroll down to the bottom of the page and look for the “Downloads” tab to click on.
  3. Go to the respective version (Windows, Linux or Mac) and download the software.
  4. As of this point in time the software is of version “MPLAB® X IDE v5.05

Install this software to your computer.

Download & Install the MPLAB X Compiler MPLAB XC Compiler

The compiler converts the programming source code into a machine code before you can upload the program into a microcontroller chip. Different microcontroller would requires its respective compiler. It is recommended to install all the compiler as follows.
http://www.microchip.com/mplab/compilers

Install these MPLAB XC8 and MPLAB XC16 compilers to your computer.

Step-by-Step Procedure to Upload Firmware to Microcontroller Chip

Now that you have your

  • Circuit Board
  • Programmer Tool
  • MPLAB X

ready…

We can start to upload your project or *.hex file..

 

There are two modes of uploading firmware to the microcontroller.

  1. Method 1: Upload hex.* file (machine code) using MPLAB X IPE software.
  2. Method 2: Upload project (source code) using MPLAB X IDE software.

Method 1: Firmware upload using IPE Software

This method is usually used for the production. Programmer operators will be provided with a *.hex file for them to upload the firmware to the microcontroller chip.

The advantage of this method is that it is simple, and it do not expose your actual project source code.

 

Step 1: Launch the program MPLAB X IPE software.

IPE software launch up screen shot

Step 2: Under the section “Device:“, select the microcontroller part number that you want to load your firmware to. Refer to your schematic for the exact microcontroller part number.

Click on the button “Apply“.

IPE selecting microcontroller device

Step 3: Plug in your programmer tool to your computer.

You should notice that the software update the “Tool:” section once your tool is detected.

IPE programmer tool detected

Click on the button “Connect” to start connecting to your programmer.

You should see the following message printed out…

*****************************************************

Connecting to MPLAB PICkit 3…

Currently loaded firmware on PICkit 3
Firmware Suite Version…..01.51.08 *
Firmware type…………..Enhanced Midrange

IPE programmer tool successfully connected

Step 4: Under the section “Hex File:“, load your *.hex file for your production. This is the machine code file for your circuit board. This is the only file required for the production.

For a start, this file is located in your project folder. For example…
Your project directory -> “yourProject.X\dist\default\production\yourProject.X.production.hex

Step 5: Connect your programmer tool to the ICSP port on your circuit board. Make sure that the pin 1 on your connector is aligned correctly. Then power up your board.

Step 6: Click on the button “Program” to start the uploading of your firmware to the microcontroller chip on your circuit board.

IPE program button

Yes, you are done. Congratulation.
Your board is successfully loaded with the firmware.

Method 2: Project source code upload using IDE Software

This method is usually used during the development. Engineer can edit the source code and upload the firmware changes onto the microcontroller chip directly.

It is recommended to maintain your firmware version while you are doing editing and improvement work. Keeping the original functioning version is a must. You can always fall back on the original copy if you mess up the project source codes.

Step 1: Launch the program MPLAB X IDE software.

MPLAB X startup screen

Step 2: Open up your project files. Go to File > Open Project…

Select your project files. It is the project folder which ends with *.X. For example “yourProject.X”

MPLAB X select project file

The project will loads up.

MPLAB X upload firmware to microcontroller IC chip

Step 3: Plug in your programmer tool to your computer.

Step 4: Connect your programmer tool to the ICSP port on your circuit board.
Make sure that the pin 1 on your connector is aligned correctly. Then power up your board.

Step 5: Click on the arrow down icon below the menu bar.
Select “Make and Program Device” to start the uploading of your firmware to the microcontroller chip on your circuit board.

Yes, you are done. Congratulation.
Your board is successfully loaded with the firmware.

More…

For further details, you can check up the Microchip official website Microchip logo
or YouTube YouTube logofor a more detailed instructions.

Electronic Components Store in Indonesia

This page contains references to where you can get electronic components and stuff in Indonesia.

Electronic Components Online Stores in Indonesia

Electronic Components Distributor in Indonesia

 

More electronic stuffs.

Check out more electronic component stuff that
you can shop in Singapore

and more electronics in Malaysia.

Electronic Circuit Design Companies in Malaysia

Are you looking for electronic circuit design company to develop your electronic product prototype in Malaysia?

Check out this list for your electronic specialise near your place in Malaysia.

Electronic Circuit Design & Prototyping

Electronic Manufacturing Service (Mass Production, Box Build)

More Electronic Services and Stuffs in Malaysia

Wondering where you can purchase electronic components, parts and accessories in Malaysia?
Click here to check out the electronic component marketplace in Malaysia.

 

Looking for More Options?

Malaysia is a big country. Searching for engineering services can be quite tedious.

Still cannot find…
Check out these electronic design companies in Singapore for more options.

Small Mini Relay Operation Details

Most of the electronic interfacing to another system makes use of switch contact as a form of communication control. This form of connection interface is commonly known as Dry Contact.

small mini relay (dry contact switch)

Dry contact is simple a switch contact that is activated through a relay. The use of such relay is typically only for signalling purpose. The signalling is very low in the current. A very small mini relay is often good enough for the job.

The switching contact of this relay can drive up to 500mA. LED indicator typically requires a maximum of 20mA. So this small relay is more than enough to switch on an indicator.

Most logic signalling between circuit boards uses very low current. Typically around 1mA or below. A small mini relay is more than good enough.

The simple dry contact of a small relay makes it easy to interface with other circuit systems which uses different voltage as their power source.

Advantages of using a Small Mini Relay

Features of a Small Mini Relay

  • Smaller in Size, smaller footprint, lower weight. (size only about 20 x 5 x 8mm)
  • Cheaper in cost compare to a bigger relay
  • Easier to interface (dry contact)
  • Easier to design
  • Suitable

Switching Speed of a Mini Relay

The following measure was done to test the switching speed for the small relay.

Switching operation of a small relay

Compare to an active switch like a transistor or solid state relay, the switching speed of a mechanical switch relay is still far from fast. Although it is not as fast as a semiconductor switch, the switching speed is considered fast enough for a very wide range of application.

Mini relay only took about 180usec to switch ON.

Delay of 180usec switching ON a mini relay

Took a shorter time of 120usec to switch itself OFF

Delay of 120usec switching off mini relay

From the switching speed measurement taken, the delay switching of a mini relay is in the range of about 0.1 to 0.2 msec. For an application that requires switching speed in the range of 1msec and more, using a mini relay is very much acceptable.

If you need an even smaller and faster switching device, you should consider a transistor or a solid state relay. Semiconductor is smaller in size, switch faster, and can cost lower than a mechanical switch. The lifespan is also longer. The disadvantage compares to a simple dry contact mechanical relay is that you will need to take more care in choosing and designing for a transistor switch. There is more specification that is under consideration.

Technical Details of Mini Relay

For more technical information of this small mini relay,
check out the mini relay page.

  • Mechanical Dimension
  • Mini Relay Connection Schematic

Carton Box Sizes Packaging Selection Reference

This is a reference page for carton boxes suppliers and commonly available carton box sizes available in Singapore.

Please do not email PIC-CONTROL for carton boxes, because we do not sell carton boxes.

For future reference, you can bookmark this page.

Standard Carton Boxes and Packaging Suppliers in Singapore

Custom Carton Box Supplier in Singapore

Carton Box (Moving House used)

Standard Carton Boxes Size Selection in Singapore

Carton Box Type: Carton box, Double wall, Die-cut

Carton Box Size (mm) Internal Dimension (mm) Box Type Supplier (URL link)
320 x 200 x 70   Easy To Fold Carton – Letterbox, $3.90 SingPost
200 x 150 x 90   Easy to Fold Carton – XS, $2.90 SingPost
310 x 230 x 90   Easy to Fold Carton – S, $3.90 SingPost
400 x 250 x 150   Easy to Fold Carton – M, $4.90 SingPost
330 x 230 x 230  Double-wall Double-Walled Carton – L, $5.40 SingPost
500 x 300 x 200  Double-wall Double-Walled Carton – XL, $5.90 SingPost
600 x 400 x 300  Double-wall Double-Walled Carton – XXL, $8.90 SingPost
       
165 x 165 x 55    6″ Pizza Box (CartonS09S), $1.20 packeverything
250 x 250 x 50   10″ Pizza Box (CartonS07S), $1.50 packeverything
200 x 150 x 150   CD Box (S) (Carton11S), $1.50 packeverything
390 x 390 x 150   Heavy Duty Fragile Item Carton (Carton17D), $2.10 packeverything
100 x 100 x 100   Cube Carton Box (XS) (CartonS02S), $1.20 packeverything
180 x 180 x 180   Cube Carton Box (M) (Carton19S), $1.80 packeverything
230 x 230 x 230   Cube Carton Box (L) (Carton20S), $2.00 packeverything
280 x 280 x 280   Cube Carton Box (XL) (Carton21S), $2.10 packeverything
330 x 330 x 330   Cube Carton Box (XXL) (Carton23S), $2.20 packeverything
340 x 250 x 100 Die-cut Carton-Document Box (CTDB3410), $1.70 packeverything
460 x 300 x 1010   Flower Box Stand (L) (Carton16LD), $5.30 packeverything
430 x 380 x 300 Double-wall  Heavy Duty Carton Box (S) (Carton05D), $3.00 packeverything
480 x 480 x 480 Double-wall   Heavy Duty Carton Box (L1) (Carton03D), $4.20 packeverything
430 x 430 x 430 Double-wall   Heavy Duty Carton Box (L2) (Carton28D), $3.80 packeverything
300 x 300 x 150 Double-wall  Heavy Duty Fragile Item Carton (Carton30D), $1.90 packeverything
660 x 430 x 360 Double-wall  Heavy Duty Carton Box (XL) (Carton02D), $4.20 packeverything
610 x 610 x 510 Double-wall  Heavy Duty Carton Box (XXL) (Carton01D), $5.40 packeverything
400 x 200 x 300 Double-wall  Heavy Duty Pallet-Fit Carton (HDPF423), $2.20 packeverything
600 x 400 x 600 Double-wall  Heavy Duty Pallet-Fit Carton (HDPF646), $4.90 packeverything
400 x 200 x 200 Double-wall  Heavy Duty, Pallet-Fit Carton (HDPF422), $1.70 packeverything
600 x 500 x 400 Double-wall  Heavy Duty, Pallet-Fit Carton (HDPF654), $4.90 packeverything
400 x 400 x 300 Double-wall  Heavy Duty, Pallet-Fit Carton (HDPF443), $2.90 packeverything
530 x 410 x 200 Double-wall  Heavy Duty Carton Box (M) (Carton18D), $3.30 packeverything
500 x 400 x 300 Double-wall  Heavy Duty, Pallet-Fit Carton (HDPF543), $3.30 packeverything
360 x 360 x 440   Carton (25) (Carton25D), $2.70 packeverything
360 x 360 x 440   Kitchen Pack Carton Box (Kitchen25D), $4.60  packeverything
 130 x 110 x 50 Die-cut Mailing Carton S/W (XS)  (CartonS01S), $0.95  packeverything
 170 x 110 x 75 Die-cut Mailing Carton S/W (S1) (CartonM07), $1.30  packeverything
203 x 152 x 102 Die-cut Mailing Carton S/W (S2) (CartonM06), $1.50 packeverything
430 x 320 x 75 Die-cut Postal Mailing Carton (A3) (CartonPMC180), $2.20 packeverything
292 x 190 x 66 Die-cut Postal Mailing Carton (CartonPMC117), $1.50 packeverything
240 x 120 x 90 Die-cut Mailing Carton S/W (SW) (CartonM08), $1.40 packeverything
265 x 135 x 45 Die-cut Mailing Carton S/W (M) (CartonM05), $1.40 packeverything
230 x 160 x 60 Die-cut Mailing Carton S/W (L) (CartonM04), $1.30 packeverything
280 x 190 x 80 Die-cut Mailing Carton S/W (XL) (CartonS03S), $1.50 packeverything
432 x 279 x 127 Die-cut  Mailing Carton S/W (XXL) (CartonS08S), $2.20 packeverything
400 x 400 x 200   Multi-Purpose Carton Box (XS) (Carton09S), $2.10 packeverything
570 x 320 x 270   Multi-Purpose Carton Box (M) (Carton13S), $2.40 packeverything
480 x 460 x 360   Multi-Purpose Carton Box (XL) (Carton04S), $2.60 packeverything
540 x 410 x 480   Multi-Purpose Carton Box (XXL) (Carton12S), $2.80 packeverything
310 x 220 x 250   Printer Box (Carton22S), $1.70 packeverything
       
  Die-cut, 200 x 150 x 90 Easy Fold Mailing Box (EF20-1P), $1.20 UNIPACK
  Die-cut, 310 x 230 x 90 Easy Fold Mailing Box (EF31-1P), $1.50 UNIPACK
  Die-cut, 400 x 250 x 150 Easy Fold Mailing Box (EF40-1P), $2.00 UNIPACK
  Die-cut, 150 x 100 x 50 Mailing Box (MB15-1P), $0.80 UNIPACK
  Die-cut, 150 x 130 x 120 Mailing Box (MB15A-1P), $1.20 UNIPACK 
  Die-cut, 170 x 115 x 90 Mailing Box (MB17-1P), $1.00 UNIPACK 
  Die-cut, 200 x 150 x 100 Mailing Box (MB20A-1P), $1.20 UNIPACK 
  Die-cut, 310 x 230 x 120  Mailing Box (MB31A-1P), $1.50 UNIPACK 
  Die-cut, 530 x 400 x 40 Mailing Box (SW53-1P), $1.70 UNIPACK 
  Double-wall, 160 x 160 x 230 Double Wall (DW16-1P), $1.50 UNIPACK 
  Double-wall, 290 x 230 x 220 Double Wall (DW29-1P), $1.80 UNIPACK 
  Double-wall, 330 x 230 x 230 Double Wall (DW33-1P), $2.40 UNIPACK 
  Double-wall, 380 x 250 x 180 Double Wall (DW38-1P), $1.80 UNIPACK 
  Double-wall, 400 x 200 x 200 Double Wall (DW40-1P), $1.80 UNIPACK 
  Double-wall, 430 x 380 x 300 Double Wall (DW43-1P), $2.70 UNIPACK 
  Double-wall, 450 x 380 x 170 Double Wall (DW45-1P), $2.60 UNIPACK 
  Double-wall, 450 x 450 x 500 Double Wall (DW445-1P), $4.50 UNIPACK 
  Double-wall, 460 x 300 x 260 Double Wall (DW46-1P), $2.50 UNIPACK 
  Double-wall, 480 x 370 x 340 Double Wall (DW48-1P), $3.40 UNIPACK 
  Double-wall, 480 x 380 x 360 Double Wall (DW48A-1P), $3.60 UNIPACK 
  Double-wall, 500 x 300 x 200 Double Wall (DW50-1P), $2.90 UNIPACK 
  Double-wall, 510 x 390 x 390 Double Wall (DW51-1P), $4.70 UNIPACK 
  Double-wall, 550 x 400 x 300 Double Wall (DW55-1P), $3.60 UNIPACK 
  Double-wall, 570 x 450 x 430 Double Wall (DW57-1P), $4.20 UNIPACK 
  Double-wall, 600 x 400 x 300 Double Wall (DW60-1P), $5.10 UNIPACK 
  Double-wall, 660 x 430 x 360 Double Wall (DW66-1P), $3.80 UNIPACK 
  155 x 120 x 150 Single Wall (SW111-1P), $0.80 UNIPACK 
  205 x 115 x 160 Single Wall (SW211-1P), $1.00 UNIPACK
  250 x 200 x 280 Single Wall (SW222-1P), $1.60 UNIPACK
  355 x 250 x 250 Single Wall (SW322-1P), $1.70 UNIPACK
  400 x 400 x 200 Single Wall (SW442-1P), $1.80 UNIPACK
  400 x 400 x 360 Single Wall (SW443-1P), $2.00 UNIPACK
  450 x 450 x 600 Single Wall (SW446-1P), $3.10 UNIPACK
  480 x 240 x 270 Single Wall (SW48-1P), $1.60 UNIPACK
  540 x 410 x 480 Single Wall (SW54-1P), $2.70 UNIPACK
  550 x 350 x 300 Single Wall (SW533-1P), $2.30 UNIPACK
  660 x 430 x 360 Single Wall (SW66-1P), $2.90 UNIPACK
  Double-wall, 260 x 260 x 260 Double Wall (SB26-1P), $1.80 UNIPACK
  Double-wall, 300 x 300 x 300 Double Wall (SB30-1P), $2.00 UNIPACK
  Double-wall, 400 x 400 x 400 Double Wall (SB40-1P), $3.00 UNIPACK
  Double-wall, 500 x 500 x 500 Double Wall (SB50-1P), $4.50 UNIPACK
  Double-wall, 600 x 600 x 600 Double Wall (SB60-1P), $7.00 UNIPACK
  150 x 150 x 150 Single Wall (SB15-1P), $0.80 UNIPACK
  230 x 230 x 230 Single Wall (SB23-1P), $1.50 UNIPACK
  312 x 312 x 48 Pizza Box 12” (PZB12-1P), $1.40 UNIPACK
  152 x 152 x 45 Pizza Box 6” (PZB6-1P), $1.00 UNIPACK
  223 x 223 x 45 Pizza Box 9” (PZB9-1P), $1.30 UNIPACK
  330 x 310 x 170 Single Wall Flat Box (SW331-1P), $1.70 UNIPACK
  400 x 420 x 150 Single Wall Flat Box (SW441-1P), $1.80 UNIPACK
  470 x 360 x 90 Single Wall Flat Box (SW439-1P), $1.70 UNIPACK
  500 x 430 x 150 Single Wall Flat Box (SW50-1P), $1.90 UNIPACK
  510 x 330 x 160 Single Wall Flat Box (SW531-1P), $1.90 UNIPACK
   740 x 150 x 150 Plain DW Long Box (LB74-1P), $2.00 UNIPACK
  100 x 100 x 1550 Tall Carton Box 115 (TB115-1P), $2.80 UNIPACK
  250 x 250 x 1200 Tall Carton Box 221 (TB221-1P), $4.40 UNIPACK
       
205 x 160 x 40 180 x 150 x 35 Postal Box Size 000 (4114), $1.00 ThePostalSupplies
205 x 160 x 70 180 x 150 x 65 Postal Box Size 00 (XXXS) (4106), $1.30 ThePostalSupplies
175 x 115 x 90 148 x 109 x 87 Postal Box Size 0 (XXS) (3761), $1.80 ThePostalSupplies
240 x 165 x 65 210 x 160 x 65 Postal Box Size 2416 (4249), $2.20 ThePostalSupplies
325 x 216 x 71 298 x 209 x 70 Postal Apparel Box Size (AP) (4137), $2.00 ThePostalSupplies
265 x 140 x 95 240 x 130 x 90 Postal Box Size #2413 (4595), $2.30 ThePostalSupplies
220 x 140 x 100 195 x 135 x 95 Postal Box Size 1 (XS) (2811), $2.00 ThePostalSupplies
322 x 230 x 120 198 x 209 x 115 Postal Box Size 2 (S) (2812), $2.80 ThePostalSupplies
420 x 250 x 140 394 x 244 x 138 Postal Box Size 3 (M) (2813), $3.80 ThePostalSupplies
500 x 300 x 200 494 x 294 x 188 Postal Box Size 4 (XL) (2814), $4.80 ThePostalSupplies
290 x 270 x 255 280 x 260 x 245 Postal Box Size ”CUBE” #2826 (4551), $3.00 ThePostalSupplies
600 x 400 x 300 594 x 394 x 288 Postal Box Size 5 (XXL) (2815), $7.00 ThePostalSupplies
310 x 220 x 90   Postal Box Size B-01 (B-01-box), $3.30 ThePostalSupplies
160 x 220 x 90   Postal Box Size B-02 (B-02-box), $2.90 ThePostalSupplies
165 x 175 x 95   Postal Box Size B-03 (B-03-box), 2.60 ThePostalSupplies
330 x 260 x 100   Postal Box Size B-04 (4530), $4.20 ThePostalSupplies
430 x 315 x 75   Postal Box Size B-05 (4428-10), $4.90 ThePostalSupplies
480 x 330 x 330   Moving Box #4833 (4193), $4.00 ThePostalSupplies
       
120 x 120 x 120   Cube Boxes (CB12), $1.30 BuySomeBoxes
200 x 200 x 200   Cube Boxes (CB20), $1.80  BuySomeBoxes
300 x 300 x 300   Cube Boxes (CB30), $2.60 BuySomeBoxes
400 x 400 x 400   Cube Boxes (CB40), $3.50 BuySomeBoxes
500 x 500 x 500   Cube Boxes (CB50), $5.00 BuySomeBoxes
150 x 150 x 100   General Purpose Boxes (GP111), $1.30 BuySomeBoxes
140 x 100 x 200   General Purpose Boxes (GP112), $1.20 BuySomeBoxes
250 x 150 x 80   General Purpose Boxes (GP210), $1.70 BuySomeBoxes
200 x 150 x 180   General Purpose Boxes (GP211), $1.70 BuySomeBoxes
250 x 200 x 150   General Purpose Boxes (GP221), $1.80 BuySomeBoxes
300 x 150 x 150   General Purpose Boxes (GP311), $1.70 BuySomeBoxes
300 x 300 x 100   General Purpose Boxes (GP331B), $2.05 BuySomeBoxes
300 x 300 x 150   General Purpose Boxes (GP331C),  $2.20 BuySomeBoxes
300 x 300 x 200   General Purpose Boxes (GP332),  $2.30 BuySomeBoxes
400 x 200 x 200   General Purpose Boxes (GP422),  $2.30 BuySomeBoxes
400 x 300 x 300   General Purpose Boxes (GP433), $3.70 BuySomeBoxes
450 x 300 x 300   General Purpose Boxes (GP433A),  $3.70 BuySomeBoxes
450 x 450 x 400   General Purpose Boxes (GP444), $4.00 BuySomeBoxes
450 x 450 x 600   General Purpose Boxes (GP446), $5.00 BuySomeBoxes
520 x 400 x 200   General Purpose Boxes (GP542), $3.30 BuySomeBoxes
600 x 340 x 270   General Purpose Boxes (GP632), $3.40 BuySomeBoxes
600 x 380 x 330   General Purpose Boxes (GP633), $3.90 BuySomeBoxes
650 x 400 x 350   General Purpose Boxes (GP643), $4.30 BuySomeBoxes
600 x 560 x 440   General Purpose Boxes (GP654), $6.00 BuySomeBoxes
600 x 600 x 500   General Purpose Boxes (GP665), $6.80 BuySomeBoxes
250 x 250 x 1200    Tall Boxes (TB2212A), $5.70 BuySomeBoxes
300 x 190 x 110   Storage Boxes (AB311), $2.50 BuySomeBoxes
410 x 320 x 310   Storage Boxes (AB433), $3.90 BuySomeBoxes
160 x 250 x 40   Gift Boxes (GB120), $1.85 BuySomeBoxes
200 x 150 x 60   Gift Boxes (GB210), $2.50 BuySomeBoxes
400 x 260 x 100   Gift Boxes (GB421), $3.60 BuySomeBoxes

 

Proper dispose of battery & electronic waste in Singapore | Save Our Environment

*** <- Attention Please -> ***
This is a reference page for your information to know where to dispose off your toxic waste properly.
Please DO NOT contact PIC-CONTROL for waste disposal matter.
We do not provide waste disposal or consultation service.

 

The electronic product contains toxic which pollute our environment and can cause a health issue. It is important to dispose of the electronic waste properly to protect our environment in Singapore. Battery especially, contain leads content.

Unwanted electronic waste example,

Places in Singapore which you can dispose of your electronic waste.

There are many recycle bins scatter all across the island of Singapore.

Check out this map for the location to recycle your E-waste nearest to your location.

Typical places where you may find the bins,

  • In most Schools, Polytechnic, University in Singapore.
  • Certain outlets at Singapore Post Office, SingTel, Starhub.
  • Certain shopping malls.
  • DHL centres

Map from Starhub for recycling of electronic waste.


Disposal bin for electronic waste

More Recycle SingTel, SingPost E-Waste Programme. Bins can be found at the various location across Singapore island,

  • Singpore Post Office Branches
  • SingTel Shop
  • SingTel Exclusive Retailer


Electronic Recycle Bin at Singapore Post Office and at SingTel

Click here to find out the nearest recycle bin available near your specific location.

Free Mailing of your Electronic Waste

You can also collect free envelopes from SingPost and Singtel to mail your electronic waste for free. Everyone doing their part to protect our environment.

envelopes for disposing electronic waste for recycling

Professional Service for Toxic Waste Disposal

For bulk disposal of toxic waste, you can engage local professional companies to help you with the disposal.

Check out this list of authorised industrial toxic waste collectors in Singapore (This list is provided by NEA).

Example of Toxic Waste Items

  • SLA Batteries (Sealed Lead Acid Batteries)
  • Chemical Waste (Solvent)
  • PVC materials

Be sure to dispose of the toxic waste with care. Protect our environment, protect our home.

 

Please DO NOT contact PIC-CONTROL for waste disposal matter.
We do not provide waste disposal or consultation service.

cable-grommet-and-gland

Cable Grommet

Rubber grommet for cable

Max Cable Size Hole Size for Enclosure
ø ø
   
   
   
   
   
   
   

Cable Gland

Cable gland for enclosure

Max Cable Size Hole Size for Enclosure
ø5.0mm ø
ø6mm   
ø6.5mm    
 ø7.0mm   
ø8.0mm  
ø9.0mm  
ø10.0mm  
ø12.0mm  
ø13.0mm  
ø14.0mm  
ø16.0mm  
ø17.0mm  
ø18.0mm  
ø20.0mm  
ø21.0mm  
ø25.0mm  

Kai Chin (hole size, cable size)

  • 12.5mm, 6mm
  • 15mm, 8mm
  • 18.5mm, 10mm
  • 20.5mm, 11.5mm
  • 22.5mm, 13mm

SM Systems (hole size, cable size)

  • M12 (3.0-6.5mm)
  • M16 (6.0-10.5mm)
  • M20 (8.5-14.0mm)
  • M25 (12.5-18.0mm)
  • M32 (18.0-25.0mm)
  • M40 (24.0-32.0mm)
  • M50 (30.0-40.0mm)
  • M63 (44.0-50.0mm)

SM Systems (hole size, conduit tubing fittings size), Watertight Corrugated Tubing Fittings

  • M20 (16-22mm)
  • M25 (22-28.5mm)
  • M32 (34.5mm)
  • M40 (42mm)
  • M50 (48mm)
  • M63 (55mm)

PVC Female Adaptor, Normal Electrical Plastic Conduit Tubing Fittings (hole size, conduit tubing fittings standard size)

Conduit tubing fitting, PVC female adaptor

  • M20 (15mm)
  • M25 (19mm)

Electronic Components Market and PCB Manufacturers in Malaysia | near Singapore

Electronic Parts, Market Place in Malaysia

What can we buy or shop for electronic parts, components, PCB fabrication or electronic design services in Malaysia?

For electronic parts sourcing in Malaysia, the Central Market Kuala Lumpur (also known as Pasar Seni) is a heaven place for electronic shopping. It is located in the city of Malaysia, Kuala Lumpur. There is a whole row of shops selling electronic stuff, and designing electronic projects. The shops can be found along the Jalan Pasar road which is near the Pudu Wet Market.

On this street, you will be able to find a lot of electronic parts and components. This is equivalent to the electronic components market at Sim Lim Tower located in Singapore.

Check out more from this link of the map for electronic components, parts, design or PCB from the entire Malaysia.

Komponen Elektronik Shops in Kuala Lumpur along Jalan Pasar Street, Malaysia

Jalan Pasar. A street full of electronic component shops in KL Malaysia. A 5 minutes walk from the nearest MRT train station “Pudu“.

The market opens at about 9am, and starts to close at about 5pm (from Monday to Sunday)

Electronic Components Shops near Kuala Lumpur

Electronic Component Shops in Penang Malaysia

Tonsin Component in Penang Malaysia (George Town Area)     Tonsin in Penang Malaysia near George Town area

electronic component barrier terminal in Penang Malaysia      Electronic components in Tonsin shop

Electronic Component Online Store in Malaysia

https://www.cytron.io/

http://www.astanadigital.com/

https://www.autobotic.com.my/

Electronic and PCB Manufacturer in Malaysia Johor

There are a number PCB manufacturers in Malaysia Johor, which is very near Singapore. The following PCB manufacturer can also be located using the google map above.

More PCB Manufacturer in Malaysia

The following are more other PCB manufacturers in Malaysia (away from Johor)

Electronic Engineering Services in Malaysia

Looking for Electronic Design and Engineering Services in Malaysia?

Click here for a list of electronic circuit design companies in Malaysia.

Updates

Please feel free to update us for new electronic related goods and services in Malaysia. We will like to share with people more on the electronic industry in Malaysia. Hear from you. Thank you.

If you are looking for electronic parts or components in Singapore, click here check out our other web page.

If you prefer online sourcing of electronic parts, check out these online websites.

Switch Singapore

Switches selection list for your electronic design. The list contains simple images and the commonly used names for the switches. This will help you as an electronic designer to source for the switch that they are looking for.

Scroll down this page further to choose the switch product that you are looking for.

Get the exact Switch that you need?

A switch is a simple device that can make an electrical connection. It is like short-ing two pieces of wire together. There are many switch configuration to choose from depending on your application.

To get the precise switch characteristic and switching configuration, it is important to study the technical jargon commonly used to describe a switch. Knowing these can help you pick the right switch for your project.

Switch Contact Type

SPST or 1P1T means single pole single throw switch. SPDT or 1P2T means single pole dual throw switch.

  • SPST, 1P1T
  • SPDT, 1P2T
  • DPST, 2P1T
  • DPDT, 2P2T
  • etc…

Switching Characteristic

Type of switching characteristic:

Switching Characteristic Common Available Description
ON-OFF *  This is a ST switch. Switch to one side will make the connection. Switching to the other side is an open connection.
(ON)-OFF *  This is a ST switch. Switching the switch to ON will make the connection. Release it, the switch will automatically spring back to the off position. This is also known as a momentary switch.
ON-(OFF)   ST switch similar to a “(ON)-OFF” except that the default is at the “ON” position. Momentary OFF.
ON-ON    This is a DT switch.
ON-(ON)    This is a DT switch. Spring return default position to the “ON” position. Momentary on the “(ON)” position.
ON-OFF-ON  *  This is a 3-throw switch. Switching to either side will connect the respective switch. The switch will be “OFF” if it is switched to the middle.
ON-OFF-(ON)   This is a 3-throw switch similar to “ON-OFF-ON”. One of the “ON” side is momentary.
(ON)-OFF-(ON) *  This is a 3-throw switch similar to “ON-OFF-ON”. Both the “ON” side is momentary. When release, the switch is always in the middle OFF position.

Legend:

  • * means that this type of switching characteristic is commonly available in the market.
  • (..) bracket means that the switch position is momentary (will not latch or hold on to the position if you release the lever),
  • “ON” or “OFF” without a bracket means that it is a latch position,
  • “OFF” means that there is no connection mate between throw.

Switching characteristic (For switch with 2 or more throw. Typically for sliding switch.):

  • non-Shorting (typically) – contact is break first before making contact with the next contact.
  • Shorting – contact is short with the next contact, before breaking with the previous contact.

Jumper Header Switch (for PCB)

Jumper header switch

Tactile Push Button Switch (for PCB)

tactile switch (white, PCB mount)tactile switch (micro, PCB mount)

Tactile Switch (Vertical PCB Mount)

tactile switch (micro, PCB right angle mount)

Tactile Switch (Horizontal PCB Mount)

DIP Switch (for PCB)

DIP switch

Sliding Switch

vertical pcb mount sliding switch
Sliding Switch (Vertical PCB mount)
horizontal pcb mount sliding switch
Sliding Switch (Horizontal PCB mount)

 

Metal Dome (Snap Domes) Tactile

snap dome switch

http://www.snaptron.com/
Snaptron, custom dome switch plate piece.

Toggle Switch

Toggle switch (Panel mount)     Toggle switch dimension & size

Metallic Chassis Mount Switch (with illumination ring)

Metallic push switch (with ring light illumination)Metallic push switch (with ring light illumination)Metallic push switch (dimension size)

Arcade Button Switches

arcade push button switches

Cherry Switches (Mechanical Switches)

Cherry Switches   Cherry Switches

Cherry switch selection types and color

Custom Cherry switch key cap

Compatible Cherry Switches Brands

  • Gateron
  • Kailh
  • Greetech
  • Outemu

Reference:

Emergency Push Switch

Emergency stop push switch     Push button switch

Key Lock Switch

Key lock switch

Wall Switch (Momentary)

Wall switch (momentary or latched)

Small Size, Low Pins Count Microcontrollers

Small Size, Low Pins Count Microcontrollers

Microcontroller with pin count from 6 to 20 pins. Depending on your application, a crystal oscillator may not be necessary to save space and cost.

Micro-controller Package/ Pin no. Volt Range !MCLR
(input)
Vdd
(+)
Vss
(-)
PGD PGC TX1 RX1 Comment
  6 pins                  
PIC10F200 pdf SOT23/6 2-5.5V 6 5 2 1 3 low cost
PIC10F322 pdf SOT23/6 1.8-5.5V 6 5 2 1 3 powerful
  8 pins                  
PIC12F508 pdf SOIC/8 2-5.5V 4 1 8 7 6 low cost
PIC12HV615 pdf SOIC/8 2-15V  4 1 8 7 6 wide voltage range 2-15Vdc
PIC12F1822 pdf SOIC/8 1.8-5.5V 4 1 8 7 6 7 6 consider using PIC16F18313 
PIC12F1840 pdf SOIC/8 1.8-5.5V 4 1 8 7 6 7 6 consider using PIC16F18313
PIC12F1840 has more program memory (7KB), 50% more expensive, same speed.
PIC16F18313 pdf SOIC/8 1.8-5.5V 4 1 8 7 6 6  ***new
Same series as PIC16F18325
  14 pins                  
PIC16F18323 pdf
PIC16F18324 pdf
PIC16F18325 pdf
PIC16F18326 pdf
TSSOP/14
SOIC/14
1.8-5.5V 4 1 14 13 12 13 12 ***new
– EEPROM
Same series as PIC16F18345
  20 pins                  
PIC16F18344 pdf
PIC16F18345 pdf
PIC16F18346 pdf
SSOP/20 1.8-5.5V 4 1 20 19 18 19 18 ***new
Same series as PIC16F18325

Avoid Using

  • PIC16F1825 (14 pins)
  • PIC24F08KL200 (14 pins)
  • PIC24F04KA200 (14 pins)
  • dsPIC30F3012 (18 pins)

ICSP pin out

  • Pin 1: !MCLR
  • Pin 2: Vdd (3.3V or 5V, depends on the device)
  • Pin 3: Vss (ground)
  • Pin 4: PGD (data line)
  • Pin 5: PGC (clocking line)
  • Pin 6: unused

 

Go back to electronic design resources.