Post Created date
Technique for automatic docking.
That is a microvax, theoretically as good as the old mainframe vax but falling short at custom real-time control due to the complications of Q-Bus and SCSI compared to the old...
Tuesday, 17 January 2017 - 23:15
Elm-chan's audio spectrum FFT program returning unexpected values
Work with some known functions before trying to understand noisy data. Correct, channel 0 is the DC offset, you can just set it to zero or subtract the mean from each channel...
Tuesday, 17 January 2017 - 16:43
Is there something simpler than a PLL?
My description from memory was wrong, this is a (clocked by 32 kHz crystal) async Timer2 interrupt at 1 kHz that looks at the phase of (clocked by RC oscillator) Timer3. The...
Monday, 2 January 2017 - 23:24
Is there something simpler than a PLL?
You'd need to catch such conditions, also it's possible to slip a cycle. But in my case OSCCAL was biased to run at 8192 kHz so well into the high region. It works well enough to...
Monday, 2 January 2017 - 13:24
Is there something simpler than a PLL?
That sounds similar to phase locking one clock against another.  In my case to give long term lock of the internal RC clock to a 32KHz crystal driving RTIMER3, by varying...
Sunday, 1 January 2017 - 21:59
Li-Ion/Charger mismatch question
You can get 18500s with internal low/high voltage cutoff, e.g. But 18650s seem very common nowadays.
Wednesday, 28 December 2016 - 15:28
How to docode car MP3 remote with the VS1838B?
Connecting a wire from just about anywhere on the receiver to the PC sound jack would show the signal, since that's an AC input with adjustable gain. Zoom in using Audacity or...
Sunday, 18 December 2016 - 00:45
How to hold a coil in place while winding
Varnish between layers, that will also help prevent AC coupling to acoustic dissipation. One or two layers a day is not a problem if you are doing many at the same time. I'd worry...
Tuesday, 6 December 2016 - 15:49
Data compression for embedded controllers
If you don't need real-time updates (i.e. if you are just storing to a log file) you can compress each channel separately, then interleave the channel codes as needed. For example...
Friday, 2 December 2016 - 13:49
Clever ideas for setting a "module address" for stacked modules?
Seems similar to the management of an ipv6 network through RS485, a master-slave token method is proposed in I have not looked at that in any...
Sunday, 27 November 2016 - 00:36
High voltage switch?
Rise time? Power? If you cant wait for a HV power supply to turn on,  a thyratron can do the job
Friday, 30 September 2016 - 21:54
if-else vs. array look-up for different number base
The fastest way is to digitize into the range 0...23, or 0..46 and right shift, or 0...92, and right shift 2, or 0...184 and right shift three.  Do you have control over the...
Thursday, 22 September 2016 - 21:55