#garfield Logs

Jan 04 2021

#garfield Calendar

04:29 AM rue_bed: amazing tron like dream where I was a game character, who inadvertently tripped a bunch of stuff when I had the user come into the game from the real world before me, which was not the normal situation
04:36 AM rue_bed: it triggered the game to spawn a new player fleet, the rest of hte fleets in the game were completely run down
04:36 AM rue_bed: when the pirates in the game came after the new fleet, the cook was able to use the defence runners to cut down EVERYONE (and in the process only took one hit)
04:36 AM rue_bed: when the player came in, because I wasn't in the game yet, they took the form on a strange alien larva
04:36 AM rue_bed: when I entered, the player normalized into their regular human form
04:37 AM darkrose: no, that's just my mind going all conspiracy theorist for a moment
04:38 AM rue_bed: I dont know why the start game button was up a cooked chickens ass, and I dont know why he needed a bunch of cellery strapped to his face to enter the game....
04:38 AM rue_bed: the real world was completely run down, when we left the game, I wasn't immediatly sure we had
04:39 AM rue_bed: then I realized there weren't cows and goats in the game
04:39 AM rue_bed: wow, the new ship we inadvertetly spawned was COOL
04:40 AM rue_bed: I think it was supposed to be a boxing game
04:40 AM rue_bed: might explain the cellery, er no wait, sorry broccoli
04:46 AM rue_bed: ship had a hull like brown holographic decoration material
06:40 AM Tom_L: rue_mohr, how to build a deb: https://jethornton.github.io/stdeb/console.html
09:18 AM rue_mohr: ok!
09:18 AM rue_mohr: gee thats a lot of stuff
09:33 AM rue_mohr: I'm collecting sets to use as a serial data links for my large bot
09:33 AM polprog: i have a chinese usb to spdif board on the way
09:33 AM polprog: now if i had a usb-pd board that could negotiatie 12V i could make it work over one cable
09:34 AM polprog: since it runs off a molex floppy power input
09:34 AM polprog: but i want to keep it like this, it makes a nice ready to use board for digital audio experiments
09:34 AM polprog: I'll have to look out for more
09:39 AM rue_mohr: I suppose its all AC coupled
09:39 AM rue_mohr: so it couldn't be a complete function gen
09:40 AM rue_mohr: off to work, bye!
10:54 AM Tom_L: bye
10:54 AM Tom_L: there's a simpler way to make a simple deb
10:54 AM Tom_L: he added a menu entry too
02:51 PM polprog: it is, but its good for audio stuff
02:51 PM polprog: heh. clever
02:51 PM polprog: they share the spdif and toslink inputs
02:51 PM polprog: there is a circuit that disables the toslink input buffer when spdif input is detected over copper
02:52 PM polprog: and the spdif output goes both on the electrical and optical out
02:52 PM polprog: https://polprog.net/rozne1/ircjunk/various/sbaudigy2/re_IO.pdf
07:09 PM rue_mohr: I think they normally just tie them togethor
07:31 PM polprog: anyway the volume pot on the headphone out is pretty scratchy, so I ordered a replacement 10k dual linear(!)
07:32 PM polprog: and it goes on the shelf till then
07:32 PM polprog: i gotta work on other projects too
07:33 PM rue_mohr: just spin it back and forth fast 20 or 30 times
07:33 PM rue_mohr: it'll be fine
07:45 PM polprog: hmm
07:48 PM polprog: some say that project switching is good for productivity
07:48 PM polprog: i should be doing two projects in paralell
07:49 PM polprog: maaaaybe i will design a display board for my lora node
07:49 PM polprog: that would be neat
07:54 PM polprog: there is a neat 2x8 hd44780 display available that is just a bit smaller than my main node pcb
07:54 PM polprog: i think ill make it an addon PCB :P
07:55 PM polprog: with a small atmega/attiny for spi housekeeping and a button
07:55 PM polprog: or two
07:59 PM polprog: can i program the tiny13a in C or only in assembly?
08:03 PM Tom_L: yes
08:03 PM Tom_L: afik you should be able to do either
08:04 PM Tom_L: i know some time back they added C support for the tiny10 which is a 6 pin package
08:04 PM aandrew: polprog: I've got some tiny13a C code
08:04 PM aandrew: not a lot of it, mind. :-)
08:05 PM aandrew: at least not all at once
08:06 PM Tom_L: aparently the arduino environment supports it as well
08:06 PM Tom_L: https://www.instructables.com/Updated-Guide-on-How-to-Program-an-Attiny13-or-13a/
08:07 PM Tom_L: seems a bit ridiculous but... ok
08:12 PM polprog: hmm
08:12 PM rue_mohr: I do tiny13 in C
08:12 PM polprog: i guess ill stick to 4313
08:12 PM polprog: :P
08:12 PM polprog: i can always down scale
08:13 PM rue_mohr: if your going to scale it down, choose a chip of the same series your thinking of downscaling too
08:14 PM rue_mohr: aka, 648 -> 328 -> 168 -> 88
08:14 PM rue_mohr: I think
08:14 PM rue_mohr: 32 ->16 -> 8
08:14 PM rue_mohr: there is a 2 series, isn't there?
08:15 PM polprog: hmm
08:16 PM polprog: by downscaling i mean i can do a second rev or place a spare footprint for a tiny13
08:16 PM polprog: but im not sure if i have enough IO for the hd44780 with the tiny 13
08:16 PM polprog: i dont
08:16 PM polprog: its supposed to be power saving
08:17 PM polprog: so ill be disabling the display, and i guess an tiny13 + io expander takes more power than a 4313
08:17 PM polprog: ill definitely be stealing your encoder codez
08:17 PM polprog: >:)
08:19 PM polprog: i need 10 ios
08:19 PM polprog: ok, 9
08:19 PM polprog: RW will be ties
08:19 PM polprog: tied
08:57 PM polprog: hmm
08:58 PM polprog: https://i.imgur.com/GBIuzt2.png
08:58 PM polprog: im trying to find out how can i switch on the power to the LCD module
08:59 PM polprog: i tried this circuit on the breadboard and it works, it turns it off but the body diode lets some 100uA when the pmos is off
09:00 PM polprog: i dont want to low side switch it with a 2n7000 or anything because i have the IO which could become weird when i disconnect GND
09:00 PM polprog: any ideas?
09:01 PM aandrew: your body diode is backwards
09:01 PM polprog: no, thats how it is in a BS250
09:02 PM aandrew: that fet won't do much
09:02 PM polprog: unless im an idiot and forgot D and S is the other way in a PMOS?
09:02 PM rue_mohr: its P channel
09:02 PM polprog: its 4am
09:02 PM polprog: :/
09:02 PM aandrew: yep I know; but with it oriented that way the body diode will present about 4.5V to the display and backlight all the time
09:02 PM rue_mohr: and its upside down?
09:03 PM polprog: yeah, thats my concern. so is that pmos backwards?
09:03 PM aandrew: I would use a pmos just like that with an nmos to turn on the pmos
09:03 PM rue_mohr: wait, BS250 is P channel?
09:03 PM polprog: yeah
09:03 PM aandrew: that way you can drive the nmos with VCC < 5V if you need
09:03 PM rue_mohr: coool I got some of those
09:03 PM polprog: hmm, thats many parts
09:03 PM rue_mohr: polprog, AOP605
09:03 PM aandrew: oh that reminds me, I have to renew my altium license, I can't open anything
09:03 PM polprog: i was hoping for a single part solution
09:04 PM rue_mohr: altium?
09:04 PM rue_mohr: polprog, sure, I'm just pointing it out
09:04 PM polprog: rue_mohr: ugly EDA software
09:04 PM polprog: how can i switch that LCD power..
09:04 PM rue_mohr: the SOP605 could do both tho, use the N achannel fro the backlight
09:04 PM rue_mohr: AOP605
09:06 PM polprog: complementary mosfet pair
09:06 PM polprog: hmm
09:06 PM polprog: yeah i could use an n channel for the backlight
09:06 PM polprog: question is what do i use for the main power
09:06 PM aandrew: yeah I like the NTZD3155C; it's P+N in a tiny package
09:07 PM polprog: the idea is that it received an interrupt (like an encoder press or turn), then it wakes up from sleep and powers on the rest
09:07 PM polprog: its supposed to take as little power in sleep mode, thats why i wanna try having a switchable display power rail
09:09 PM aandrew: sure
09:09 PM aandrew: is the MCU powered from the same 5V supply?
09:10 PM polprog: pretty much. there is 5V going in and the VCC_DISP is the one i want to be able to cut off
09:10 PM aandrew: yeah so a PMOS should be fine if you flip the source and drain
09:10 PM rue_mohr: do you want a zero power soft-on ?
09:10 PM aandrew: that body diode is conducting
09:11 PM aandrew: both of them are
09:11 PM polprog: i know, that one is wrong
09:11 PM polprog: hmm, i think i know how to do that with a pmos
09:11 PM aandrew: they both are
09:12 PM aandrew: you've got it right, just flip the two pins
09:12 PM rue_mohr: hmm ~400mA, but small!
09:12 PM polprog: yes! thats my idea
09:12 PM rue_mohr: ali tho?
09:12 PM polprog: im just stupid
09:12 PM polprog: pmos are the other way around
09:12 PM rue_mohr: polprog, let me send you a circuit
09:12 PM polprog: the source of course sinks current :P
09:13 PM rue_mohr: I will do it D I G I T A L L Y over the I N T E R N E T...
09:13 PM rue_mohr: please stand by
09:13 PM aandrew: I can never remember which is source and which is drain, I just remember that the N channel ones have the arrow pointing iN to the gate
09:13 PM rue_mohr: fets, the electrons come from -
09:13 PM polprog: yess, it works
09:13 PM polprog: tm
09:14 PM rue_mohr: bipolar, the electrons come from +
09:14 PM aandrew: rue_mohr: no I mean on a diagram, which one (source or drain) has the two bars going to it and which has only one
09:14 PM aandrew: that's what I can never remember
09:14 PM aandrew: and yes, with FETs source means source of electrons
09:14 PM aandrew: gotta love hole/carrier flow :-)
09:15 PM polprog: yay, it works fine, zero current when its off
09:15 PM polprog: so iwas nearly right
09:15 PM aandrew: yep
09:15 PM aandrew: now you can sleep
09:15 PM rue_mohr: https://www.aliexpress.com/item/4001144201708.html
09:15 PM rue_mohr: dear god!
09:16 PM polprog: yep
09:16 PM rue_mohr: do you know how CHEAP AOP605 is!?
09:16 PM rue_mohr: https://www.aliexpress.com/item/33037558937.html
09:17 PM rue_mohr: I have to love the way ali throws in junk results when you have asked for something specific
09:18 PM polprog: https://i.imgur.com/A5HiblQ.png
09:18 PM polprog: i have to get some of that aop65
09:18 PM polprog: aop605
09:18 PM rue_mohr: hold on, I'm still getting my ass unstuck from the chair
09:18 PM polprog: im going to sleep
09:18 PM rue_mohr: I was too
09:18 PM polprog: about ass movement
09:18 PM polprog: ah
09:18 PM rue_mohr: ok, hold on
09:18 PM polprog: carry on then
09:19 PM rue_mohr: I cant find it, so I'll go re-photo it
09:20 PM rue_shop1: dig dig dig
09:20 PM aandrew: heh I can't put a DIP8 in
09:20 PM polprog: 2.1mm sockets are the good ones?
09:20 PM rue_shop1: I was just wondering if there is a soic ver
09:20 PM polprog: s/sockets/dc jacks
09:20 PM polprog: i want to get some of these aop605
09:21 PM rue_shop1: I made a 2.1mm "guage" so "yes"
09:21 PM rue_shop1: thought you said you have some?
09:21 PM rue_shop1: ^^ 6A!
09:22 PM aandrew: I mean there are lots of them. quick search on digikey gets me down to $0.11/ea for 100 for some brand I've not heard of before, 100mA
09:22 PM polprog: no, i dont
09:22 PM polprog: i think ill buy 5 lots
09:22 PM polprog: they are so cheap
09:22 PM aandrew: and yes ali search sucks. aliseeks.com is considerably better
09:22 PM polprog: same store, https://www.aliexpress.com/item/33038639735.html
09:23 PM polprog: 78L0x for nothing
09:26 PM rue_mohr: I have digitized the media...
09:26 PM rue_mohr: please stand by while I do a serial upload
09:27 PM polprog: we should make a direct brain to brain network
09:27 PM rue_mohr: I will transmitt to you, the universal resource locator, please accept
09:27 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1180408.jpg
09:27 PM rue_mohr: sure, yea, then NONE OF US WOULD GET ANY SLEEP EVER
09:28 PM polprog: acknowledge
09:28 PM polprog: oh, nice schematic
09:28 PM rue_mohr: oh damn, do I NAK that? ACK?
09:28 PM polprog: its ok
09:28 PM polprog: saved it
09:28 PM rue_mohr: you can use AOP605 for it
09:29 PM polprog: 74hc373 were the transparent or latched ones?
09:29 PM rue_mohr: and of course, it can have microcontroller tie-ins
09:29 PM rue_mohr: transparent
09:29 PM rue_mohr: 374 are proper latches
09:29 PM polprog: so not that useful
09:29 PM rue_mohr: 574 are proper pinouts
09:30 PM polprog: i dont see a difference in pinouts between 374 and 574
09:30 PM rue_mohr: look much closer...
09:30 PM polprog: oh
09:30 PM rue_mohr: 574 is in on one side, 374 is "wtf?"
09:31 PM polprog: https://www.aliexpress.com/item/32874824186.html
09:31 PM rue_mohr: 1.65 shipping is comming up a lot, must be the real cost
09:32 PM polprog: no, i have 6 items from the store and they subtract the shipping at checkout
09:34 PM polprog: 10pcs 74hc574, 10pcs lm741, 10pcs sot23 adapter, 50 pcs aop605
09:34 PM rue_mohr: oh, nice
09:34 PM polprog: i wonder if i should get something else
09:34 PM rue_mohr: hmm, find something other than LM741
09:34 PM rue_mohr: like 5534
09:35 PM rue_mohr: lm741 can barely do 1Mhz, 5534 is flipping cheap, and is like 10Mhz
09:35 PM rue_mohr: after I noticed how cheap they were I wondered if I'll ever use a 741 for anything
09:36 PM rue_mohr: no less the LM358's I got
09:36 PM polprog: damn,
09:36 PM polprog: https://www.aliexpress.com/item/32875454359.html
09:36 PM durp is now known as MrTime
09:39 PM polprog: i wonder if their ad712 are worth anything or are just rebranded opamps
09:39 PM polprog: Precision, Low Cost,High Speed BiFET Dual Op Amp
09:41 PM rue_mohr: yea cheap eh?
09:41 PM polprog: too cheap
09:41 PM polprog: not gonna risk 10pln :P
09:41 PM rue_mohr: erp
09:41 PM rue_mohr: uh
09:42 PM rue_mohr: I have two stores on my xx list
09:42 PM rue_mohr: S-Y-D-Z and Shenzhen Yida
09:42 PM polprog: uhh
09:42 PM polprog: thats shenzenyida
09:42 PM rue_mohr: they have to have done something bad for that
09:42 PM rue_mohr: I wonder why they are on my list...
09:42 PM rue_mohr: ok wait
09:43 PM rue_mohr: S-Y-D-Z is xx , and Shenzhen Yida is ~
09:43 PM rue_mohr: maybe they persistantly didn't use antistatic AND maybe gave me a bunch of bogus chips
09:43 PM rue_mohr: hmmm
09:43 PM rue_mohr: caution
09:44 PM polprog: i guess ill have to test them thruoughly when they come
09:44 PM polprog: ill pass on these ad712 for now
09:45 PM polprog: ill bookmark them
09:45 PM rue_mohr: yea
09:46 PM rue_mohr: I usually try to buy from 'Vanxy' but even they have been sending me lots of chips with no antistatic
09:46 PM rue_mohr: they are often a bit higher on the price, I'v not had problems
09:47 PM rue_mohr: oh my!
09:47 PM rue_mohr: AO4832
09:48 PM rue_mohr: 8A
09:48 PM rue_mohr: soic
09:48 PM polprog: wowowow
09:48 PM rue_mohr: ooh dual N channel
09:48 PM polprog: we are like kids in a candy shop
09:48 PM rue_mohr: https://www.aliexpress.com/item/32718774552.html
09:49 PM rue_mohr: yea I wanted to go over there, but its not playing out
09:49 PM rue_mohr: between civil unrest and pandemics
09:49 PM rue_mohr: https://www.aliexpress.com/item/32718774552.html
09:49 PM rue_mohr: I'll see what all these are
09:51 PM polprog: allright
09:51 PM polprog: see you soon, im going to sleep
09:52 PM polprog: :)
09:52 PM rue_mohr: AO4813 is dual P
09:52 PM rue_mohr: I'm going to sleep too, just slower than you
09:52 PM polprog: 04:41
09:52 PM polprog: sometimes i was up at this time
09:52 PM polprog: already up
09:52 PM polprog: nite!
09:53 PM rue_mohr: night
09:58 PM rue_mohr: AO4620
09:59 PM rue_mohr: 5A
10:00 PM rue_mohr: AO4616 comp 7A
10:02 PM rue_mohr: AO6406 comp 6A
10:04 PM rue_mohr: 4616 is cheap
10:42 PM Tom_L: new lathe app: https://media.discordapp.net/attachments/582328073878241303/795870497782104104/20210104_231923.jpg?width=1253&height=593
10:51 PM rue_mohr: heh
10:52 PM rue_mohr: "gimme my damn beans!"
10:54 PM Tom_L: finally got some work tomorrow
11:23 PM rue_mohr: w/ or /wo 6 feet of snow?