02
Jan 19

More toys…

So at the same time that I bought the lidar, I had dropped about a hundred euro on aliexpress on other stuff as well. Most were presents or non-present things for xmas or general stuff like torches, but a few were just for me to play around with on the Raspberry Pis that have been building up around here — an old project came home from work and I realised I had one Raspberry Pi B+, two Zeros and three Zero Ws, one of which I had ordered back in October because I had literally lost one of the two Zeros in my toolbox.

Yes, you can now lose a complete linux computer (which costs a fiver, I’m not rich) in your toolbox. It doesn’t even have to be that full. Welcome to the future. Sorry, we don’t have housing, equality, universal healthcare or even a decent separation between church and state, but we do have a nifty selection of toys, which if you’re having to deal with all the other crap, is probably nothing to sneeze at.

Anyway, I bought a bunch of small things to help with some stuff in the lab (look, it’s a home office that never does office-ing, and it’s got some kit in it that we had in labs in college, so it’s the lab and the shed is the shed, it makes perfect sense to me…). Mostly things like battery holders, alligator clips and test clips, more breadboards and those cool little plug-in power adapters for breadboards, you know the ones? These:

They’re super handy, you can feed them from a USB powerbank or a DC wall wart if you’re feeling brave about earthing, and you get stabilised conditioned power for either a 5V or 3.3V rail thanks to a buck converter and a power switch (slightly more civilised than yanking cords). Neat solution and cheap as chips.

But I was also thinking I could use a slightly beefier PSU to have handy just for things like large LED arrays, and I didn’t want to tie down the adjustable bench supply I have, so I went down a tried and trusted DIY route – just get a cheap as chips PC power supply (the ATX ones go for almost no money and are all rated in the hundreds of watts range with standard voltages and standard connectors) and even bought a readymade PCB with terminals for one.

I also got a variable buck convertor module with display because there are spare leads on that ATX power supply, I might as well feed them into something useful. A bit of work with some wood and acrylic for a case and front panel and I’ll have a nice benchtop tool to work with for half the cost of my current bench power supply, and that was the cheapest Farnell had and it was on sale…

And there was also a megger tester clone because if you’re buying stuff from china that goes near the mains, you want to be able to test it for insulation breakdown and the like.

Oh, not from aliexpress but from dealz (aka poundland) came these:

I know they look cheap (and they are) but they’re bloody handy little gadgets. They’ve made lighting up the lab a lot easier, just stick them up with double-sided tape and the magnet is strong enough to let them act even as downlights:

Along with those, I got a bunch of sensors because wow have the mobile phone and consumer electronics industries gone and made these things cheap. The most expensive one I got was a lightning detector. Anyone remember the StormScope?

Handy little thing that sat in a light airplane’s cockpit (think Cessna 172, not Boeing 767), along with all the extra processing and antenna stuff that was hidden away elsewhere:

And all that gave you an idea of where nearby lightning strikes were so you didn’t fly into thunderstorms.

Now, don’t get me wrong, that stuff was flight-rated and that’s the processor and display as well, but still, to see all that hardware come down to a €20 sensor (including shipping) is something else, especially when that’s the most expensive out of a bunch of these kind of things.

And it’s now plugged into one Raspberry Pi, along with a CO2 sensor and a barometric pressure, temperature and humidity sensor.

And so far, I can only read from two of them, but I’ve not had a lot of free time 😀 As far as I can tell, it’s working fine, I just haven’t stacked up libraries and python runtimes properly just yet. I’ll get to it.

Meanwhile, I have a half-dozen small oled displays originally intended for phones and such and costing no more than €5 for the most expensive, all plugged into another Pi and so far only one turned out to be toast on arrival, but none are as cooperative yet as I’d like (but this is the fun bit).

Oh, and speaking of displays, I seem to have ordered a wheelbarrow of neopixels. They play nicely with Pis as well (er, don’t watch this if you have epilepsy):

I do have a plan for those as well, I just haven’t gotten there yet (I’m wondering if that would work as a lightning detector display, sortof like a DiscoStormScope…)

And then there’s the CO/NO2/H2/NH3/CH4 gas sensor, the airborne particulates sensor, the 3D magnetometer, the other laser rangefinder, the luminosity sensor that works in both visible and UV light, the GPS module and the 3DOF gyro and 3DOF accelerometer which is basically the guts of an INS.

If I ever get some more free time, I now have enough to fill it…


11
Dec 18

New Toy…

Way back in the mists of time, I mentioned how we had laser scanners in the CVRG (one of which was mounted on Dagda for a while). We used the SICK for a long while, which is a block of steel that’s pretty adept at toe crushing, only scanned through a partial circle and was enormously expensive (and later we acquired a 3D scanner which was even more expensive but could at least do 360 degrees). That was fifteen years ago though. 

Meet the modern version: 

The YDLIDAR X4, evolved from roomba sensors and possibly a knockoff of a slightly more well-known sensor. Weighs next to nothing, costs $80, fits in the palm of your hand, scans through 360 degrees seven times a second taking 5000 samples in the process (so about half-degree resolution), ranges out to ten meters on a good day with a following wind. 

Honestly, I think we’d have killed someone to get this back in the CVRG days. 

Plug in, fire up the demo app (on linux, macos is unsupported, there is a windows sdk but I’m not that sick in the head yet)…

Remarkably trouble-free setup.

That curve at the bottom is me, the sharp angle at the 3-4 o’clock is the box the scanner came in, and you can see the back walls of the desk at 11 and 2 o’clock on the diagram. 

There shall be more playing with this 😀


03
Sep 18

Square-off

So I recently had a birthday and bought myself a present that I’d been thinking about for a few years but had been putting off because spending a chunk of money on a small thing is usually painful and if you’re not going to be doing something long-term, a bit of a waste, but I finally convinced myself that this making stuff thing wasn’t a fad, so after some advice from the pros I went off to one of my usual sources for new tools and bought…

A red box! And inside the red box…

What can only be described by Herself as “a ruler that cost 150 euros?”. 😀

Yes, yes, I know, but you can’t feel it. This thing’s just solid in a way you have to see to appreciate. I didn’t get the combination square thing till now – I rely on my engineering try squares because the combination square things I’d seen were the €20 bahco things that are… somewhat less than accurate. To the point where I threw away the square head part of the one I had and only kept the ruler to use as a short straightedge. But this thing feels like it’s more accurate than almost any other square I have (and I happen to know from the second-hand market that this thing will last long enough for Calum to pass it on).

So, naturally, have to try it out…

And then it’s time to compare it to every other square I have. You know the routine, have a reference edge, draw a square line, flip the square over to the other side of the line and draw another line, see how parallel they are.

The starrett is, as you’d expect, perfect. The moore&wright double square (the blue one on the right) is equally perfect:

Not even a hairline gap there.

The small engineering square (which is just a cheap proops bros one) is also grand:

But the 8″ proops engineering square is not quite square…

Now I’d checked that one a little while ago, and it was fine; over the months since I must have been less gentle with it than I thought. It’s also a Proops brothers and it’s still not horrific, but now you see why the Starrett is more expensive – it’s built and certified to just a much higher standard of accuracy and takes over now as the most accurate square I’ve got.