Archive for category Science
Page views for 2018:
At this late date, the RepRap site has a much better G-Code reference, at least for the weird and wonderful assortment of 3D printer commands.
Given that I’m at best a secondary reference for Toyota Sienna ABS trouble codes, things must be getting grim out there in the minivan crowd.
And, as always, houses (and especially plumbing) are trouble!
As for everything else, well, it’s just me and my shop notes …
WordPress reports 101 k ad impressions per month for 24.6 k “page views”, suggesting most folks see four ads per page. If you’re not using an ad blocker, start now!
Those seem to be the most aggressive (and thus highly desirable to advertisers) video ads, because WordPress pays me a whopping 8¢ per kilo-impression; a few percent of the Youtube rate. The numbers are dropping, though, suggesting ads will never push me into the ranks of the thousandaires.
Now you know.
Down near the end, the poor thing barely gave one brushing after an overnight charge.
While I was dismantling the case, I charged the last two new-old-stock NiMH cells:
They arrived the same five years ago as the deaders in the toothbrush, but haven’t been used in the interim and charged well enough. The NiteCore D4 charger arrived after they did and isn’t really intended for 2/3 AA cells, so I used short brass tubes to make up the difference. I should have used the 300 mA low-current charging option (press-and-hold the Mode button for a second), although it didn’t overcook them at 750 mA.
The process went pretty much as before, with the new cells soldered in place atop the PCB:
And the PCB tucked back into the case:
I applied a solder bridge to the BLINKY pads, which seemed to disable the blinking and turn the LED on full with the toothbrush in the charger. Without waiting for a full charge cycle, I sucked the solder off the pads and restored the previous blinkiness.
A few strips of Kapton tape and it’s back in operation:
The first charge lasted for two weeks, so things are looking good again. When the stock of knockoff replacement brush heads wears out, it’ll be time to get a whole new toothbrush … even if the batteries aren’t completely dead yet.
With a terminal voltage falling from barely 3 V, the LED drew about 3 mA (1 mA/div), tops, without a ballast resistor:
Hacking in a charged NP-BX1 secondary lithium cell boosted the supply to 4 V:
Which, diodes being the way they are, raised the LED current to nearly 400 mA (100 mA/div):
Somewhat to my surprise, a few weeks of abuse didn’t do any obvious damage to the LED, but I added a resistor while I was soldering up another holder:
There’s not quite enough room for a 1/8 W axial resistor, so why not blob in a surface-mount resistor?
Which cuts the current down to a mere 15 mA (10 mA/div) from a lithium battery at 4 V:
It’s still blindingly bright, but now I don’t feel bad about it.
A House Finch suffering from Finch Eye Disease prompted me to sterilize our feeder, which meant providing a temporary feeder to keep the birds flying. Having an abundance of lids from six gallon plastic cans / buckets, this made sense:
Which required an adapter betwixt pole and lid:
Which requires a bit of solid modeling:
The lids have a central boss, presumably for stiffening, so the model includes a suitable recess:
As usual, automatically generated support fills the entire recess, so I designed a minimal support structure into the model and cracked it out with very little effort:
The tangle off to the right comes from a bridge layer with a hole in the middle, which never works well even with support:
Didn’t bother the birds in the least, though, so it’s all good.
I loves me my 3D printer …
The OpenSCAD source code as a GitHub Gist:
The DSO150 oscilloscope’s specs give a 200 kHz bandwidth, so a 50 kHz sine wave looks pretty good:
A 100 kHz sine wave looks chunky, with maybe 25 samples per cycle:
The DSO150 tops out at 10 µs/div, so you can’t expand the waveform more than you see; 25 samples in 10 µs seems to be 2.5 Msample/s, exceeding the nominal 1 Msample/s spec. I have no explanation.
A 10 kHz square wave shows a blip just before each transition that isn’t on the actual signal:
At 50 kHz, there’s not much square left in the wave:
And, just for completeness, a 200 kHz square wave completely loses its starch:
A 10% (-ish) duty cycle pulse at 25 kHz has frequency components well beyond the scope’s limits, so it’s more of a blip than a pulse:
The pulse repetition frequency beats with the scope sampling and sweep speeds to produce weird effects:
Tuning the pulse frequency for maximum weirdness:
None of this is unique to the DSO150, of course, as all digital scopes (heck, all sampled-data systems) have the same issues. The DSO150’s slow sampling rate just makes them more obvious at lower frequencies.
Key takeaway: use the DSO150 for analog signals in the audio range, up through maybe 50 kHz, and it’ll produce reasonable results.
Using it for digital signals, even at audio frequencies, isn’t appropriate, because the DSO150’s low bandwidth will produce baffling displays.
Being a sucker for infrastructure and numbers, the fire sprinkler system pressure gauges in the motel stairwell proved irresistible.
The first floor gauge shows a nice round 100 psi:
Up on the second floor, it’s 90 psi:
With a different brand of gauge, it’s also 90 psi on the third floor:
Maybe 85 psi on the fourth:
Squinting at the parallax, call it 80 psi on the fifth:
At the top of the vertical pipe on the fifth, on the other side of a valve, we return to the original valve company at 78 psi:
Water weighs just over 62 lb/ft³ at room temperature, which works out to 0.43 lb/in² per vertical foot. Not having packed my laser distance widget, I’ll guesstimate 12 feet and 5 psi per floor.
A quick graph with an eyeballometric straight-line fit:
Call it 0.42 psi/ft, which is pretty close to the right answer.
Hitching a charged, albeit worn, NP-BX1 lithium battery to the astable multivibrator produces a blinding flash:
The current pulse shows the wearable LED really takes a beating:
The current trace is at 100 mA/div: the pulse starts at 400 mA, which seems excessive even to me, and tapers down to 200 mA. It’s still an order of magnitude too high at the end of the pulse.
On the other paw, maybe a 14% duty cycle helps:
The top trace shows the base drive voltage dropping slightly, although I suspect the poor little transistor can’t take the strain.
The LED really does need a ballast resistor …