#garfield Logs

Jan 11 2022

#garfield Calendar

01:01 AM rue_mohr: huh
01:09 AM rue_mohr: so
01:09 AM rue_mohr: 1100000000111111110000000011111111S1
01:09 AM rue_mohr: S100000000111111110000000011111111
01:09 AM rue_mohr: S100000000111111111000000001111111
01:09 AM rue_mohr: S100000000111111110100000010111111
01:09 AM rue_mohr: S100000000111111111100000000111111
01:09 AM rue_mohr: S100000000111111110010000011011111S1
01:09 AM rue_mohr: S100000000111111111010000001011111
01:09 AM rue_mohr: 0100000000111111110110000010011111
01:09 AM rue_mohr: S110000000111111111110000000011111S1
01:09 AM rue_mohr: 1100000000111111110001000011101111
01:09 AM rue_mohr: this remote sends the code in an inverted set of bits for error checking
01:09 AM rue_mohr: S 1 0x00 0xFF code /code
01:09 AM rue_mohr: S 1 0000.0000 1111.1111 0000.0000 1111.1111
01:09 AM rue_mohr: S 1 0000.0000 1111.1111 1100.0000 0011.1111
01:09 AM rue_mohr: right now I'm measuring the times in a loop, I need to set up the timers to do it properly
07:25 PM rue_mohr: whoa thats creepy
07:25 PM rue_mohr: the thresholds for the timing are almost the same
07:25 PM rue_mohr: as the sony remote
07:31 PM Tom_L: sony was a fairly standard remote
07:32 PM Tom_L: been around longer than most of the rest
07:32 PM rue_mohr: but its not sony protocol
07:32 PM rue_mohr: its "pulse space"
07:33 PM Tom_L: you can download a remote app to your phone and get just about any of them
07:34 PM rue_mohr: no, I used the scope
07:34 PM Tom_L: well i figured that
07:34 PM Tom_L: just saying...
07:34 PM rue_mohr: its 1.64ms for a 1, 640us for a 0, and 4.5ms for a start
07:34 PM rue_mohr: which works out to the exact border conditions that I used for the sony remote software
07:35 PM rue_mohr: the bits are different
07:35 PM rue_mohr: they start with a 1, do 8 zeros and 8 ones
07:35 PM rue_mohr: then 8 bits of the code, then that same code inverted
07:36 PM rue_mohr: maybe everyone uses the same mark-space ratios, I dont know
07:36 PM rue_mohr: I only ever did sony protocol
07:39 PM Tom_L: https://www.vishay.com/docs/80071/dataform.pdf
07:39 PM rue_mohr: huh
07:40 PM rue_mohr: pulse distance and pulse length are just inversions of each other
07:40 PM Tom_L: http://educypedia.karadimov.info/electronics/televisionrc5.htm
07:41 PM Tom_L: i did something with them years ago. can't even remember what now
07:41 PM rue_mohr: I think I was doing RC5 or RC6
07:43 PM Tom_L: haha.. pic: https://circuitdigest.com/microcontroller-projects/build-your-own-ir-remote-decoder-using-tsop-and-pic-microcontroller
07:43 PM rue_mohr: uh what?
07:43 PM Tom_L: project uses a pic
07:44 PM rue_mohr: oh that waveform is my remote tho
07:44 PM rue_mohr: see the 8 zeros and then 8 ones?
07:44 PM Tom_L: yeah
07:45 PM rue_mohr: ok this code should work
07:46 PM Tom_L: i may get a shot saturday
07:46 PM Tom_L: been thinking about it
07:46 PM rue_mohr: did they ask if you have ever been evialuated for heart desease?
07:46 PM Tom_L: i haven't been there yet
07:47 PM Tom_L: or inquired about it but if i do it will be pfiser
07:47 PM rue_mohr: mhm, I'm not against the shots, I'm against how their being applied
07:47 PM rue_mohr: they all have random risks, they should be screening people
07:47 PM Tom_L: in the beginning it was pushed and shoved out too quick, then it became political
07:47 PM rue_mohr: 'risk assesment' whatever
07:47 PM Tom_L: turned me off of it immediately
07:48 PM rue_mohr: I think I came > < that close to a paralized face
07:48 PM Tom_L: considering a trip would be the only reason i would
07:48 PM Tom_L: my sight was affected
07:48 PM Tom_L: amongst other things
07:48 PM Tom_L: from the shot?
07:49 PM rue_mohr: ye
07:49 PM rue_mohr: p
07:49 PM Tom_L: wow
07:49 PM rue_mohr: yea
07:49 PM Tom_L: maderna?
07:49 PM Tom_L: i've heard it has far more side effects
07:49 PM rue_mohr: the jaw pain, pretty sure it was a paralized muscle in my jaw, but the rest picked up for it
07:49 PM Tom_L: i've talked to ALOT of ppl i come in contact with about it
07:50 PM rue_mohr: they also didn't ever say its experimental
07:50 PM Tom_L: it's probably as safe as it ever will be by now
07:50 PM Tom_L: they've had plenty of gunea pigs to try it on
07:51 PM Tom_L: if i decide not to travel i doubt i get it
07:52 PM Tom_L: 2 members are going whether i do or not
07:52 PM Tom_L: i kinda hate to send them off alone
07:52 PM rue_mohr: hmmm, the code izn't workin
07:52 PM Tom_L: but i kinda hate to travel just as much
07:53 PM rue_mohr: yup
07:53 PM rue_mohr: I need to come get that clad off ya :)
07:53 PM rue_mohr: I'm more worried about being beat up by thugs than covid tho
07:54 PM rue_mohr: or shot by triggerhappy cops
07:54 PM Tom_L: it's not a good time to travel
07:54 PM rue_mohr: when was?
07:54 PM Tom_L: long before all this
07:54 PM Tom_L: it's her sis is the only reason and her health is bad
07:55 PM Tom_L: and both have had covid recently
07:59 PM rue_mohr: grrr why no blinky
08:00 PM Tom_L: reversed polarity?
08:00 PM rue_mohr: already fixed it (opposite from sony)
08:00 PM rue_mohr: ISR (INT1_vect) {
08:00 PM rue_mohr: if (IRH()) { // bit just went high, reset timer
08:00 PM rue_mohr: TimerReset(); // start timing
08:00 PM rue_mohr: } else { // bit just went low, check value of time
08:00 PM rue_mohr: OnEdge();
08:00 PM rue_mohr: }
08:00 PM rue_mohr: }
08:01 PM Tom_L: the led
08:01 PM rue_mohr: :) its an IR led on the remote
08:01 PM Tom_L: yes
08:01 PM Tom_L: trade it for a scope pin or red led
08:01 PM rue_mohr: I know its blinkin
08:02 PM rue_mohr: my bit bang code can see it
08:02 PM rue_mohr: on the same bit
08:02 PM rue_mohr: bangin
08:02 PM Tom_L: oh, you do know they overpower those leds on real remotes?
08:02 PM rue_mohr: yea
08:02 PM Tom_L: short pulses of overcurrent
08:02 PM rue_mohr: I did some math on it once and was quite surprised
08:03 PM rue_mohr: ok lets do some led diagnostics..
08:03 PM rue_mohr: if it sees a high edge, would it please turn on the led...
08:03 PM Tom_L: look at it thru a camera
08:03 PM Tom_L: video
08:03 PM Tom_L: you can see it that way
08:03 PM rue_mohr: The remote is fine, the code isn't working
08:03 PM Tom_L: i blame the coder
08:04 PM rue_mohr: led on pb5...
08:04 PM rue_mohr: default off...
08:04 PM Tom_L: it's that crypto ardweenie gunk
08:05 PM rue_mohr: yes, the interrupt fires on riding edge
08:05 PM rue_mohr: yes, the interrupt fires on falling edge
08:05 PM Tom_L: busy guy
08:06 PM rue_mohr: it sees the start bit
08:06 PM rue_mohr: it does not see any ones
08:08 PM rue_mohr: maybe I should check my timer math
08:08 PM rue_mohr: oh, maybe this isn't running at 1Mhz
08:08 PM rue_mohr: there is a crystal
08:09 PM rue_mohr: would arduino set it to 16MHz?
08:09 PM rue_mohr: hold on, so
08:09 PM rue_mohr: .. no
08:09 PM rue_mohr: I cant think that far,
08:09 PM rue_mohr: need to read fuses maybe
08:09 PM rue_mohr: or just set it
08:09 PM rue_mohr: whats the advertized speed of an arduino uno?
08:14 PM Tom_L: do you need a pullup on the output pin?
08:14 PM Tom_L: i've no idea
08:15 PM rue_mohr: I'm using the arduino diag led
08:15 PM Tom_L: Arduino Uno has an inbuilt clock frequency upto 8Mhz whereas an external crystal frequency 16MHz is also available.
08:15 PM rue_mohr: just going thru with setpoints
08:15 PM rue_mohr: hmm I wonder how this one was set up
08:15 PM rue_mohr: maybe I'll just set it to internal
08:15 PM rue_mohr: but
08:15 PM rue_mohr: the serial is working
08:16 PM rue_mohr: / USART_Init( 103 ); // 9600 baud
08:16 PM rue_mohr: USART_Init( 51 ); // 19200 baud
08:16 PM rue_mohr: whats 51 19200 in
08:25 PM rue_mohr: http://wormfood.net/avrbaudcalc.php
08:25 PM rue_mohr: 16MHz
08:25 PM rue_mohr: oh, or 8
08:25 PM rue_mohr: ok
08:25 PM rue_mohr: what Im I
08:25 PM Tom_L: default was 8 iirc
08:25 PM rue_mohr: I think I'm 16
08:25 PM rue_mohr: didn't set U2Xn
08:25 PM rue_mohr: k, that throws my math off
08:25 PM rue_mohr: ok, fixed (?)
08:27 PM rue_mohr: 19200 baud serial is working with a UBBR of 51
08:27 PM rue_mohr: with no other flags, which says 16Mhz
08:27 PM rue_mohr: the interrupts are all working
08:29 PM rue_mohr: oh its getting ones
08:29 PM rue_mohr: and its getting zeros
08:30 PM rue_mohr: huh
08:31 PM rue_mohr: wait for 32 bits works
08:31 PM rue_mohr: should be 33 tho
08:31 PM Tom_L: starting on the wrong edge?
08:31 PM rue_mohr: oh it works with the code validation
08:31 PM rue_mohr: so, 32 is legit working
08:31 PM rue_mohr: ok
08:32 PM rue_mohr: I wonder where that first bit after the start went?
08:32 PM rue_mohr: ... I dont care tho
08:32 PM * Tom_L checks the bit bucket next to rue_mohr
08:32 PM rue_mohr: codes are all stable, no random numbers from the same key
08:34 PM rue_mohr: ok!
08:34 PM rue_mohr: I think all the codes are unique!
08:36 PM rue_mohr: ok
08:36 PM rue_mohr: I have to map them :(
08:37 PM rue_mohr: its sad you know
08:38 PM rue_mohr: VCR remotes had all the buttons I need
08:38 PM rue_mohr: new remotes aren't that usefull cause none of the dvd players had tuners in them
08:38 PM Tom_L: programmable remotes
08:39 PM rue_mohr: yea
08:39 PM rue_mohr: exactly, I have a pile of them
08:39 PM rue_mohr: they dont do vcrs
08:39 PM Tom_L: why does it need to?
08:40 PM rue_mohr: I need 0-9, play, pause, up down left right
08:40 PM rue_mohr: and a few other things
08:40 PM rue_mohr: I get lots of remotes from our cable installer guys
08:40 PM rue_mohr: (and power adapters)
08:41 PM rue_mohr: the remote I have here is an old crazy one
08:41 PM rue_mohr: it'll work great
08:41 PM rue_mohr: but
08:48 PM rue_mohr: 30 power
08:48 PM rue_mohr: 92 prog
08:48 PM rue_mohr: F0 OSD
08:48 PM rue_mohr: B0 OPEN/CLOSE
08:48 PM rue_mohr: 00 1
08:48 PM rue_mohr: 80 2
08:48 PM rue_mohr: 40 3
08:48 PM rue_mohr: C0 4
08:48 PM rue_mohr: 20 5
08:48 PM rue_mohr: A0 6
08:48 PM rue_mohr: 60 7
08:48 PM rue_mohr: E0 8
08:48 PM rue_mohr: 10 9
08:48 PM rue_mohr: D0 0/10
08:49 PM rue_mohr: D8 10+
08:49 PM rue_mohr: 50 time
08:49 PM rue_mohr: 78 subtitle
08:49 PM rue_mohr: F8 angle
08:49 PM rue_mohr: 38 language
08:49 PM rue_mohr: 0A vmode
08:49 PM rue_mohr: A8 steup
08:49 PM rue_mohr: 28 menu
08:49 PM rue_mohr: 08 up
08:49 PM rue_mohr: 88 down
08:49 PM rue_mohr: 48 left
08:49 PM rue_mohr: C8 right
08:49 PM rue_mohr: 70 enter
08:49 PM rue_mohr: 68 zoom
08:49 PM rue_mohr: 90 title
08:49 PM rue_mohr: 58 play
08:49 PM rue_mohr: A2 pause
08:49 PM rue_mohr: 32 stop
08:49 PM rue_mohr: 22 mute
08:49 PM rue_mohr: 02 rev
08:49 PM rue_mohr: 82 fwd
08:49 PM rue_mohr: 42 prev
08:49 PM rue_mohr: C2 next
08:49 PM rue_mohr: 18 repeat
08:49 PM rue_mohr: E8 A-B
08:49 PM rue_mohr: CA L/R
08:49 PM rue_mohr: 98 N/P
08:49 PM rue_mohr: 8A return
08:50 PM rue_mohr: B8 PBC
08:50 PM rue_mohr: 52 resume
08:50 PM rue_mohr: D2 intro
08:50 PM rue_mohr: 12 view
08:50 PM rue_mohr: 4A slow
08:50 PM rue_mohr: BA volume-
08:50 PM rue_mohr: F2 volume+
08:50 PM rue_mohr: B2 DVD
08:50 PM rue_mohr: 72 step
08:50 PM rue_mohr: 7A echo-
08:50 PM rue_mohr: FA echo+
08:50 PM rue_mohr: 8-|
08:50 PM rue_mohr: see any repeats?
08:50 PM rue_mohr: I almost feel like I can see the rows and columns in those codes
09:05 PM rue_mohr: ok, where next
09:05 PM rue_mohr: I need a beeper
09:07 PM Tom_L: you know..
09:07 PM rue_mohr: piezo?
09:07 PM rue_mohr: hmm
09:07 PM Tom_L: you'd think i was in cadada with all the damn canadian geese we have around here
09:07 PM rue_mohr: heh
09:07 PM Tom_L: millions
09:08 PM rue_mohr: yea its cold here
09:08 PM Tom_L: they never leave though
09:08 PM rue_mohr: they jump ship quick
09:08 PM rue_mohr: not if there is food, no
09:08 PM Tom_L: we grow food for the world here
09:09 PM Tom_L: and aparently canadian geese
09:09 PM rue_mohr: mhm
09:09 PM rue_mohr: we used to grow food
09:09 PM Tom_L: nearly every pond i went by today was full of them sitting on the ice
09:09 PM rue_mohr: we decided to use the land to grow houses instead
09:09 PM rue_mohr: frozen in
09:09 PM rue_mohr: cant leave
09:09 PM Tom_L: no just sitting on the ice
09:10 PM rue_mohr: I need to make a peizo to jab into this arduino
09:11 PM Tom_L: newer style pc speaker
09:11 PM rue_mohr: ?
09:11 PM rue_mohr: didn't know they had them
09:11 PM Tom_L: my last one did
09:11 PM rue_mohr: huh
09:12 PM rue_mohr: I'v not bought a case in like.... 30 years?
09:13 PM rue_mohr: void beep(
09:13 PM rue_mohr: uint8_t delay, uint8_t cycles ) {
09:13 PM rue_mohr: ?
09:13 PM Tom_L: https://www.amazon.com/Electric-Buzzer-Physics-Circuits-Continuous/dp/B07JDBF4V3/ref=sr_1_6?keywords=piezo+speaker&qid=1641956264&sr=8-6
09:13 PM rue_mohr: were running out of people to play with
09:14 PM rue_mohr: hah oh
09:14 PM Tom_L: your twitter group are followers
09:14 PM rue_mohr: I could 3d print a case
09:14 PM Tom_L: those may not be exactly but they look like that
09:14 PM rue_mohr: I'm really thrilled to get a new type of remote working
09:14 PM rue_mohr: yea
09:15 PM Tom_L: some are just buzzers
09:15 PM rue_mohr: I need dumb
09:15 PM rue_mohr: do my own tones
09:15 PM Tom_L: https://www.amazon.com/Gikfun-Active-Magnetic-Continous-Arduino/dp/B01FVZQ6F6/ref=pd_sim_5/136-5507741-6577646?pd_rd_w=zuVCI&pf_rd_p=cf667c36-5137-43ea-a503-3c58067bc8ac&pf_rd_r=408RAVYGKPSJ100NSF5F&pd_rd_r=ec41114e-992d-42b1-9769-5fb4fdf4d333&pd_rd_wg=RkG3E&pd_rd_i=B01FVZQ6F6&psc=1
09:15 PM Tom_L: even targeting the arduino croud
09:15 PM rue_mohr: I can set up that programmable engine I made with the remote and a beeper and make sure its state machine works right
09:16 PM rue_mohr: oh I got a bin of things in the shop
09:16 PM rue_mohr: just need to dash out there and get it
09:16 PM Tom_L: i'd be sad if you didn't
09:16 PM rue_mohr: I worked really hard to do more in my bedroom and now that I am, I want me to do more in the shop
09:17 PM rue_mohr: can never win
09:17 PM Tom_L: https://www.amazon.com/Gikfun-Mainboard-Computer-Internal-Speaker/dp/B01LY5OP1E
09:17 PM Tom_L: those have the plugs on em
09:17 PM rue_mohr: wow, I'm getting quite a collection of M328 programs
09:17 PM rue_mohr: about 100
09:18 PM rue_mohr: oh I have some of those
09:18 PM rue_mohr: I think the load is too high for the avr tho
09:19 PM rue_mohr: maybe if I wake up at 4am I can stay awake and have a nice non-crazy morning
09:19 PM rue_mohr: wed tommorow, ok
09:19 PM rue_mohr: !! a flying bug!
09:19 PM Tom_L: i'll be up
09:19 PM Tom_L: 4:30 here
09:20 PM rue_mohr: I keep having to race out the door
09:20 PM Tom_L: so that's 2:30 there?
09:20 PM rue_mohr: its really annoying
09:20 PM rue_mohr: 7pn here
09:20 PM rue_mohr: now
09:20 PM Tom_L: 9
09:20 PM rue_mohr: I get up at 6:15
09:20 PM rue_mohr: supposed to be out the door at 7:20
09:20 PM rue_mohr: work by 8
09:20 PM Tom_L: that's about when i usually go too
09:21 PM rue_mohr: ok I need a beeper
09:21 PM Tom_L: kid gets up at 4:30 in by 6
09:21 PM Tom_L: so i'm usually up at least for a bit
09:21 PM rue_shop3: "audio" I think...
09:22 PM Tom_L: just use an alarm horn
09:22 PM Tom_L: then you'll know it's beeping
09:22 PM Tom_L: as will the neighbors
09:24 PM Tom_L: do piezos produce back emf?
09:25 PM rue_shop3: I need to make up different tones and stuff for the status feedback
09:25 PM Tom_L: if you smack em, they put out a pulse i know
09:25 PM rue_shop3: I dont think so, thats why I dont mind putting them on something like an avr direct
09:25 PM rue_shop3: oops, I'z supposed to assemble a battery
09:25 PM Tom_L: they likely wouldn't advertise them that way if they didn't work
09:26 PM rue_shop3: for work
09:26 PM rue_shop3: it can wait
09:26 PM Tom_L: gonna be late again...
09:28 PM rue_shop3: its only 7!
09:29 PM rue_mohr: ok, have beeper
09:30 PM rue_mohr: I'll use pin 13
09:30 PM rue_mohr: ...whatever that is
09:30 PM rue_mohr: PB5
09:31 PM rue_mohr: no beep code...
09:38 PM rue_mohr: PB5 is a programming pin, and it doesn't like the beeper on there
09:38 PM Tom_L: no
09:39 PM Tom_L: remember that one that had the reset pin on a port?
09:39 PM rue_mohr: most did
09:39 PM rue_mohr: I always left it
09:39 PM Tom_L: you wrote a blinky to the port and it would reset continuously
09:40 PM Tom_L: no not most
09:40 PM Tom_L: not to a port
09:40 PM Tom_L: port C iirc
09:40 PM Tom_L: been too long
09:42 PM Tom_L: at90usb162 portC pin1
09:42 PM Tom_L: look it up
09:43 PM rue_mohr: :) I'm writing beeper music
09:44 PM Tom_L: PC1 was left of the mega32u4
09:45 PM rue_mohr: its funny the perceptions created by the ear
09:45 PM Tom_L: but not the U2
09:45 PM Tom_L: it was the same as the at90usb162
09:48 PM rue_mohr: ?
09:48 PM rue_mohr: dont think to
09:48 PM rue_mohr: so
09:48 PM Tom_L: i know so
09:48 PM rue_mohr: all the at90 were.. old
09:48 PM Tom_L: i used the early one on the programmer and replaced it when it was eol with the U2
09:57 PM rue_mohr: ok I think I'v come up with a vocab for it
09:57 PM rue_mohr: kinda high pitched, ma couldn't hear it :/
09:59 PM Tom_L: what about the cats?
09:59 PM Tom_L: mice?
09:59 PM Tom_L: moose?
10:00 PM rue_mohr: heh, I can hear it fine
10:00 PM Tom_L: well enjoy that while you got it :)
10:02 PM rue_mohr: yea yea
10:03 PM rue_mohr: I just need it to test code, I can make it recorded words later
10:06 PM rue_mohr: ok, now I mix the remote and the beeps...
10:25 PM rue_mohr: Tom_L, does twitter video and sound work on your machine there?
10:25 PM rue_mohr: its so easy to post stupid short videos
10:25 PM rue_mohr: https://twitter.com/RueNahcMohr/status/1481114921202970624
10:26 PM rue_mohr: I had to hold the beeper right on the camera mic, it seems to attenuate those freq's good
10:26 PM Tom_L: yep
10:27 PM rue_mohr: I might not make much more progress than that today
10:27 PM Tom_L: notice the camera pics up the IR too
10:27 PM rue_mohr: I think thats pretty good tho, got the remote read code working, and some beeps
10:27 PM rue_mohr: yea
10:27 PM rue_mohr: bonus feature :)
10:28 PM rue_mohr: it doesn't look like it lines up, but after the key, the remote blurts out a heap of "repeat" codes
10:28 PM Tom_L: 22 views already
10:28 PM rue_mohr: which my code ignores
10:28 PM rue_mohr: "views" I'm never sure
10:28 PM rue_mohr: most people dont seem to like videos
10:29 PM Tom_L: 32
10:29 PM rue_mohr: how much is bots?
10:29 PM rue_mohr: there are copyright bots
10:30 PM Tom_L: no idea
10:30 PM rue_mohr: I think they make money by tattling on people with c/w content
10:33 PM Tom_L: what's dual primary / secondary windings on a toroid mean?
10:33 PM Tom_L: or why?
10:33 PM Tom_L: i know what it means..
10:34 PM Tom_L: but what good would that be?
10:35 PM rue_mohr: voltage options
10:35 PM rue_mohr: 120/240
10:35 PM rue_mohr: 12/24
10:35 PM Tom_L: i see
10:36 PM Tom_L: what about parallel secondary for 2x amps?
10:36 PM rue_mohr: yup
10:36 PM Tom_L: kinda what i did with my 3 transformers on the mill
10:36 PM Tom_L: only they were separate
10:36 PM rue_mohr: yup!
10:36 PM Tom_L: i bet i only needed one
10:36 PM rue_mohr: the math is odd
10:37 PM rue_mohr: esp with those constant power converters
10:37 PM rue_mohr: er drivers
10:40 PM rue_mohr: so tom
10:40 PM rue_mohr: wheeled robots, and using tachs to drive straight
10:40 PM rue_mohr: what method do you think I should use
10:41 PM rue_mohr: "make this motor wait for that one"?
10:42 PM Tom_L: i think that's what i did on the maxbot
10:42 PM Tom_L: like running a cnc gantry with 2 Y motors
10:45 PM rue_mohr: if their steppers its easier to deal with tho
10:45 PM rue_mohr: were talking different motors on sides of a tractor platform
10:45 PM rue_mohr: so, fastest motor waits for the low one?...
10:45 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/maxbot/
10:45 PM Tom_L: the code is all there
10:46 PM Tom_L: i think)
10:46 PM rue_mohr: or I do some kinda, "variable hold back" where I drop out the fast mtoor a bit here and there till its about the same
10:46 PM Tom_L: i'm not sure what i had it doing last
10:46 PM rue_mohr: how well did maxbot hold a line?
10:46 PM Tom_L: i had it following a wall
10:46 PM Tom_L: dunno if it ever did a line
10:47 PM Tom_L: i think my first bot did
10:47 PM rue_mohr: just driving tho?
10:47 PM rue_mohr: free floor?
10:47 PM Tom_L: 68hc11
10:47 PM Tom_L: yeah
10:47 PM Tom_L: it had bumpers
10:47 PM Tom_L: oh.. it was a light seeker
10:47 PM Tom_L: it chased the flashlight around
10:47 PM rue_mohr: :)
10:48 PM rue_mohr: you had motor tachs tho I think
10:48 PM Tom_L: on the maxbot i did
10:48 PM Tom_L: maybe on the lightseeker on the wheels
10:48 PM Tom_L: printed encoders
10:49 PM rue_mohr: ah, you did closed loop velocity on the motors
10:49 PM rue_mohr: bit more than I want to attack
10:49 PM Tom_L: maxbot.c?
10:49 PM rue_mohr: yea
10:50 PM Tom_L: that was only 21 yrs ago
10:50 PM rue_mohr: PID velocity control
10:50 PM rue_mohr: .. used the IR to find the wall...
10:50 PM rue_mohr: hahah
10:50 PM rue_mohr: Sensor is out of range, go find another wall to follow.
10:50 PM rue_mohr: ""
10:50 PM rue_mohr: hahahah
10:51 PM Tom_L: heh
10:51 PM rue_mohr: when they wander off on ya
10:51 PM rue_mohr: yea you went all out
10:52 PM rue_mohr: tmp_Ldist = (Left.Distance + 1093); // Tics to Turn 180 degrees
10:52 PM rue_mohr: tmp_Rdist = (Right.Distance - 1093);
10:52 PM Tom_L: there was 45deg too
10:52 PM Tom_L: kindof a cheat
10:52 PM rue_mohr: thats pretty high rez!
10:52 PM Tom_L: 2048
10:52 PM Tom_L: quad
10:52 PM rue_mohr: yea
10:52 PM rue_mohr: thats high!
10:53 PM Tom_L: from copier machines
10:53 PM rue_mohr: !!
10:53 PM rue_mohr: so 1 channel or 2?
10:53 PM Tom_L: 2
10:53 PM rue_mohr: all the copier ones I have are single channel
10:54 PM Tom_L: HEDS
10:54 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/maxbot/image006.jpg
10:55 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/maxbot/image003.jpg
10:56 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/maxbot/image027.jpg
10:56 PM Tom_L: looks like i had IR and sonar
10:57 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/motors/motor3.jpg
10:58 PM Tom_L: encoders came off those
10:58 PM Tom_L: motors aren't exactly the same but the encoders were
10:59 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/motors/focusring12.jpg
10:59 PM Tom_L: got the ones for the mill off those
11:00 PM Tom_L: 500 / 2000 quad
11:02 PM rue_mohr: yup, mind are HP too
11:02 PM Tom_L: on maxbot back then you had to do the interrupts with inline asm
11:02 PM Tom_L: c wouldn't handle it yet
11:02 PM Tom_L: and you could map them anywhere you wanted to put em
11:03 PM Tom_L: ~line 725
11:03 PM rue_mohr: interrupts should be asm anyhow :)
11:04 PM Tom_L: i would be lost to try to edit that now
11:04 PM rue_mohr: :)
11:07 PM Tom_L: i should sleep
11:12 PM rue_mohr: catch up after ya die
11:51 PM -!- #garfield mode set to +Cnst by strontium.libera.chat
11:55 PM -!- #garfield mode set to -o by strontium.libera.chat
11:55 PM -!- #garfield mode set to -Cs by strontium.libera.chat
11:55 PM strontium.libera.chat changed topic of #garfield to: HEY GIVE ME HALF HOUR TO ANSWER ALREADY