#garfield Logs
Jan 15 2023
#garfield Calendar
01:53 AM rue_mohr: it worked yay!
02:03 AM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1270478.jpg
02:03 AM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1270480.jpg
02:03 AM rue_mohr: it doesn't have hex, its got - space and help
03:12 AM rue_mohr: 4149, gee whiz
03:12 AM rue_mohr: polprog, aandrew does this mean I'm famous?
06:53 AM polprog: haha good job
06:53 AM polprog: whats the deal with UV light/"blacklight" floodlights outside
06:53 AM polprog: im watching a video and the guy is in louisiana, and there are floodlights and street lamps that are blacklights
06:53 AM polprog: why
08:04 AM rue_mohr: ?
08:37 AM rue_mohr: ok I stayed up till 6:30
08:37 AM rue_mohr: am
08:37 AM rue_mohr: goodnight
12:30 PM aandrew: probably old hat to you guys, but https://blog.tommy.sh/posts/designing-potentiometer-knobs/
12:31 PM aandrew: rue_mohr> http://ruemohr.org/~ircjunk/tempimage/p1270480.jpg lol "help"
12:31 PM aandrew: rue_mohr> polprog, aandrew does this mean I'm famous? you're already famous
02:01 PM rue_mohr: :]
02:09 PM Tom_L: good morning
02:13 PM rue_mohr: heh, I was up till 6am
02:16 PM Tom_L: i saw
02:40 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1270496.jpg
02:40 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1270498.jpg
02:40 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1270499.jpg
02:40 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1270500.jpg
02:41 PM rue_mohr: cute little distraction building a hex 7 segment decoder
02:43 PM Tom_L: is that what kept you up all night?
02:43 PM rue_mohr: :] yea...
02:44 PM rue_mohr: wow 4226 it went insane overnight
04:41 PM polprog: https://tacobelllabs.net/@gorplop/109695260832342481
04:42 PM polprog: distraction #infnan
04:42 PM polprog: trash router is trash
04:42 PM polprog: anyway, this is going well
04:42 PM polprog: https://tacobelllabs.net/@gorplop/109693933734344190
04:43 PM polprog: i am totally out of 3v3 regulators
04:45 PM rue_mohr: arg, it wont send to browser
04:45 PM rue_mohr: hmmm 3.3
04:46 PM polprog: rue_mohr: ah my bad
04:47 PM rue_mohr: I wonder if an LM385, red led (non phosphor) and 2N3906 would work
04:47 PM polprog: https://twitter.com/polprogpl/status/1614645600091344897/photo/1
04:47 PM polprog: hm..
04:47 PM polprog: well i need it to be precisely 3.0 to 3.6, i dont wanna blow the module
04:47 PM rue_mohr: yea, the led would serve as a 1.4V ref
04:47 PM polprog: hmmm
04:48 PM rue_mohr: you use the PNP as a current boost and loop it via feedback network to bring it to 3.x
04:48 PM rue_mohr: technically an LM317 can go that low, but there is a min load thats annoying
04:48 PM polprog: ill keep that in mind, maybe if im bored tomorrow ill make up something
04:48 PM rue_mohr: a TL431 acts as a 2.5V ref, same diff as led
04:49 PM polprog: I think i have a 317, idk what current the CPU takes, the original board has a beefy LDO
04:49 PM polprog: i am sooo happy I found this magnet wire
04:49 PM rue_mohr: :]
04:49 PM polprog: i bought more today, it should come during the wee
04:49 PM polprog: week*
04:49 PM rue_mohr: does it burn thru easy?
04:49 PM polprog: moderately easy yes
04:49 PM polprog: I came up in my head with a tool based on a mechanical pencil
04:49 PM rue_mohr: gee, just tear apart a relay, or solinoid or something
04:50 PM rue_mohr: you get 50x the wire for free
04:50 PM polprog: hm yeah i have one broken relay
04:50 PM rue_mohr: :]
04:50 PM polprog: anyway, imagine a mechanical pencil with a metal tip but you load the wire in it
04:50 PM rue_mohr: yep
04:50 PM rue_mohr: I get what you mean
04:50 PM polprog: and there is some clutch so that you can feed it and route around while soldering it down
04:50 PM rue_mohr: just have to be carefull it doesn't scrap the enamel off
04:51 PM polprog: yeah
04:51 PM rue_mohr: a bit of drag from a snall peice of foam would be ok
04:51 PM rue_mohr: huh, two of those tweets are nose-nose going crazy
04:52 PM polprog: which ones
04:52 PM polprog: i see all ofthem but i didnt look at like count
04:52 PM rue_mohr: the breadboard problem one
04:53 PM rue_mohr: and the goofy reverse 7 segment to bcd chip one
04:53 PM rue_mohr: keeps comming up in notifications with more likes
04:53 PM rue_mohr: the chip one has 25.7k views
04:53 PM rue_mohr: that shouldn't be
04:54 PM rue_mohr: the problem one has 6.9k views, thats also too high
04:54 PM polprog: wow
04:54 PM polprog: must be today cause my shit pile $2 router got 60 likes today from some random people
04:55 PM rue_mohr: :]
04:55 PM rue_mohr: it looks like a nice little board
04:56 PM polprog: it is
04:56 PM polprog: runs vxworks
04:56 PM polprog: has JTAH
04:56 PM polprog: JTAG*
04:57 PM polprog: maaaybe in far future i can compile a different bootloader on it
04:57 PM polprog: and try to boot some kernel
04:57 PM polprog: im excited
04:57 PM rue_mohr: gonna put limnux o it?
04:57 PM rue_mohr: :]
04:57 PM polprog: if its powerful enough
04:57 PM polprog: i want to finish the sam9 project first
04:57 PM rue_mohr: mhm
04:57 PM rue_mohr: hows school?
04:58 PM polprog: good, im wrapping up the thesis
04:59 PM rue_mohr: that diode rom was kinda fun
04:59 PM polprog: i have two weeks left, its nearly done, all thats left is to write up a summary and fix up style errors
04:59 PM rue_mohr: I had 1 bit error in the design
04:59 PM rue_mohr: style errors?
05:00 PM rue_mohr: I'm not sure how to take the numebrs I collected from my servo tests and apply them
05:01 PM rue_mohr: the uncertianty of the results is a bit large
05:01 PM polprog: style errors like too long sentences, wrong tense, other nonsense
05:01 PM rue_mohr: ah
05:01 PM rue_mohr: whats it written in?
05:02 PM polprog: LaTeX
05:02 PM rue_mohr: and now I want to know if a rom, given enough signal latency, can oscillate
05:02 PM polprog: of course it can, even witout a latenct
05:02 PM rue_mohr: no I mean species language
05:02 PM polprog: ah
05:02 PM polprog: polish
05:02 PM rue_mohr: mmm, cant help then
05:02 PM polprog: I will translate it at some point in the future because I think it's cool and worth it
05:03 PM rue_mohr: get an ai to do it, then correct it
05:03 PM rue_mohr: saves typing
05:03 PM polprog: lol
05:04 PM rue_mohr: for the stickers, I'm going to put numbers in a hat, and use the reply list to index who wins
05:04 PM polprog: i lost my wirewrap ballpoint tool somewhere
05:04 PM rue_mohr: ballpoint?
05:04 PM polprog: that thingamybob i madefrom an old pen
05:04 PM rue_mohr: oh
05:04 PM rue_mohr: :/
05:05 PM polprog: its like a regular wire wrap tool but made from parts of a cheap pen
05:05 PM rue_mohr: nice
05:05 PM polprog: https://polprog.net/blog/diywirewrap/
05:06 PM rue_mohr: ooo I like it
05:08 PM rue_mohr: could a rom clock its own state machine?
05:08 PM rue_mohr: I think it would find an intermediate voltage state somehow
05:09 PM rue_mohr: the delay should be more than the memory latency
05:09 PM polprog: if you ran it through two '04s it shouldnt
05:09 PM polprog: try it
05:10 PM polprog: i mean '14s ofc
05:10 PM rue_mohr: but the idea is that you dont need any extra external chips
05:10 PM polprog: even without them it should have enough buffers inside
05:10 PM rue_mohr: which is why its competing againt a 3 component 555 oscillator
05:10 PM rue_mohr: but you would end up with bit race
05:10 PM polprog: i made a GAL ring oscillator the other day
05:10 PM rue_mohr: oh?
05:10 PM rue_mohr: 3 inverters?
05:10 PM polprog: pretty spot on based on the propagation delay
05:11 PM polprog: yeah
05:11 PM polprog: A = !B
05:11 PM polprog: B = !C
05:11 PM polprog: C = !A
05:11 PM polprog: thats it
05:11 PM rue_mohr: but, you dindn't post about it!?
05:11 PM rue_mohr: did you?
05:11 PM polprog: uhh it was so long ago
05:12 PM rue_mohr: oh
05:12 PM polprog: i put it i think in ircjunk gal folder
05:12 PM rue_mohr: I'm completely exhausted right now
05:12 PM polprog: https://polprog.net/rozne1/ircjunk/gal/ringosc.gal
05:12 PM rue_mohr: I want to do things, but cant get up
05:13 PM rue_mohr: I'm surprised it let you compile it
05:13 PM rue_mohr: would that work on a cpld?
05:13 PM polprog: why wouldnt it
05:13 PM rue_mohr: dunno, those compilers are funny
05:13 PM polprog: it would i think
05:13 PM polprog: galasm is pretty straightforward
05:14 PM polprog: let me check quickly if i can compile it on a CPLD
05:14 PM polprog: i got Vivado here
05:14 PM rue_mohr: vivado is which brand?
05:14 PM polprog: Xilinx for new stuff
05:14 PM rue_mohr: ah
05:14 PM polprog: so spartan 7 and older
05:15 PM rue_mohr: did you catch the post about that sound player in the med equip? they used an RTC chip just for the 32.768khz output
05:15 PM polprog: hmm, no
05:15 PM polprog: twitter is fucky
05:15 PM rue_mohr: yup
05:16 PM rue_mohr: 1 sec
05:16 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1270453.jpg
05:16 PM rue_mohr: the chips were sus
05:16 PM rue_mohr: GAL, ROM, counter,
05:16 PM rue_mohr: like an FSM
05:17 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1270454.jpg
05:17 PM polprog: ah these!
05:17 PM polprog: yes i saw them
05:17 PM rue_mohr: turns out the little things are RTC chips that, by default output 32khz
05:17 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1270455.jpg
05:18 PM rue_mohr: the roms are "otp" (sealed UV erasable) the gals are gals, and those are the rtcs
05:18 PM rue_mohr: the audio waves on the roms was 8khz
05:19 PM polprog: thats crazy
05:20 PM polprog: ehh vivado shows that there is a loop and wants me to make a wait statement
05:20 PM polprog: wait statement cannot be synthesized
05:20 PM rue_mohr: yea
05:20 PM rue_mohr: the cpld compilers are pickey
05:20 PM polprog: Though you could go around that by assinging two of the signals GPIOs
05:20 PM polprog: and putting an crystal between them or just a trace
05:20 PM rue_mohr: you might need to loop two external pins
05:20 PM polprog: analog FPGAs
05:20 PM polprog: i like that we thing similar ;)
05:21 PM rue_mohr: :]
05:22 PM polprog: think*!!
05:22 PM rue_mohr: hah, dead bugs a 0.5mm 144 BGA and when faced with a QFP is all like "ooooh, thats too much work to connect up...."
05:23 PM polprog: haha
05:23 PM rue_mohr: dont know if I can compile for these 26V12
05:23 PM polprog: do you have a programmer for them
05:23 PM polprog: https://polprog.net/rozne1/ircjunk/computers/twarm20_front.jpg
05:23 PM polprog: this is funky
05:24 PM polprog: this is an at91rm9
05:24 PM polprog: based SBC
05:24 PM polprog: this can run linux
05:24 PM rue_mohr: ooo 26V12 isn't in the tl866 list...
05:24 PM polprog: yeah tl866 can only do 16V8 and only Lattice...
05:24 PM rue_mohr: nice
05:25 PM rue_mohr: its got 16v8, 20v8, 22v10
05:25 PM polprog: i bought that board for $5 online along with that arm9 board
05:25 PM rue_mohr: polprog, wow that chip looks a LOT like what I see in printers...
05:25 PM polprog: I found the site of the guy who designed it, he hooked me up with bootloader and linux sources
05:25 PM polprog: this can run linux and is hand soldered
05:25 PM rue_mohr: ...
05:26 PM polprog: if it an at91RM or at91sam then it can run linux and is well supported
05:26 PM rue_mohr: keep that image around, I'd like to find and compare pinouts of proprietory marked ones
05:26 PM polprog: im working on building uboot for the sam9 board
05:26 PM polprog: and getting the hang of it, how it boots etc
05:26 PM polprog: that image will be there as long as i pay for the server, i generally dont move files in the http dir
05:27 PM rue_mohr: I'm suddenly noticing motorola coldfire EVERYWHERE
05:27 PM rue_mohr: seems I have tonnes of them
05:27 PM polprog: yeah me too
05:28 PM polprog: i need to set up that codewarrior finally
05:28 PM polprog: and the BDM setup
05:28 PM polprog: and the kit that i got from aandrew
05:28 PM rue_mohr: I dont think I posted a pic yet, but I got about 5 "patient monitors" that use PPC
05:28 PM rue_mohr: (embedded)
05:29 PM rue_mohr: but I dont have a way to install new firmware
05:29 PM polprog: https://polprog.net/rozne1/ircjunk/computers/eddy_front.jpg
05:29 PM rue_mohr: arm?
05:29 PM rue_mohr: yea
05:29 PM polprog: yeah this is the sam9 board that im posting about
05:30 PM rue_mohr: I'm curious about the race between risc 5 and others
05:30 PM polprog: yeah, same
05:31 PM rue_mohr: I dont really feel like it'll just be a fad
05:31 PM polprog: i wanna try it
05:31 PM rue_mohr: it might take over the arm markets
05:31 PM rue_mohr: arm would have taken a leap if apple had done that crazy core-count thing
05:32 PM rue_mohr: apple must be one of the most disloyal hardware consumers there is
05:33 PM polprog: there is an arm based thin client for $10 online
05:34 PM polprog: it runs award bios
05:34 PM rue_mohr: huh
05:34 PM polprog: which is uhh, weird.. but that model is arm
05:34 PM polprog: i kinda want it but i have so much arm crap
05:34 PM polprog: er
05:34 PM rue_mohr: yup
05:34 PM polprog: so much stuff that im YET to do something with
05:34 PM rue_mohr: my box of boards with "special" chips is overflowing
05:35 PM rue_mohr: lots of it is stuff with processors like arm
05:35 PM rue_mohr: maybe I can burn some of it up making servo loop controllers
05:35 PM rue_mohr: ... the thing I'm supposed to be working on
05:35 PM rue_mohr: twitter really gobbles up the electronics projects tho
05:35 PM rue_mohr: wow
05:36 PM polprog: heh
05:37 PM rue_mohr: I was getting amused with how many people replied to my servo stuff with "PID!"
05:38 PM rue_mohr: it was cute to get those displays working
05:38 PM polprog: these displays use these exotic maxim chips
05:38 PM rue_mohr: yep
05:38 PM rue_mohr: nice to have the mux done for you
05:39 PM rue_mohr: those displays I have are horridly chip-inneficient, as they dont multiplex
05:39 PM polprog: when i was starting id find them and be happy that someome made a chip just for that
05:39 PM rue_mohr: 40 pin chip for 4 displays, no dp control, numeric only
05:39 PM polprog: and then find out that is not available anywhere because maxim
05:39 PM polprog: heh
05:39 PM rue_mohr: heh
05:39 PM rue_mohr: I got a bunch
05:39 PM rue_mohr: and..
05:39 PM rue_mohr: 5934?
05:40 PM rue_mohr: no, uh
05:40 PM rue_mohr: 5940
05:40 PM rue_mohr: TLC5940
05:40 PM rue_mohr: or is that the other one
05:41 PM rue_mohr: no, the 5940 is the 16 channel pwm chip
05:41 PM polprog: i have these
05:41 PM rue_mohr: max7219
05:41 PM polprog: yeah
05:41 PM rue_mohr: thats the one
05:42 PM rue_mohr: did you find any?
05:42 PM polprog: find what?
05:42 PM rue_mohr: max7219
05:42 PM polprog: no, i meant that i have these TLC somethings
05:42 PM rue_mohr: ah
05:43 PM rue_mohr: I got them for motor control
05:43 PM rue_mohr: 16 channels!!!
05:43 PM rue_mohr: the ones I have run hot....
05:43 PM polprog: i tried to etch a PCB for them back then
05:43 PM polprog: but it failed miserably
05:43 PM rue_mohr: heh
05:44 PM polprog: i didnt get the toner transfer quite right back then
05:44 PM rue_mohr: tripped over the start line :]
05:44 PM rue_mohr: did you want them for leds or other?
05:44 PM polprog: for leds
05:44 PM polprog: i had a nice 16ch board with violet leds in mind
05:44 PM rue_mohr: I suppose they could make fine 3 phase motor pwm generators too
05:45 PM rue_mohr: 4240.... 8/
05:45 PM polprog: yeah, i like the idea for motor control
05:45 PM polprog: i got two nice steppers today too
05:45 PM polprog: very fine step
05:45 PM polprog: 4 wires
05:46 PM rue_mohr: 1.8? 0.9?
05:46 PM rue_mohr: 0.45!?
05:46 PM rue_mohr: I have some 0.9 from hard drives
05:46 PM polprog: whats that
05:46 PM polprog: diameter? step?
05:46 PM rue_mohr: actually, I have a few 5 phase from plotters too
05:46 PM rue_mohr: step angle
05:47 PM rue_mohr: 4242...
05:47 PM rue_mohr: woof
05:47 PM rue_mohr: this is insane...
05:48 PM rue_mohr: servos, I'm supposed to focus on servos
05:49 PM polprog: i gotta sleep now
05:49 PM polprog: i didnt sleep well recently
05:49 PM polprog: i stayed up to 4 am last week
05:49 PM polprog: that sucks
05:51 PM rue_mohr: try 6:30am
05:51 PM rue_mohr: :/
05:51 PM polprog: ughh
05:51 PM polprog: allright, i gotta run
05:52 PM polprog: see you around, have fun with the servos
05:52 PM polprog: :)
05:52 PM rue_mohr: thanks
05:53 PM rue_mohr: I think I just figured out worm gear ratios
05:53 PM rue_mohr: yay
06:12 PM rue_mohr: ok I made an rom image for the oscillator
08:47 PM Tom_L: rue_mohr, everything you ever wanted to know about gears: http://tom-itx.no-ip.biz:81/~webpage/cnc/Gear_info/gear-cutting-practice-by-colvin-amp-stanley.pdf
08:48 PM Tom_L: (80M)
08:48 PM Tom_L: 1937 edition
08:51 PM Tom_L: worm gears start on PDF P215
08:54 PM Tom_L: they actually had to think back then
09:01 PM rue_mohr: I think I have that saved already
09:01 PM rue_mohr: but worm gears, 1 start, 1 turn, 1 tooth
09:17 PM Tom_L: what you doin with worm gears?
09:18 PM rue_mohr: well
09:18 PM rue_mohr: looks like the dc motor step servos would work better if they are non-backdrivable
09:21 PM rue_mohr: I need high ratio too, so it all kinda fits
09:33 PM Tom_L: spent most of the day rewriting my mill config files to make them more readable and add spindle orient
09:34 PM Tom_L: 2 more sets to go thru
09:38 PM rue_mohr: so
09:38 PM rue_mohr: spindle orient
09:38 PM rue_mohr: there is a NC file command
09:39 PM rue_mohr: thats interpreted or passed by the spooler software, to the fpga card that does the motor io
09:39 PM rue_mohr: which parts need to be adjusted to make it work?
09:45 PM Tom_L: well there may be a bug
09:45 PM Tom_L: spindle-index-enable is a bidirectional pin
09:46 PM rue_mohr: why?
09:46 PM Tom_L: it needs to be set on program start and spindle rotated to pick up the encoder index pulse the first time
09:46 PM Tom_L: it is mostly used for synchronized motion
09:46 PM Tom_L: but also for spindle orient for things like a tool changer
09:47 PM Tom_L: i'm not able to set the pin in the file or in a subroutine
09:47 PM Tom_L: i can manually set it from the cmd line
09:47 PM Tom_L: but that's no good
09:48 PM rue_mohr: ok, so its not an fpga bug then
09:48 PM Tom_L: i kept getting errors until i found out the signal was spindle-index-enable instead of spindle.0.index-enable which is what it should be
09:49 PM Tom_L: lcnc can handle multiple spindles so they each need a separate index pulse
09:49 PM Tom_L: but when i try to set it in code i get errors
09:50 PM rue_mohr: oh
09:50 PM rue_mohr: maybe only half the code was changed to the new name
09:50 PM Tom_L: something is fishy
09:51 PM Tom_L: i don't really need it but i was testing it
09:51 PM Tom_L: if i get it to work, i'll have the spindle stop so the hole for the sherline thing is facing me to change collets
09:51 PM rue_mohr: :]
09:52 PM rue_mohr: thats not part of the synchronized movement too
09:52 PM Tom_L: kinda cool ehh?
09:52 PM Tom_L: parts of it intermix
09:52 PM Tom_L: they both trigger off the spindle index pulse
09:53 PM Tom_L: i'm just glad the config works after nearly 80% edits
09:54 PM rue_mohr: :]
09:55 PM Tom_L: i copied them to a test directory and still need to do the rotary config
09:55 PM Tom_L: once i get those working, i'll go back and edit the originals
09:56 PM rue_mohr: I'm going to draw a mean line down my servo data, build a table and see how it performs.
10:08 PM rue_mohr: yay for my abitrary point interpolator!