Академический Документы
Профессиональный Документы
Культура Документы
Building the KIM Uno is not difficult. Solder 24 pushbuttons on the front side and 11
resistors on the back side of the PCB. Then, solder the 2 LED blocks (front) and the
Arduino Pro Mini itself (on the back).
If you do not solder the Arduino pin headers first, then the LED and only then
the Arduino itself on to its headers, in this exact sequence, you can't reach
some solder points anymore.
General note on soldering: Some builders mention they find soldering hard to do. The solder does not flow, they
have to almost stick the solder blob to the solder points. Thats an indication you are using cheap/bad solder.
Quality really matters with solder. I am not the expert, but if your solder does not flow smoothly to where it is
supposed to go, consider buying good solder. I am happy with Stannol HS10 0.5mm diameter wire not claiming to
be an expert though. But dont go with cheap solder, itll ruin your day and your board.
1. Check the Arduino Pro Mini
Before you start soldering the KIM Uno board, check if the
Arduino actually works. That can be done because the KIM
Uno software runs fine on the 'naked' Arduino, without the
PCB attached.
If you got the Pro Mini with the connector pins already
soldered on to it, then its already programmed. Skip to
section 1.b. Otherwise:
a. To program a new Pro Mini, youll first have to solder the Serial/Programming
connector, so it looks like in the picture. Solder the angled 6-pin header on top of
the Pro Mini, not upside down.
Make sure the pin header sits straight on the Pro Mini
and makes a 90 degree angle. If you solder it slightly
crooked, it'll be a problem later on or at least look bad.
The easiest way to get a clean 90 degree fit: first only
solder the top pin more or less straight. Then, pinch
the board and the header's plastic bit whilst re-heating
the pin, itll snap into the right position. Now solder
the other 5 pins.
Using a TTL-Serial-to-USB cable, you can program the Arduino. In the Arduino IDE,
use Tools Board "Arduino Pro or Pro Mini (5V, 16Mhz) w/ atMega328". As these
cables often do not come with documentation, heres a picture of how to match the
colours to the Pro Minis pins. Black is GND, red is +5V, green is TX, connected to the
Arduinos RX, white is RX, connected to the Arduinos TX.
b. Check if the Arduino works OK: use the cable to power up the Pro Mini again, and
check that it talks to you over the TTL serial port. Use putty or some such terminal
program on 9600bps, no handshaking. You should see a constantly refreshed row of
6 zeros. Hit TAB, and you should see the KIM's serial command line.
2. Soldering the 24 buttons
These are standard no-frills "PCB Tactile Switches", 6x6mm.
They have 4 curved pins that are designed to click into PCBs, so
they fit snugly before even soldering them. That is nice in
theory, but it does mean that you have to do some fidgeting to
get them in to the board at all.
a. I found it best to marginally bend the right-hand side pins out, so they fall more
easily into the PCB holes. Marginally means 0.25mm or so, hardly visible. The button
pins then still need some fidgeting to "find" the PCB holes.
Once the 4 pins have all "found" their PCB holes, you have to press (first softly, then
quite hard) to push them all the way into the board until their bottoms hit the PCB.
Hard pressing is best done on the four small black dots on the corners of the
switches.
Mounting the keys works best if you first press the top two legs in a little bit, then
press in the bottom two a bit further, then the top again, and so on.
After they are all snugly seated on the PCB, you can still move them a little bit,
bending their pins a bit in the process. That sounds crude, but it is important
because they all get in slightly differently, and it will look much nicer if all buttons
are arranged in neat straight rows on the PCB. So yes,
move them into line with a bit of force.
a.1: first 6 1Kohm resistors a.2 the 2 in-between 1Ks b.1 the 3 2K resistors, blue
1. 3 resistors limit the current that goes into the keyboard scanning. Their precise value
is much less important, any value between 2K ohm and 4.7K ohm is fine, it does not
matter very much. In the picture I used blue resistors to recognise them easily.
4. Pin headers for the Arduino Pro Mini
The Arduino comes in a 24 pin DIP package, with 4 extra pins added inside the two main
rows of 12 pins. The best way to ensure a trouble-free fit:
Note: there are a few different variants of the Pro Mini. As you can see in the picture
above, this one has two times an extra 2-pin headers on the inside of the right-hand
header row.
The top two, shown in bright/gold colour, are used in the KIM Uno and they
need to be present.
The bottom two, in the red circle, are actually unused. So you may (a) leave
those pins out completely, dont bother soldering the pin header, or (b) use a Pro
Mini variant that does not have those two pins at all. These two pins are A6 and
A7, analog input pins. The only reason to connect them is if you plan some other
hardware project that has a use for them. They are brought out onto the KIM
Uno expansion connector for only that reason.
5. The Segment LED blocks
These are standard '3461BS' 4-digit LED blocks.
they fit neatly aligned next to each other. Ideally, they should sit tightly next
to each other so they look like one continuous row of digits. Maybe use some
sticky tape to hold them together neatly whilst soldering.
b. Solder the Pro Mini to its pin headers. If you soldered the header strips to the PCB
with the Pro Mini loosely fitted on top in the previous step, you'll have a perfect fit
and the Pro Mini will just slip in. Press it to sit flush on the PCB.
c. The four special pins below the top row look tricky to solder, because they are very
close to some components on the Pro Mini board itself. Have a steady hand, and a
small solder tip on your soldering iron. It turns out to be much less tricky than it
looks. As explained on the previous page, the pair in the yellow circle can also be left
out if you wish. Theyre not doing anything in the KIM Uno.
d. You could clip off any excess length from the pin headers. But leaving them provides
a bit of protection to the Pro Mini's delicate surface. Secondly, you may want to
connect something to the pins at some point.
Note: if you want to make the Mini Pro removable, you could use a male pin header strip
on the PCB, and a female pin header strip on the Mini Pro. In that case, use low-profile
headers or it will look bulky. You've got to wonder, though, if a removable Arduino is
worth it for a $2.59 part.
7. Power connectors
By default, you use the TTL-Serial-to-USB cable, or any other 5V power source on the
connector pins marked VCC and GND (red and black wires, see picture below).
But in the second batch of KIM Uno boards, the one you have, a small strip of board is
added above the segment LEDs. It has optional connectors for +5V and +9V batteries,
plus slots for two on/off switches.
- Arduinos are not picky. Using 3 AA batteries to supply 4.5V is fine too. Cheap battery
boxes with an on/off switch fit perfectly underneath.
- Any power source between 6.5V-12V can be connected to the 9V connector. The
Arduino has a voltage regulator on board.
8. Testing
Power on the KIM Uno and the LEDs should light up within a second or so with a row of
six zeros. On the 9600bp serial port, you should see the same six zeros, constantly
refreshed.
Closing notes:
- the serial port is TTL level. Meaning it uses 5V signals. Do not
connect a normal RS-232 cable, as it will deliver + and -12V. To
get to RS-232 levels, use a TTL-to-RS232 converter.
4. Lastly, you need to create a slot in the case to be able to plug in a serial
connector. I suggest drilling two round holes, and then to use the side cutter to
clear the plastic between them.