Anonymous

Project:Nanode/Building a Nanode: Difference between revisions

From London Hackspace Wiki
no edit summary
No edit summary
No edit summary
Line 71: Line 71:
[[File:5_add_ic_sockets.jpg|800px|center|thumb|IC Socket alignment]]
[[File:5_add_ic_sockets.jpg|800px|center|thumb|IC Socket alignment]]


[[File:6_tack_IC_socket_corners.jpg|800px|center|thumb|Tack diagonally opposite corners first]]
[[File:6_tack_IC_socket_corners.jpg|800px|center|thumb|Flip the pcb over and tack diagonally opposite corner pins first]]


[[File:7_solder_them_in.jpg|800px|center|thumb|Then solder every pin]]
[[File:7_solder_them_in.jpg|800px|center|thumb|Then solder every pin]]
Line 83: Line 83:
==Step 9==
==Step 9==


Add the 25MHz crystal marked 25.00SCA
Add the 25MHz crystal marked 25.00SCA. Crystals should be inserted so that the top lies flush with the top of the adjacent IC socket.


[[File:9_add_25MHz_crystal.jpg|800px|center|thumb|Add the 25MHz crystal]]
[[File:9_add_25MHz_crystal.jpg|800px|center|thumb|Add the 25MHz crystal so its flush with the nearby IC socket]]




Line 92: Line 92:
Add the 16MHz crystal  marked 16.00SCA
Add the 16MHz crystal  marked 16.00SCA


[[File:10_add_16MHz_crystal.jpg|800px|center|thumb|Add the 16MHz crystal]]
[[File:10_add_16MHz_crystal.jpg|800px|center|thumb|Add the 16MHz crystal making it flush with the IC socket ]]




==Step 11==
==Step 11==


Add the seven 100nF capacitors, colour blue marked 104.  There is a spare location for a 100nF capacitor next to pin 1 of the ATmega328 IC. Do not fit any component in this location - just the seven in the picture.
Add the seven 100nF capacitors, colour blue and marked 104.  There is a spare location for a 100nF capacitor next to pin 1 of the ATmega328 IC. Do not fit any component in this location - just the seven in the picture.


[[File:11_add_7off_100nF_caps.jpg|800px|center|thumb|Add the blue 100nF ceramic capacitors]]
[[File:11_add_7off_100nF_caps.jpg|800px|center|thumb|Add the blue 100nF ceramic capacitors]]
Line 121: Line 121:


==Step 15==
==Step 15==
Add the FTDI header - a 6 way right angled header on the right hand side of the pcb. Make sure it is straight and level.
Add the FTDI header - a 6 way right angled header on the right hand side of the pcb. Make sure it is straight and level.


Line 134: Line 135:
==Step 17==
==Step 17==


Add the 5V regulator as shown and the 4 way screw terminal block.  You need to assemble the two 2 way terminal blocks to make a 4 way - BEFORE you solder to the pcb.
Add the 5V regulator as shown and the 4 way screw terminal block.  You may need to assemble the two 2 way terminal blocks to make a 4 way - BEFORE you solder to the pcb.


[[File:18_add_5Vreg_screwterms.jpg|800px|center|thumb|Fit the 5V Regulator and the Screw Terminal Block]]
[[File:18_add_5Vreg_screwterms.jpg|800px|center|thumb|Fit the 5V Regulator and the Screw Terminal Block]]
Line 140: Line 141:
==Step 18==
==Step 18==


Fit the 1N4001 protection diode as shown - noting that the banded end lines up with the band on the pcb legend
Fit the 1N4001 protection diode as shown - noting that the banded end is lined up with the band on the pcb legend


[[File:19_add_In4001_diode.jpg|800px|center|thumb|Fit the 1N4001 reverse polarity protection diode]]
[[File:19_add_In4001_diode.jpg|800px|center|thumb|Fit the 1N4001 reverse polarity protection diode]]
Line 148: Line 149:
Now - the tricky part. The 3V3 regulator needs to be fitted in a certain way - but not like the pcb symbol.  Copy the orientation as in the next 2 pictures.
Now - the tricky part. The 3V3 regulator needs to be fitted in a certain way - but not like the pcb symbol.  Copy the orientation as in the next 2 pictures.


[[File:regulator_orientation.jpg|800px|center|thumb|Fit the 3V3 regulator - exactly as shown]]
[[File:regulator_orientation.jpg|800px|center|thumb|Fit the 3V3 regulator - turned so it's exactly as shown]]


[[File:3V3reg_placement.jpg|800px|center|thumb|Fit the 3V3 regulator like this!]]
[[File:3V3reg_placement.jpg|800px|center|thumb|Fit the 3V3 regulator like this!]]
Line 154: Line 155:
==Step 20==
==Step 20==


Now we test the board to make sure that the 5V and 3V3 power supply rails are working OK. We do this before we insert any of the ICs (as more than 60% of the kit value is in the ICs).
Now we test the board to make sure that the 5V and 3V3 power supply rails are working OK. We do this before we insert any of the ICs (as more than 60% of the kit value is in the ICs and we don't want a premature fry-up).


Put the positive probe on pin 14 of the 14 way IC socket and the negative probe on pin 7 of the same socket.
Put the positive probe of the meter on pin 14 of the 14 way IC socket and the negative probe on pin 7 of the same socket.


Insert the FTDI cable with its black wire closest to the centre of the pcb.  Look for a voltage close to 5.00V.
Insert the FTDI cable with its black wire closest to the centre of the pcb.  Look for a voltage close to 5.00V.
Line 180: Line 181:
A similar process for the USB B socket.
A similar process for the USB B socket.


The Red LED is fitted such that the long leg, the anode is inserted in the hole closest to the edge of the pcb.
The Red LED is fitted such that the long leg, the anode, is inserted in the hole closest to the edge of the pcb.


[[File:almost_complete.jpg|800px|center|thumb|Very nearly finished]]
[[File:almost_complete.jpg|800px|center|thumb|Very nearly finished]]
Line 186: Line 187:
==Step 22==
==Step 22==


The ICs can be added - making sure you have the correct position and orientation. Don't get the ATmega328 and the ENC28J60 in the wrong sockets - as that would be bad.
Now we come to fit the ICs into their sockets.
 
'''Remove the power (FTDI or USB) from the pcb before inserting the ICs!'''
 
The ICs can be added - making sure you have the correct position and orientation.  
 
Don't get the ATmega328 and the ENC28J60 in the wrong sockets - as that would be bad, quite bad.


The ATmega328 will be supplied pre-programmed with the bootloader.
The ATmega328 will be supplied pre-programmed with the bootloader.
Remove the power (FTDI or USB) from the pcb before inserting the ICs.


Some ICs will have their pins slightly splayed. This can be fixed by pressing the side of the IC firmly against the bench top  until the pins are straight and parallel.
Some ICs will have their pins slightly splayed. This can be fixed by pressing the side of the IC firmly against the bench top  until the pins are straight and parallel.
552

edits