Swimming, 16th January 2020

Same set again, and I did somewhat better than the previous time, failing on reps twelve and sixteen. I couldn’t manage many of the 25s though. My arms were just too tired.

Posted in Swimming | Tagged , | Leave a comment

Robert Brown Arduino dew controller build, step by step #9

For the final bit of PCB soldering, the MOSFETs and voltage regulator. The heatsinks I bought turned out to have small steel “legs” on when they arrived, which I didn’t initially realise was the case.

I assume they’re there so they can be soldered to the PCB and stabilise the heatsink. And perhaps to connect it to ground. There’s no place for them on the PCB though, so I snipped them off with the side cutters.

Because there’s not much room on the PCB for the heatsinks (some of the resistors prevent them from fitting flush with the PCB) I decided it was easier to put the whole thing together before soldering it into place.

Even then it was easier to put some of them into the board at a slight angle to get sufficient clearance. An alternative might be to just saw 3mm or 4mm off the bottom of each heatsink. I don’t think it would compromise their performance that much. And again I held them in place with a blob of blutak whilst soldering. And here they are, all done.

To make much more progress I probably need the case printing, so I’ll get that under way. I’ll also go over the back of the circuit board with a magnifying glass just to check there aren’t any unintentional bridges in the soldering. Then I’ll plug in the Nano and at least see if it lights up and runs the default “blink” code ok.

Posted in Astro Equipment, Astronomy, Projects | Tagged , | Leave a comment

Robert Brown Arduino dew controller build, step by step #8

Fly leads for the diodes attached. No diodes as yet. I’ll cut the leads to length and fit the diodes once I’ve printed the case and can test everything for size/placement.

Posted in Astro Equipment, Astronomy, Projects | Tagged , | Leave a comment

Robert Brown Arduino dew controller build, step by step #7

All the pin headers that I’m going to use are now in and there aren’t too many holes left, especially as the two four-pin headers that are left won’t be used (the ones for the Bluetooth connection and the HTU21D humidity sensor).

For the pin headers I used much the same method as for the resistors: put a number in place and then gently press a flattened piece of blutak down over the top to keep them all in position whilst the board is flipped over and everything soldered into place.

As I mentioned before, the five diodes have leads that appear to be 1.1mm in diameter and are too big for the holes in the PCB. In my previous build I soldered the leads to short lengths of wire that would go through the holes and fitted the diodes vertically, but that actually makes some of the jumpers awkward to reach with my fingers, so this time I’m going to put fly leads on the board and leave the actual diodes to sit beside the PCB in the case, perhaps fixed down with a bit of hot melt glue.

Posted in Astro Equipment, Astronomy, Projects | Tagged , | Leave a comment

Robert Brown Arduino dew controller build, step by step #6

I have now soldered all the resistors and capacitors to the PCB:

Yes, I have put all the resistors the same way around. I can’t help myself 🙂

My favoured method for dealing with the resistors is to put a group of them in place, bending the leads over underneath themselves to hold the resistors loosely in place, then gently press a bit of blutak over the top of the entire group to hold them on the PCB without moving. Now they won’t shift about it’s a matter of seconds per lead to solder them using the magnifying glass to get a good view of what I’m doing.

The capacitors needed a little adjustment with the pliers to get the leads through the holes, but I didn’t push them down to far to avoid damaging them.

Next I think I’ll do all the pin headers, leaving the semi-conductor components until last so there’s minimal handling once they’re in place.

Posted in Astro Equipment, Astronomy, Projects | Tagged , | Leave a comment

Robert Brown Arduino dew controller build, step by step #5

Time to start some actual construction!

Whilst the PCB was uncluttered I decided the first job would be to solder on the headers for the Arduino, so I used the junior hacksaw to cut a couple of 15-pin lengths from the headers. I kept the blade up tight to the sixteenth pin so as to avoid exposing the fifteenth. If the finished cut is a bit ragged, a couple of gentle strokes with fine sandpaper cleans it up.

I used a couple of the male pin headers to keep the headers in the correct positions whilst soldering and to balance the board when it was upside down.

Then flipped it over and soldered all the pins

I didn’t notice at the time, but I need to clean up the two top right pins just a little when I next have the soldering iron hot.

And from the upper side of the board…

Next I’ll get all the resistors done I think.

Posted in Astro Equipment, Astronomy, Projects | Tagged , | Leave a comment

Robert Brown Arduino dew controller build, step by step #4

Right then… Components… I’ve given links to the places I purchased parts from where they still exist or if I still have them, but a few things I already had. I have no connection with any of the vendors and I’m not suggesting anyone should buy from these specific vendors. They’re more for information and guidance. The photos may not show the number of each component required — I was buying to make at least three of these (and so the links to where I bought them might have more than you need, too.)

I’ve already covered the PCB in my earlier post.

Simple stuff first. Resistors, twenty in all:

4 x 330 ohm
1 x 1 Kohm
3 x 1.2 Kohm
1 x 2.2 Kohm
4 x 4.7 Kohm
6 x 10 Kohm
1 x 1 Mohm

The documentation doesn’t suggest power ratings or tolerance, but the PCB design appears to suit 0.25W resistors and those are what look to be used in the build photos, so that’s what I went with. I assumed 5% tolerance would be ok.

Most of these I had anyhow, but those I was missing I bought from here:

https://www.ebay.co.uk/itm/High-Quality-0-25W-Resistors-100-330-470-1K-4-7K-10K-100K-OHM-UK-STOCK-New/200933857810

Capacitors. Just the two.

1 x 0.1uF
1 x 0.33uF

Bought from https://www.ebay.co.uk/itm/Monolithic-Multilayer-Ceramic-Capacitors-10-Pack-Choose-PF-NF-UF-Free-P-P/231332330771
Diodes

From https://www.ebay.co.uk/itm/1N5800-Series-Schottky-Diodes-1N5819-1N5822-Various-Pack-Sizes/152056021097 and https://www.ebay.co.uk/itm/5-x-10A10-Rectifier-Diode-10A-1000V/252434225368.

All of these actually have leads that I’d consider over large and don’t fit through standard PCB holes. With stripboards you can probably just enlarge the hole slightly, but with a prefab PCB an alternative solution needs to be found. For my first controller I bodged it, but this one I’m going to try to make a better job of it. I’ll return to this when I get that far.

LEDs

1 x 5mm Multicolour RGB LED model KY-016

https://www.ebay.co.uk/itm/RGB-3-Colour-Full-Color-Led-Module-KY-016-For-Arduino-Raspberry-PI/263230411143

4 x 3mm 12V LED with resistor

For the rest of the LEDs the documentation shows blue LEDs whilst the PCB seems to suggest one of each of red, green and blue, as well as a fourth for the power indicator. I just used red ones throughout. I don’t think anything is gained by using different colours really. The documentation also suggests these should come with a bezel, but I couldn’t find any so had to buy them separately.

https://www.ebay.co.uk/itm/Pre-Wired-3mm-LEDs-With-Resistors-Various-Colours-5v-6v-9v-12v-Pack-of-5/123912557473

Other ICs and similar

4 x FQP30N06L MOSFET — I didn’t need to buy these.

1 x LM7808 8V voltage regulator (TO-220 package)

I got these from ebay, but the listing no longer exists

1 x DHT22 humidity sensor

https://www.amazon.co.uk/gp/product/B06XF4TNT9/

1 x LCD2004 LCD module & I2C interface

From here: https://www.amazon.co.uk/gp/product/B0725KXF99/

3 x DS18B20 thermal probe sensor

https://www.amazon.co.uk/gp/product/B075FYYLLV/

1 x DS18B20 thermal sensor in TO-92 package

I already had some of these, but they should be easy enough to find on Amazon or Ebay

1 x Arduino Nano V3

I bought as a pack of five: https://www.amazon.co.uk/gp/product/B07F8NW9JF/

And the other bits of hardware…

1 x USB B panel mount socket to mini USB plug

This is specified as a right-angle mini USB plug, but I couldn’t find any so I bought one with a straight plug. The case I designed has sufficient room for it, though it is possible to buy a right-angle converter (link also below). It only saves a couple of millimetres however.

https://www.ebay.co.uk/itm/30cm-Mini-5-pin-Male-to-USB-2-0-B-Female-Socket-Printer-Panel-Mount-Cable-Cord/231961140556

https://www.amazon.co.uk/Degree-Angled-Female-Extension-Adapter/dp/B015PRVI62/ref=pd_sbs_23_2/257-8654966-0092832

3 x RCA panel mount sockets

I had these already. They’re easy enough to find. For example:

https://www.ebay.co.uk/itm/RCA-Phono-Chassis-Panel-Mount-Socket-Connector-Red-White-Yellow-Black-x-8/222523856989

1 x panel mount power socket

This is specified as 5.5mm with a 2.5mm centre pin. Pretty much all my other kit (mount, cameras etc.) uses a 5.5mm x 2.1mm socket though, so I used that size instead. I actually bought it with the matching plug so I can make up my own power lead to the correct length.

https://www.amazon.co.uk/gp/product/B07QNWSKN2/

1 x 5mm x 20mm panel mount fuse holder
1 x 6A 5mm x 20mm glass fuse

I already had the fuse holders. The fuses came from here:

https://www.ebay.co.uk/itm/Glass-Fuse-10-Pack-250V-5x20mm-Choose-from-available-values-Free-UK-P-P/261899073442

1 x 40mm 12V fan

It’s claimed that you don’t really need this for the MOSFET build, but I chose to fit one anyway, just in case. The voltage regulator may well be happier for it anyhow.

https://www.ebay.co.uk/itm/4X-40mm-12V-Brushless-Computer-Case-System-Laptop-3D-Printer-DVR-Cooling-Fan-UK/153575881605

5 x TO-220 heatsink (with screw)

Again, these may not be required for the MOSFETs, but I decided to fit them anyhow (though slight modifications were required that I’ll talk about later). It’s probably a good idea to fit one to the voltage regulator regardless.

https://www.ebay.co.uk/itm/TO220-TO-220-Heatsink-Alloy-Various-Pack-sizes-For-Voltage-Regulators-etc-Pin/263988492509

5 x mica insulator and bush washer for TO-220 heatsink

I got these from ebay, but the listing no longer exists. The mica piece insulates the heatsink electrically from the component and the bush for the screw ensures the screw can’t make electrical contact with the component either.

3 x 6P4C panel mount connector and plugs

Sometimes also called an RJ11 or RJ12 socket/plug. In our case although it’s a six position (6P) connector, not all the contacts are required so we can make do with four (4C). 6P6C would work just as well. 6P2C won’t. If you don’t have the tool for crimping the plugs on and don’t wish to buy it then some other type of socket and plug would probably do just as well. I was tempted by 3.5mm stereo jack plugs and sockets but was warned by Robert Brown that they cause problems. I’ll return to this in a later post.

https://www.ebay.co.uk/itm/20x-RJ11-6P4C-Phone-Crimp-Connectors-Plugs-Ends-Cat3-ADSL-4-Pin-Fax-Telephone/254173063867

I also bought the sockets from Ebay, but the listing has now gone.

1 x SPDT mini toggle switch

I already had some of these, still in their Maplin packaging! If you want to use the “Force heaters full on” feature, you’ll actually need three of these.

1 x 5mm LED bezel
4 x 3mm LED bezel

You can probably get away without using these, but it does make things look neater. The first set of 3mm ones I ordered (from elsewhere) were utter rubbish. These are a little better.

https://www.amazon.co.uk/gp/product/B07LD7W2PC/

https://www.amazon.co.uk/gp/product/B07H4M3N3D/

2 x female 15 pin headers (for the Nano)

Using these means it’s easy to replace the Nano if it fails, but I couldn’t find any suitable 15-pin headers. Instead I bought longer ones and cut them down to size with the junior hacksaw. (It’s the black single female strip connector on this listing.)

https://www.ebay.co.uk/itm/263827548381

male pin headers

Quite a few of these are required for all the off-board connections and they can be bought from the link above — two of the male 40-pin headers should be sufficient. They can be cut to the right number of pins with a pair of side-cutters. However, that leaves you needing to make up the plugs to go on them, so instead I bought this, which includes the crimping tool, pins and plug bodies.

https://www.amazon.co.uk/gp/product/B07S1SDKSC/

If you don’t fancy making them up yourself at all, the following will do the job for most connections. I’d suggest you’d need six of the 20cm female to female strips.

https://www.ebay.co.uk/itm/Dupont-Ribbon-Cable-10-20-or-30cm-Male-Female-Or-Mixed-UK-Free-P-P/233180441032

But if you do go that route it may well be sensible to solder the power connector, power switch, fuse and dew strap wires direct to the PCB and not use pin headers at all.

Wire

I had some twin-core automotive wire that I think I bought from Amazon rated for 11A that I use to make up 12V power cables in the observatory. I also used it for the power connections inside the controller (power supply to PCB, power switch, fuse connection and dew controller connections). Where it was easier to have the two cores separate, I just stripped off the outer insulation to separate the wires.

Heatshrink

I have heatshrink in various sizes that I used on some connections in my first build. I may use it this time, but at the moment I don’t know.

Nuts & bolts

4 x M3 stainless 16mm hex cap screws
8 x M3 stainless nyloc nuts

Just used for mounting the fan (four of the nuts are used for fixing the LCD display). Nyloc may be overkill, but given that I was going to be using them on a fan I decided I’d err on the side of caution.

https://www.ebay.co.uk/itm/M3-3mmØ-CAP-SCREWS-A2-STAINLESS-STEEL-HEX-SOCKET-ALLEN-KEY-BOLTS-DIN-912/361582679814

https://www.ebay.co.uk/itm/NYLOC-NYLON-INSERT-LOCKING-NUTS-A2-STAINLESS-STEEL-M2-5-3-4-5-6-8-10-12-16-18-20/150783000310

8 x M3 stainless 20mm button head hex screws

For fitting the display, and in my case screwing down the lid of the case. I’d expect a purchased case to come with all the necessary screws for the lid.

https://www.ebay.co.uk/itm/BUTTON-HEAD-SCREWS-ALLEN-KEY-SOCKET-DOME-BOLT-A2-STAINLESS-STEEL-M3-M4-M5-M6-M8/362765268288

2 x M3 stainless 10mm button head hex screws

For fitting the USB panel mount socket (mine were M3 threaded, though still a bit awkward to fit)

https://www.ebay.co.uk/itm/M3-3mmØ-BUTTON-HEAD-SCREWS-ALLEN-KEY-HEX-SOCKET-DOME-BOLTS-A2-STAINLESS-STEEL/181024489629

Case

As I’ve already mentioned, I printed my own case. The docs specify a case measuring 163 x 100 x 50mm, but I reckon that’s really too small now. The design in the documentation build photos doesn’t have as many components as the current version and even so many of the switches and external connectors are really tight up against each other or even overlapping. Slightly bigger would probably be better.

If you want to put the sensor and/or dew heater connectors on the end of the case rather than the top, having removable end sections might be useful to allow room for fingers and tools when fitting the sockets. I think someone posted on SGL saying they’d used a case with a clear lid, meaning the LCD could be completely sealed inside the case and still be readable.

Also note that if you’re going for the prefab PCB, it doesn’t have any mounting holes, so the case needs to provide some mechanism for holding the PCB in place. If you’re using stripboard obviously holes can be made to suit.

Posted in Astro Equipment, Astronomy, Projects | Tagged , | Leave a comment

Robert Brown Arduino dew controller build, step by step #3

I’m going to post details of the components I used, but before that some comments on the circuit board…

The documentation provides a plan for building the controller on stripboard, which looks perfectly good (but you’ll need to add a track cutting tool to the list of required tools). I decided to go down the route of prefabricated PCBs, thinking without any real evidence that it would be simpler and more compact. There appear to be a number of different links in the documentation to “recommended” PCB providers, but I ordered from Aisler. They also offer a package for components, but ignore it. It doesn’t use the listed components and it isn’t even remotely complete. I assume someone must have started setting up a list and abandoned it fairly quickly because they couldn’t find what they wanted. My recollection is that the minimum order from Aisler is for three boards. As it happened I wanted at least three anyhow so that worked out for me. Otherwise you might need to a friend or two who also want to do the build so you can share costs.

A little later, in an exchange of emails with Robert Brown, I had the impression that he was surprised I wasn’t using stripboard for the build and that he was expecting people would do it that way. I may have misinterpreted what he was saying, but assuming I got it right that does add to the confusion given that the documentation already suggests two separate “recommended” sources for the bespoke PCB.

Had I known this to start with I’d probably have gone with the stripboard build and as I intend to build the focuser controller once the dew controller is done I will do exactly that for those, but as I had the three PCBs already ordered that’s the way I went this time. In the event that I want any more (I may build a fourth to use for my travel kit so I don’t have to remove one from the observatory) I will go down the stripboard route. If you would prefer to use a prefab PCB then I couldn’t really fault the Aisler service to be fair.

Posted in Astro Equipment, Astronomy, Projects | Tagged , | Leave a comment

Swimming, 14th January 2020

Wasn’t really up for swimming today having had a very bad night’s sleep, but I forced myself to attempt a repeat of yesterday’s session anyhow. Sadly it was awful. I first failed on rep six and it didn’t get any better from there. At least I went, though.

Posted in Swimming | Tagged , | Leave a comment

Robert Brown Arduino dew controller build, step by step #2

Since it’s relatively easy, I’ll start with the tools required. I think this is pretty much everything I needed for the first build.

Covering the easy stuff first, obviously there’s the soldering iron. It would be nice to have a proper temperature-controlled iron, but I’ve had some of my tools since I was in my early teens and getting rid of them now is almost unconscionable 🙂 The one in the picture is 18W and has a standard tip about 2mm wide. I did also use a very small tip for the temperature sensor sockets in my first build, but that should be avoidable in the future.

Other easy bits — a hot-melt glue gun which my daughter normally uses for, err, making a sticky mess all over the front of a hot melt glue gun, wire cutters/strippers and a pair of side cutters, a couple of pairs of pliers, junior hacksaw and a multimeter (something else that’s probably twice as old as my children). If all goes well the multimeter really only gets used as a continuity tester or at most a resistance meter.

There’s also a pair of Allen keys to fit the bolts I used — 2mm and 2.5mm in this case, and a pair of drills(2.5mm and 3mm) to drill the holes out for the bolts because it was easier than trying to make them in the design for the case.

In the centre at the bottom is a sort of clamp with a built-in magnifier for holding parts whilst soldering them. These days my eyesight needs a bit of help for the small stuff. It, or a separate magnifying glass, is also handy for checking soldered connections to make sure there aren’t any bridges between joints that shouldn’t have them. Above it is a tool for making up modular sockets. It’s probably one of the more esoteric items, but I have several lying about because I make up all my own network cables. It’s only used for crimping the RJ11 plugs onto the temperature sensors and I think I’m going to use a different sort of socket for this build, so may not be required at all.

Above the crimping tool, a couple of blobs of blutak (showing discolouration due to heavy use, in this case). It can be so handy for holding stuff in place whilst soldering 🙂 And above them, a little 3d-printed tool that really isn’t necessary, but allows the likes of resistor leads to be bent at just the right point to go through the usual 1/10th inch spacing PCB holes. Pliers mostly work just as well.

And finally, bottom right, and the only tool I actually bought specifically for this build because it actually came with some of the components I wanted anyhow, a crimping tool for making up the connectors for pin headers. This actually came in a set with the crimps and plugs — more of that in another post.

I think the only out-of-the-ordinary thing I used that isn’t in the photo is a hot air gun. That’s because in places I used some heatshrink sleeving to make sure joins were insulated.

I did also use a small flat-bladed screwdriver (about 3mm wide). It’s handy for making sure the pins are pressed fully home on the pin header sockets, but otherwise I only used it for adjusting the brightness of the LCD so the text showed up. In fact, for the latter purpose a plastic screwdriver would be a better idea because you do need to be poking it in the general direction of live electrics, so removing the possibility of shorting anything out would be sensible. I feel sure I have one, but I haven’t been able to find it.

Posted in Astro Equipment, Astronomy, Projects | Tagged , | Leave a comment