#garfield Logs

Nov 03 2024

#garfield Calendar

11:43 AM polprog: rue_mohr: well did you order it already?
11:58 AM polprog: i can correct it on my fork.. didnt send it yet
11:58 AM polprog: re: custom CPLD module: thats nice a part like that still works in quartus
03:17 PM polprog: https://ibb.co/VWnfqNb
03:17 PM polprog: https://ibb.co/Gptg5cy
03:17 PM polprog: mew lights on the old desk
03:17 PM polprog: new*
03:34 PM rue_mohr: yea, I ordered 15 from jlcpcb and 15 from aisler
03:34 PM rue_mohr: :s it'll be a lot of boards
03:35 PM rue_mohr: I was just thniking *again* that I need to re-set up my knock switch for the light at my desk
03:37 PM rue_mohr: polprog, you know about the two CPLD boards I made, right?
03:37 PM rue_mohr: xilinx
05:01 PM polprog: yeah i recall them
05:01 PM polprog: rue_mohr: i think ill order a few of the 8051 boards
05:02 PM rue_mohr: if you want you can wait and I'll confirm the IO extender chips work
05:03 PM polprog: I will wait, no point in making a faulty revision :D
05:03 PM rue_mohr: its the only thing I'm not 200% sure on
05:03 PM polprog: i can take a second look tomorrow if you want, check up the 8051 datasheet
05:03 PM rue_mohr: I was checking timing diagrams and it looks like only fetches from the external memory activate the /rd, /wr lines
05:04 PM rue_mohr: but there are a few veriaties of the 8051, so ...
05:04 PM polprog: i remember there was some fuss with the 8051duino
05:04 PM rue_mohr: oh?
05:04 PM polprog: something i did wrong and it was not able to use the entire memory space efficiently
05:04 PM rue_mohr: I dont recall that project
05:04 PM polprog: it was long time ago
05:05 PM rue_mohr: it would be nice if there was a proper IO extender that did full input/output modes properly with pullup and all that stuff
05:05 PM polprog: gimme a sec, i gotta upload the schematic
05:06 PM polprog: https://polprog.net/rozne1/ircjunk/8051/8051duino.pdf
05:06 PM polprog: i dont remember what it was but there was something with two memory spaces overlapping
05:07 PM rue_mohr: ok, so
05:07 PM polprog: this has got an external ROM and RAM
05:07 PM rue_mohr: no real IO available
05:07 PM rue_mohr: yea, fully dressed
05:07 PM polprog: its got a few address lines broken out
05:07 PM polprog: EA is also jumpered
05:07 PM rue_mohr: funny, it might have well as been 512k rom and 512k ram
05:08 PM rue_mohr: but yea, it presents the bus, so you have to add chips to do things
05:08 PM rue_mohr: it would have been better off maybe with an array of chips for IO
05:08 PM rue_mohr: wait wait
05:09 PM rue_mohr: it doesn't present P1 at all!?!?!
05:09 PM rue_mohr: huh
05:09 PM rue_mohr: so, you cant use it w/ shields...
05:10 PM polprog: yea p1 is for the led
05:13 PM rue_mohr: I thought about an arduino form factor, but, naaa
05:13 PM rue_mohr: I put 90 degree headers on things and use dupont cables to devices/modules
05:16 PM rue_mohr: so, I'm making a 40 pin narrow soic pacakge
05:16 PM rue_mohr: for a generic put-a-few-on adapter
05:16 PM Tom_L: hey
05:16 PM polprog: hi Tom_L
05:16 PM rue_mohr: hey!
05:17 PM rue_mohr: its a party!
05:17 PM Tom_L: busy hacking i see
05:17 PM * rue_mohr breaks out the stale popcorn
05:17 PM polprog: rue_mohr: yeah, the arduino thing was more of a joke. I barely squeezed it in the footprint
05:17 PM polprog: i like your approach more
05:17 PM polprog: funny enough, i have a CPU card from a PBX (C166 CPU) that uses exactly that style of a bus connector, just a 2 row right angle 2.54mm header
05:18 PM rue_mohr: it could be done, I think, use a bottom smt for the 373, and a load of chips on the back for IO, like pcf- i2c IO chips
05:18 PM rue_mohr: but yea, this is more for me
05:19 PM rue_mohr: this is better for me :]
05:19 PM polprog: ill probably stick a rom with the 8051 basic on that card for testing purposes
05:19 PM rue_mohr: cant:/
05:19 PM rue_mohr: no ram
05:19 PM rue_mohr: rom basic needs 64k ram
05:19 PM polprog: what abt the builtin one?
05:19 PM polprog: oh
05:19 PM polprog: hm
05:19 PM rue_mohr: yea
05:19 PM polprog: well, SDCC it is
05:20 PM rue_mohr: yea, I figured for the stupid things I want to do with this, I'd be ok with the internal ram
05:20 PM rue_mohr: maybe some of our 8051 do have enough ram for basic, but, I'm not relying on it
05:20 PM rue_mohr: the basic thing would be nice
05:20 PM rue_mohr: I DID, put in some hackabiility
05:21 PM rue_mohr: you CAN piggyback the ROM with a RAM chip and grab the /rd, /wr lines
05:22 PM rue_mohr: you would lose the extended IO but have the 12 off-chip ports still and BASIC
05:22 PM rue_mohr: I tried to weave a bunch of hackability into it
05:23 PM polprog: i see. its pretty neat of a board
05:23 PM rue_mohr: and its got an RGB LED!
05:23 PM polprog: i might draft up a simple baseboard for it, basically a hd77680 display and rs232
05:23 PM polprog: er
05:23 PM polprog: HD44780 display
05:24 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/Untitled.png
05:24 PM rue_mohr: longchip
05:24 PM rue_mohr: :]
05:24 PM polprog: haha are these the huge bus transceivers?
05:24 PM polprog: i think i have a few on the SCSI cars
05:24 PM polprog: cards*
05:25 PM rue_mohr: I broke out the /int0, /int1, t0, and t1 lines
05:25 PM rue_mohr: no, these are soic40 narrow
05:25 PM rue_mohr: I'm making a 40 pin adapter I can put multiple soic chips on
05:25 PM polprog: so what is that for
05:25 PM polprog: aaaa
05:25 PM polprog: neat neat
05:25 PM polprog: kinda like these universal SMD protoboards
05:25 PM rue_mohr: it would fit like 4 soic8
05:26 PM rue_mohr: I also just zipped together and ordered a PLCC20 adatper
05:26 PM rue_mohr: cause aliexpress wtf where is it?
05:27 PM rue_mohr: I have some atmel PLCC20 PLAs
05:28 PM polprog: https://www.sklep.cyfronika.com.pl/pl/c/uniwersalne-SMD/382
05:28 PM polprog: some cool protoboards for SMD from Cyfronika, for inspiration
05:29 PM polprog: hmm, updated debian and firefox now freezes quite often
05:29 PM polprog: i dont believe a 3rd gen i3 is too old for modern web [tm]
05:29 PM rue_mohr: heh, I need breadboardable units :]
05:30 PM polprog: (i am now chatting from the microraver, the old Dell that used to be the main workshop PC ages ago)
05:30 PM rue_mohr: use an online browser
05:30 PM polprog: upgraded debian today
05:30 PM rue_mohr: they will translate modern wtf into real html for you to view
05:30 PM polprog: nah i mean
05:30 PM rue_mohr: those are some funkey protoboards!!
05:30 PM polprog: my current laptop is not much newer and it can do fine...
05:32 PM polprog: fucking goole it is
05:32 PM polprog: google*
05:32 PM polprog: opened google and it freezes
05:33 PM rue_mohr: yea, I have to stop trying to use google
05:33 PM rue_mohr: >trying to use<
05:34 PM polprog: the internet is getting worse every month
05:34 PM Tom_L: polprog, what debian? 12?
05:34 PM polprog: Tom_L: yeah, 12, updated just a few h ago
05:35 PM Tom_L: been using 12 for a while
05:35 PM rue_mohr: "but I dont NEED 2048 bit encryption to see a cat be silly!!!"
05:35 PM Tom_L: you never know, kats can be kinda sneaky
05:35 PM polprog: the GPG toolkit calls 512 bit encryption "Export"
05:36 PM polprog: then i think 1024 is medium
05:36 PM polprog: and 2048 is called good or something like that
05:36 PM polprog: anything more is "future"
05:39 PM rue_mohr: wonder how long it'll take me to finish this adapter....
05:40 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/Untitled2.png
05:40 PM polprog: 22:09 < polprog> https://ibb.co/Gptg5cy
05:40 PM polprog: ill have to draft up a brakcet to screw this thing to the shelf
05:40 PM rue_mohr: :]
05:41 PM polprog: its not chucked in and pushed with the lab kit
05:41 PM polprog: s/not/now
05:41 PM polprog: been a while since i type don this keyboard
05:41 PM rue_mohr: oh, the not-twitter social media sites are being really strange
05:41 PM polprog: which ones? fediverse?
05:41 PM rue_mohr: they are both taking on a lot of followers, but bluesky seems to be a zombie
05:42 PM polprog: that bluesky is strange
05:42 PM polprog: they are precisely a twitter clone
05:42 PM rue_mohr: mastadon has a bunch of activity, kinda
05:42 PM polprog: the users are there because they want twitter without Elon twitter
05:42 PM polprog: besides a lot of creeps moved there, maybe for the better
05:42 PM rue_mohr: yea, but their zombies
05:42 PM polprog: fediverse has some alternative things to offer
05:42 PM rue_mohr: no interaction at all
05:43 PM polprog: yeah thats all bubbles there on bsky
05:43 PM polprog: closed cliques
05:43 PM rue_mohr: mastadon is alive, but kinda quiet
05:43 PM polprog: mastodon has no algorhitm to boost the posts
05:43 PM polprog: its like in the middle between twitter and town bulletin board
05:43 PM Tom_L: tried any groups on discord?
05:43 PM polprog: i like it there
05:43 PM polprog: i have an electronics server on discord
05:44 PM polprog: as in, i made it
05:44 PM polprog: s/group/server/
05:44 PM rue_mohr: I have not mastered discord, but the interaction mechanics are a bit confusing
05:44 PM polprog: calling it a server is stupid
05:44 PM polprog: discord is pretty good of a communicator, if you ignore all the gamification and paid features
05:44 PM Tom_L: they bridged a couple of our irc channels to it
05:44 PM polprog: the mobile app is shit
05:44 PM polprog: at times
05:44 PM polprog: but its usable shit
05:45 PM Tom_L: i dunno about matrix
05:45 PM polprog: i tried it
05:45 PM polprog: its a failed experiment
05:46 PM polprog: weird idea, wrong execution from the start
05:47 PM rue_mohr: I kinda just wanted a blog site anyone could see the content on
05:47 PM rue_mohr: twitter keeps locking out non-members
05:47 PM Tom_L: the discord bridge is kinda flakey but it works
05:47 PM polprog: i think a modern static site generator like Hugo could work
05:48 PM polprog: i try to keep my site free of any nonsense scripts
05:48 PM polprog: but recently im using markdown to write and render to html with a Makefile
05:48 PM polprog: other people i know use Hugo to generate the static HTML files and serve it with a light thing
05:48 PM polprog: light httpd
05:48 PM rue_mohr: ugh, I need a html-to-markdown converter, of all the stupidity
05:49 PM polprog: thats hard, markdown only supports a subset of html
05:49 PM rue_mohr: yup
05:49 PM rue_mohr: I have to google every time I want to insert an iamge
05:50 PM polprog: try writing in markdown
05:50 PM polprog: the syntax is easy
05:50 PM rue_mohr: no, thats what I mean
05:50 PM polprog: the converters are in the repo
05:50 PM rue_mohr: in markdown, I hve to google how to insert an image everyt ime
05:50 PM polprog: i had to do that too
05:50 PM polprog: but i learnt
05:50 PM polprog: thats arguably the hardest part of the syntax
05:51 PM rue_mohr: I want wysiwyg back
05:52 PM rue_mohr: "I'm 1000 years old, and this is bull****!" :]
05:52 PM rue_mohr: how long have I been 1000 now?
05:53 PM polprog: ahh
05:53 PM polprog: ok, the freezes make sense
05:53 PM rue_mohr: about 20 years?
05:53 PM polprog: pulse audio does not see any audio devices
05:53 PM rue_mohr: freezes?
05:53 PM rue_mohr: haha
05:53 PM polprog: firefox prints some errors related to opening media
05:54 PM polprog: i think its freezing because it cannot play sounds
05:54 PM rue_mohr: so google search is using your audio device?
05:54 PM polprog: apparently plays some media?
05:55 PM rue_mohr: or records some?
05:55 PM polprog: >Quite a few people seem to have lost sound with kernel 6.0, both here and other places
05:55 PM polprog: that could also be the discord tab trying to play the "ping" sound
05:57 PM rue_mohr: should I put 40 capacitor spaces on the back?
05:57 PM polprog: maybe not 40
05:58 PM polprog: id put one eery 3-4 pins
05:58 PM polprog: every*
05:58 PM rue_mohr: well from every pin to a single node
05:58 PM rue_mohr: use a combo of 0R resistors and caps for whatever
05:58 PM rue_mohr: yea, I guess I'd better
06:00 PM polprog: hm. They changed the audio system in 12 but the update process is broken apparently
06:00 PM polprog: never change linux
06:00 PM rue_mohr: well, alsa isn't that hard to fix, once its fixed pulse should figure everything out
06:01 PM rue_mohr: lspci -> insmod -> alsaconfig
06:05 PM rue_mohr: I wonder if I should have tried asking gpt to do this for me, its stupid repeditive
06:05 PM rue_mohr: I'd probably still be trying to get it to make it properly
06:06 PM rue_mohr: and gpt wont scroll for me anymore :]
06:07 PM rue_mohr: if It gives me a reply longer than 1 screen I have to zoom way out, select the text and paste it in an editor
06:07 PM rue_mohr: :]
06:07 PM polprog: the thing is the new sound engine got installed
06:07 PM polprog: and its messing things up
06:07 PM rue_mohr: remove it
06:07 PM polprog: i am ;)
06:10 PM rue_mohr: *old man yells at the cloud* (modern take)
06:11 PM polprog: many such cases
06:13 PM rue_mohr: "Turn my lights on your ***** ***** ***** cloud!"
06:13 PM polprog: yeah, if your cpu for turning the ligts on when you clap is in the same room thats called "Edge processing" niw
06:13 PM polprog: now*
06:14 PM rue_mohr: hey
06:14 PM rue_mohr: I have an old book that talks about voice recg
06:14 PM polprog: oooh
06:14 PM polprog: how old?
06:14 PM rue_mohr: they didn't touch FFT's but they use a series of filters and talk about what to do with the data
06:15 PM rue_mohr: 1985
06:15 PM rue_mohr: so really low cpu usage
06:17 PM polprog: hm, veryinteresting
06:18 PM rue_mohr: one of the exciting bits is the one where they use a 1khz high/low filter and some counters
06:18 PM rue_mohr: a high/low filter like that is just a 4 sample FFT, which is just a 2 entry sin table
06:18 PM rue_mohr: so you can start to imagine how much this simplifies
06:20 PM polprog: oh nice, sounds works now
06:21 PM polprog: i had to install the helper packet "wireplumber" and "systemctl --user enable --now wireplumber.service"
06:21 PM polprog: WHY THO
06:21 PM polprog: it took me an hour to fix
06:21 PM polprog: its 01:13
06:21 PM polprog: i gotta get up at 6...
06:23 PM polprog: hah, theres so much old music here that i listened to a few years ago :)
06:24 PM polprog: there are steppenwolf mp3's that i carried over to my phone and new computer
06:24 PM polprog: i got them on here over DCC
06:24 PM polprog: allright
06:24 PM polprog: i gotta work tomorrow
06:24 PM Tom_L: bye
06:43 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/longSOIC.png
06:43 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/longSOICB.png
06:43 PM rue_mohr: 0805 on the bottom for resistors/caps
06:44 PM rue_mohr: the idea is you can put a 0R on ground and then put caps on the pins for vcc's
06:44 PM rue_mohr: I didn't flood it so it can be divided
09:45 PM rue_mohr: well, I have a whole bunch of sprayer repairs to do and I didn't get to any of it
09:46 PM rue_mohr: I should go catalog them atleast...
09:46 PM rue_mohr: ugh
09:46 PM rue_mohr: why did everyone helping me with the sprayers die or go insane :/
09:46 PM rue_mohr: Tom_L, your still alive, right?
10:15 PM rue_mohr: wow, 14 sprayers for repair, amongst them: S/N 2 !!!!