This is an old revision of the document!


Moodlamp Build Instructions

This page will contain all instructions for building a moodlamp version 0.30 including pictures of the whole process.

The Kit's from Easterhegg 2010, were shiped with the wrong part list (small dinA6 letter):

  • the color Codes are outdated, use the codes on this site
  • 220 ohm replaces 180 ohm
part value model colorcode
C[16,17] 100nF 0603 yellow
C[1,2,3,9,10,11,13] 100nF 0805 red
C[4,5] 22pF 0805 blue
R[1,9,19] 10kΩ 0805 black
R25 10kΩ 0603 green
R[2,3,4,8] 100kΩ 0805 brown
R[20,21,22] 220Ω 0603 grey/pencil
R24 22kΩ 0603 pink

You will need a variety of tool to build a moodlamp:

  • soldering iron
  • fine tip and a bigger tip
  • flux
  • solder
  • solder wick
  • tweezers
  • wire cutter
  • vise
  • insulation tape

Most parts of the moodlamp are surface mounted. See http://www.spida.net/projects/hardware/smd-soldering/ for an introduction. (TODO: insert english page here)

Step 1: Populating the big chips

The first step is to populate the IC1 and IC4, the microcontroller(the brain) and the usb interface(optional).

These chips have many pins and there are three basic methods for soldering them:

  1. Use a fine tip and solder each pin separately
  2. Use a bigger tip, solder all pins at once and remove the excessive solder with the solder wick.
  3. Use a special tip, a Concave soldering iron tip, which contains a little cavity for solder by surface tension.

We recommend and describe the later method as it produces the best result. If you don't have one of these special tips for your soldering iron the next best method is using the big tip.

web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02171.jpg web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02174.jpg

Add flux to all pads of IC1:

web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02176.jpg

Add solder to one pad of IC1:

web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02177.jpg

Position IC1 and solder one pin to the pad of the previous step. Make sure the IC is positioned correctly: The circle in one corner
of the chip has to be in the same corner on the pcb.

(IC1 might be taped to the PCB)

web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02178.jpg web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02179.jpg

Add more flux to the chip:

web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02181.jpg

Add solder to some more pins. It is no problem if you connect two pins together:

web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02182.jpg

Add solder into the cavity of your Concave soldering iron tip:

web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02185.jpg web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02186.jpg web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02187.jpg

Move the tip containing the solder along one side of the chip. There will be only solder left on the pins without connecting them. If the result has shorts you can again add some flux and try again. Small shorts at the edges can also be removed with solder tip. I've made a little video showing the process:

http://web.xtort.eu/~schneider/mov02190.ogg

Repeat step 1.7 for the other three sides. Add flux every time!

web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02191.jpg

Repeat these steps for IC4:

web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02195.jpg web.xtort.eu_schneider_moodlamp_.llgal_thumb_dsc02201.jpg

pads of IC1 and IC4 without connection

If you unsolder IC1 or IC4 for whatever reason you may destroy pads, especially those without connection.
These pads are unused, it is no Problem if you loose them. They are marked blue in the following pictures.

Step 2: Populating the other chips

Parts used: MAX487(IC2), IRF7103(T1, T2)

From here on a small solder tip is used. A diameter of about 0.8mm will do just fine.

Start with transistor T2 on the top side. The drawings on the pcb mark the orientation of the chip.

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-1-so8-1.jpg

Again use some flux and add solder to one pad:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-1-so8-2-flux.jpg web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-1-so8-3-pad.jpg

Use the tweezers in one hand to position the chip on the pads and the soldering iron to heat the pad containing the solder:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-1-so8-4-chip.jpg

Now solder every pin of the chip to the pcb. The pins have enough space between them to solder the separately.

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-1-so8-5-solder.jpg

Repeat this steps for T1 and IC2:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-1-so8-7-max487.jpg

Step 3: Populating the resistors and capacitors

The small surface mounted resistors and capacitors come in two different sizes: 0805 and 0603. This number describes the size of the sides of the part in .001-inch. To make it short: the 0805 parts are the bigger ones.

To solder these parts add solder to one of the pads and add the part with tweezers afterwards.

Tip: If one of the pads has many copper traces attached add solder to the pad that has less copper traces attached. This pad will be easier to heat and make the process more smooth. The following picture shows the preferred pads for R2, R3 and R4. The right side has 3 traces going into the solid ground plane:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-8-ground.jpg

Parts used: 1 x 100nF in 0805 (C1)

Add solder to the right pad of IC1:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-1-pad.jpg

Use the tweezers to solder C1 to the pcb:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-2-solder.jpg

Solder the other side of the capacitor:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-3-c1.jpg

Parts used: 6 x 100 nF in 0805 (C2, C3, C9, C10, C11, C13)

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-4-c2-c3-c10-c11.jpg brezn.muc.ccc.de_joe_moodlamp_pics_dsc03582_c13.jpg

Parts used: 2 x 100 nF in 0603 (C16, C17)

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-5-c16-c17.jpg

Parts used: 2 x 22 pF in 0805 (C4, C5)

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-6-c4.jpg web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-7-c5.jpg

Parts used: 4 x 100 kOhm in 0805 (R2, R3, R4, R8)

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-9-r2-r3-r4.jpg web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-7-r8.jpg

Parts used: 3 x 10 kOhm in 0805 (R1, R9, R19)

brezn.muc.ccc.de_joe_moodlamp_pics_dsc03599_r1.jpg web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-10-r9-r19.jpg

Parts used: 1 x 10 kOhm in 0603 (R25), 1 x 22kOhm in 0603 (R24)

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-11-r24.jpg brezn.muc.ccc.de_joe_moodlamp_pics_dsc03610_r25.jpg

Parts used: 3 x 220 Ohm in 0603 (R20, R21, R22)

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-2-rcl-12-r-smdled.jpg

Parts used: 3 x LED in 0603 (LED1, LED2, LED3)

These are some status leds you can add to your moodlamp:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-3-smdled-1-leds.jpg

The leds are red, green and blue. The blue one has a transparent lens. At the bottom side of the leds is a small arrow. This arrow points to the cathode of the led. This is the “negative” terminal:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-3-smdled-2-leds-dir.jpg

Solder the leds to the pcb so that this arrow points away from the big chip in the middle:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-3-smdled-3-finished.jpg

Step 4: Mounting the bigger components, solder bridges and connectors

Parts used: 1 x mini usb jack (X4)

When mounting the usb jack take special care that all pins are connected to the pads and that no pins have shorts. Use solder wick if necessary:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-4-usb-1-finished.jpg

Parts used: 1 x crystal(Q1)

Add solder to one pad and add the crystal using tweezers:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-5-xtal-1-pad.jpg web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-5-xtal-2-finished.jpg

Parts used: 1 x RFM12 rf module

Add solder to one pad:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-6-rf-1-pad.jpg

Use some tape to insulate the pcb from the module to prevent shorts that might occur from the two pcbs touching:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-6-rf-2-tape.jpg

Solder the module to the pcb like a normal chip:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-6-rf-3-finished.jpg

Parts used: none

The current pcb requires some solder bridges at R10, R11, R12, R16, R17, R18, R23 and SJ1. They are located at the bottom of the pcb. Short them using solder:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-7-solderbridges.jpg

TODO: add mark in image for r10,r11,r12

Parts used: 2 x 2×3 header(ISP, JP2), 1 x 8 Ohm resistor(R7), 2 x 5 Ohm resistor(R5, R6), 1 x screw terminal(X1), 1x 1×4 header(X2), 1x 1×2 header (USBPWR)

Solder the resistors on top of each other as shown in the picture.

To solder the connectors put them into their holes, put the pcb onto a flat surface upside down and solder one pin. Check that the connector is in correct position and solder the other pins.

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-8-mechanical-1-isp-rs485-jp-pwr.jpg TODO: highlight USBPWR in picture

Parts used: 1 x 3 Pin Molex type connector

Take care that the rf module does not block the connector. To prevent this mount the connector in an assembled state as shown in the picture:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-8-mechanical-2-ir.jpg

Parts used: 1 x 100 uF electrolyte capacitor(C14)

This capacitor has a polarity! The negative side is marked by a white stripe on one side. This side has to point to the rf module. If you bend the leads to 90 degrees you can lay the capacitor onto the big chip:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-9-electrolyte-1-c14.jpg

The pcb is now finished!

Step 5: Power supply

As most 5V wall plugs come with a different connector we'll add our own 2.5mm dc jack to them to keep compatibility. If your wall plug already has 2,1mm you can skip the next step and continue at 5.3 so the 2.5mm dc connector is unused.

If possible use a bigger solder tip for this. A 2mm tip is fine.

Parts used: 5 V, 2 A wall plug

Remove the connector from the cable:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_power-1-cable-1-original.jpg web.xtort.eu_schneider_mlbuild_.llgal_thumb_power-1-cable-2-cut.jpg

The rippled wire is usually the negative side of the power supply. If unsure use a voltmeter to verify this!

Cut the negative side about 5mm shorter than the positive side, strip some insulation, add solder and cut the leads to about 5mm:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_power-1-cable-3-solder.jpg web.xtort.eu_schneider_mlbuild_.llgal_thumb_power-1-cable-4-solder-cut.jpg

Parts used: 1 x 2.5mm dc connector

Put the connector into the vice and add solder to the terminals. Make sure the solder sticks to the leads. You have to heat the bigger one longer to make it hot enough:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_power-1-cable-5-connector.jpg

Don't forget to put the casing onto the cable before soldering the connector

Solder the cable onto the connector with the shorter wire connecting to the larger lead:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_power-1-cable-6-finished.jpg

Parts used: 2.5mm dc jack

Remove the lead on the side of the connector and bend the remaining two to the front:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_power-2-jack-1-jack.jpg web.xtort.eu_schneider_mlbuild_.llgal_thumb_power-2-jack-2-jack-bent.jpg

Parts used: 10cm twin wire

Strip some insulation from the twin wire, add solder to the copper and solder them to the dc jack. Solder the marked wire to the lead at the back of the connector. This is the positive side of the connector

web.xtort.eu_schneider_mlbuild_.llgal_thumb_power-2-jack-3-soldered.jpg

Parts used: 12mm heat-shrink tube

Use the heat-shrink tube to secure the leads:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_power-2-jack-4-schrunk.jpg

Step 6: Infrared receiver

This step is different depending on the revisions of your kit.

Parts used: 4.8mm, 2.4mm heat-shrink tube, IR receiver, 3 pin Molex type connector

Connect the ir receiver as shown to the cable. Use the 2.4mm heat-shrink tube to insulate the leads and the 4.8mm heat-shrink tube to hold the wires together:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-10-tsop-1-connection.jpg

Parts used: 4.8mm, 2.4mm heat-shrink tube, IR receiver, 3 pin Molex type connector, 100 Ohm resistor, 47 uF capacitor

This kit contains a SFH5110-36 as infrared receiver. This receiver requires some extra components and a different connection.

Step 6.3.1:

Cut the pins of the receiver to about 5mm from the bend and add solder to them.

web.xtort.eu_schneider_mlbuild_.llgal_thumb_2010-02-02_2022.22.09.jpg

Step 6.3.2:

Add the capacitor and the resistor as shown in the picture. Make sure the negative side of the capacitor is connected the the middle pin.

Step 6.3.3:

Cut the cable of the connector as shown in the the next picture, remove the isolation and add solder to the ends:

Step 6.3.4:

Add heat shrinking tube as shown in the picture and solder the wires as shown in the second picture to the IR receiver.

web.xtort.eu_schneider_mlbuild_.llgal_thumb_2010-02-02_2022.29.08.jpg

Step 6.3.5:

Shrink the heat shrinking tube.

Parts used: 4.8mm, 2.4mm heat-shrink tube, IR receiver, 3 pin Molex type connector

|-------|
|       |
|  /-\  |
|  \-/  |
|       |
---------
 |  |  | 
 |r |b |b
 |e |l |r
 |d |k |o
 |  |  |

Connect the ir receiver as shown to the cable. Use the 2.4mm heat-shrink tube to insulate the leads and the 4.8mm heat-shrink tube to hold the wires together:

Step 7: Antenna

Parts used: antenna wire

Antenna length: λ / 4 = c / 4f = (300*10^6 ms) / (433 MHz * 4) = 17,3 cm

Solder the antenna to the antenna pad under the ir connector:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_pcb-11-ant-1-finished.jpg

Step 8: Led

Parts used: rgb led, red, green, blue and black wire

The led comes mounted on a heat sink. This makes soldering the leads of the led more difficult. Use a bigger tip and a strong soldering iron to heat the pads fast enough.

Solder the four wires as shown to the led:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_led-1-cable.jpg

Step 9: Final assembly

Solder the four wires of the led to their corresponding connections on the pcb. The red, green and blue wires go to the pads marked R, G and B. The black wire goes to the hole which is marked with +5V at the bottom side. It's near the screw terminal.

Strip some insulation from the twin wire coming from the dc jack and add some solder. Put the wires into the screw terminal and tighten it. The marked wire goes to the terminal near the big resistors:

web.xtort.eu_schneider_mlbuild_.llgal_thumb_ml-finished-2-power.jpg

Take a look at Test 1: short circuit before you connect your moodlamp to the power supply.

It's now time to have a look at Voraussetzungen

  • moodlamp_30_build.1316891342.txt.gz
  • Last modified: 2021/04/18 12:32
  • (external edit)