dig:bronzeassembly
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | dig:bronzeassembly [2013/02/25 13:59] – tobi | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== SMD bronze board assembly ==== | ||
+ | |||
+ | Let's assemble the AVR32 board called **bronze**. | ||
+ | |||
+ | For background information and an overview, see [[dig: | ||
+ | |||
+ | |||
+ | == Parts == | ||
+ | |||
+ | Parts are kept in the ring folder in transparent envelopes. Each envelope is labeled with the bronze board part designator, e.g. R5, D1, etc. **Please put the parts back immediately after taking them out.** | ||
+ | |||
+ | == Tools == | ||
+ | |||
+ | Your setup for assembling SMD prototypes consists of | ||
+ | - a **soldering iron** with large and fine tips, and maybe a heated soldering talon. Always wipe your iron on a damp sponge before using. | ||
+ | - a **magnifier**, | ||
+ | - a **solder paste dispenser''' | ||
+ | - **solder wick**, which is handy for removing excess solder and solder bridges which short between pins. | ||
+ | - **liquid solder flux**, which is handy for deoxidizing metal better and helps the solder to flow. | ||
+ | - **tweezers**, | ||
+ | - **pins**, which are handy for moving parts around and scraping out gunk. | ||
+ | - **razor knife**, which is used for cutting board traces. | ||
+ | |||
+ | == Step 1: Getting Started with the 5V rail and the PWR LED == | ||
+ | |||
+ | **Before starting with this step, watch this video: [[http:// | ||
+ | < | ||
+ | <iframe width=" | ||
+ | </ | ||
+ | |||
+ | In this video you the assembly and testing of some components on the bronze board which are simple to solder is shown. | ||
+ | |||
+ | On the bronze board, start with soldering the following | ||
+ | - D1 - the power LED. Check the polarity carefully. The blue LED needs the fat gold wire on the right side - the C cathode/ | ||
+ | - R5 - the power LED limiting resistor: 1k Ohms. | ||
+ | - P3 - the male type A USB connector. | ||
+ | - L1 - Ferrite Bead with 600 Ohm @ 100MHz and 150 mOhm DC to block noise in VBUS out of the 5V coming from the USB host. | ||
+ | |||
+ | Your soldering should end up shiny and bright and should clearly flow up from the pad onto the pin of the part. | ||
+ | |||
+ | When you solder the USB connector, bend the pins sticking through the board outwards before you solder the USB connector. To avoid possible stress on the SMD joins, solder these holding pins first, the the SMD pads. | ||
+ | |||
+ | After all these components are soldered, the blue LED should go on once you connect your board to a computer. | ||
+ | |||
+ | The orientation of the LED is shown here: | ||
+ | |||
+ | {{dig: | ||
+ | |||
+ | == Check 1 == | ||
+ | |||
+ | The power LED should light up when you plug in the board to a computer. | ||
+ | |||
+ | Measure the voltage across **C2''' | ||
+ | |||
+ | == Step 2: Soldering the 3.3V rail stuff == | ||
+ | |||
+ | Next we'll solder the voltage regulator that makes 3.3V from the USB 5V VBUS and some power supply bypass capacitors. | ||
+ | |||
+ | Solder: | ||
+ | - U2 - the voltage regulator 3.3V. | ||
+ | - C1, C2, C3, C4 - power supply bypass caps. Note that two of these are 100nF ceramic chip caps and two are 10uF **polarized** [http:// | ||
+ | |||
+ | {{dig: | ||
+ | |||
+ | |||
+ | == Check 3 == | ||
+ | |||
+ | Measure the 3.3V rail voltage over C3 or C4. The voltage must be within **3.3V +/- 5%**. | ||
+ | |||
+ | == Step 3: solder the difficult parts == | ||
+ | |||
+ | **Before soldering the next components, watch this video: [[http:// | ||
+ | < | ||
+ | <iframe width=" | ||
+ | </ | ||
+ | |||
+ | **Important: | ||
+ | Before attaching the AVR32, you need to cut a trace on the PCB for one of the pins that is incorrectly connected. Cut the trace from pad 36 to the via just inside the frame, as shown below by the short blue line inside the black circle. | ||
+ | Use a razor knife, and make the cut towards the inside of the frame, from northwest to southeast in the image. This direction will help avoid cutting the trace above and to the left. | ||
+ | You don't need to cut very deeply, just enough that you don't see the metal anymore. Watch out for cutting other traces! Gently does it. | ||
+ | |||
+ | {{dig: | ||
+ | |||
+ | Do you see the problem on the schematic? Hint: look at the VDDIO connections on pins 36 and 48 on the schematic: | ||
+ | |||
+ | {{dig: | ||
+ | |||
+ | When soldering the AVR32, **in case you create bridges between the microcontroller pins:** | ||
+ | * make sure that they don't have to be there: Check with a blank PCB whether the two pins are connected by a trace directly in between. | ||
+ | * Remove extra solder to clear the bridge: | ||
+ | * Use a soldering iron with a **big flat tip** | ||
+ | * Use the **0.6mm** solder wick | ||
+ | * Cut off the used parts of the wick and use the **fresh end of the wick** to minimize the energy being pulled away by the wick | ||
+ | |||
+ | Here's what it looks like: | ||
+ | |||
+ | {{dig: | ||
+ | |||
+ | Now it is time to solder: | ||
+ | - U1 - our USB microcontroller AT32UC3B1256 | ||
+ | - X1 - The 12MHz crystal | ||
+ | |||
+ | **When handling U1, be careful not to bend any of the pins.** If you drop U1 on a hard surface the pins will almost always be bent on the corner and it is very difficult to straighten them. | ||
+ | Be careful bending the pins in any case; they are brittle and will break off easily. | ||
+ | |||
+ | **When you solder U1, make absolutely certain that the part is lined up properly on all four sides after you solder only one corner pin.''' | ||
+ | You can use either a very thin line of solder paste or apply a bit of thin wire solder to the iron tip and get it to flow onto the pins and pads. A bit of liquid flux applied to the line of pads helps in this case quite a bit. | ||
+ | |||
+ | == Step 4: Other parts and don't forget the zero ohm resistor on the back side == | ||
+ | |||
+ | If you are confident that U1 and Q1 have been soldered correctly, you can solder the remaining (easy) components. Refer to the schematic for values. | ||
+ | All parts are in the folder of parts labeled by part number. | ||
+ | |||
+ | - C5 & C6 - the 22pF crystal load capacitors | ||
+ | - R3 - 10kOhm TCK pullup resistor | ||
+ | - R1 & R2 - 39Ohm USB data lines series resistors | ||
+ | - RESET & DFU - the two micro switches | ||
+ | - Any other capacitors or resistors except the LDR (= Light Dependent Resistor, the thing with the curly pattern on its face, R7) and the RGB LED (D2, = Red/ | ||
+ | |||
+ | {{dig: | ||
+ | |||
+ | There is one component on the back side of the board, **L2**, which should just be a shorting jumper. Solder a zero ohm resistor (a jumper). | ||
+ | This connection isolates the AVR analog supply voltage. If you forget it nothing will work! | ||
+ | |||
+ | Your board should now look like this (except you will not have the LDR or RGB LED): | ||
+ | |||
+ | {{dig: | ||
+ | |||
+ | == Check 3a: Visual inspection == | ||
+ | |||
+ | Look at your board under the high power microscope. Look especially between the pins. You should not have leftover solder balls! If there are too many they will cause a short - maybe not today but later on. | ||
+ | In any case, your solder joints should be shiny and clean and clearly weld the pins to the pads with nice wedges. | ||
+ | |||
+ | == Check 3b: Electrical test == | ||
+ | |||
+ | First, plug your board into the current-limited supply with the USB cable on it. If your board draws too much current the voltage will drop. A working board draws <40mA @5V. If your board draws too much power you must find the short(s) and fix it/them. | ||
+ | |||
+ | Next, after plugging in the board to a computer, check all rail voltages again: | ||
+ | || **Measurement Site''' | ||
+ | || C1 or C2 || 5.0V +/- 5% || | ||
+ | || C3 or C4 || 3.3V +/- 5% || | ||
+ | || C7 or C8 || 1.8V +/- 5% || | ||
+ | |||
+ | If any of the voltages are out of range **disconnect the board immediately** and start visual inspection, and have someone else look at the board. | ||
+ | |||
+ | |||
+ | == Check 4a == | ||
+ | |||
+ | If you have an oscilloscope, | ||
+ | * Attach a wire to some GND pin. | ||
+ | * Connect the scope ground clamp to the wire | ||
+ | * Check the signal on C5 or C6, on the signal side, not the ground side. | ||
+ | * You should see a (more or less sinusoidal) 12MHz signal with about 1Vpp amplitude. | ||
+ | |||
+ | |||
+ | == Check 4b == | ||
+ | |||
+ | Connect your board to a Windows computer and in the Device Manager you should see the AVR32 USB DFU device show up (if you installed the driver earlier). | ||
+ | |||
+ | Or, connect your board to a Linux computer, then run the command **lsusb** in a shell. | ||
+ | |||
+ | Besides other devices you should see: | ||
+ | {{{ | ||
+ | Bus ??? Device ???: ID 03eb:2ff6 Atmel Corp. | ||
+ | }}} | ||
+ | |||
+ | == Check 5b == | ||
+ | |||
+ | To get further information on what Linux found out about the device, run **sudo lsusb -d 03eb:2ff6 -v** | ||
+ | |||
+ | You should get this: | ||
+ | < | ||
+ | Bus ??? Device ???: ID 03eb:2ff6 Atmel Corp. | ||
+ | Device Descriptor: | ||
+ | bLength | ||
+ | bDescriptorType | ||
+ | bcdUSB | ||
+ | bDeviceClass | ||
+ | bDeviceSubClass | ||
+ | bDeviceProtocol | ||
+ | bMaxPacketSize0 | ||
+ | idVendor | ||
+ | idProduct | ||
+ | bcdDevice | ||
+ | iManufacturer | ||
+ | iProduct | ||
+ | iSerial | ||
+ | bNumConfigurations | ||
+ | Configuration Descriptor: | ||
+ | bLength | ||
+ | bDescriptorType | ||
+ | wTotalLength | ||
+ | bNumInterfaces | ||
+ | bConfigurationValue | ||
+ | iConfiguration | ||
+ | bmAttributes | ||
+ | Self Powered | ||
+ | MaxPower | ||
+ | Interface Descriptor: | ||
+ | bLength | ||
+ | bDescriptorType | ||
+ | bInterfaceNumber | ||
+ | bAlternateSetting | ||
+ | bNumEndpoints | ||
+ | bInterfaceClass | ||
+ | bInterfaceSubClass | ||
+ | bInterfaceProtocol | ||
+ | iInterface | ||
+ | Device Firmware Upgrade Interface Descriptor: | ||
+ | bLength | ||
+ | bDescriptorType | ||
+ | bmAttributes | ||
+ | Will Detach | ||
+ | Manifestation Tolerant | ||
+ | Upload Supported | ||
+ | Download Supported | ||
+ | wDetachTimeout | ||
+ | wTransferSize | ||
+ | bcdDFUVersion | ||
+ | Device Status: | ||
+ | Self Powered | ||
+ | < | ||
+ | |||
+ | == Step 6: Pin headers == | ||
+ | |||
+ | Now solder the 2x16 pin round pin gold plated headers into the bottom of the board to allow you to plug the bronze board into a solderless breadboard, as shown below. | ||
+ | Solder the thin pins from the bottom into the board so that the thick tough part sticks out. You will need to cut apart some pieces. Make sure the pins are nicely vertical | ||
+ | and properly aligned so that you can plug the bronze board into the solderless breadboard later. | ||
+ | |||
+ | {{dig: | ||
+ | |||
+ | == Step 7: LDR and RGB LED == | ||
+ | |||
+ | Finally, you can solder the LDR and RGB LED if you want to run this test. The RGB LED has one ground cathode pin and 3 positive anode pins, one for each color. It is oriented as shown below: | ||
+ | |||
+ | {{dig: | ||
+ | |||
+ | ** You made it till down here? Congratulations!** Your board passed all tests that do not require a **test-firmware** to be flashed... |
dig/bronzeassembly.txt · Last modified: 2024/02/29 07:28 by 127.0.0.1