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

In an earlier post I said I’d write up the build of my second dew controller, so if you’re not sure it’s for you and need to see how someone else did it, this is it. There are a few optional bits of the build and the instructions aren’t always clear what applies to which bit, so for clarity here I’m building the three-channel MOSFET-based system using a twenty row by four line LCD display with a DHT22 humidity sensor. I didn’t build in the Bluetooth interface and I also didn’t bother with the additional switches to force the heaters full on because generally I’ll be operating my kit remotely, even if it is only from the warm room. I’ll also be putting mine in a 3d-printed box that I’ve designed myself because I couldn’t find anything I really wanted off the shelf.

If you’re concerned about the level of expertise required, I am not and nor have I ever been an electronics engineer. I’m happy enough with a soldering iron that I know not to grab the hot end and I did do an AO Level (or whatever they were called) in Electronics in the mid-1980s, though most of that was theory and we rarely got to play with components, nor even design anything very complicated.

This is what my completed first build looks like (two-tone, because I ran out of white filament, though I quite like the look so I might do the rest that way deliberately.

On the top are the three temperature sensor sockets, three dew heater sockets, three LED indicators for the headers, a fan speed indicator LED, on/off switch, power LED and fuse. The long side has a fan and the USB socket and the short side has the 12V supply socket and DHT22 humidity sensor. The other long side has ventilation holes in:

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

Swimming, 13th Jan 2020

With the problems I’ve had over the last few months I’ve dropped things back a bit and this is now my current set:

  • 400m f/c warm-up
  • 18 x 50m f/c, target time 50s, turnaround 90s
  • five minutes rest
  • 18 x 25m f/c, target time 20s, turnaround 60s
  • 200m swim down

The focus of the second 25m set is mostly on arm speed whilst maintaining technique.

It’s not going particularly well though. I was doing much better than this six months ago.

Today I managed fourteen reps of the 50m set before my first fail, then completed the set. That left me very tired for the second part of the set though and I only managed eight reps before failing for the third time and stopping the set.

Posted in Swimming | Tagged , | Leave a comment

Robert Brown’s Arduino-based dew heater controller

Like almost everything in my life, this has taken a lot longer than I was hoping, mostly because I ran out of steam a bit, partly thanks to the weather being so poor, but also because it took some time to decide how I was going to put it all together. However, recently I finally finished construction of a dew controller built to plans originally put together by Robert Brown and am now in a position to start testing. It’s all in a 3d-printed box because I couldn’t find anything with a design I liked in a suitable size, though in fact the box had to go through a few iterations because there’s an awful lot of wiring and getting something that wasn’t too big that I could still get my fingers inside to connect everything up turned out to be a bit of a challenge.

Initial thoughts now I’m nearing the end for this first one are that I’m really quite impressed. It’s not a hard build and looks like it should do the job well. Probably the most tricky part is fitting it all in a case of a reasonable size. There are eighteen components that don’t go on the PCB in mine, and I even left out the “give it max welly” switches for the heater strips. That’s an awful lot of wires and means there’s a bit of a balance to find between the placement of all the plugs and sockets and the sizes of the case needed to fit them in. Putting most of them on the top of the case makes for much easier fitting in a smaller case, particularly for someone like me who doesn’t possess the most delicate of digits, but it does mean wires end up spewing out of the top of the case once everything is connected.

I’m not that happy with the LED bezels. I bought from several different Amazon/Ebay vendors and they’re really all pretty skanky. Whilst I did use them in the end, I also applied a bit of hot-melt glue to the inside to keep them in place properly. That’s no fault of the controller design though, just cheaply-manufactured plastic tat.

There are probably three awkward bits. The first is down to my decision to fit pin headers for all the off-board components. The pin headers are nice and easy to fit, but then I ended up making a loads of connectors to go on them, crimping the sockets onto individual wires. That was exceptionally tedious.

The second is down to the use of 6P4C/RJ11 connectors for the temperature sensors. This isn’t of itself a bad idea because lots of 1-wire kit uses RJ11 or RJ45 plugs which means the sensors can be used elsewhere if the “standard” pinout is retained. The problem really comes down to not being able to find any reasonably-priced way to connect wires to the sockets. It’s possible to buy little break-out boards for the sockets with solder pads to connect wires onto, but they’re over £6 each and I wanted a total of nine for the three controllers I intend to build which ramps up the cost a bit. There are some available with screw terminals, but they’re huge. At one point I did seriously consider getting the gear to make my own PCBs and do them myself. It would probably pay back when it comes to making the PCBs for the focuser units that I intend to build once the dew controllers are done. In the end though I just soldered the wires direct to the pins of the RJ11 sockets and sleeved them with heatshink. Not particularly neat given the pin spacing and the fact that my eyesight isn’t quite what it used to be.

The RJ11 sockets are actually quite awkward to fix in place in the box too. Because mine was 3d printed I ended up making the openings very close to an interference fit and then getting out the hot-melt again 🙂

The final thing is that some of the diode leads don’t fit the standard hole size in the PCB. I bodged it for this build, but for the next one I might well take leads off the board to a terminal block and fit the diodes there.

The only teensy-weensy little criticism I might possibly have of the project is that the documentation is a bit haphazard and I’m not sure all of it is in sync with the different versions of the design. Patience gets you there though. It’s not a huge deal.

Now I have a better feel for what I’m doing I intend to record the next build and do a step-by-step write-up to help anyone else who wants to give it a go. I’m sure anyone who can wield a soldering iron accurately (not a lot different from being able to colour in between the lines, really) could manage it.

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

January 1st: Best weather of the decade so far

New Year’s Day was dark. Really dark.

Posted in Environment | Tagged | Leave a comment

Once more unto the beech

And only once more…

Shortly before Christmas it became clear that an old beech tree at the end of our garden was rather more hollow than we realised and in fact has started to rot off at the bottom, presumably as a result of years of moisture getting inside. That part of the garden is quite exposed to the prevailing winds and should the tree have fallen it might quite easily have landed on our oil tank and/or the house itself, so there really was only one way it could end 🙁

I did at least collect the beech mast this year and scatter it around our hedgerows in the hope that more beech trees will grow.

Once the tree surgeons had done their work, this is what was left (they wouldn’t take it any further because there was fencing wire tangled up in the bark).

Not a great deal to be holding up what was actually quite a large tree…

Posted in Environment | Leave a comment

A “Crown of Thorns” for my rain gauge

One of the problems with a rain gauge and I think something that had prevented it working properly last time was that it forms a nice little perch for birds who then, err, contrive to block up the holes that let the rain through.

I decided to resolve this by adding a ring of vertical “spikes” around the top of the gauge so they can’t land on it. I had some suitable plastic dowel for the spikes, but needed some way to fix them, so yet again the 3D printer came to the rescue and I made a ring to fit around the top of the gauge that holds the spikes in place.

After putting the spikes in I decided that a little hot-melt glue wouldn’t go amiss just to make sure they didn’t come loose.

The printing process was a little nailbiting towards the end. I thought I was about to run out of filament…

Posted in Environment | Tagged | Leave a comment

Powering a Raspberry Pi from a 12V supply

My Stevenson screen has a 12V supply to it for powering the 1-wire hub that has all my weather sensors attached to it. At the moment the main 1-wire connection runs back to the PC in the observatory warm room, but I decided it would be a little neater if I had a Raspberry Pi in the screen itself and used that to collect the 1-wire data. The question was, how to power the Pi?

After turning the idea over in my head for a while it occurred to me that if I had a 12V USB charging device I could just plug the Pi straight into that. And then a little more searching revealed the existence of sockets presumably intended to fit in the same sort of holes as car lighter sockets that provide USB charging points and take a 12V supply. From there it was easy.

I bought such a socket and a splitter cable for my 12V supply. One side of the splitter went to the 1-wire hub. The socket I bought came with spade connectors, so I connected them to the other side of the splitter. A quick bit of 3D printing gave me a bracket for mounting the socket and then it was just a case of plugging the Pi into the socket output.

The Pi seems quite happy to run in this way, though I did need to replace the original USB cable with a better one so the Pi didn’t get reset when the cable moved.

Posted in Raspberry Pi | Tagged | Leave a comment

AAG Weather Station lives again!

My AAG weather station lived on a post in the field in front of the house until it was blown down in a storm a couple of years back. The plastic of the housing had degraded quite badly in the sun, so I’d not really got around to checking it over and setting it up again.

Now I have the Stevenson screen for other weather sensors it was clearly time to get it up and running again so having tested that it still actually worked I took it apart and gave the two halves of the housing and the anemometer cups several coats of white gloss paint which will hopefully mean it can see out a few more years before I really need to replace it.

I had a pole that I wanted to try fixing it to, but I needed some additional parts to do the fitting. I decided it was easiest to 3D print them, so broke out FreeCAD which I am slowly learning my way around and printed a couple of blocks for mounting the pole on some brackets fixed to the observatory using U-bolts:

And a mount to fit on top of the post. I deliberately over-engineered this to reduce the chance of it failing and having the weather station blow down again. I also used a screw to fix it in postition on the top of the post.

And finally I printed a couple of these as grommets for the cable where it enters the Stevenson screen to get plugged into the rest of my 1-wire kit.

After that it was just a question of fixing the cable in place and plugging it in to see if it worked (which I’m glad to say it does).

One day I’d quite like to build a solid-state wind gauge, but for now this will do the job nicely.

Posted in Environment | Tagged | Leave a comment

A revisitation of M27 revisited

A while back I posted an image of M27 and it was suggested that I grabbed some OIII data which would show up the outer wings of the PN. As almost no-one in the UK will be unaware, the weather has not been kind, but I managed to get a couple of hours worth of OIII in ten minute subs which I have now added to the data I originally captured.

This is showing the outer wings, but they’re really quite faint. Like the image of the Crescent nebula that I posted earlier, I think I need to get into separating the stars from the nebula so I can pull more out of the data without the star colours getting completely messed up. More data to work with in the first place would probably help too, though it’s a bit late for that this year. It’ll have to keep until next summer now.

Posted in Astroimaging, Astronomy | Tagged , , , | Leave a comment

A second attempt at processing the Crescent

I’ve had another crack at this and I think it’s better in some respects, but I’m coming to the conclusion that I really have to get rid of the stars and process them and the nebulosity separately as trying to pull more out of the OIII to bring up the green/blue of the nebula just messes up the star colour.

Actually, I think I probably need to remove the stars and then mask off the nebula itself so I can just work on that and pull up the colour without messing up the surrounding Ha, but my Photoshop skills don’t extend that far yet…

Posted in Astroimaging, Astronomy | Tagged , , , | Leave a comment