#garfield Logs

Nov 02 2019

#garfield Calendar

01:17 AM rue_shop1: hmm, no its just reading the last requested channel
11:32 AM rue_mohr2: I got it, but only 1 adc in single cnversion mode
11:33 AM rue_mohr2: it didnt want to do a batch, I think it would require the dma
11:43 AM Tom_L: rue_mohr2
11:43 AM Tom_L: got a sparkie question for you
11:44 AM Tom_L: pic to follow
11:47 AM Tom_L: furnace blower is going out and i'm wondering if i can wire it to run on high instead of low until i can fix it monday
11:48 AM rue_mohr2 is now known as rue_bed
11:48 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/house/furnace/Blower_wires.jpg
11:48 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/house/furnace/Blower_speeds.jpg
11:49 AM Tom_L: wondering if i can unplug the red one and move the black to red to make it run on high or does it use both windings on high?
11:49 AM Tom_L: just 2 speed motor
11:50 AM Tom_L: the shaft gets a little wear in the bushings then it won't start up on low
11:50 AM Tom_L: i've had it happen before
11:50 AM Tom_L: but everybody is closed today
11:52 AM rue_bed: the low is stalling?
11:52 AM rue_bed: new cap?
11:52 AM Tom_L: yes
11:52 AM Tom_L: fairly
11:52 AM Tom_L: i doubt it's the cap
11:52 AM Tom_L: it's been winding up slower and slower
11:52 AM Tom_L: i knew it was getting time to fix it
11:53 AM rue_bed: hows the oil on the bearings?
11:53 AM Tom_L: they don't let you oil em anymore
11:53 AM rue_bed: :(
11:53 AM rue_bed: it the shaft free?
11:53 AM Tom_L: i'm gonna take it apart and oil it for the weekend though
11:53 AM rue_bed: make sure to use high temp oil
11:53 AM Tom_L: it starts if i help it move
11:53 AM rue_bed: I'v made that mistake a few times
11:53 AM Tom_L: only needs to last a couple days
11:54 AM rue_bed: low temp/regular will turn to glue
11:54 AM rue_bed: if its not the bearings, cap
11:54 AM rue_bed: if its not the bearings, it'll be the cap
11:54 AM Tom_L: i'll probably get both
11:54 AM rue_bed: yea, just switch wires th
11:54 AM Tom_L: i'm just wondering if swapping the wires will let it run on high
11:54 AM Tom_L: black to red
11:54 AM rue_bed: yup
11:54 AM Tom_L: and white is common
11:55 AM Tom_L: i'll try it, i figured it will have more boost if i run it on high
11:55 AM Tom_L: leave the red wire disconnected?
11:55 AM rue_bed: you can probably wire both from the controller to black
11:55 AM rue_bed: on the motor leave red disconnected
11:55 AM Tom_L: it's too old to have a controller :)
11:55 AM Tom_L: ok
11:56 AM Tom_L: that's what i thought, just wanted to verify it
11:56 AM rue_bed: what does the speeds tho?
11:56 AM rue_bed: you have a two speed thermostat?
11:56 AM Tom_L: i'm not sure, i think it's got a separate ac relay
11:56 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/house/furnace/DSC_0001.JPG
11:57 AM rue_bed: there isn't a blue wire comming off that motor wer cant see is there
11:57 AM Tom_L: no
11:57 AM Tom_L: just 3. red white black
11:57 AM Tom_L: unless i taped it up when i installed it the last time
11:57 AM Tom_L: lemme go look
11:58 AM rue_bed: I see a blue wire, it looks like the furnace never uses 3 speed
11:59 AM Tom_L: yeah
11:59 AM Tom_L: it's not being used
11:59 AM rue_bed: huh, it looks like they use a low speed for heat and a higher speed for ac
12:00 PM Tom_L: right
12:00 PM rue_bed: discharge/check the cap tho
12:00 PM Tom_L: how?
12:00 PM rue_bed: you got a meter with a cap checker?
12:01 PM rue_bed: (for that range)
12:01 PM rue_bed: about 4uF?
12:01 PM Tom_L: i'm not sure i'll look
12:01 PM Tom_L: maybe not
12:01 PM Tom_L: last time the shaft was the culprit
12:01 PM Tom_L: and it feels like it has some play in it
12:01 PM rue_bed: usually the bearings
12:02 PM rue_bed: the old motors had oiler holes, they ditched them on the new ones
12:02 PM rue_bed: how the hell your supposd to get at the inner one when its IN the blower cage I dont know
12:02 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/house/furnace/Motor_wires2.jpg
12:02 PM rue_bed: and the one I can access is upside down
12:03 PM Tom_L: the original had oilers on it
12:03 PM rue_bed: interesting
12:03 PM Tom_L: you could get to the inside one thru the tube
12:03 PM Tom_L: or at least one of them
12:03 PM rue_bed: I should check mine
12:03 PM Tom_L: what's the blue wire for?
12:04 PM Tom_L: medium
12:04 PM Tom_L: lo is red, blue is medium, black is high right?
12:04 PM rue_mohr: yup
12:04 PM rue_mohr: their changing motor coils
12:04 PM Tom_L: wonder if medium would work
12:04 PM Tom_L: i can stick a plug end on it
12:05 PM rue_mohr: they will all go live, insulating the unused wire is wise
12:05 PM Tom_L: use the blue and disconnect the red
12:05 PM Tom_L: they have the shields on the plugs like you see
12:05 PM Tom_L: both sides do
12:06 PM rue_mohr: blue wire should be capped too
12:06 PM Tom_L: i think i'll just try high and see if it works
12:06 PM Tom_L: well yeah
12:06 PM rue_mohr: yep
12:06 PM Tom_L: it was tucked inside the bundle
12:07 PM rue_mohr: mhm....
12:07 PM rue_mohr: :)
12:07 PM Tom_L: :)
12:07 PM Tom_L: you're a sparkie, i'm not
12:07 PM rue_mohr: the sparkie stuff is all was easier than the electronics
12:08 PM Tom_L: yeah
12:08 PM Tom_L: i think i'm just gonna put it back in and try the high speed until monday
12:08 PM Tom_L: i doubt oil would do enough for low to help
12:08 PM Tom_L: it spins free
12:09 PM Tom_L: if i flip the cage with my finger it starts
12:10 PM Tom_L: are those wire colors common for all motors?
12:10 PM Tom_L: (of that type)
12:26 PM rue_mohr: not that I know of
12:26 PM rue_mohr: but they should have labels with it
12:35 PM Tom_L: ok it works good on high
12:35 PM Tom_L: no hesitation to start turning like low was
12:36 PM rue_mohr: hmm
12:37 PM Tom_L: i'll take the cap along monday and let em test it
12:39 PM rue_mohr: if I knew a bit more I might say you could test it by putting it in series with a 60W incadescent lamp on 120 and checking for xx volts across the lamp
12:41 PM rue_mohr: hmm if its 4uF, thats would be 663 ohms...
12:41 PM rue_mohr: a 60W lamp is 240 ohms
12:41 PM Tom_L: it's all good. i put it back together
12:41 PM rue_mohr: I'm curious not
12:41 PM rue_mohr: no
12:41 PM rue_mohr: w
12:41 PM Tom_L: yeah
12:41 PM rue_mohr: still typing with my nose tho
12:42 PM Tom_L: i have a cap tester but dunno how high it goes
12:42 PM Tom_L: been ages since i used it too
12:43 PM rue_mohr: ok
12:43 PM Tom_L: mmm this one says 'cap' so maybe it does too
12:43 PM rue_mohr: so, if you put a 4uF in series with a 60w, across 120, the lamp should have 32 volts across it
12:43 PM Tom_L: but it's got a diode symbol right beside that
12:44 PM rue_mohr: it shouldn't ahve a diode
12:44 PM rue_mohr: unless its from a mirowave
12:44 PM Tom_L: no, the meter
12:44 PM Tom_L: on the front pannel
12:44 PM rue_mohr: oh, there will be a mode button
12:45 PM Tom_L: i hardly ever use that meter
12:45 PM rue_mohr: I ended up kinda going to bed early last night
12:45 PM rue_mohr: the stm32 adc thing turned into a zoo
12:46 PM rue_mohr: I can play with it more later
12:46 PM rue_mohr: try to get my project going for now
12:49 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/house/furnace/Meter.jpg
12:49 PM Tom_L: you tell me.
12:49 PM rue_mohr: yea the question is, can it do the range
12:49 PM Tom_L: no idea
12:50 PM rue_mohr: iirc my main meter only goes from like 0.1uF to 2uF
12:50 PM rue_mohr: I have a new chineese one thats got a way better range
12:51 PM rue_mohr: shower!
12:51 PM Tom_L: i've got a fluke i use all the time
12:51 PM Tom_L: never use this one
07:45 PM zhanx: i feel like a truck hit me
07:45 PM zhanx: so sore
07:48 PM rue_mohr: were you getting yourself tenderized by trucks again?
07:48 PM zhanx: working out, trucks would be easier
07:48 PM rue_mohr: your gonna glitch your back and be sorry
07:48 PM zhanx: no, i am making sure of that
07:49 PM zhanx: plus i lost a wee bit of weight and that helps
07:55 PM rue_mohr: ok I need to test this code
08:00 PM rue_shop1: wow, it just worked
08:00 PM rue_shop1: nice
08:00 PM rue_shop1: ok the stm32 needs to have its adc calibrated
08:06 PM rue_shop1: that was easy
08:10 PM rue_shop1: hmm it shows "93mv" noise
08:11 PM rue_shop1: (its scaled from a 3.3V range)
08:12 PM rue_shop1: I wonder how many samples I need
08:12 PM rue_shop1: to average it out
08:13 PM rue_shop1: hmm, I think the stm32 internal adc sucks casue its running at 3.3
08:13 PM rue_shop1: more prone to noise
08:14 PM zhanx: 100 at least
08:15 PM rue_shop1: ~0.1V noise is horrid
08:15 PM rue_shop1: well, again, its effective
08:16 PM rue_shop1: I have a gain of ~3
08:16 PM rue_shop1: so its picking up about 33mv noise?
08:16 PM rue_shop1: no
08:20 PM rue_shop1: ok, well
08:20 PM rue_shop1: I need to work out the electrical end, I have a 0-5V signal I need to adjust to 0-3.3
08:25 PM Tom_L: ok i created a .deb file, how do i install it?
08:26 PM Tom_L: i tried sudo apt install
08:26 PM zhanx: dpkg -i name.deb
08:27 PM Tom_L: helps if i spell it right too
08:28 PM zhanx: name(1)?
08:28 PM zhanx: :P
08:33 PM Tom_L: ok i got it thanks
08:33 PM zhanx: dpkg worked for you
08:34 PM Tom_L: yeah i had to add some dependencies but i fixed it
08:34 PM Tom_L: new buster install
08:34 PM zhanx: k
08:35 PM rue_shop1: how did you create a deb and what for?
08:35 PM Tom_L: linuxcnc
08:35 PM zhanx: making a deb is easy rue_shop1
08:35 PM rue_shop1: they didn't have one?
08:35 PM Tom_L: debuild -uc -us
08:35 PM Tom_L: not for buster
08:35 PM Tom_L: yet
08:36 PM rue_shop1: ok, a bit of twiddling and I have the average effective noise down to 13mV
08:49 PM Tom_L: how do i copy a directory and it's contents?
08:50 PM Tom_L: ok i got it
09:28 PM rue_shop1: -a
09:28 PM rue_shop1: cp -a ---- ----
09:29 PM zhanx: ?
09:29 PM rue_shop1: archive aka "leave it like it is"
09:30 PM rue_shop1: links get copied properly and everything
09:30 PM zhanx: cp -r -a
09:30 PM Tom_L: i did -r
09:30 PM rue_shop1: -a does -r
09:30 PM Tom_L: it does?
09:31 PM zhanx: not on ln -s
09:31 PM rue_shop1: it should leave links correct
09:31 PM zhanx: the -r -a does the links right
09:31 PM Tom_L: ok how to get 'computer' icon on the desktop
09:31 PM Tom_L: it won't let me pull it from the menu
09:32 PM zhanx: open your /home/desktop and drag it to there for the window
09:32 PM zhanx: not sure which wm you are using also
09:33 PM Tom_L: mate
09:33 PM zhanx: that should work for that, i am on unity
09:33 PM Tom_L: nevermind
09:33 PM Tom_L: mate has a 'tweak' app that does it
09:34 PM zhanx: i haven't play with mate much, so can't really help
09:34 PM Tom_L: kinda like it
09:34 PM Tom_L: i got it though thanks
09:34 PM zhanx: rue_shop1, Tom_L is getting better at linux fyi
09:36 PM zhanx: man being this sore is screwing with my coding
09:36 PM Tom_L: what'd you do?
09:36 PM zhanx: max lifts yesterday
09:36 PM Tom_L: oh
09:36 PM zhanx: working on the keyboard crap
09:37 PM zhanx: at 43, i will never ever, EVER do that again
09:37 PM Tom_L: guess i gotta plug the drives back in before i can access them
09:37 PM Tom_L: huh?
09:38 PM zhanx: plugging the drives in helps
09:38 PM Tom_L: buster seems quicker
09:39 PM zhanx: Tom_L, i decided since i have been working out since july to check my max weight i can lift on stuff, which i did last at 35. bad idea
09:40 PM Tom_L: takes a couple secs to move 6.5g
09:40 PM Tom_L: yeah none of us are as young as we used to be
09:57 PM rue_shop1: ok guys coductive foam as a pressure sensor is a really bad idea
09:57 PM rue_shop1: turns out it does really funkey things as it recovers
09:57 PM zhanx: limit the read
09:58 PM rue_shop1: ?
09:58 PM zhanx: you told me that when i tried it
09:58 PM zhanx: you read the max, and cut it off till the average
09:59 PM rue_shop1: I could dynamic range it on start, but
09:59 PM rue_shop1: the peice I have is changing resistance with no motion
09:59 PM rue_shop1: its internal pressure is changing as it recovers
10:00 PM rue_shop1: it goes down
10:00 PM rue_shop1: so you press it and the resistance goes up for a bit
10:00 PM rue_shop1: then back down again
10:01 PM rue_shop1: hmm
10:04 PM rue_shop1: did you get it working ok?
10:05 PM rue_shop1: I'm pondering another method for the project at hand here
10:11 PM rue_shop1: but its just a silly lie detector and I dont know if its worth much more work
10:47 PM rue_shop1: trying to hold it at a steady value, is insane
10:48 PM rue_shop1: I did a startup offset detection
10:48 PM rue_shop1: and its still crazy
10:48 PM rue_shop1: admitedly less so
10:51 PM rue_shop1: to keep the same value, you apply the force, and slowly back off
10:51 PM rue_shop1: till your at almost nothing
11:04 PM rue_shop1: the slower you let go, the lower the resistace stays