#garfield Logs

Apr 18 2020

#garfield Calendar

01:36 AM rue_shop1: did you make any spare probes?
01:41 AM rue_shop1: :) the day will come
07:55 AM polprog: rue_shop1: dmca against what?
07:56 AM polprog: background music or something?
08:17 AM Tom_L: he was a bad bad boy
10:14 AM ShopMoon: rue_mohr: Thanks dude
11:02 AM rue_bed: polprog, must be
11:02 AM rue_bed: or linking to a tweet that posted music, some of it isn't clear
11:02 AM rue_bed: but they didn't email me all the details, so I'm not usre
11:12 AM rue_mohr: no music in the background of my videos if of any audio quality anyhow, and its sure the hell no complete songs
11:17 AM rue_mohr: polprog, heh, your upside down voltage limit got me for a sec :)
11:17 AM polprog: haha
11:18 AM polprog: it took me quite some time to calculate the resistor divider
11:19 AM polprog: i was so sleepy i had to pick them by trial and error calculations cause i took 2.7 instead 1.7 as the cell voltage in the equations i was working out
11:19 AM polprog: i heard some music in your videos
11:19 AM polprog: but yeah, copyright trolls suck
11:20 AM rue_mohr: dude, I have programs that brute force that stuff
11:20 AM polprog: yeah i need to find and steal your resistor calc
11:21 AM polprog: have you got one that solves this kind of a switchable divider? i find it simpler to work out an equation system
11:21 AM rue_mohr: pretty sure, I just woke up
11:22 AM rue_mohr: IMP
11:22 AM rue_mohr: LM317CurrentSource
11:22 AM rue_mohr: LM317CurrentSource.c
11:22 AM rue_mohr: OFFSETDIVIDER
11:22 AM rue_mohr: PARALLEL
11:22 AM rue_mohr: R1
11:22 AM rue_mohr: R1.c
11:22 AM rue_mohr: R2
11:22 AM rue_mohr: R2.c
11:22 AM rue_mohr: RATIO
11:23 AM rue_mohr: SERIES
11:23 AM rue_mohr: VDIV.BAS
11:23 AM rue_mohr: VIN
11:23 AM rue_mohr: VOUT
11:23 AM rue_mohr: common.h
11:23 AM rue_mohr: delta2wye
11:23 AM polprog: VDIV.BAS
11:23 AM polprog: oh my
11:23 AM rue_mohr: IMP, give it Vin, Vout, and the impedence, it tells you the two resistors
11:24 AM rue_mohr: yea, the orig program was in basic
11:25 AM rue_mohr: OFFSETDIVIDER is too complex for me at the moment, its got to do with dividers for translating ranges
11:26 AM rue_mohr: PARALLEL will find two standard values that come out, in parallel, to whatever you want
11:26 AM rue_mohr: R1 is a voltage divider calculator that solves for one of the resistors
11:26 AM rue_mohr: R2 solves for the other resistor
11:28 AM rue_mohr: RATIO will find a standard resistor with a 1:N divider ratio
11:28 AM rue_mohr: for example 1:0.0008 is 12 ohms and 15k
11:28 AM polprog: hmm
11:29 AM rue_mohr: series, does a brute force search for two resistors that in series, add up to whatever you want
11:29 AM rue_mohr: VIN will tell you what the input voltage is to a divider with a given R1, R2, and output voltage
11:30 AM rue_mohr: VOUT will tell you the output voltage given Vin, R1, R2
11:30 AM rue_mohr: and then there is delta2wye and wye2delta calculators
11:31 AM rue_mohr: I have a bunch of libraries that will allow me to merge lots of those, and make them all capable of giving standard values specifically in the 0.5, 1, 2, 5, 10, 20% ranges
11:31 AM rue_mohr: (20% for caps)
11:32 AM polprog: neat stuff
11:33 AM rue_mohr: Parallel resistor formulator.
11:33 AM rue_mohr: What resistance would you like?
11:33 AM rue_mohr: 2020
11:33 AM rue_mohr: hit, error = 0.551037% vals = 2700.000000 and 8200.000000 at 2031.192627
11:33 AM rue_mohr: Series resistor formulator.
11:33 AM rue_mohr: What resistance would you like?
11:33 AM rue_mohr: 2020
11:33 AM rue_mohr: hit, error = 0.000000% vals = 1200.000000 and 820.000000 at 2020.000000
11:34 AM polprog: i wonder if thats necesary to brute force
11:34 AM rue_mohr: standard values
11:34 AM polprog: i think it is, one of the standard values is not ideally on the log scale
11:35 AM polprog: which breaks all sensible maths
11:35 AM rue_mohr: lots of them are adjusted
11:35 AM polprog: ok, off to do homework
11:36 AM polprog: english then german
12:28 PM aandrew: rue_mohr: I stole one of ti’s online resistor calculators and use it locally
12:30 PM aandrew: Like I wanted to do with that rotary encoder site
12:38 PM polprog: jokes on me
12:39 PM polprog: in other news, the screw that holds the battery the car has rusted and cant be undone with my tools
12:41 PM polprog: its also held by a steel bar thats held by two pairs of screws, undoind one pair you can easily break the aircon and undoing the other you can break the power steering system :v
12:41 PM polprog: none of which happened here
12:41 PM polprog: undoing*
12:42 PM Tom_L: spray the screw with WD40 and come back later
12:42 PM polprog: hmm
12:42 PM polprog: i dont have a hex driver that long anyway..
12:43 PM Tom_L: battery bad?
12:45 PM polprog: yeah
12:45 PM polprog: lost all capacity and the car wont start
12:47 PM ShopMoon: rue_mohr: So you would think, that if you had a write function that takes a pointer to an int to let you know how much bytes were actually written.....
12:47 PM ShopMoon: if you were lazy you could just pass it a null cuz you dnt care right?
12:49 PM ShopMoon: well not in a windows API, it seems it still tries to write to that address and crahes XD
12:49 PM rue_mohr: aandrew, what does their resistor calculator do?
12:49 PM ShopMoon: that said I am liking allot of this structure I am findong so far :)
12:49 PM ShopMoon: likeing*
12:50 PM ShopMoon: https://www.youtube.com/watch?v=EHrHTuWm7WA
12:50 PM rue_mohr: ShopMoon, mhm
12:53 PM rue_mohr: I wonder what happens if I start working on a motor driver at this time of day
12:53 PM ShopMoon: sunshine
12:54 PM rue_mohr: your right, I should strip pcbs
12:54 PM ShopMoon: :)
12:54 PM rue_mohr: or make that plasma cutter
12:54 PM ShopMoon: DUDE I got a kernel driver with a device node and a user program that talks to it :)!!!!!!!!!!!!!
12:54 PM rue_mohr: ok
12:55 PM rue_mohr: I put 520 turns on an inductor yesterday
12:55 PM ShopMoon: \Device\RubberChicken
12:55 PM rue_mohr: that coil winder is nice.
12:55 PM rue_mohr: oh linux?
12:55 PM ShopMoon: oh yeah
12:55 PM ShopMoon: Windows
12:55 PM rue_mohr: oh well
12:55 PM ShopMoon: :|
12:55 PM rue_mohr: good work none the less
12:55 PM ShopMoon: :}
12:57 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1150716.jpg
12:57 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1150717.jpg
12:57 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1150718.jpg
12:57 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1150719.jpg
12:57 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1150720.jpg
12:57 PM rue_mohr: last nights circuits
12:58 PM rue_mohr: I want to try that radio reciever chip
01:03 PM ShopMoon: you should, I'm back to distraction now :)
01:44 PM Tom_L: ok rue_mohr
01:45 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Cube/Test_cut.jpg
01:45 PM Tom_L: appears to be dead nuts on
01:45 PM Tom_L: all the dimensions i checked were right on
01:47 PM Tom_L: within .001"
01:52 PM Tom_L: then i realized i had no pics of my tool holders :)
01:53 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Cube/Tool_Holder1.jpg
01:53 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Cube/Tool_Holder2.jpg
01:55 PM Tom_L: i was using a very short cutter for the test
01:55 PM Tom_L: the other circles could be tool deflection since i was running the cutter further out than i normally would
02:05 PM rue_mohr: nice
02:08 PM Tom_L: Z was about .005" deeper but i didn't set the tool very accurately for this either
02:15 PM rue_mohr: aslong as the distances were consistent ont hat Z test I think your ok for backlash
02:16 PM rue_mohr: because the measurements are relative to each other, the tool dia wont matter either
05:34 PM polprog: https://polprog.net/rozne1/ircjunk/various/maybesunday.png
05:34 PM polprog: maybe ill etch that on sunday
05:47 PM rue_mohr: ugh, I'm gonna have to collect a whole bunch of info from my printers to redo the firmware
05:47 PM rue_mohr: it looks like I didn't back up the part of the machine I was installing the firmware with
05:47 PM rue_mohr: so I dont seem to have the configs
05:47 PM rue_mohr: tho, I didn't keep them anyhow
05:47 PM rue_mohr: but they were mostly the same
05:48 PM Tom_L: your 3d printers
05:49 PM rue_mohr: I need to extend the temp range on one
05:49 PM rue_mohr: the firware has alarms if its too high/low
05:50 PM rue_mohr: and I need to push both,
05:50 PM rue_mohr: sounds like I can g-code the low, but have to reflash for the high
05:56 PM Tom_L: post mod worked as expected
06:08 PM rue_mohr: good good
06:19 PM aandrew: rue_mohr: it calculates resistor dividers with E24/E96/E192 values and errors
06:21 PM rue_mohr: will it do reverse, aka, this is the output voltage I want, whats the input?
06:24 PM aandrew: I am not sure, I just use a calculator for that
06:24 PM aandrew: let me take a quick look
06:26 PM aandrew: sorry, I also have the TI one but I guess this is the one I was referring to: http://jansson.us/resistors.html
06:27 PM aandrew: oh
06:27 PM aandrew: RSSRevised January 6, 2020
06:27 PM aandrew: looks like I need to copy it again :-)
06:28 PM aandrew: seven transistor labs also has a calculator
06:43 PM rue_mohr: k, I find the reverse one handy
06:45 PM rue_shop1: huh, the TLP250 I got just went to almost 1.7Mhz, its rated to 25Khz
06:54 PM Tom_L: for how long though?
07:01 PM rue_mohr: left it for a while, seems fine
07:01 PM rue_mohr: but some of them didn't work
07:01 PM rue_mohr: figred it out
07:01 PM rue_mohr: they have an undervoltage lockout
07:02 PM Tom_L: hmm
07:02 PM rue_mohr: but the setpoint on them is a mess
07:02 PM rue_mohr: one of them starts at 8V, and 5 of them wont start till 12.6
07:02 PM rue_mohr: my supply doesn't quite put out more than 12, so it looked like some weren't working
07:02 PM rue_mohr: marked them all with their lockout votlages
07:07 PM Tom_L: what's the data sheet say for lockout?
07:26 PM rue_mohr: 10V
07:26 PM rue_mohr: I can deal with it, they are for high-side fet driving, I generate the floating supply with a transformer, that I can put a few extra turns on
09:56 PM zhanx: Evening
09:57 PM Tom_L: hi
09:58 PM zhanx: got my mask i can start working again as lock down is lifted.
10:01 PM rue_mohr: its halarious, the us policies are gonna slotter the population
10:03 PM zhanx: looks at canada.....
10:03 PM zhanx: granted most of the infected for corona are Somali's in canada
10:04 PM rue_mohr: most casualties in quebec, no loss
10:04 PM rue_mohr: (I say that jokingly)
10:05 PM rue_mohr: the us is definitly going to top the charts
10:05 PM zhanx: i would expect that as i joke most of the causalities are in NYC etc.
10:05 PM zhanx: no Europe is still rocking the charts per capita and might win that game
10:06 PM rue_mohr: usa is a country, "europe" is not?
10:06 PM rue_mohr: yes, new york is top in usa
10:06 PM zhanx: Europe is a places that is about the same size as USA is it not?
10:07 PM zhanx: or do you need the math?
10:07 PM rue_mohr: country tho
10:07 PM rue_mohr: I'm not by capita
10:07 PM zhanx: Land Mass of the United States: 3.797 million mi²
10:07 PM rue_mohr: canada is larger
10:07 PM zhanx: Land Mass of Europe: 3.931 million mi²
10:07 PM rue_mohr: if we keep quebec
10:08 PM zhanx: well i left alaska out of that also
10:08 PM zhanx: cause its alaska
10:08 PM rue_mohr: the usa is basically not doing any control
10:08 PM zhanx: according to who?
10:08 PM zhanx: not WHO
10:08 PM rue_mohr: but if people cant afford treatment, its not likeit matters if the hospitals are overrun anyhow
10:09 PM rue_mohr: if the lockdowns are comming off now, its just gonna finish everyone it can
10:09 PM zhanx: there are not overrun hospitals here and the government is covering all the chinese flu treatment
10:09 PM rue_mohr: ah, didn't sound like they were
10:10 PM zhanx: 100%
10:10 PM rue_mohr: I go test motor driver, biab
10:10 PM zhanx: we only have 150 deaths with out pre existing conditions also
10:13 PM rue_shop1: in the usa?
10:13 PM zhanx: yep
10:15 PM rue_shop1: out of something like 34k
10:16 PM zhanx: want the math to do the math yourself?
10:16 PM zhanx: map.math first one
10:16 PM rue_shop1: I'm fine, Im watching the counters
10:16 PM rue_shop1: the exponentials aren't linear anymore
10:16 PM zhanx: https://gisanddata.maps.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6
10:16 PM rue_shop1: so its slowing
10:17 PM zhanx: no they aren't and fauci is the main doctor here, hates trump said its slowing etc
10:18 PM zhanx: rue_shop1, you have to remember it takes all of Europe to equal the USA, for size etc, so comparing to one country is like comparing to one state for us
10:19 PM zhanx: finland has the same GPD per capita and a lower population, income than Louisiana by 1%
10:20 PM zhanx: and same land mass size also
10:20 PM rue_shop1: I'm wondering where the numbers will stop
10:20 PM zhanx: i am thinking 10% higher and world wide curve slows
10:20 PM zhanx: minus canada
10:20 PM rue_shop1: damnit the tip30 is only 1A
10:21 PM zhanx: in july your curve will slow down
10:21 PM rue_mohr: https://coronavirus.jhu.edu/map.html
10:21 PM rue_mohr: check out the exponential graphs, its starting to slow
10:22 PM zhanx: same map i linked
10:23 PM zhanx: Canada was way late to do anything
10:23 PM rue_shop1: oh, sorry cant open it here
10:24 PM zhanx: top 3 countries have a higher per capita death than america also
10:24 PM rue_shop1: so far were doing ok out here, 48? day doubling
10:24 PM rue_shop1: tip42
10:25 PM zhanx: rue_shop1, the key on this
10:25 PM zhanx: people only about living when they are afraid to die
10:25 PM zhanx: otherwise they would not freak out so much
10:26 PM rue_shop1: here the focus is on slowing the spread so we can treat people without overloading the hospitals
10:26 PM rue_shop1: we have 30k here, _2_ ventillators
10:28 PM zhanx: you are getting more now
10:28 PM zhanx: CPAP's are able to be converted now
10:30 PM rue_shop1: our hospital has 4 cases, I'm not sure where they are at
10:30 PM rue_shop1: but they have an issue
10:30 PM rue_shop1: they aren't much of a real hospital
10:30 PM rue_shop1: they send out everything big
10:30 PM rue_shop1: when this gets big there is nowhere to hand it off to
10:31 PM zhanx: rue_shop1, USA Army Corp of Engineers is standing by to help Canada now
10:31 PM zhanx: field hospitals and the works
10:39 PM rue_shop1: interesting, quebec?
10:40 PM zhanx: both coasts and comfort and hope are standing by for help if you need them
10:41 PM zhanx: they moved the field hospital containers to Montana as a standby also.
10:43 PM zhanx: rue_shop1, remember we sent navy hospital ships to europe also
10:55 PM rue_shop1: its annoying that there is no pre-emptive testing going on
10:55 PM rue_shop1: I'v got something, and unless I'm having respritory issues, they will not test
10:56 PM rue_shop1: and in the meantime I'm supposed to stay out of work
10:56 PM rue_shop1: which they will pay for, but Id rather not have my job become a mess
10:56 PM rue_shop1: I got ill about this time last year too
10:56 PM rue_shop1: the polen here is crazy, its probably related
10:57 PM zhanx: i thought Canada's health care system crushed ours
11:03 PM rue_shop1: I suspect test kits are not forthcomming
11:05 PM rue_shop1: the pols have been squeezing it down over the years too
11:05 PM rue_shop1: trying to privitize everything
11:05 PM zhanx: your PM is buying them from China as we speak
11:09 PM rue_shop1: failing, the usa is paying more and the chineese are redirecting them
11:10 PM rue_shop1: I'm sure trump will be selling them to canada at a big markup
11:10 PM rue_shop1: maybe P channel fets...
11:11 PM rue_shop1: ugh, bipolar is just not suitable for low voltage high current
11:28 PM zhanx: rue_shop1, just states how bad Canada is if they can't make the equipment themselves. deflecting the blame on that is telling
11:32 PM zhanx: GF's cat hates my cat. I said ok
11:32 PM zhanx: LASER POINTER GO
11:32 PM zhanx: they both teamed up on it
11:32 PM rue_mohr: thanks to our leaders we dont even cut our lumber anymore
11:32 PM rue_mohr: man that raw export thing destroyed the economy around here
11:33 PM zhanx: it has to come back for you
11:34 PM zhanx: rue_mohr, i saw that when NAFTA hit, its why i joined the army
11:34 PM zhanx: now i am waiting on interviews still
11:34 PM rue_mohr: what sucks, is that nonally did the equipment go away, the people who knew how to use it did
11:35 PM rue_mohr: we have a pulp mill here
11:35 PM rue_mohr: used to make paper
11:35 PM rue_mohr: the paper machine is huge, and empty
11:35 PM rue_mohr: rollers that are like 80 feet wide
11:35 PM rue_mohr: in a process building about 300 feet long
11:36 PM rue_mohr: and i'd bet nobody even knows how to start it up anymore
11:36 PM zhanx: they could learn
11:36 PM rue_mohr: bet mot
11:36 PM rue_mohr: huge issue on arms
11:37 PM rue_mohr: farms
11:37 PM zhanx: rue_mohr, i see things changing after this stuff
11:38 PM rue_mohr: see, canadiens are apparently too lazy and wage demanding to collect crops at farms, so *forever* farmers have been bringing in mexicans to do it
11:38 PM rue_mohr: which is a bit of an issue right now :)
11:38 PM rue_mohr: yea
11:39 PM rue_mohr: wages for care staff are so low, that caretakers have to work multiple jobs to get a living income
11:39 PM rue_mohr: guess what moved between carehomes with the workers?
11:39 PM rue_mohr: ok, I need a cmos schmitt inverter
11:40 PM zhanx: fubar
11:40 PM zhanx: soldering iron is getting cold no reason again
11:40 PM zhanx: need to get a new one again
11:41 PM zhanx: rue_mohr, remember we personally have zero solution for all this
11:41 PM rue_shop1: living wage
11:42 PM zhanx: you paying them or just saying it
11:42 PM rue_shop1: we need to make it so that employers cant get out of giving employees benifits by giving them shiftwork that doesn't add up to enough so they have to have multiple jobs
11:42 PM rue_shop1: dont have any employees
11:43 PM zhanx: rue_shop1, so if people get a living wage for no working, who will work?
11:43 PM rue_shop1: the fellow doing the sprayers with me is set to $20/hr
11:43 PM rue_shop1: ? say again?
11:43 PM zhanx: what is a living wage how is that
11:44 PM rue_shop1: each job should be full time and pay a living wage
11:44 PM rue_shop1: its enough to pay for food, car, and a roof
11:44 PM zhanx: but that avoids what a living wage is
11:44 PM rue_shop1: most jobs aren't that
11:45 PM rue_shop1: not sure here, havn't calculated it
11:45 PM rue_shop1: but renting a place is almost $1200/mo
11:45 PM zhanx: a car, roof and food are one thing
11:45 PM rue_shop1: and those people cant get into buying a house and having a $1200/mo mortguage
11:45 PM rue_shop1: not that everyone WANTS to own a house
11:45 PM rue_shop1: /place
11:45 PM zhanx: true
11:46 PM zhanx: but what is a living wage? new phone as it comes out?
11:46 PM zhanx: steaks and shrimp?
11:46 PM rue_shop1: there is grey area, but most jobs dont give a person even basic rent
11:46 PM zhanx: or beans and lentils
11:47 PM zhanx: Canada needs to ban foreign house buyers. ASAP
11:51 PM rue_shop1: we took a pretty good chunk out of it (last?) year
11:51 PM zhanx: no you just raised taxes on it
11:51 PM zhanx: didn't stop it
11:52 PM rue_shop1: I'm pretty damn lucky to be where I am
11:52 PM rue_shop1: a chain reaction that was started with the logo programming language in grade 6
11:52 PM zhanx: oh pm
11:52 PM rue_shop1: and me wondering what the hell the prompt was when it closed