#garfield Logs
Dec 22 2024
#garfield Calendar
06:30 AM rue_mohr: https://github.com/max-titov/finger-tracker?tab=readme-ov-file
08:11 AM polprog: slept til 2pm today
08:11 AM polprog: i couldnt sleep due to cough
12:01 PM rue_mohr: :/
04:46 PM polprog: im getting better
04:46 PM polprog: so things i have to do
04:46 PM polprog: - sh4 stuff (yesss, overdue a year, time goes fast)
04:46 PM polprog: - 8051s for rue
04:46 PM polprog: - analog frontend for thesis
04:47 PM polprog: - the accelerometer glove, that stars with nee year
04:47 PM polprog: - some more linux sbc hacking, maybe the PowerPC now
04:47 PM polprog: i think ill start with the 8051 and the frontend
04:51 PM polprog: https://github.com/wd5gnr/qtl866
05:07 PM polprog: ok that seems to not work
05:07 PM polprog: 8051 basic will not work on our boards due to lack of ram, right?
05:20 PM rue_shop2: how many accels do you have?
05:20 PM rue_shop2: polprog, correct, you need like 64k ram for basic to work
05:21 PM rue_shop2: you can piggyback the ROM, if you ok wiht losing the IO
05:21 PM polprog: nah ill just write stuff in sdcc
05:21 PM polprog: or asm
05:40 PM rue_mohr: for me, I meant it for "I dont want to pay to use a new microcontroller for that stupid task"
05:40 PM rue_mohr: so, things like watering the greenhouse for 2minutes a day twice a day
05:40 PM rue_mohr: or driving a stepper motor at a fixed speed
05:41 PM Tom_L: freecad 1.0 should not be 1.0 it's too broke
05:43 PM polprog: thats true
05:43 PM polprog: rue_mohr: yeah, basically the controller side of microcontrollers
05:45 PM polprog: but if well be making version 3 of the 8051 board i would put a plcc socket there, or make space for an smd socket
05:45 PM polprog: and replace the header with a card edge, or add the card edge
05:45 PM polprog: along the header
05:46 PM rue_mohr: pin headers are nice for direct dupont connections to chineese modules
05:46 PM rue_mohr: in my old standard, every pin had a vcc and gnd pin, it was a 3 row thing
05:46 PM polprog: hm, what modules do you have in mind?
05:46 PM polprog: ah that
05:47 PM rue_mohr: but it was a bit too much
05:47 PM polprog: i wonder if you can fit a serial 8 servo driver on that board in the onboard ram
05:47 PM rue_mohr: well, all those 'arduino' modles
05:47 PM rue_mohr: accels, joysticks, buttons, leds, motors, displays
05:47 PM polprog: ah these
05:47 PM rue_mohr: yes
05:48 PM rue_mohr: because 8*20ms @50hz isn't overlapped
05:48 PM rue_mohr: so you COULD just do them in a loop one at a time
05:48 PM rue_mohr: 2ms sorry.
05:48 PM rue_mohr: if they aren't all at 2ms, you have time left to doddle
05:49 PM rue_mohr: <0.5-2ms><0.5-2ms><0.5-2ms><0.5-2ms><0.5-2ms><0.5-2ms><0.5-2ms><0.5-2ms>
05:49 PM polprog: hmm
05:49 PM polprog: makes sense
05:50 PM polprog: if you have 255 positions you could do a simple 2 byte protocol
05:50 PM rue_mohr: now, the question is, do you have time for serial comms in there ;]
05:50 PM polprog: one way, interrupt based
05:50 PM rue_mohr: timing...
05:50 PM polprog: true, it could make the servos jump
05:50 PM rue_mohr: maybe if all the pulses are done interrupt and the serial is main loop
05:50 PM rue_mohr: 0.5ms is a LONG time
05:51 PM polprog: thats probably a better idea
05:51 PM rue_mohr: I think most of my 8051 have that fast flag
05:51 PM rue_mohr: where is not 12 cycles/instruction
05:51 PM polprog: most of mine are the original intel ones
05:51 PM rue_mohr: 1-2
05:51 PM rue_mohr: in plcc?
05:51 PM rue_mohr: sus
05:51 PM polprog: yes
05:57 PM polprog: https://polprog.net/rozne1/ircjunk/8051/8051%20drawer.jpg
05:58 PM polprog: thats my plcc stash, and most of my 8051's
05:58 PM polprog: there is a smaller atmel one there too, hidden
05:58 PM polprog: and i have a few devkits with the faster 8051s in DIP from dallas,
05:58 PM polprog: i should do something with them
05:58 PM polprog: but for that id like to use some cool era appropriate IDE
06:09 PM rue_mohr: vim and sdcc
06:11 PM polprog: thats booooring
06:11 PM polprog: but yes
08:37 PM rue_mohr: povray +H480 +W640 +P usbhold.pov
08:41 PM rue_mohr: doesn't like 90516 triangles....
08:45 PM rue_mohr: stl2pov microArray-r1-s.stl > /tmp/foo.pov; povray +H480 +W640 +P /tmp/foo.pov
08:45 PM rue_mohr: ok, thats a start
09:17 PM rue_mohr: stl2pov backBox-r2-s.stl > /tmp/foo.pov; povray +H480 +W640 +P +A0.1 /tmp/foo.pov
09:31 PM rue_mohr: https://github.com/max-titov/finger-tracker?tab=readme-ov-file