kyak changed the topic of #qi-hardware to: Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben/atusb 802.15.4 wireless, anelok and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
<arossdotme> any advice getting belkin or serial ups working? not managed to get my small one’s computer interface interfacing.
<arossdotme> on debain
<wpwrak> fun: a tweet as a measure of code size: http://tweetnacl.cr.yp.to/ "TweetNaCl fits into just 100 tweets"
unclouded has quit [Ping timeout: 256 seconds]
fengling has joined #qi-hardware
unclouded has joined #qi-hardware
fengling has quit [Ping timeout: 250 seconds]
Haswell has quit [Quit: Saliendo]
fengling has joined #qi-hardware
fengling has quit [Ping timeout: 264 seconds]
kanzure has quit [Ping timeout: 245 seconds]
pcercuei has joined #qi-hardware
<DocScrutinizer05> whitequark: ((http://lab.whitequark.org/images/psu-short/short.jpeg)) I completely fail to grok what that BS with exposed tinned traces and copper fill under mask is meant to establish anyway
<whitequark> exposed tinned traces for higher current carrying capacity, I'm sure
<whitequark> why do they do that and ALSO add a copper polygon? I've no idea
<DocScrutinizer05> exactly
<DocScrutinizer05> either one or the other, both together is BS
<whitequark> well, we've already established they are not the best engineers in the world
<whitequark> btw i've got this thing https://imgur.com/a/vEY40
<whitequark> 8 bucks
<DocScrutinizer05> awesome and pretty simplistic
<DocScrutinizer05> all the trickery is in the layout, eh? :-D
<DocScrutinizer05> now *that's* a layout you can't do with autorouter ;-)
<whitequark> indeed
<DocScrutinizer05> true voodoo
<DocScrutinizer05> way beyond my expertise
<whitequark> afaik no one designs these by hand
<whitequark> you take a FEM simulator and basically brute force until you get the results you want
<DocScrutinizer05> yep
<DocScrutinizer05> so actually indeed *sort-of* auorouter
<DocScrutinizer05> autorouter*
<whitequark> yeah
<DocScrutinizer05> X-band layout is really voodoo
<DocScrutinizer05> when *everything* is a inductivity and a capacitor and a delay line and a phase shifter and a impedance transducer
<DocScrutinizer05> the latter would be interesting to see the equivalent schematics ;-)
<DocScrutinizer05> I guess it must consist of at least 2 dozen components
<whitequark> the former is simple
<whitequark> it's an LC series circuit tuned at the oscillator frequency
<whitequark> i.e. an RF block essentially
<whitequark> it's one of the standard shapes apparently
<whitequark> the latter is some dark magic
fengling has joined #qi-hardware
<DocScrutinizer05> you seem to have found some arcane info sources? :-)
<whitequark> know a dude who's into microwave
* DocScrutinizer05 wonders if it would maybe helpful to have a tad if casual learning about that stuff
<DocScrutinizer05> wow! ta
<whitequark> except for the microstrip inanity this thing is very simple actually
<whitequark> the very thin conductors complete DC circuits
<whitequark> the "transistor" is not quite just a transistor, it's an MMIC
<whitequark> basically a transistor with an integrated bias circuit
<whitequark> specifically for heterodyne resonators like this one
<DocScrutinizer05> aaah
<DocScrutinizer05> I guess BAV99 is rather envelope demod
<whitequark> BAV99 is just to protect the microwave diode. it has a Vbrkdn of a few V
<DocScrutinizer05> and what they call "IF" is actually the demodulated interference aka beat product
<whitequark> yeah
<whitequark> the "demodulation" (not sure if you can call it so) is the usual result of mixing transmitted with received
<whitequark> where received would shift by a few Hz due to doppler, and you'll get a signal with those few Hz to the left of microwave diode
<DocScrutinizer05> right
<whitequark> (it's not really... modulating anything, it just transmits baseband and looks for shift)
<DocScrutinizer05> ring modulator
<whitequark> right
<DocScrutinizer05> f1 * f2
<DocScrutinizer05> where f1/2 are signals, not frequencies
<DocScrutinizer05> resulting in f1+f2 and f1-f2, this time frequencies of the signals
<DocScrutinizer05> f1-f2 is what we're interested in here. No demod needed
<whitequark> exactly
<DocScrutinizer05> I gather the 1202 upper left is a capacitor?
<DocScrutinizer05> to DC-decouple the IF out signal
<whitequark> resistor
<whitequark> it's a pulldown
<whitequark> the IF signal is not DC balanced :D
<whitequark> I mean... there's nothing special about these lumped components. the numbered ones are bog standard SMD resistors
<DocScrutinizer05> hmm, ok
<whitequark> the white ceramic thing is a DC block capacitor
<whitequark> again to protect the microwave diode
<DocScrutinizer05> so the whole ring modulator works completely passive?
<DocScrutinizer05> I.E. no power supply?
<whitequark> yes
<DocScrutinizer05> DC power
<DocScrutinizer05> wow
<whitequark> the only powered thing here is the oscillator
<DocScrutinizer05> :-)
<DocScrutinizer05> as simplistic as it gets
<whitequark> it works pretty well despite that
<DocScrutinizer05> amazing
<DocScrutinizer05> mere voodoo ;-D
<whitequark> detects my hand with hundreds of mV on the IF output, if within 50cm
<whitequark> datasheet says up to 20m, I think it will be able to detect large metal like cars in that range
<whitequark> but not people
<DocScrutinizer05> ooh, 50cm - yes that's sort of easy
<DocScrutinizer05> 20m is absolutely non-trivial
<DocScrutinizer05> considering the signal levels on RX
<DocScrutinizer05> I'm instantly thinking of automatic doors where approaching person needs to get detected in ~2..3m distance, which prolly is what those critters are used for in 99% of installations
<whitequark> that is exactly what the description said
<DocScrutinizer05> did they tell anything about directivity of antenna and about how to mount that thing?
<DocScrutinizer05> like "15mm above a metal surface"
<DocScrutinizer05> or whatever
<whitequark> nope
<DocScrutinizer05> :-P
<whitequark> it's fairly directional
<DocScrutinizer05> I nevertheless guess it would be a good idea to mount it in that way, with the device surface pointing at sensor range
<DocScrutinizer05> I think it is, yes
<DocScrutinizer05> emission in a "8" shape along axis through surface of PCB
<DocScrutinizer05> hey, you got a Rigol?
<DocScrutinizer05> did you already test my rigol scropts?
<DocScrutinizer05> scripts
<DocScrutinizer05> rigol-snapshot already works pretty fine
<DocScrutinizer05> just needs to stop the scope prior to snapshotting, or it will take ages or even fail
<whitequark> I don't have ethernet at home
<whitequark> so I just use an usb drive
<DocScrutinizer05> err, you don't have ethernet?
<DocScrutinizer05> how comes?
<DocScrutinizer05> you could link the rigol directly to your PC ethernet jack, not even a crossover patch cable needed with contenptorary NICs that do autodetect
<DocScrutinizer05> honestly, rigol-snapshot is cooool
<whitequark> I don't have an ethernet jack in my PC :D
<DocScrutinizer05> and a 1000 times more convenient than even the USB hookup to PC
<DocScrutinizer05> wow!
<whitequark> it's one of the thin ultrabooks, they're too thin for that
<DocScrutinizer05> err
<DocScrutinizer05> USB-attached NIC then?
<whitequark> I have the USB thingy but it's just annoying to use
<whitequark> for occasional use I prefer just the USB drive
<whitequark> it's permanently plugged into the scope
<DocScrutinizer05> yeah, I had that too
<whitequark> except when extracting data
<DocScrutinizer05> but the unplugging and plugging to PC and copying of files is a PITA
<whitequark> I have one
<whitequark> I just don't like the extra wires around
<DocScrutinizer05> hmmm
<DocScrutinizer05> how about a proper AP then?
<whitequark> I mean
<DocScrutinizer05> aka "router"
<whitequark> this is my work laptop
<whitequark> I unplug it all the time
<whitequark> like every day once or twice
<whitequark> this gets old *fast*
<whitequark> I have a router but it is in the hall
<DocScrutinizer05> ohmy
<whitequark> because the ISP uplink is only long enough to reach the hall
kanzure has joined #qi-hardware
<whitequark> I *could* lay cat5 around but it's, again, a pain. I have to do something to doorways
<DocScrutinizer05> you could get a cat5a/6 from ahö to your workbench and to a switch there
<DocScrutinizer05> hehe
<whitequark> building obviously has no cat5 in walls because the construction company thinks it's still 1990
<DocScrutinizer05> I got one and they are niiiice
<whitequark> not bad but 5m is not nearly long enough
<whitequark> I looked into it and the path it has to take, it'd be at least 10
<whitequark> sort of an unfortunate layout
<whitequark> maybe even 15
<whitequark> DocScrutinizer05: know what that reminds me of? POTS "noodles"
<whitequark> at least here we call these incredibly shitty "two wires in a flat plastic envelope" POTS cables "noodles"
<whitequark> history goes in circles, etc
<DocScrutinizer05> only 1.8mm "thick"
<whitequark> the "noodles" had the advantage that you could nail them to the wall via the plastic in center
<DocScrutinizer05> hehe
<DocScrutinizer05> I wouldn't pierce nails into that cat6 flat cables
<whitequark> definitely
<whitequark> does conrad.de even ship to RU?
<whitequark> I don't know of any remailer in DE
<DocScrutinizer05> I could, if you don't mind
<whitequark> hm
<DocScrutinizer05> dunno about conrad
<whitequark> that'd work
<whitequark> on a second thought I'm going to move in a few months hopefully
<whitequark> so probably no point now
<whitequark> unless the flat I'm going to rent has an equivalently shitty layout (hopefully not)
<DocScrutinizer05> aaaw
<DocScrutinizer05> take nice things like that cable with you when you move ;-)
<DocScrutinizer05> you can use it again, for sure
<whitequark> well... could be
<DocScrutinizer05> anyway, I *strongly* recommend ethernet for Rigol, and when you actually would make up your mind to get decent ethernet and want that cable, just drop me a note with exact instructions how to send
<whitequark> sure
<DocScrutinizer05> meanwhile: http://maemo.cloud-7.de/maemo5/usr/local/bin/rigol-screenshot and rigol* and u1233 there
<whitequark> I wish sigrok supported rigol
<whitequark> now *that* would be interesting
<whitequark> well, my rigol. it supports some of them
<DocScrutinizer05> I think the err whatever-commands are pretty similar, odds are most stuff works for any rigol
<whitequark> I looked into adding support
<whitequark> they subtly differ in annoying ways
<whitequark> like one rigol accepts an array and the other a scalar
<DocScrutinizer05> some do, yes
<whitequark> who the fuck writes an API like that
<DocScrutinizer05> NFC
<DocScrutinizer05> which is pretty much WIP
<DocScrutinizer05> but seems to work, well, usually. Though I didn't verify the results yet
<DocScrutinizer05> anyway a downloaded waveform should be sufficient input data for anything like sigrok
<DocScrutinizer05> you're welcome to "upstream" any improvements you make, e.g. regarding buffer depth configured in Rigol (script assumes 24M) ;-)
<whitequark> sigrok is more than just waveform viewer, it can do stuff like infinite capture
<whitequark> and configuring the scope
<DocScrutinizer05> which prolly won't work with DS1000
<whitequark> which is the reason to use it
<whitequark> the SCPI or whatever commands are there
<DocScrutinizer05> it can't download waveforms realtime
<whitequark> hm
<DocScrutinizer05> only when stopped
<whitequark> oops
<DocScrutinizer05> at least afaik
<DocScrutinizer05> even screen snapshots take 3 times as long when running than when stopped. So in my book it's a hw (bus bandwith) limitation
<DocScrutinizer05> quite possibly the ASIC that does all the heavy lifting is hooked up to the communications processor with a flimsy I2C or whatever
<DocScrutinizer05> and the ASIC is not made for doing concurrent communications to processor and same time capturing
<whitequark> sounds about right
<whitequark> is it even an ASIC?
<DocScrutinizer05> wild guessing, but sort of educated
<DocScrutinizer05> yep, afaik it is
<DocScrutinizer05> I once scrutinized a photo "DS1054 internals"
<DocScrutinizer05> prolly on eevblog?
<DocScrutinizer05> also somebody in that context said sth like "the bandwidth linit on the 50MHz devices is implemented by a simple switchable RC filter in the ASIC's inputs - this is how you enable DS1104"
<DocScrutinizer05> which on second thought makes questionable sense since the DS1000 has a well known dedicated discrete ADC chip. But only one, not 4, and it needs prescalers/amps anyway, which might be part of the ASIC as well
<DocScrutinizer05> anyway once you look at DS1000 screen with that info and from this perspective, you can virtually *see* how messages like "USB connected" etc are sent as bitmap from comm cpu to asic via I2C, for the asic to superimpose them into the display
<whitequark> gross
<DocScrutinizer05> considering reaction times I wonder how much of stuff like FFT, RS232 decoding etc is done on comm processor as well
<DocScrutinizer05> the low price of the DS1000 is made possible only by very nifty software exploiting the available hw resources to the limit
<DocScrutinizer05> you have a relatively simple ASIC doing the samplig and transcoding sample buffer into a display waveform and raster image, and you got a loosely linked auxiliary processor handling all the switches and communication at large, and also doing the more fancy stuff that includes lots of math or for example the help function etc
<DocScrutinizer05> note how all messages like "function rate limited" or whatever look alike and look awful compared to usual display
<DocScrutinizer05> err "Paramater limited!"
<DocScrutinizer05> and how it akes 400ms between you turning the Y-sensitivity knob "beyond the limit" and the "Parameter linited!" showing up on display
<DocScrutinizer05> takes*
<DocScrutinizer05> sure the asic has some ALU to do for example the left/bottom side value display
<DocScrutinizer05> "Vpp=..." etc
<DocScrutinizer05> also I guess triggering is supported by that ASIC ALU
<DocScrutinizer05> while the whole menu display, RS232 decoding, FFT etc is done on the aux CPU
<DocScrutinizer05> it even seems to me that for unknown reasons all display elements coming from aux CPU are mainly B&W while ASIC is more colorful. I have no real good explanation for that yet
<DocScrutinizer05> possibly a hw limitation in compositor
<DocScrutinizer05> "compositor" I meant the stuff in ASIC doing overlay of data (from aux CPU, e.g. menus) over the display created locally (the colorful waveform and stuff)
<DocScrutinizer05> then otoh those menus have a blue highlight, which voids such explanation
rjeffries_ has joined #qi-hardware
rjeffries_ has quit [Ping timeout: 255 seconds]
fengling has quit [Ping timeout: 272 seconds]
fengling has joined #qi-hardware
fengling has quit [Ping timeout: 248 seconds]
rjeffries has quit [Ping timeout: 256 seconds]
rjeffries has joined #qi-hardware
pcercuei has quit [Ping timeout: 245 seconds]
pcercuei has joined #qi-hardware
SyntaxTerror has joined #qi-hardware
fmeerkoetter has joined #qi-hardware
SyntaxTerror has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Haswell has joined #qi-hardware
SyntaxTerror has joined #qi-hardware
SyntaxTerror has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fmeerkoetter has quit [Ping timeout: 264 seconds]
arossdotme has quit [Quit: Ex-Chat]
rjeffries has quit [Ping timeout: 245 seconds]
rjeffries has joined #qi-hardware
arossdotme has joined #qi-hardware
fengling has joined #qi-hardware