#garfield Logs
Jan 30 2023
#garfield Calendar
03:44 AM ruenahcmohr: polprog_, interseted?
03:54 AM * ruenahcmohr puts a fresh carrot on the stick
03:54 AM ruenahcmohr: oh polprog_
04:26 AM ruenahcmohr: heh, I made an oops polprog_ I only has the last 3 bits in the state detector
04:26 AM ruenahcmohr: fixed, I have a new image I can try tommorow
04:27 AM ruenahcmohr: 0000: 91 10 03 14 05 16 07 18 - 09 1A 0B 1C 9D 1E 11 10
04:27 AM ruenahcmohr: spliceValueFromField( &inverterI, A, 1, 0);
04:27 AM ruenahcmohr: spliceValueFromField( &counterI, A, 3, 1, 2, 3);
04:27 AM ruenahcmohr: spliceValueFromField( &keyscanI, A, 8, 4, 5, 6, 7, 8, 9, 10, 11);
04:27 AM ruenahcmohr: the variable called 'inverter' is one bit, which is in position 0 of the rom address
04:28 AM ruenahcmohr: the variable 'counter' is 3 bits, which is positions 1,2,3 of the rom address
04:28 AM ruenahcmohr: spliceFieldFromValue( &out, inverterO, 1, 0);
04:28 AM ruenahcmohr: spliceFieldFromValue( &out, counterO, 3, 1, 2 , 3);
04:28 AM ruenahcmohr: spliceFieldFromValue( &out, TxDO, 1, 4);
04:28 AM ruenahcmohr: spliceFieldFromValue( &out, keyLatchO, 1, 7);
04:28 AM ruenahcmohr: the output is composed of variable 'interter' which is 1 bit long, positioned at bit 0
04:29 AM ruenahcmohr: the output is also composed of variable 'counter' which is 3 bits long, positions 1, 2, 3
04:29 AM ruenahcmohr: the inverter is wired at an LC delay line, the counter goes thru a latch, from the output to the inputs
04:30 AM ruenahcmohr: to work, the latch is rising edge triggered, and comes from the A0 side of the delay line
04:31 AM ruenahcmohr: I got over 4200 followers on twitter, where are the people who can play with this stuff with me :/
04:37 AM Tom_L: .
04:38 AM Tom_L: you said it yourself. they're 'followers'
04:38 AM ruenahcmohr: :/
04:40 AM Tom_L: so did it work?
04:40 AM ruenahcmohr: the twitter, thing, not so much, there are other hackers and geeks but there are been no awesome connections or colaborations yet
04:41 AM ruenahcmohr: maybe there never will be, I dunno
04:41 AM ruenahcmohr: I only ever just wanted to run with a herd
04:41 AM Tom_L: maybe they're off the shelf hackers
04:41 AM ruenahcmohr: seems I can run beside at best
04:43 AM ruenahcmohr: ...your awake again?
04:43 AM ruenahcmohr: polprog_, is up too
04:43 AM ruenahcmohr: you guys only slept for like 2 hours?
04:45 AM ruenahcmohr: k, I'll try and sleep now
04:47 AM Tom_L: maybe 5
09:31 AM polprog_: i slept for 6 today
02:04 PM ruenahcmohr: was I really coding for that long?
05:25 PM polprog_: rue, i come to plant yet another idea in yer brain
05:25 PM polprog_: MrFahrenheit — Dziś o 00:13
05:25 PM polprog_: I mean yeah, but getting good pwm from it is pretty awkward
05:25 PM polprog_: I just want something I can quickly plonk down on a protoboard, add a pot and get pwm for servo control, motor speed, dimming, whatever
05:25 PM polprog_: ^^^ MrFahrenheit on discord
05:26 PM ruenahcmohr: ok
05:26 PM ruenahcmohr: well, the question is, do you need a stable pwm freq
05:26 PM ruenahcmohr: if not, the 555 circuit with the two diodes is probably your solution
05:26 PM ruenahcmohr: if you do want a stable freq, use a 3 component 555 osc and take the capacitor ramp to a lm393 comparator
05:27 PM ruenahcmohr: more details on request
05:27 PM ruenahcmohr: do I have discord?
05:27 PM ruenahcmohr: oh I do
05:27 PM polprog_: oh
05:27 PM polprog_: if you want to pop in i can give ya a link
05:43 PM polprog_: https://discord.gg/47uEhsqe
06:47 PM ruenahcmohr: hah, visitors
06:47 PM ruenahcmohr: not sure how I discord again :]
06:53 PM ruenahcmohr: discord wont let me in
06:54 PM ruenahcmohr: it made me verify I was human 4 times, texted me a confirm number and wont let me in becasue it already knows my email address and I'm not logged in but wont let me log out
10:15 PM Tom_L: https://www.youtube.com/watch?v=PtD9w6lp8n8&t=407s
10:53 PM rue_shop3: its interesting writing code to generate a state machine
10:53 PM rue_shop3: the efficiency of the code does not matter at all
10:54 PM rue_shop3: it outputs a table
10:54 PM rue_shop3: and the table instantly has all the results
11:02 PM rue_shop3: polprog_, it works, I just need to tune the bit rate