Second batch

After creating the first few temperature sensors the PCB has been updated. It’s smaller now. Soldering went smoothly. The fact that the PCBs came in groups of 6 made applying the solder paste much faster. After soldering the PCBs did not look very nice. But after measuring all were as expected and the question is whether to clean the PCBs would help to make sure the the remaining dirt does not cause long term problems. Unfortunately an off by one issue appeared.

Soldering temperature sensors

Before I proceed to manufacture the PCBs for the home automation I decided to invest in a solder plate and try a very small project: Temperature sensors that consists of a DS18B20 1-wire temperature sensor and a 2-pin SMD push connector.

First step was to make sure that the solder plate is actually grounded properly.

ground check
1 Ohm is acceptable

After that a layman’s temperature calibration run. Comparing the temperature using my multi-meter’s temperature probe and the internally measured value of the solder plate.

temp check
Close enough

The PCBs were designed with eagle and manufactured by AISLER. They look good, were reasonably priced and came with a stencil.

On to solder paste application. The setup consists of a piece of wood with two pieces of PCB with the same thickness as the target PCB and the stencil taped in place after alignment. You can see in the image that the stencil is far from perfectly parallel to the hole line. The effect of slightly offsetting the solder paste will be visible soon.

setup
Solder paste application setup on a wooden board and a dry fit of the parts

Flipped the stencil over and put a drop of solder paste.

solder paste
Before application of the solder paste

Using a metal scraper to apply.

solder paste applied
Solder paste applied.

The above mentioned error is visible, but I hope that it does not cause issues later and the amount of solder paste looks good. Next step is placing the parts.

parts placed
Using tweezers to place the parts

Now let’s heat it up. Since I’m using the solder plate for the first time I did not take enough pictures to capture the whole reflow solder profile. I’ve set the temperatures manually and have waited using a timer. The relatively slow solder plate ensures the ramping is not too fast. The cooling after reaching maximum heat is a little bit slow, but will be improved once I’ve the ventilation in place that is definitely required for larger projects. The fan is already in place, so I’ll have to add an enclosure only.

heated
Solder paste shortly after it started melting

Wait until it’s cooled.

soldered
The the solder joints look acceptable

Considering the fact that the connector does not match 100% with the footprint (the 8D process will show what went wrong) the solder joint is acceptable. The temperature sensor looks good to me. (Feedback welcome). After the first one was successful I finished the series by soldering the remaining 2 parts.

mini series
The complete series of 3 parts is finished

PCBs routed and sanded. I did a quick electrical test. With only 2 connections it could easily be done with the multi-meter. So the next step was to integrate the new sensor in the existing Loxone home automation system.

system test
The newly produced sensor is connected to the live system

The sensor was successfully detected and provided a reasonable temperature.

GIU
The software displays a reasonable temperature value

In addition I’ve placed one of the sensors outside and it also show values that made sense.

I’ll order more PCBs and run a second batch and after that I’ll be out of excuses for producing the bigger PCBs for my light switches.

Blink

I’ve connected the Arduino pro mini (328/5V) to my pcb. Of course it’s not directly soldered to the PCB but using a connector, so I can replace the parts that get bricked during development. I’ve downloaded the blink example using something like this. Directly after flashing it worked, but once I disconnected the flashing adapter it stopped. After remembering, that I’ve to short my optional filter in case it’s not assemble it works.

unfortunately…

… an ohmic load (Thank you Axel) shows the same behavior (spikes on Vout) as seen in the previous post. Fortunately I’ve spent some space on the pcb for an optional filter that has now become mandatory.

The spikes do not change with load or input voltage. I took a closer look and they are much less random compared to what the screenshot looks like. They’re expected transient responses to the switching. currently they’re around +- 1,5V which is too much.

Unfortunately the additional inductor and capacitor for the filter where not part of the part delivery I’ve received. The delivery date is changing once a week and is oscillating around 30th of march.

But in the meantime I still can try to get the arduino running. It has it’s own voltage regulator and an additional capacitor at the input, so the currently “dirty” Vout will not be an issue.

Load

I’ve run the power supply under load. As you can see I’ve

  1. not yet removed the screen protector foil from my multimeter
  2. connected the cables in the wrong direction so the current is negative
load current @ Vout=5V [A]

The load was a florist wire that accidentally had the correct length to have a resistance of 10 Ohm (Just in case: R=U/I). So in addition to the resistance it also is an inductive load due to the geometric nature of florist wire.I did not want to unwind it.

Channel 1: Vout
Channel 2: buck inductor input voltage

Three things can be seen:

  1. I’ve a problem with reflections and need a better environment for taking pictures (or an oscilloscope with screen shot functionality)
  2. The switching frequency of around 122kHz can be seen on the buck inductance. (Channel 2)
  3. There are spikes on Vout (Channel 1). They correlate with the switching points of the buck and are most probably caused by the “coily” nature of my florist wire load.

The result of the short test is that I’ve not noticed heating on the pcb or the parts even though I’m running the circuitry at the upper boundary of what it’s designed for. That’s good. For a real test with reasonably long duration (> 1 day) I need a fire proof environment, that also contains the designated housing, so that air turbulence can not cool down the pcb and of course a possibility to measure and log the temperature over time.

Power!

After a (luckily unsuccessful) search for short cuts I have connected the power supply part on the pcb to an external power supply. The following screen shot shows that the power supply becomes operational at around 12V.

Channel 1: Vout
Channel 2: Vin (manual rise from 0 to 15V )

Unfortunately I do not have a nice load to check the behavior close to the 0,5A the power supply is designed for. But I have small light bulb that causes a load of around 30 mA. Running the power supply at this load for some minutes did not cause any noticeable increase of the temperature. That’s a good sign. I also tried a short cut between Vout and GND. Nothing bad happened. The MAX5033 detected the short cut and shut off, before trying to start again. After removing the short cut it went back to normal. This state I did not try for a longer time. The effects were visible on the oscilloscope and audible. Typically the inductors start to “sing” under such conditions.

My external power supply can only provide 20V, but I assume, that if everything works at 20V it’ll also run at 24V. So the next step before actually connecting the arduino is to run the power supply for an extended period of time (~ 1 day) with high load and 24V input.

An attempt on soldering

After a long time I’ve reactivated my solder iron. Since I’ve done that without additional flux (apart from the content of the solder) the result looks accordingly. My next step will be testing the circuitry.

power supply part of the cancombase

Surprisingly for me the soldering of the IC was the easiest. I assume, that the pads were perfectly sized for hand soldering. The resistors and small capacitors look horrible because I did not use tweezers. The large capacitor’s solder pads are a bit too small for hand soldering and the inductor needs a higher temperature because of the relatively high mass.

I also noticed that I’ve to improve my documentation. More information on the pcb, the layout and the circuit diagrams are required to simplify the soldering and reduce the time spent on searching the parts and their orientation. For example having the small dot that indicates pin 1 of an IC would be very helpful. Also the orientation of the larger capacitors and the exact location and size of the text on the pcb.

Prototype

After ordering the prototype pcbs in China on Saturay they arrived on the following Wednesday. I even got one more pcb than I’ve ordered. The service is very fast and the price more than acceptable. So based on this single sample I can recommend allpcb.com. Apart from the silkscreen, the pcb looks good. But I’ve put exactly zero effort in it, so it’s OK. The picture shows the Arduino pro mini plugged in, but not yet soldered.

prototype pcb with loosly mounted arduino pro mini

The next step is to solder the power supply parts (visible here on the very right) and the optional filter against ripple. After that the difficult part, soldering the oscillator, will be the next step.