DIY · KeyChainino · THT

How to solder THT

Alessandro Matera 3 min read

This is the tutorial dedicated to THT, the through-hole KIT version of KeyChainino.

On this page you’ll learn, step by step, how to mount and solder all the components on the PCB to make your THT.

Download the schematics and the Eagle file here:

https://github.com/alessandromatera/KeyChainino/tree/master/THT

Step 1: Mount the ATTiny84 microcontroller

After taking the micro out of its case, you need to bend its pins slightly to fit it in the PCB.

To bend the pins grab both ends and rock the pins against the table. Once all the pins are parallel, locate the U-shaped notch in one end. Make sure that this end goes into the notched-end indicated on the silkscreen and then insert the microcontroller.

After that, flip the board and solder all the microcontroller pins.

Step 2: Mount the resistor and the capacitor

First bend the 10k resistor’s legs and put the resistor in the R1 holes, then bend its pins.

Next insert the 100nF Capacitor in the C1 holes. This type of capacitor is NOT polarized, so you can put it in either way. Then bend the capacitor’s pins.

Flip the board and solder the resistor’s and capacitor’s pins and finally cut them.

  

Step 3: Mount the two push buttons

Put in the two push buttons so that their pins are on the left and right sides.

Then flip the board, solder the 8 pins and cut what’s left of them.

 

Step 4: Solder the LEDs on the PCB

In this step you’ll put all the LEDs in the THT’s PCB.

First you must know that the LED is a polarized component. This means that it must go in one specific way.

The LED has two pins: Anode and Cathode.

IMG_6742

As shown in the first picture, the CATHODE (the short pin) MUST be placed in the upper hole, while the ANODE must be placed in the bottom hole.

Now you can insert all the LEDs of the first line on the TOP side of the PCB, the side with the THT label.

After positioning the LEDs, flip the board and bend the LEDs’ pins as shown in the following picture.

 IMG_1708

Next solder the LEDs’ pins.

After that, cut the LEDs’ pins.

Now do the same with the other LEDs. Here’s the final result:

 

Step 5: Mount the CR2032 battery holder SMD (New Version)

I have updated the board to make the battery holder easier to solder.

In this new version you have to:

          1. Tin all the 3 pads on the back of the board (circled in red in the bottom image)
          2. Put the battery holder on the pads and attach it with some tape (or hold it with a screwdriver).
            ⚠️ WARNING: Don’t hold it with your hands because the battery holder could get very HOT! ⚠️
          3. Solder the battery holder by putting the iron tip on the two external pads.

           

          Here we are!

          You have completed the THT assembly 🙂

          You can also follow the video below made by Antonio Mancuso. Take a look at his blog!

          Now it’s time to burn the bootloader on the chip using the ISP header (that you can solder if you want), and then upload your awesome sketch!

          To do that, follow this guide here:

          How to program KeyChainino v1 via ISP

          IMG_1724

          If you have any questions, write a comment below!

          THT in Action!

          KeyChainino smile_100

6 comments

  1. John says:

    Appreciate the tutorial. May get one of these key chains. This is quite interesting.

  2. dunk says:

    Ive made my own smd version,needs a little change but it nearly done

    1. When it’s done, can you send me a photo so I can put in the blog?
      Thanks

  3. dunk says:

    Hi what size smd led do you use,I’ve opted for 1206 I think they be OK and ime choosing violate color!just waiting for my boards from osh park can’t wait to build!

    1. Hi Dunk,
      Thanks for your appreciation 🙂

      I used 0805 LEDs package!

      Best

  4. dunk says:

    Great work by the way and so well set out,love your tutorials too,I’ve learned a lot from this project,well done!

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep reading

What is the watchdog and how to use it

Today I want to talk about a particular dog. Not a normal dog, but a special one who doesn’t need a leash. This dog watches you… and it’s…

[DIY] Make your own KeyChainino

Many people, inspired by KeyChainino’s Charlieplexing, have developed their own device using KeyChainino’s sketches from my GitHub. Someone has designed their own matrix schematic, someone else asked me…

{"cart_token":"","hash":"","cart_data":""}