Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

[ Create a new account ]

Alioth (221270)

Alioth
  dyls@alioth.net
http://www.alioth.net/

Software developer and sysadmin who fearlessly weilds the Broadsword of Understanding and the Wire Brush of Enlightenment.

Journal of Alioth (221270)

Flying, more grey goo, and a bit of bike

Friday May 09, @04:48PM
User Journal
I've not written in a while, but here's a quick catch-up.

I've worked a bit more on my ethernet card for the Sinclair Spectrum, specifically, in the hardware department - trying to figure out how much solder paste is just the right amount (and I've still not got it right, and I've also run out of solder wick). It's not far off though and it beats hand soldering fine pitch surface mount components by a mile. The grey goo itself seems to hold up well - I've heard that it has a really short shelf life, but the solder paste I have seems to dispense as easily as the day I received it. The small blob of it I left out on the bench still seems pliable after 2 or 3 weeks! (It probably wouldn't go through the syringe nozzle any more though). I think this paste must be formulated specifically for prototyping/rework, optimised for shelf life rather than holding shape as it heats.

I've worked on the software, too. I'm currently writing the C socket library, with the usual functions you'd expect, as close to the BSD socket library as I can make it. It's basically just a wrapper around the board's ROM functions, though (since arguments are passed on the stack in C - so the functions basically load CPU registers from the stack, then call the ROM routine). The Z88DK is a little bit different than something big like gcc, though, when it comes to writing libraries. Well, especially since I'm writing them in assembly language. But last night I successfully got a Spectrum to load a web page (that's different from *rendering* a web page - I've not written a web browser!)

We've had really nice weather recently, hardly any wind, lots of sunshine - so of course, the main motor on my RC helicopter is more or less dead (basically, it won't get the heli out of ground effect), and the delivery of a new motor just hasn't happened, so I've missed lots of good days to fly it outdoors. However, I did find a brushless motor and ESC on ebay (some soldering required to fit it to a CP2, which is desigend for a brushed motor). The heli is now way overpowered :-) The motor itself which has the same mounting holes to fit the frame as the standard brushed motor, is designed for a 450 sized heli, and mine's a 300 size! So the collective is very much more responsive, and I think it'll soon be time to re-fit the much heavier alloy rotor head since I now have a motor that'll do it justice. I'm glad I got the dual tail motor modification, since it copes with the extra power very happily (I've not dared punching the collective up to full yet...) It's also quieter, and runs a hell of a lot cooler. Unfortunately because I've not flown it for a couple of weeks as a consequence of not having an adequate main motor, I had to take it easy tonight in case I ended up crashing. But I managed to fly a battery and a half without incident.

With the weather being good I've also got out on the bike (which with today's fuel costs, saves GBP4.50 per day or so). It's a pity that so many people seem intent on knocking me off though - last week, a teenager wandered backwards into the road without looking and I had to take swift evasive action (fortunately, his friends yelled at him to stop before he went too far, so I only ended up on the centre stripe of the road trying to avoid the dozy sod). Then two days ago some idiot waved a Land Rover out of a farm entrance without actually looking to see if the road was clear. Fortunately, there was no oncoming traffic so I could swerve out onto the other side of the road, and the driver did eventually see me and stop. Had I been on something faster like a motorbike at the same spot, it would have been a pretty nasty crash - it was fortunate that I was not pedalling all that hard in any case because it was a really close call. Sigh.

Anyhow...off to Aboyne, Scotland tomorrow to try and get some wave soaring in, in a glider. It's not unknown to soar a glider up to around 30K feet there. Hope it doesn't rain!

Ding Dong the Witch is Dead

Thursday April 24, @07:23PM
User Journal
Well, the Cthulhu at work is out of a job. Yay! To be honest she's not been bothering us too much of late, having the hospital as her latest toy to bother, but she failed to get re-elected this week. There was much rejoicing. Unfortunately, the damage she did is already done - she got rid of our ablest manager because he dared to disagree with her...by underhanded tactics - making his job position 'redundant'. None of us were surprised when 18 months later the job suddenly existed again. It all started going wrong for her when she was accused of bullying and assault by a DHSS worker, which seemed rather exquisitely timed...

Anyhow enough of work. This week I got some grey goo. No, not Prince Charles's nanobots that will turn the earth into grey goo, but a small syringe of grey goo. The goo in question is solder paste - a suspension of fine solder particles and flux in some kind of solvent. I got it to see if it made assembling the Spectrum ethernet cards any easier - since I designed it with a lot of fine pitch surface mount chips. And it's been a revelation - the road to Damascus. Lay a fine bead of stuff down (by hand I can't ever hope to put blobs precisely on each pad), place the chip, then use my trusty paint stripper gun(!) as a hot air source to reflow. The paint stripper gun works rather well - on the low setting it's 260 celcius and the blast of air is relatively gentle and won't blow chips around. Peak reflow temperature is 260 celcius. I fashioned a smaller nozzle out of aluminium foil so I could direct the air over a smaller area, I can do a chip at a time with it quite easily. The W5100 chip still turned out to be the hardest - going from 0.5mm to 0.4mm pin pitch seems to make things 100 times harder (in fact after visual inspection seemed to show everything was OK, it turned out not to be the case - there's at least one disconnected pin and it only has to be the most critical. But it's late and I'll probably screw it up if I try to fix it tonight, so I'll leave it tomorrow). But other than that I'm really taken by solder paste and hot air for soldering SMD - it's much neater than using the soldering iron, and leaves far fewer 'bridges' between pins (again, solder wick turns out to be incredibly useful). I'm still learning how best to use it though, it only seems to need really tiny amounts and I tend to put too much down.

Before I got busy with the paste though, yesterday I thought the weather was calm enough to take my Honey Bee CP2 RC helicopter down to a secluded beach and give it a really good work out. I chose Fleshwick Bay, because hardly anyone goes down there, it's quite sheltered, and... hardly anyone goes down there - so if I crashed there would be hopefully no witnesses to embarrass me.

When I got there there was more wind than I expected. Worse of all it was coming *down* the cliffs. Downdrafts, I thought, I probably ought not to fly. But against my better judgement I thought I'd take a sniff and see what it was like. That was the wrong move. The air was extremely turbulent and the downdrafts were actually quite strong. I lurched around the sky for about a minute, and decided to bring the heli back to me when I felt a strong gust of wind coming straight down the cliff...seconds later, I crashed - the heli landed upright on its skids but very hard, and the main rotor chopped the tailboom off, and then the heli rolled on its side and did the 'death thrash' till I managed to kill the power. Walking over to it, I saw that the pretty indestructable plastic blades were actually quite destructable - both shattered, and the tail had been chopped off. Also a ball link from the mixing arms had broken off too.

But this evening when I got home I found a five pack of wooden rotor blades had arrived, so I fixed the heli with superglue :-) The tail boom isn't exactly straight, but it is at least in one piece now. The superglue also worked for reattaching the ball link (which remained within its linkage, fortunately, or it'd have been lost forever). The main motor seems a little tired now, but other than that the heli is flying perfectly after its trauma. Of course I had to fly off three batteries worth to check, sadly though it was far too windy to fly outside so I had to make do with cruising around the living room.

Success and failure

Sunday April 20, @03:12PM
User Journal
The last few days has been marked by success and failure in various projects.

Fail: Spectrum ethernet project. I had some PCBs made, and I've not had much luck with them. I found one minor bug (and the reason I didn't catch it is it's a simple jumper to enable/disable all execution traps, and it's wrong in the schematic - so when I checked the PCB against the schematic, it looked right but was in fact wrong). However, I can just change the CPLD configuration temporarily to work around that. No big deal.

However, the first one I started assembling all went wrong when I put the memory on and tried to test it. So I thought before getting the hot air gun out, I'd assemble the next one bit by bit and see if it failed when the components for a key circuit were added, but I never got that far. The tip of my soldering iron crumbled, leaving me with the next chip to test only half soldered. The whole sorry story is at http://spectrum.alioth.net/doc/index.php/Current_events. The annoying thing about the PCB that doesn't work at all is that I can't find any electrical faults, and the chip pinouts match their datasheets. So I hot-air'd off the flash chip and it stopped crashing the machine, and the static RAM could be paged, read, written... so a duff flash chip. The trouble is the datasheet is also ambiguous about its TTL-compatibility: it gives two sets of DC characteristics, one for TTL compatible, and one for not - but there's no clue as to the package markings that differentiates them. I may end up having to make a breakout board for the flash chip and testing it separately.

I have decided to get a syringe of solder paste and fine (0.25mm) applicator needles, hand soldering fine pitch SMD components gets old quite fast.

Mixture of success/failure: My RC helicopter. I've spent all weekend crashing. I have the soft plastic rotor blades on at the moment which while making it fly like a blancmange, do mean that crashing seldom hurts anything. Which is a good thing. I'm trying to learn flying nose in, and numerous times I've pushed the cyclic the wrong way and had to jump out of the way while the heli smashed into the wall or other object. This morning I didn't quite get out the way in time and I hit myself (and drew blood). However, I'm getting much better at flying nose in - I had a couple of batteries worth of cruising around the lounge (it's very gusty outside at the moment) where I didn't crash while flying nose in. The trouble with nose in is that your brain has to be working 180 degrees to what you're looking at...and with a helicopter when things go wrong they tend to go wrong in random directions. But I'm getting there.

Success: Since my soldering iron tip crumbled away, and I found I had no spare bits left, I decided to test a small project for the garden. I have a solar power system on the shed roof which I built a couple of years ago to power stuff like garden lights and other things like that. I have a 240 volt pond pump at the moment, which runs off this system via an inverter, but the pump is far too powerful and in any case doesn't really get along all that well with a modified sine wave inverter (once it's running it's fine, but it'll often sit there with the motor jiggling, very little throughput, and huge current draw until you lift it out the pond and swish it around in the water a bit). So I thought I'd get a DC pump, but they are all 24 volt. My solar power system is 12 volts. So I built a little 555-based switch mode boost converter, to boost 12v to 24v. I've over built it on the current side to make sure it's never under any stress, so I wound my own inductor (I got the magnet wire for this when I visited Houston and dropped into EPO) since I only have fairly puny inductors that are factory made to hand. The 555 circuit's pretty neat, it's the one I use for nixie tubes. To change the voltage, just use a different FET (of the appropriate rating) and change the resistor values on the regulation circuit. It's fairly efficient too, close to 90%, but without requiring any uncommon parts (like purpose made SMPS chips). It doesn't regulate as well as a purpose made SMPS chip, but for motors and nixie tubes, it's no big deal.

Audiophools

Wednesday April 16, @03:14PM
User Journal
Mein gott in himmel!

http://www.thecableco.com/product.php?id=2672

I could buy a nice *airplane* for the price of 4m of that cable. Who in their right mind buys this stuff? I spotted this link in today's discussion about Monster cables bullying another cable firm (which, as it happens, sells cables at something only one order of magnitude higher than a reasonable price to pay for interconnect cables).

Now consider this. That almost $6K per metre cable is for *digital* interconnects, where good enough equates to perfect. A piece of twisted pair telephone wire would probably work well enough.

Sigh.

Saturday April 12, @12:46PM
User Journal
I snapped at someone last night. I don't do this often (in fact, years may go by between me snapping at someone).

But a combination of an awful 'low productivity week' at work (not a bad week as in stressful, or terrible, or any of the other generic bad work weeks. It was one of those weeks where I've felt there's been lots of lights and noise but NOTHING of any consequence got done). All I wanted to do last night, was play a bit of Enemy Territory to let off some steam, then snuggle up with my cats and sleep for 10 hours straight. But a friend had asked me a favour to make a few copies of a video DVD he had made, which required me to go down to a bar a mile or so away to drop them off. The last thing I wanted to do was have blaring music in my ear while trying to be sociable, conversation only possible at full volume. Having one beer, saying 'hi' to a few people who were in town for the weekend, and going home was my goal.

But of course this woman (who by the time I turned up had already got through quite a bit of booze) that I hardly know starts trying to force me to be sociable and I was just not in the mood. The subtle body language cues and the statement 'no I don't want to dance, thanks' etc. didn't seem to be enough of a hint. But fortunately she left me alone for a bit.

Then she came back and then starts having a go at me like I'm a naughty child for Not Having Fun and Not Being Sociable. I tried to explain that all I wanted to do was say hi to a few people, drop off the DVDs, have one beer then go home, but it wasn't enough and she kept persisting on to You Need Psychoanalysis Because You Are Not Having Fun At This Particular Moment In Time. Finally I had enough of being patronised and snarled at her a bit and got up to leave. I felt so much better after growling at her.

Why do some people think it's such a crime to not _always_ want to be out socializing, and _sometimes_ wanting a quiet night in, and that it's _not_ a crime to be feeling tired and wanting to get a good 10 hours sleep? Grrr.