#garfield Logs

Jun 12 2021

#garfield Calendar

12:37 AM rue_mohr: ok
12:45 AM rue_mohr: - play with cpld
12:45 AM rue_mohr: - play with smps designs
12:45 AM rue_mohr: - play with composite video from stm32
12:45 AM rue_mohr: er, esp32
01:03 AM rue_shop2: the jed file! it must be the jed file!
01:09 AM rue_shop2: it worked!
01:09 AM rue_shop2: xc3sprog -c ft232h Main.jed:w
01:09 AM rue_shop2: took it sweet time
02:44 AM Tom_L: the 9v thing worked out
02:46 AM Tom_L: seems the replacement servo had been sitting a long time and once the brushes on the tach had run a while it started working
03:03 AM rue_shop2: nice
03:03 AM rue_shop2: so playing with the cpld
03:03 AM rue_shop2: I needed a slow clock for a test signal
03:04 AM rue_shop2: implemented one on the pin beside what I needed :)
03:04 AM rue_shop2: it doesn't seem to pick up on electrical noise
03:46 AM rue_shop2: cool, I made a 4 bit 74ls595
03:46 AM rue_shop2: ... that only runs on 3.3V
03:47 AM rue_shop2: ... with an expensive cpld
04:07 AM Tom_L: countdown will slow the clock
04:08 AM rue_shop2: eats up about 30% of the cpld
04:08 AM rue_shop2: just a clock divider
04:09 AM Tom_L: cpld examples from my board or the one you just got?
04:10 AM rue_shop2: the one I'm playing with
04:10 AM Tom_L: they should all fit it then
04:10 AM rue_shop2: oh its fine
04:10 AM Tom_L: 72 isn't many macrocells
04:10 AM rue_shop2: took me a while to work out the resulting file is the JED file :)
04:11 AM Tom_L: :)
04:11 AM rue_shop2: the 74ls595 I did takes up 12%
04:11 AM rue_shop2: its 4 bit, for now
04:11 AM Tom_L: it's different on the cpld
04:11 AM rue_shop2: it looks like I have a lot of 5972xl
04:11 AM rue_shop2: 9572xl
04:11 AM rue_shop2: their on a lot of things around here
04:12 AM Tom_L: and i nearly forgot that too
04:12 AM Tom_L: noisy weather night scared the dogs
04:13 AM rue_shop2: its been un-nice weather here
04:13 AM rue_shop2: LOTs of wind today
04:15 AM rue_shop2: well, I'm thinking it could be fun to use, basically an SPI interface to a io thing on a cpld
04:15 AM rue_shop2: hence doing up 74ls595 code
04:15 AM rue_shop2: heh, had an issue with the shift register
04:15 AM rue_shop2: didn't specify the size of a constant and it ate the whole value
04:16 AM rue_shop2: sr_work <= {sr_work[2:0], 1'b1 }; <-- 1'b1 not just "1"
04:17 AM rue_shop2: I'm having a time with time-domains in my head
04:17 AM rue_shop2: seeing as everything can happen at once :)
04:17 AM Tom_L: it's a different world
04:18 AM rue_shop2: breaking my ways of thinking in wonderfull ways
04:19 AM Tom_L: but sometimes you gotta get the 'at once' to do just that without ppd
04:20 AM Tom_L: propegation delay on any
04:21 AM Tom_L: only if you're doing something time critical
04:22 AM rue_shop2: hmm,
04:23 AM rue_shop2: sr_work <= {sr_work[2:0], iDATA };
04:23 AM rue_shop2: but its filling all the bits with iDATA
04:33 AM rue_shop2: oo I got it down a bit
05:01 AM rue_shop2: huh, 3am already eh?
05:06 AM rue_shop2: with the clock divider, a 16 bit 74ls595 takes up 84% of the cpld
05:19 AM rue_shop2: I guess a good way to look at it is that you have 72 bits of latches
08:35 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/project_box/projectbox_lid.jpg
08:35 AM Tom_L: thought you might need a lid for the box
08:36 AM Tom_L: may not cast that well, dunno
08:57 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/project_box/projectbox_tabs.jpg
08:58 AM Tom_L: oh
08:58 AM Tom_L: and a way to mount the box
11:02 AM rue_mohr: hah wonderfull
11:02 AM rue_mohr: maybe make the mounting tabs big, like the whole edge of the box!
11:02 AM rue_mohr: if you have it up
11:02 AM rue_mohr: p.s. good morning
11:12 AM Tom_L: i can
11:12 AM Tom_L: 3 more stubborn buttons to fix then...
11:13 AM Tom_L: at this point it's me against the kbd :)
11:13 AM Tom_L: but i'm figuring out shortcuts so it's not so bad
11:14 AM rue_mohr: yea I just ran them all into charged caps, so far its holding
11:16 AM Tom_L: ok now to try them
11:23 AM rue_mohr: <rue_mohr> - play with cpld
11:23 AM rue_mohr: <rue_mohr> - play with smps designs
11:23 AM rue_mohr: <rue_mohr> - play with composite video from esp32
11:23 AM rue_mohr: I did the cpld
11:23 AM rue_mohr: the video thing can wait a bit
11:23 AM rue_mohr: hmm, I need something outdoor while its nice
11:29 AM Tom_L: pulled a wire off the connector so i had to fix that :/
11:35 AM Tom_L: ok we'll see how that does for a while
11:35 AM * Tom_L fires up the cad station
11:50 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/project_box/projectbox_tabs.jpg
11:51 AM Tom_L: stl is there
11:53 AM * Tom_L thinks casting parts is outdoor something
11:58 AM rue_mohr: your righ!
11:58 AM rue_mohr: good point
11:58 AM rue_mohr: hey yea
11:58 AM Tom_L: take a look at that box
11:58 AM rue_mohr: nice
11:59 AM rue_mohr: the sun is quickly dissapearing, just as I have breakfast :)
11:59 AM Tom_L: i'll give you the volume...
11:59 AM rue_mohr: 11
11:59 AM rue_mohr: (11/10)
11:59 AM rue_mohr: do you think it would make a good box for a project?
12:00 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/project_box/projectbox_properties.jpg
12:00 PM rue_mohr: I wonder what the best way to pour the metal it would be
12:00 PM Tom_L: it's 3 x 5 so probably so
12:01 PM Tom_L: 6.8 cu in
12:01 PM Tom_L: volume
12:01 PM rue_mohr: hmm
12:01 PM Tom_L: seems like alot
12:01 PM rue_mohr: can you engrave that on the inside of the bottom of it :)
12:01 PM rue_mohr: or raised lettering
12:02 PM rue_mohr: would it need to be mirrored?
12:02 PM rue_mohr: hmmm
12:02 PM rue_mohr: you need to put tom_l in there too
12:03 PM rue_mohr: "Light in the box" ;)
12:03 PM rue_mohr: I suspect that it would be best on something like that to bring the metal in from 4 directions
12:04 PM rue_mohr: runner from each side maybe
12:04 PM Tom_L: i forgot where they hid the text icon
12:04 PM rue_mohr: I'd suspect text isn't something you have used much
12:05 PM Tom_L: that an my icons aren't where they're supposed to be
12:06 PM rue_mohr: mmm shrinkage, so I would need to remember to "bow" the back of it a bit, I think
12:06 PM rue_mohr: or make a resivour for it to pull more metal in from
12:07 PM rue_mohr: it seems the shrinkage starts while its still molten
01:12 PM Tom_L: ok rue_mohr
01:12 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/project_box/projectbox_text.jpg
01:16 PM rue_mohr: hah
01:16 PM rue_mohr: you didn't want to put soemthing about the light in the box?
01:16 PM rue_mohr: it can be quite shallow, small details show up really well
01:16 PM rue_mohr: I'm guessing from the image, but I'd say half the height would do ok
01:17 PM rue_mohr: hey wait, what happneed to the board stands?
01:17 PM rue_mohr: you just wanted those cubic inches :)
01:17 PM Tom_L: hang on
01:17 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/project_box/projectbox_text1.jpg
01:17 PM rue_mohr: :)
01:17 PM Tom_L: undesireable but i can do that too
01:18 PM rue_mohr: I suspect raised works better
01:18 PM Tom_L: yeah but they were too tall
01:18 PM Tom_L: lemme fix it
01:18 PM rue_mohr: interesting...
01:19 PM rue_mohr: oh right, not mirrored, the sand does the mirroring twice
01:20 PM rue_mohr: I need to make a run to the bank
01:20 PM rue_mohr: in a bit
01:21 PM rue_mohr: the other follow here doing the sprayers loves the look of the new triggers
01:22 PM rue_mohr: a batch of sprayers came in for repair
01:22 PM rue_mohr: there are 3 from the other guy who did them, the guy who died
01:23 PM rue_mohr: gonna look at the details again
01:23 PM rue_mohr: ok, back in about half an hour
01:23 PM rue_mohr: its sunning up again, I dont know what the weather is doing
01:29 PM Tom_L: i messed the risers up with the od pads
01:52 PM rue_mohr: feature conflixt?
01:56 PM Tom_L: i'm getting it but you gotta do things in the right order
01:56 PM Tom_L: somehow the xy coordinates got off
01:58 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/project_box/projectbox_text.jpg
02:01 PM Tom_L: gonna leave for a while, if that's not satisfactory i can edit it later
02:09 PM rue_mohr: heh
02:10 PM rue_mohr: I think this box is more yours than mine :)
02:10 PM rue_mohr: but the sun is out
02:11 PM rue_mohr: I'll try casting that pillow block!
02:11 PM Tom_L: good
02:11 PM Tom_L: i think i posted the stl for that box
02:12 PM rue_mohr: ok, I dont think theres anything we could do to make it better
02:12 PM Tom_L: i doubt that lettering will cast well, it might
02:12 PM rue_mohr: not within the casting level anyhow
02:12 PM rue_mohr: oh you might be surprised
02:13 PM Tom_L: it's .050" tall now
02:13 PM rue_mohr: I took a plastic food scoup and taped up the hollow handle so it wouldn't fill with sand
02:13 PM rue_mohr: in the final casting you can see the lines between the wraps of tape
02:13 PM Tom_L: :)
02:13 PM rue_mohr: I was supposed to pour it hot and fast, I screwed up and there was a cold spot, but it came out amazing
02:14 PM rue_mohr: did I show you?
02:14 PM Tom_L: i don't remember
02:15 PM Tom_L: that cu in was for the material, not the box size ya know
02:15 PM rue_mohr: tis nuthin! :)
02:15 PM Tom_L: well electrical boxes are marked for their CU IN
02:15 PM rue_mohr: my pot does 122 cubic inches
02:16 PM rue_mohr: yup
02:17 PM Tom_L: and that's not accurate now either since i added lettering
02:17 PM rue_mohr: I cant find the scoup
02:17 PM rue_mohr: http://ruemohr.org/~ircjunk/projects/aluminumcasting/p1130484.jpg
02:17 PM rue_mohr: http://ruemohr.org/~ircjunk/projects/aluminumcasting/p1130485.jpg
02:17 PM rue_mohr: that was a box I tried
02:18 PM rue_mohr: http://ruemohr.org/~ircjunk/projects/aluminumcasting/p1130473.jpg
02:18 PM rue_mohr: the parallel edges were hell
02:18 PM Tom_L: huh
02:19 PM Tom_L: thing about it, it can always be melted again
02:19 PM rue_mohr: :)
02:19 PM rue_mohr: I had a thought that had me kicking myself last week
02:20 PM rue_mohr: I should have lined that ladel with the 1200c silicone I got
02:20 PM rue_mohr: I want to try to use some for making a mold sometime
02:20 PM rue_mohr: I think I saw someone do that on youtube
02:20 PM rue_mohr: but it was for lead
02:21 PM rue_mohr: or something
02:21 PM rue_mohr: so, maybe I should print that box then
02:21 PM rue_mohr: your sure you dont want to call it a Light project case?
02:22 PM Tom_L: meh i'm not worried about it
02:22 PM rue_mohr: it flows better tho
02:23 PM Tom_L: i can take the lettering out
02:23 PM rue_mohr: no
02:23 PM rue_mohr: I just think it should have some credits!
02:24 PM Tom_L: it didn't change volume that much. 6.8 is still accurate
02:24 PM Tom_L: i do think 5 deg draft angle will be too much
02:25 PM Tom_L: oh, those tabs inside didn't get drafted either
02:25 PM rue_mohr: heh, maybe not, my sand is pretty course
02:25 PM rue_mohr: :) do you want to play a bit more?
02:25 PM rue_mohr: we had an order for 12 sprayers yesterday, so I do need to do some things while there is sun
02:26 PM Tom_L: problem is, i can't remember how to move the order in the list
02:26 PM rue_mohr: it wont drag?
02:26 PM rue_mohr: with ctrl or alt or shift key or something?
02:26 PM Tom_L: no it's not like that
02:26 PM rue_mohr: oh
02:27 PM rue_mohr: it helps is the design is set out at the start eh?
02:27 PM rue_mohr: :)
02:27 PM rue_mohr: I think its a great looking box
02:27 PM rue_mohr: no idea if it'll cast
02:27 PM Tom_L: makes it easier to fix if features are in the right order
02:29 PM rue_shop5: so for tubes
02:29 PM Tom_L: hang on, i'll post one with the pads drafted
02:29 PM rue_shop5: I need to make 2x 18" 2x 14" and maybe 5 3"
02:29 PM rue_shop5: ok
02:29 PM rue_shop5: the 3' are evil, but, yea
02:31 PM Tom_L: ok there should be only 2 stl in that folder now
02:31 PM Tom_L: the lid and the newest box
02:31 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/project_box/
02:38 PM rue_shop5: :) ok
02:39 PM Tom_L: what keeps the sand from moving when you pour the alum in?
02:39 PM rue_shop5: I wonder what the thickness shirnkage will be like on the pillow block...
02:39 PM Tom_L: it must harden up some
02:39 PM rue_shop5: when the heat hits it, it solidified
02:39 PM rue_shop5: s
02:39 PM Tom_L: oh
02:39 PM rue_shop5: yea
02:40 PM rue_shop5: also, the aluminum is more dense than the sand
02:40 PM rue_shop5: remember when I did that big disk?
02:40 PM Tom_L: yeah
02:40 PM rue_shop5: the whole top of the mould was getting hydraulic'd up by the alumunum
02:40 PM rue_shop5: I had to wire it down
02:41 PM Tom_L: :)
02:41 PM rue_shop5: on the youtube videos you always see them put weights on the top of the mold
02:41 PM rue_shop5: !! :)
02:45 PM Tom_L: my eyes need a rest
02:49 PM rue_mohr: yea
02:49 PM rue_mohr: sun is out
03:41 PM rue_shop5: the casting pot is ok
03:41 PM rue_shop5: so..
03:48 PM * Tom_L waits for parts
04:15 PM rue_shop5: crap the casting sand was too dry I have to redo
05:38 PM rue_mohr: I think it was a good pour
05:38 PM Tom_L: better be
05:41 PM Tom_L: so after you pour it, how long does it take to solidify?
05:44 PM rue_mohr: a while, I like to give it time to cool a bit
05:45 PM Tom_L: make more sprayer parts while you were at it?
05:45 PM rue_mohr: no
05:46 PM rue_mohr: I'm waiting for an adapter to finish printing so I can use the shop vac and make more parts
05:46 PM rue_mohr: someone took the shop vac hose
05:46 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190969.jpg
05:46 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190970.jpg
05:46 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190971.jpg
05:46 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190972.jpg
05:46 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190973.jpg
05:46 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190974.jpg
05:46 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190975.jpg
05:46 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190976.jpg
05:46 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190977.jpg
05:46 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190978.jpg
05:48 PM Tom_L: looks like you know what you're doing
05:48 PM Tom_L: you need some more muffins!
06:12 PM rue_shop5: yep
07:48 PM rue_shop5: I think the casting sand was still a bit try, but its out and it looks good
07:48 PM rue_shop5: !
07:52 PM Tom_L: nice
07:52 PM Tom_L: now you need 3 more
07:53 PM Tom_L: the straight hole didn't give you any trouble?
07:53 PM rue_mohr: the whole hole gave me trouble
07:53 PM rue_mohr: the second redo it tired to come out again
07:54 PM aandrew: I have yet to try casting
07:57 PM rue_mohr: Tom_L,
07:57 PM rue_mohr: Tom_L,
07:57 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190980.jpg
07:57 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190982.jpg
07:57 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190983.jpg
07:57 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190985.jpg
07:57 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190987.jpg
07:57 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190988.jpg
07:57 PM rue_mohr: aandrew, sweet eh?
08:01 PM Tom_L: not bad!
08:01 PM Tom_L: so was that the tapered center?
08:01 PM Tom_L: it looks like it
08:01 PM rue_mohr: that was the oops'd center
08:01 PM rue_mohr: with the partial taper
08:01 PM rue_mohr: not your current version, I'd already printed it
08:02 PM rue_mohr: its just gonna start raining
08:02 PM Tom_L: k
08:02 PM rue_mohr: I think I should make about 3 more casting boxes :/
08:02 PM Tom_L: looks pretty good i'd say
08:02 PM rue_mohr: but that one took about half my sand
08:02 PM Tom_L: can it be reused?
08:02 PM Tom_L: sift out the bad parts
08:02 PM rue_mohr: yea, its got a bunch of sand impregnation but, I'm not worried about it
08:03 PM rue_mohr: the 3d printed template?
08:03 PM Tom_L: the sand
08:03 PM rue_mohr: yea
08:03 PM Tom_L: i'm sure you can use the template again
08:03 PM rue_mohr: the more you reuse it the better it gets
08:03 PM rue_mohr: yup
08:03 PM rue_mohr: I'd like to try the cone one tho
08:04 PM Tom_L: you say you printed it already?
08:04 PM rue_mohr: not the new version
08:04 PM Tom_L: ok
08:04 PM rue_mohr: I should print the box
08:04 PM rue_mohr: .. its a nice box
08:04 PM rue_mohr: the tabs were a good idea
08:04 PM Tom_L: i wonder if it needs to be that beefy
08:05 PM rue_mohr: the box?
08:05 PM Tom_L: no, the bearing carrier
08:06 PM rue_mohr: yes
08:06 PM rue_mohr: poor aluminum
08:06 PM Tom_L: i wonder how you're gonna get the hole in the same spot on all of them
08:06 PM rue_mohr: the sprew and riser imply its a bit brittle
08:07 PM rue_mohr: not worried about it
08:07 PM rue_mohr: I dont have anything that accurate to mount them to
08:07 PM Tom_L: good when a plan comes together...
08:11 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1190990.jpg
08:11 PM rue_mohr: by the way, the size looks good. ;)
08:17 PM rue_mohr: awesome tom, this is awesome
08:19 PM Tom_L: oh good that does look better
08:19 PM aandrew: ff
08:21 PM Tom_L: using a 4 jaw to turn the hole?
08:21 PM rue_mohr: no, plate
08:21 PM Tom_L: mmm
08:22 PM rue_mohr: I never get to use the plate and this seems like the perfect opportunity
08:22 PM Tom_L: i was gonna say i'd set one jaw for the base and leave it so they all come out close
08:22 PM rue_mohr: see if I can end up with a horseshoe shaped hole in the ceiling
08:22 PM Tom_L: make something to locate the baseline
08:22 PM Tom_L: :)
08:22 PM rue_mohr: I'm not worried about 100% hitting the middle exact
08:22 PM rue_mohr: eye-close is close enough
08:23 PM Tom_L: i know but you may as well come close
08:23 PM Tom_L: what they would normally do would be to machine the base flat first
08:23 PM Tom_L: then you have a locating point
08:23 PM rue_mohr: yep, use it as a ref
08:24 PM Tom_L: and maybe an end
08:24 PM Tom_L: too bad your cnc won't handle that
08:24 PM rue_mohr: :) yea
08:25 PM rue_mohr: the one its for could
08:25 PM Tom_L: bolt the hole down, machine the sides and base, clamp the sides and do the hole
08:25 PM Tom_L: done
08:25 PM rue_mohr: I'm not being good about bootstrapping this
08:30 PM rue_mohr: huh, its not started raining yet
08:30 PM Tom_L: so what's stoppin ya?
08:59 PM rue_mohr: time, energy
09:03 PM Tom_L: yeah, we are only allotted so much
10:03 PM aandrew: rue_mohr: yep that is looking nice