#garfield Logs

Sep 16 2020

#garfield Calendar

12:03 AM rue_mohr: arg, printer is not behaving
12:09 AM rue_mohr: I'd made motor couplers from soft pipe, and they have an affinity to slip off the motor shaft
12:09 AM rue_mohr: I'v been gradually adding big mean bolt clamps
12:09 AM rue_mohr: which have been working, but they dont all have them yet
12:21 AM polprog: rue_mohr: yes, you sorta did
12:36 AM rue_mohr: threading error, did which?
02:57 AM polprog: rue_mohr: you got me addicted to oscillators
02:58 AM polprog: so today im back to hacking LCDs
02:58 AM polprog: i just need to have some breakfast
05:19 AM polprog: yay, the LCD works
05:23 AM polprog: now lets test the xerox one
06:21 AM polprog: https://polprog.net/rozne1/ircjunk/xerox_lcd/otherlcd.jpg
06:21 AM polprog: https://polprog.net/rozne1/ircjunk/xerox_lcd/otherlcd_proto.jpg
06:21 AM polprog: the xerox one needs 4 biasing voltages
06:21 AM polprog: its got 4 level grayscale
06:21 AM polprog: like a goddamn photomultiplier
06:22 AM polprog: 20V
06:22 AM polprog: i cant be bothered today
06:22 AM polprog: to do anything
09:10 AM rue_mohr: oooh its got a controller?
09:10 AM rue_mohr: ?
09:16 AM rue_mohr: polprog, the 4 levels is normal, its part of the multiplexing thing
09:17 AM polprog: the big xerox LCD (https://polprog.net/rozne1/ircjunk/xerox_lcd/display_0138.JPG ) went to the drawer
09:17 AM polprog: im hacking this one now
09:17 AM polprog: https://polprog.net/rozne1/ircjunk/xerox_lcd/otherlcd.jpg
09:17 AM rue_mohr: the big one probably requires a full line stream
09:18 AM rue_mohr: like I did with my fpga
09:18 AM rue_mohr: is the damage to the polorizer or just a cover layer?
09:19 AM rue_mohr: what did you use to generate your test signals?
09:19 AM rue_mohr: doesn't look like arduino....
09:20 AM rue_mohr: the PCF2111 signalling is a bit strange
09:20 AM rue_mohr: oooh
09:21 AM rue_mohr: its like tarabells display...
09:21 AM polprog: the red thing in the photo is a bus pirate
09:22 AM polprog: they became expensive though... when i bought mine i bought it from some local manufacturer in poland (open hardware), i paid <$10 for it
09:22 AM polprog: now they are way more expensive
09:22 AM polprog: shame. the ez-hooks are very fragile
09:23 AM polprog: what tarablel's display?
09:23 AM rue_mohr: gameboy
09:23 AM polprog: link?
09:23 AM rue_mohr: hmm
09:24 AM rue_mohr: https://twitter.com/TarableI :/
09:24 AM rue_mohr: if you dial back thru time, the project has been to capture graphics from a gameboy screen
09:26 AM polprog: oh wow now it works!
09:26 AM rue_mohr: heh
09:26 AM rue_mohr: loose wire?
09:26 AM polprog: i just neede to load the B resigter (bit 33)
09:27 AM rue_mohr: ah, yes that last bit have to be set
09:27 AM rue_mohr: or 35?
09:28 AM rue_mohr: wait
09:28 AM polprog: its more complicated
09:28 AM polprog: the datasheet is a mess
09:28 AM rue_mohr: why are there 35 clock pulses and 33 data...
09:28 AM polprog: bit zero is always zero
09:28 AM rue_mohr: yea
09:28 AM rue_mohr: like I said their protocol is odd
09:28 AM polprog: and CLOCK PULSE COUNT STARTS WITH 1
09:28 AM polprog: ughh
09:29 AM rue_mohr: haha and hte data is 0
09:29 AM polprog: my C code is no better
09:29 AM polprog: opencm doesnt have a "set value of this pin accourding to variable" function
09:29 AM polprog: and i dont remember the registers
09:30 AM rue_mohr: opencm?
09:30 AM polprog: so i have to do "if(x) gpio_set(...) else gpio_clear(...)" all the time
09:30 AM polprog: libopencm3
09:30 AM rue_mohr: stm32?
09:30 AM polprog: yeah
09:30 AM rue_mohr: there is one...
09:30 AM rue_mohr: dont know how to find it just now...
09:31 AM rue_mohr: but whatever
09:31 AM polprog: im looking for something like gpio_state(port, pin, true/false)
09:31 AM polprog: whatever
09:31 AM rue_mohr: yea
09:33 AM rue_mohr: gpio_set( gpio_clear( gpio_toggle( <-- where are those defined?
09:33 AM rue_mohr: I thought there were more
09:33 AM polprog: ok, im getting closer
09:34 AM polprog: looks like the B regsiter handles the lower and left segments, and the comma
09:36 AM rue_mohr: void gpio_set(uint32_t gpioport, uint16_t gpios);
09:36 AM rue_mohr: void gpio_clear(uint32_t gpioport, uint16_t gpios);
09:36 AM rue_mohr: uint16_t gpio_get(uint32_t gpioport, uint16_t gpios);
09:36 AM rue_mohr: void gpio_toggle(uint32_t gpioport, uint16_t gpios);
09:36 AM rue_mohr: uint16_t gpio_port_read(uint32_t gpioport);
09:36 AM rue_mohr: void gpio_port_write(uint32_t gpioport, uint16_t data);
09:36 AM rue_mohr: void gpio_port_config_lock(uint32_t gpioport, uint16_t gpios);
09:36 AM rue_mohr: huh
09:36 AM polprog: see?
09:36 AM rue_mohr: thought I recall it having been in there
09:38 AM rue_mohr: arg, late
10:03 AM zhanx_workshop_: i must still be tired. i thought rue was typing latin
10:08 AM polprog: ffs
10:08 AM polprog: i cant get the segment mapping done now
10:14 AM polprog: yay
10:49 AM polprog: done!
10:50 AM polprog: https://twitter.com/polprogpl/status/1306258712051548168
02:57 PM polprog: hmm, i dont have my stm32 examples put anywhere
02:58 PM polprog: i mean, theres one repo but thats for the teaching project
02:58 PM polprog: hmm..
03:22 PM polprog: rue_mohr: https://polprog.net/papiery/stm32/pcf2111/
03:22 PM polprog: ;)
06:11 PM polprog: https://polprog.net/rozne1/ircjunk/various/rule90.c
06:11 PM polprog: cellular xor automaton for goodnight
06:11 PM polprog: i could try to implement that on the GAL ;) to run some blinkenlights
06:23 PM aandrew: so
06:23 PM aandrew: something a little different tonight
06:23 PM aandrew: I hope you will enjoy
06:24 PM aandrew: basic food preservation (not pickling/drying/etc.) of things like potatoes and onions
06:24 PM aandrew: from what I'm reading, it appears that the best way to keep these things from rotting or sprouting is high humidity and airflow, which is a little counterintuitive (to me)
06:25 PM aandrew: and of course keeping ethylene producing stuff away
06:25 PM aandrew: so onions and potatoes must be kept separate, but both kept humid and well-ventilated
06:26 PM aandrew: I'd *love* to buy a 50lb sack of potatoes and onions and maybe another of carrots but having them rot on me before I could get even halfway done would suck
06:27 PM aandrew: so I'm thinking of getting a few wicker baskets, putting some fans in the bottom of them and maybe one of those ultrasonic mister things on a humidity control which would keep humidity up near 95% without condensing (based on temp)
06:32 PM aandrew: https://naldc.nal.usda.gov/download/IND43968766/PDF suggests keeping apples with potatoes to prevent potatoes from sprouting
06:33 PM Tom_L: isn't the idea to grow them?
06:34 PM aandrew: well in that study, maybe
06:34 PM aandrew: for me, no, I want to keep them ot eat them over the winter without having to go out and buy a bag every month or so
06:34 PM Tom_L: years back they used root cellars
06:34 PM aandrew: yep
06:34 PM aandrew: we had one growing up
06:35 PM aandrew: basically just a dark uninsulated (But ventilated now that I think of it) room in the basement usually under the porch
06:35 PM aandrew: not actively ventilated, just round grating (louvres really) up at the ceiling of the room where it would be at ground level outside
06:35 PM Tom_L: no fuss
06:36 PM aandrew: we don't have a root cellar here (in hindsight, the "room" under the porch is sealed off from the basement and filled with gravel, sadly. I should've put a big plastic container in there and made a cistern)
06:37 PM Tom_L: ppl don't think like they used to because they don't have to
06:37 PM aandrew: yeah the builder was very much against a root cellar, and at our last house we had one but never used it for anything but storage
06:38 PM aandrew: that pdf suggests 10lbs of apples with 60lbs of potatoes
06:41 PM aandrew: being able to store large-ish quantities of fresh baby spinach would be a bonus as well, we use a lOT of that
06:41 PM aandrew: I was/am actually lookinig at hydroponically growing that but I doubt very much I could keep up with what we consume on even a fairly large (24 linear feet) system
06:42 PM aandrew: I'm hoping to build that this fall just to test
06:45 PM aandrew: that pdf also goes on to say that bananas, onions, oranges and yams had no effect on the potatoes they were stored with, which is interesting because I know for sure that bananas cause other fruit to ripen
06:56 PM aandrew: ahhh
06:56 PM aandrew: TIL
06:56 PM aandrew: bananas don't produce ethylene, they respond to it
06:58 PM aandrew: close. ripening bananas also produce it
07:00 PM aandrew: I wonder if any of my gas sensors are sensitive to ethylene
07:04 PM aandrew: I also wonder if I can keep spinach longer with a simialr trick: large airflow of humid but non-condensing air
07:04 PM aandrew: beacuse I know if you leave spinach in dry air it just goes dry (duh)
07:08 PM aandrew: *sigh*
07:08 PM aandrew: fuck it: 555, 3d printing, CNC, vintage computer parts. Happy? :-)
07:11 PM Tom_L: hahaha
07:18 PM rue_mohr: ?
07:19 PM rue_mohr: polprog, oh my, so its got some sorta muxing tric?
07:44 PM aandrew: polprog: I don't know opencm3 but there's gotta be a set_state()
09:35 PM rue_bed2: wow 7:30 and its dark
09:35 PM rue_bed2: aandrew, I thought so too, but no
09:36 PM rue_bed2: I might look at the macros for the othe ones, I recall the io on the stm32 is funny
09:44 PM aandrew: not really, no
09:44 PM aandrew: the bit banding is kind of cool in theory
09:59 PM rue_bed2: wow 3 hours, I was exhausted
09:59 PM rue_bed2: now I'll be awake too late
10:00 PM rue_bed2: I need to figure out what I wanted to get done today
10:01 PM rue_mohr: some parts arrived from china
10:01 PM rue_mohr: machined pin headers
11:38 PM rue_mohr: ok, grabbed another computer off the pile, the phone system is hack up and happy!
11:38 PM rue_mohr: tho I need to find a quieter CPU fan
11:41 PM rue_mohr: the system has killed
11:41 PM rue_mohr: 7 hard drives,
11:41 PM rue_mohr: 1 power supply,
11:41 PM rue_mohr: 3 motherboards
11:51 PM aandrew: heh
11:51 PM aandrew: perhaps you should just disconnect the phone
11:57 PM rue_mohr: pff
11:57 PM rue_mohr: no ad calls has been great
11:59 PM rue_mohr: ok, just past bedtime
11:59 PM rue_mohr: I remmemebr what I wanted to do today
11:59 PM rue_mohr: I wanted to set up the paint masking for the power supply