Wednesday, 7 July 2021

A Sudden Change Of Track

 Well, those of you who do follow my occasional bloggings will possibly be confused by the sudden change of title and bio! This is to reflect two things - Firstly, this is now the combined blog and any and all things will be in here. The Zaks Garden, Long Distance Walking blogs etc, will not be updated. Secondly, it reflects the huge life changes that i am currently undertaking - some willingly, others most definitely not asked for!

Rest assured, along with the more serious archiving of my day to day experiences and thoughts on these matters, there will still be plenty of random guff, details of faults and repairs, pics of chickens, and all the usual crackers rubbish you've come to expect!


So, whats all this about life changes? Well this last month has been a real crippler. First off, at the realization that my current job after 16 years, with the last likely major infrastructure project coming to an end, was something I could no longer hold any enthusiasm for, in fact, was beginning to actually loath, along with turning 45 and the thought that unless I break away and push myself out of this comfortable, slow but stressful situation and go after my ambitions, I was going to be stuck until the end of my career resetting GPRS comms fails and bemoaning the loss of the good old days of Black and Syncs, it was time to move on. 

Actually, although not impacted this year, its possible the current restructuring would have me out the door with nowhere to go within the next two years anyway! So, a little while ago, I started the ball rolling on a major career change...

...and applied for Teacher Training! I am now one of the 2021 cohort with White Rose Alliance, my DBS clearance complete, student finance arranged, bursary applied for. I wont say "all set to start in September" as that would imply I felt ready! I will say starting in September, and working towards being if not actually ready, then at ease with the prospect!

So, having finally been able to click that tempting "resign" button in Oracle HCM, I leave behind a 21 year career in Public Safety Radio (DTELS/ntl), and Terrestrial Broadcasting (Arqiva) at the end of July. No more weekend shifts*, no more 12h nights! Maybe i'll now be able to again know both which day it is and what date it is! This is a quite staggering leap though. Since leaving college with an OND in Electrical and Electronic Engineering, some 26 years ago, i've been employed continuously in engineering, ive only worn a tie for interviews, and a full suit for weddings and funerals! I now find I have to dress professionally, can no longer shave just once a week, and probably far more critically, can no longer use expletives as punctuation in conversation! (now thats going to take some getting used to!). I also have the prospect of suddenly dropping from the heights of 20% shift allowance pay monthly, to loans and bursary, paid in three installments, and considerably less in total!

Leaving at the end of the month gives me August to study and improve my subject knowledge. Oh, by the way, my specialism is to be Chemistry, though I suspect general sciences will be more core. However, I dont have much time even then! as August is rapidly filling up with voluntary work in school, charity walks, and a family holiday.

Ive already had cause to perform some deep personal reflection as a result of taking this chance. At yesterdays Induction meeting, I made rather an appalling faux pas during an 'apple throwing game', failing to recall and correctly handle an item of prior but critical information when put under pressure. No actual harm done, but it was quite upsetting for me to fail in such a way.

Personal reflection brings me neatly to the next matter, and why this month has been so bad for me. At the start of the month, I received, or perhaps should say obtained, some deeply personal and horrifically hurtful news. I dont wish to go into detail, suffice to say, my entire world view, emotional stability and core beliefs have been shattered. A month on, and im  essentially an emotional write-off. Some of this may come out occasionally in my writings. This isnt the sort of thing that will go away after a short while either, recovering from this may take me months, years, perhaps never. It could lead me into a whole new life direction.

Add then, the disruption to an expensive fence contract for over a week due to a dispute with the neighbours what resulted in having to be inspected by the local police wildlife officer; the failure of the £50 central heating pump which due to being for some bizarre reason buried in the kitchen floor has resulted in a £4000 new boiler; needing to swap the Buck Converter feeding my dashcams due to the old ones EMC failure wiping out the broadcast radio (so more upside down soldering in the passenger footwell); and the failure of the car boot to lock - that solenoid changed last time was siezed - its been a bit of a mixed month for me really.


So what now? Well, probably not every day, but i'll document on here how this all progresses. Some things, like how the training is going, might be detailed but moany. Others, might by necessity be vague and ponderous, but might help my overcome some issues, or at least make sense of them.

Wednesday, 28 April 2021

Changes to the BOINC farm

 Playing around with my old Samsung Galaxy S7 today to finally put it into the BOINC farm. Tests with it and the old Ace J5 running via a USB hub showed poor results - the hub simply doesnt pass enough current. It was at this stage I noticed that the J5s battery was badly swollen.

As luck would have it, I knew I had a spare Buck converter. So, the J5 is now powered directly from the 12V shack PSU via a DC-DC Buck converter and a pair of sensing resistors, same as the old dog currently direct powered. 

That makes 8 CPU cores running 24/7 under direct power, and a further 8 cores running 24/7 on USB on the S7.

At some stage of course the S7's battery will start to fail, and so another Buck converter will be needed. It makes sense then to now start looking at ways to make a much tidier job of the farm, and design a suitable mount to hold the devices, their regulators, and a dedicated SMPSU.

The only other awkward thing is working out which device is which on the BOINC stats pages!

Wednesday, 13 January 2021

Bugger - Always read the small print!

 Ordered the U10 MCP9801 temperature sensor IC for my mcHF transceiver. Arrived today, fair enough it was only coming from the next big town across, but still pretty quick all things considered. So, I thought i'd solder it in tonight.

Its at this point I realise that the chip ive ordered, is not the 8-SOIC SMD unit that fits the boards and that is just about within my soldering capability - but a damn 8MSOP package, otherwise known as a fleck of muck with legs.

OK, so it is the same device electrically, but theres no way im ever going to be able to fit the thing! So, the correct 8-SOIC unit is now ordered, at a few pence more cost, from the exact same supplier. Probably not even worth the hassle of trying to send it back!

Tuesday, 12 January 2021

mcHF Build Progress

 Ive not done much updating on this project, but it is coming along.

I now have the LPF toroids wound and installed, going by the specified number of turns. There is a lot of info out there about these, and much of it seems contradictory. No matter, i'll see how the transmit performs per band and if needed will adjust these coils later.

One problem I had was how to mount the static discharge neon lamp. I didnt like the idea that some had used of milling out the shielding plate and putting it on the 'wrong' side of the board, but also wanted the BNC rather than SMA RF connection. So, I carefully cut away some of the plastic body of the BNC in order to be able to solder the neon bulb in place.

As luck would have it, I discovered that the supplied enameled wire is self-fluxing, which makes it a lot easier to do a reliable joint.


Another trick ive used is to solder the nuts onto the tabs of the TO-220 power transistors and regulators. This makes them captive, and so removes a very tricky step in trying to hold the nut, and transistor, in alignment with a hole inside the case, while the screws are inserted!

And, so far, this below is my progress. All the sockets, switches, encoders, the LEDs, TFT display, latching relays, and LPF toroids are fitted. I decided to solder the display direct. Hopefully that doesnt turn out to be a mistake later!

 I still have the transformers to wind, the VSWR bridge to build, and the power semiconductors to install. I intend installing the temperature sensor for the oscillator, thats on order and should be here in a few days. A small bridge of copper will link it to the oscillator package for best temperature monitoring. I also dont wish to remove metal from the shielding plate, so one of the 220uF 16V SMT electrolytics will have to be replaced, ideally if I can find one on a surplus board or in my SMD stock, with an equivalent in the little square tantalum packages.

Ive already had the ferrite cores out of the bag and given them a good going over with a sanding block to remove any sharp edges, which are notorious for cutting into the enameled wire and causing shorted turns. I also need to look at and if required make the modification to the wiring on the PCB for the VSWR bridge, where I believe one of the windings is connected in the wrong place. This is a design flaw but should be simple to correct.

So far, apart from the lack of a fixed, standard build manual for the version, ive only noticed one gripe - it doesnt have enough LPF and BPF sections! Meaning its lower frequency limit is about 2MHz without excessive harmonics. I appreciate its designed to be very compact, but we have access to 10 amateur bands, so just 4 sets of filters is insufficient really.  5 or 6 sets of filters would have been much better, in my opinion.

Either way though, im looking forward to being in a position to try it out!

Toms 2nd Clock Project

 After the success of Toms first little Chinese clock kit, this week we moved on to the second. This is the SH-E 879 kit. A somewhat bigger PCB than the last one, 6 digits, and battery back-up, plus an on-board 5V regulator.

We spread the build over several days, tying it in to his home schooling. Each part of the build including me explaining what the component is and does, and why. Starting as always, with the least heat sensitive parts. We had a slight problem when one of the oscillator load capacitors pushed its PCB pad up, so that section of track had to be linked out.

Tom knows that I insist on a specific orientation of parts to ensure component values can be easily read. He managed to put two resistors in the wrong way, but electrically this doesnt matter so ive let him off!

And so today, he completed the build, I checked the soldering for dry joints, missing joints, jumps and splashes. All looked good.

And - it didnt work!

We spent ages trying to find anything amiss. In the end, Tom left me to fault find. After quite some time, I discovered that one out of the four 3mm LEDs, actually fits the opposite way to all the others! After changing this around, and repairing the now broken track that it connected to, I had the four LEDs lit. But still no clock function! The microcontroller Vcc pin voltage was correct, the ground pin had continuity to ground, all the bus pins showed expected voltages, even the clock pins looked right! I was about to break out the 'scope, when I thought to check how the chips reset line operated. It turns out reset on this is active high, rather than low as is usual. So for the processor to run, the reset line should be low, which it was. The microcontroller was in fact the only component that Tom didnt install - I fitted it due to the risk of bending the pins...

...I decided to pull the chip - oh, bugger! Guess which one and only leg had got bent under? Yep, the bloody reset pin!

So now, after fixing my own cock-up, its working. We havent yet played with the one and only button to find out how to set it. Two things im unhappy with though - 1, for some reason there is a 10k resistor over the diode that feeds the back-up battery onto the Vcc rail, this looks like some sort of charging attempt, but the coin cell is non-rechargeable. I wasnt going to fit this resistor, and only did so just in case I was missing something in the fault finding! I'll likely remove it later. And 2, the four 3mm LEDs are far too bright! They are current limited by a 470 ohm resistor, I think maybe 1k or so would be more sensible, and reduce the current draw a little as well.

But on the whole, another successful kit build by Tom.


Friday, 8 January 2021

RH Electronics Arduino Geiger Counter - Testing

 A few notes on this kit. I had hoped that it might be operable at 3V, but a test of this showed it doesnt. The LCD backlight works, and the unit generates a series of three bleeps as if starting, but there is no display. There is HV to the G-M tube, so it looks like its maybe just on the edge. Perhaps 3xAA to provide a 4.5V supply would work.

Anyway, I found out a USB power bank that was actually charged, and connected it up. To do so I had to piggyback the Geiger Counter onto the power terminals of a little digital clock kit that the power bank was connected to. But the kit powered up successfully, displayed its start up splash message, and went to work.

I have connected it up to my spare BOI-33 G-M tube using 1/4inch fuse clips. This is equivalent to the perennial SBM-20 tube.  My test source is  my trusty old WW2 radium faced pocket watch. The kits red led lights at a count rate above 50 CPS (counts per second), while the blue one flashes for each detected pulse. The top button when held switches between CPS and the bargraph display, and the uSv/h (microsieverts per hour) and CPM (counts per minute) display. The bottom button mutes/unmutes the sounder.

Two video clips show both display modes in action.



So, what next? Well, decide on a case for it, decide which tube (s) to build into the case, how to switch between them, what battery supply to provide (this means testing the 4.5v 3xAA or 3xAAA option, and possibly doing the 78L05 mod), what sort of connector to use for the interface output (9-way D type? Or 3.5mm stereo jack?) and what connector to use for an external probe. I probably wont put a switch for the HV voltage, as all my tubes work on 400V except one, and this kit cant provide the 1.6kV for that one!

On the whole, its been a pleasant build, and its a nice little kit. I would say its a tad overpriced, and the lack of an on-board regulator is a poor oversight. Suggested improvements for the manufacturer -  Add an on-board regulator, make the component pitch fit better (maybe it needs a couple of extra mm of board space!), include the proper battery connector, and move to a Molex type connection for the HV rather than the screw terminal, and add a brightness control preset for the LCD. Oh, and add an option to display the PWM values and measured HV voltage.


Update! - Ive had chance to test using a 4.5V supply. Rigged up with 3x AA cells in a 4x AA holder (one place shorted out with a croc clip jumper), the Geiger Counter works flawlessly. Depending on the current drawn, most of which will be for the LCD back-light (so modifying it to have a variable resistor to set the brightness is sensible) i have no doubt it will also work perfectly well on 3x AAA, which is not only a heck of a lot cheaper than a PP3, but easy enough to fit in a case.

Testing again with 3V, the issue is not with the counter itself, which by the flickering LED and rapid clicking, works fine at 3V (the ATMEGA328 microcontroller can go down to 1.8V) but with the HD44780 LCD driver ICs, which need more than 3.3V to run.


RH Electronics Arduino Geiger Counter - Build

 With not being at work today, only supervising my youngests home schooling, and needing something to relax me and take my mind off other worries, Ive had time to build the RH Electronics Geiger kit.

I will discuss a few issues ive found with it in due course.

The first task was to solder the connections between the main board and the LCD board. To do this, I decided which side to put the pins on, put the connectors together, sandwiched them between the two PCBs, fastened the boards together with the pair of stand-offs supplied, and soldered them in. This meant that I could then remove the screws, and separate the two boards, with the connectors now in perfect alignment. Note that there are four unused pads on the LCD board, and three pads below on the main board - dont connect these together!

Now, with the boards separated and the LCD safely back in the box, the resistors were installed. Here I found the first bugbear - the spacing between the holes is very tight with the size resistors supplied. This wasnt a big problem with the low voltage side, but the HV 10Mohm resistors are even bigger, and had to be installed as you can see in the photo below. Ive 'zig-zagged' the measurement chain resistors to help them fit more neatly and to offset the nearby bare metal leads.

While fitting the resistors another pet hate came to show itself - most of the silk-screen part numbers get covered up by the components! There is a layout diagram available to download, but I still personally dont like it. Also, why the diagonal parts? I can only think that this was done for some aesthetic rather than electrical reason!

Next up were the right-angled header pins, which allow for 5V supply connection and the TTL interface lines, and also the 400/500V selection jumper. Along with those, the IC DIL socket, push buttons, and clock crystal were fitted at this stage.

With the build coming along nicely, time for the ceramic capacitors. Here I found that the pitch of the holes on the PCB was much smaller than the pitch of the preformed leads on most of the supplied capacitors! All but the two 22pF for the crystal required their leads reforming to fit, an annoying and fiddly task that shouldnt have been necessary if the correct pitch parts had been supplied.

And with the ceramics fitted, next went in the electrolytics (note that the polarity symbol on the PCB is tiny!) and the inductor. The inductor needs its leads bending at a right angle so that it can lay flush to the board, as shown.

At this point - i stopped for lunch! (beans and sausages on toast, if anyones interested).

So, after lunch, the semiconductors were installed. Three transistors and three diodes. One of the transistors is a high voltage MPSA44 which drives the inductor to generate a high voltage pulse, which is then multiplied by the diodes. Here also, it was found that the pitch was insufficient for the diodes to be mounted flush, and so these are also positioned vertically.

Almost done! The two LEDs, one red, one blue, but both unlabelled and clear cases! Luckily my multimeters diode test function is capable of lighting LEDs, otherwise I would have had to find out my LED tester! I decided to mount these a little proud of the board. The buzzer and the screw terminal for the G-M tube connection went on next, and then finally the high voltage capacitors.

After a careful inspection of the board and my solder work, I decided I was happy with it and would now insert the microcontroller. Several rounds of check and recheck here to be absolutely certain it went in the right way around, and that no pins got bent under.

Now, there is space and pads for a battery connector, but no pins or socket supplied. So one was found out from my stock of components. Its a bit of a tight fit, such that it couldnt be disconnected with the LCD board fitted.

Here though is my big disappointment with the design - there are ample connections for ground and 5V on the header pins, so why have a 'battery' connection? 5V batteries are not exactly common! There is ample space on the board, and in fact already suitable filtering and bypass capacitors, for a 78L05 regulator to have been built in! That would have made the 'battery' connection a much more practical 7 to 30V battery input! (I wouldnt recommend running one at 30V though, it will get rather warm! But a 9V PP3 or a 12V supply would have been great for the sake of a single extra TO92 package!). I will probably make this a modification once the unit has been thoroughly tested.

Another modification i may make, is to make up a ribbon cable for the LCD. As it is, the unit is small but chunky, which might make fitting it into a suitable case for portable use tricky. Likewise, when in a case, the LEDs will have to be moved off board. The buttons of course can just be paralleled with a pair chassis mounted.

Because the G-M tube connection is by a screw terminal, whose screws are hidden under the LCD board, I have only carried out a basic functionality test so far.

 Details of testing and results will be in the next post!




Tuesday, 5 January 2021

RH Electronics Arduino Geiger Counter

 Feeling a little flush (this being before I was suddenly hit with an expensive DEFRA poultry housing order!) and really not liking doing my own coding, I decided i'd give the RH Electronics Arduino IDE Geiger Counter kit a try. ( https://rhelectronics.net/store/arduino-ide-geiger-counter-dosimeter-diy-kit-with-lcd.html ).

I placed the order for this on the 10th of December. Coming from Isreal, the package arrived on the 4th January.


The shipping label clearly shows that it was dispatched on the 12th, so considering the Christmas period and all the other disruption to postal services at the moment, I dont think thats bad going.


Inside the box, which was well sealed, the kit itself was securely shrouded in bubble wrap, and although there are no detailed instructions for the build, the included schematic is clear and relatively easy to understand. Its perhaps not a beginners kit as it stands, as putting it together does require a reasonable knowledge of the components and how to read the schematic.

The actual electronics package of the kit consists of the LCD module in its own wrapping, and all the other parts in a small self-seal bag. There is hardware supplied for mounting the LCD. Not supplied is a G-M tube or mounting hardware for it. A G-M tube could easily double the cost of the kit! The LEDs and buttons are PCB mounted - these will have to be reworked when the unit is fitted into a case. 

The circuit also runs on 5V and there is no on-board regulator. Personally I think this is a bad oversight by the designer, and a low drop out 5V regulator should have been included. I will see if the unit will run reliably on 3-4.5V (2 or 3 AA cells), if not then I will modify it with a 5V regulator for a 9V PP3 battery.

The circuit uses a clever PWM HT generator driven by and feedback monitored from the ATMEGA328 microcontroller, but otherwise the G-M electronics are pretty standard. All the clever stuff is done in software. LEDs and a buzzer are included for the traditional 'geiger counter' feel, and it is capable of driving 400v and 500v tubes with just a jumper change. This will work with all my tubes except the alpha tube, which requires 1600v. A header is provided for serial comms to other devices.

I plan on including a socket to connect an external tube (probably my huge STS-6), as well as the internal one(s).  With a suitable switch, I plan on installing a standard SBM-20 tube and the tiny SI-19 tube within the case.