#robotics Logs

Jul 26 2017

#robotics Calendar

12:00 AM The_Jester_Kicke: modulate serial from each led?.
12:02 AM rue_house: hah
12:02 AM The_Jester_Kicke: its not so dumb
12:02 AM rue_house: What? what? WHAT? wHAT? whAT? WHat?
12:02 AM rue_house: "START PACKET, PLEASE CONFIRM"
12:02 AM The_Jester_Kicke: need something to swarm
12:02 AM rue_house: indeed
12:02 AM rue_house: its ir or those little rf boards
12:02 AM rue_house: and the ir can do more
12:02 AM rue_house: OR
12:02 AM The_Jester_Kicke: doesnt help to know where other bot is if its rf
12:02 AM rue_house: we DO live in the 21'st
12:02 AM rue_house: wifi
12:02 AM rue_house: esp8... 3.266... someone help me out
12:02 AM The_Jester_Kicke: will run out iof i/o cpu overhead,
12:03 AM rue_house: na, the esp wifi board it a whole processor on its own
12:03 AM rue_house: they can run a webserver and translate the goods to the avr
12:03 AM rue_house: they can be master or host
12:03 AM rue_house: create their own mesh
12:03 AM The_Jester_Kicke: i get that but in the mean time im modulating leds, pinging sonar moving legs and trying to do some look ahead
12:03 AM rue_house: ... its kinda down the road I suppose
12:03 AM rue_house: yes
12:04 AM The_Jester_Kicke: alot for a 328
12:04 AM rue_house: naaa
12:04 AM The_Jester_Kicke: throw a pie at it..lol
12:04 AM rue_house: 16Mhz is RIPPING fast
12:04 AM rue_house: we take it for granted
12:05 AM rue_house: I'm gonna try realtime trig on the avr running the screw sorter motor
12:05 AM rue_house: The_Jester_Kicke, hey
12:06 AM The_Jester_Kicke: if you can simplify the eqasions enough i suppose
12:06 AM rue_house: you got a new copy of arduino dont cha?
12:06 AM rue_house: the ide
12:06 AM rue_house: ?
12:06 AM The_Jester_Kicke: meh, dunno
12:06 AM rue_house: under 'boards' do you have esp8266 and stm32?
12:06 AM rue_house: you might
12:07 AM The_Jester_Kicke: 0032
12:07 AM rue_house: these stm32 boards I have ARE arduinos
12:07 AM rue_house: again, being me, I just throw that out
12:07 AM rue_house: no 8266?
12:08 AM The_Jester_Kicke: nope
12:08 AM rue_house: hmm, I need to know how that works
12:08 AM rue_house: one of the maker guys knows how
12:09 AM rue_house: right now,t he esp8266 I have just acts like a serial wifi modem
12:09 AM The_Jester_Back: yeash
12:09 AM rue_house: atconnectnetwork=yosemitysam"
12:10 AM rue_house: atopennetworkconnection="port 80 ip 192.168.9.3"
12:10 AM rue_house: atpukedata=
12:10 AM rue_house: attellmewhatitsaidback
12:10 AM rue_house: sudomakemeasandwich
12:10 AM rue_house: youknow
12:11 AM The_Jester_Back: ^^^
12:11 AM The_Jester_Back: when you root your fembot
12:14 AM rue_house: I made a mandrell for that spring today
12:14 AM rue_house: got it first try
12:14 AM rue_house: :)
12:15 AM rue_house: awe:( bedtime
12:16 AM rue_house: ok I'm using timer2 for the high res
12:17 AM rue_house: ok timer 2 has 4 subsystems...
12:32 AM rue_house: currently
12:32 AM rue_house: I set the timer period and, I suppose, wait for an overflow
12:32 AM rue_house: TIM_DIER_UIE
12:33 AM rue_house: underflow interrupt enable?
12:33 AM rue_house: update interrupt enable
12:33 AM rue_house: thats it, it triggers on the reload
12:33 AM rue_house: k
12:34 AM rue_house: so, have to think about this
12:34 AM rue_house: I have a 50hz start gun
12:34 AM rue_house: everyone needs to stop after a different amount of time
12:37 AM rue_house: aha
12:37 AM rue_house: timer_set_counter(TIM2, position1); // ms *24000 36000 = 1.5ms
12:37 AM rue_house: timer_set_mode(TIM2, TIM_CR1_CKD_CK_INT, TIM_CR1_CMS_EDGE, TIM_CR1_DIR_DOWN);
12:37 AM rue_house: ok
12:37 AM rue_house: so, I'll want to start at 0, count up
12:37 AM rue_house: on compare match I want to clear the pwm channel
12:37 AM rue_house: each of the timer outputs goes to a 4017
12:37 AM rue_house: and I cycle thru 8 values of preloads, which will service 32 servos
12:38 AM rue_house: this will be a bit of juggling
12:38 AM rue_house: 32 servos from 1 stm32
12:38 AM rue_house: the stm32 I'm using
12:39 AM rue_house: F103
12:47 AM rue_house: ok I only have timers 1,2,3
12:49 AM rue_house: so, at some point it would be a good idea to make timer 1 do the 50Hz, cause then timers 2 and 3 could each operate 4 channels of pwm, for a total of 8 multiplexed channels, or a total of 64 servos
12:55 AM rue_house: god damned content management systems, you know what used to work PROPER FILE NAMES
01:00 AM rue_house: so, maybe backing down out of the tree for a min
01:00 AM rue_house: I need to modify my existing code to use the compare module.
01:03 AM rue_house: why is it that 5*10 is never quite as good as 50
01:03 AM rue_house: "50pcs for $2" YAY
01:03 AM rue_house: "5 packs of 10 pcs for $2" oh, hmm, yea
01:03 AM rue_house: ok I need to learn how the output control module works
01:07 AM rue_house: ok, this seems good
01:07 AM rue_house: there is a mode for what I want to do
01:22 AM rue_bed: so, there would be a cycle register and an array of values for each channel
06:19 AM Jak_o_Shadows: rue, I am glad you are doing this timer tuff.
06:19 AM Jak_o_Shadows: It's out of my expertise
09:00 AM rue_bed: my solinoid driver code uses fixed values in a lookup table
09:25 AM rue_more: hmmm I need to cough up a manchester library too
09:39 AM rue_more: hmm, this is state machine stuff
09:42 AM rue_more: hmmm
09:42 AM rue_more: W27c512-45z
09:43 AM rue_more: 45NS
09:44 AM rue_more: hmm only 22Mhz
09:45 AM rue_more: I wonder what SD ram can do
09:45 AM rue_more: not that I need ethernet speeds
09:45 AM rue_more: I dont even need close actually
12:16 PM anonnumberanon: i don't need clothes either tobh
12:16 PM anonnumberanon: tbh
12:40 PM JT-Shopp is now known as JT-Shop
07:27 PM Snert__ is now known as Snert_
07:29 PM rue_more: I taught me more about state machines today
07:29 PM rue_more: I have to try some tings
07:41 PM veverak: such as? :)
07:45 PM rue_more: state machines that output events
07:48 PM veverak: -v ?
07:50 PM rue_more: but I need to work out code for the servo controller
07:50 PM rue_more: so I can mod it into the solinoid controller
07:50 PM rue_more: and I have to make the driver board
08:16 PM Xiao is now known as SAXiao
09:11 PM rue_bed: theBear, did you play with the 3d modeling since the crash course?
09:12 PM rue_bed: The_Jester, did you bondo the vistor ?
09:12 PM rue_bed: visor
09:12 PM veverak: hmmm
09:12 PM veverak: naming conventions
09:13 PM veverak: tricky when one is against the other
09:13 PM rue_bed: veverak, I use theBear for normal variables
09:13 PM rue_bed: but a global will be TheBear
09:14 PM The_Jester: hmm
09:15 PM veverak: I use TheBear for types
09:15 PM veverak: thrBear for method
09:15 PM veverak: the_bear for variables
09:15 PM rue_bed: The_Jester, in this heat it might kick in about 10 seconds
09:15 PM veverak: the_bear_ for attributes
09:16 PM veverak: but what is type attribute?
09:16 PM rue_bed: structs are theBear_s types are theBear_t
09:17 PM Tom_L: rue_bed where were you when i needed help?
09:17 PM Tom_L: changed washer bearings today...
09:17 PM rue_bed: The_Jester, I did a spring mandrill, got it right the verry first time by fluke
09:18 PM rue_bed: what kinda washer?
09:18 PM Tom_L: one of those pancake motors
09:18 PM rue_bed: oooh, you want The_Jester, appliance wizzard
09:18 PM The_Jester: sounds good rue
09:19 PM Tom_L: it was supposed to be easy
09:19 PM rue_bed: I'm sure
09:19 PM rue_bed: all siezed?
09:19 PM Tom_L: but i had to take the tub out because the bearing was stuck
09:19 PM Tom_L: no, just noisy
09:19 PM rue_bed: ah
09:19 PM rue_bed: The_Jester, how old is my machine now? 25?
09:19 PM Tom_L: the noise is amplified in them
09:19 PM Tom_L: the bearing was bad but really didn't feel that bad
09:20 PM The_Jester: gotta be atleast 25
09:21 PM rue_bed: I'm kinda glad sears wouldn't get me parts, makes me not worry about them closing
09:21 PM rue_bed: I wonder what that does to all those warranties?
09:22 PM The_Jester: your shit outta luck i think
09:22 PM rue_bed: The_Jester, thing 1137112?
09:22 PM Tom_L: i got my bearings & seal online
09:22 PM The_Jester: unless y9ou bopught branded appliances, eg bosch not kenmore
09:22 PM rue_bed: The_Jester, or 2204279
09:24 PM rue_bed: I'm liking most of 1137112
09:25 PM The_Jester: 2311678
09:25 PM The_Jester: where tom?
09:26 PM Tom_L: lemme see if i can find it
09:26 PM rue_bed: mmmmm
09:29 PM rue_bed: The_Jester, did I tell you I ordered 16 more servos
09:29 PM rue_bed: sg90?
09:35 PM Tom_L: The_Jester_Kicke, can't find it right now but he sends me emails all the time
09:35 PM Tom_L: i've been sitting on this kit for a couple years
09:36 PM Tom_L: came with the bearing press etc
09:36 PM The_Jester_Kicke: oh ya
09:36 PM Tom_L: 2nd or 3rd time i've gotten parts from him
09:37 PM Tom_L: came with whirlpool logo on the boxes with their instruction sheet etc
09:41 PM ASRock_pc: https://www.repairclinic.com/PartDetail/Tub-Seal-And-Bearing-Kit/W10435302/2118925?mr=1
09:41 PM Tom_L: that's the kit but i paid less than that
09:44 PM ASRock_pc: https://www.repairclinic.com/PartDetail/Bearing-Driver/W10447783/2119011
09:44 PM Tom_L: the driver / press i got with it but alot less than tnat
09:44 PM Tom_L: that
09:49 PM The_Jester_Kicke: we usually tell people to just run them to death
09:51 PM Tom_L: i did
09:51 PM Tom_L: went 2-3 years after it started making noise
09:51 PM The_Jester_Kicke: good on you for fixing it though
09:51 PM Tom_L: i've been holding the kit for a while
09:51 PM The_Jester_Kicke: by then most are ready to buy a fancy front load set, which turns into a computer nightmare
09:52 PM Tom_L: will probably order a spare bearing set and seal
09:52 PM ASRock_pc: http://www.ebay.com/itm/Whirlpool-Cabrio-Bravo-Oasis-Washer-Tub-Bearing-Seal-Kit-replaces-W10435302-/131966315894?epid=1095547623&hash=item1eb9ce2d76:g:dsAAAOSw-itXrPDB
09:52 PM Tom_L: should fit it i think
09:53 PM Tom_L: i fixed the front loader 3-4 times before i threw it in the river
09:53 PM Tom_L: will never get another one
09:59 PM The_Jester_Kicke: thats a good call
09:59 PM ASRock_pc: https://partsdr.com/
09:59 PM ASRock_pc: that's the guy
09:59 PM ASRock_pc is now known as Tom_itx
09:59 PM The_Jester_Kicke: rue, Did you ever test your lid switch like i told you?
10:00 PM Tom_itx is now known as Guest46818
10:00 PM The_Jester_Kicke: got cha
10:00 PM Guest46818 is now known as ASRock_pc
10:01 PM ASRock_pc: he's selling that $95 kit on ebay for $65
10:17 PM Tom_L: The_Jester_Kicke, do you repair washers?
10:25 PM zhanx: i do :P
10:25 PM Tom_L: not professionally...
10:25 PM Tom_L: i was after a specific part i can't find
10:25 PM Tom_L: but i think i just found
10:58 PM rue_shop3: The_Jester, Andrew came back and he is PISSED that we are working on the sprayers again without him !
10:59 PM The_Jester: hmm
11:06 PM rue_shop3: I'm going to do something I never do, I'm gonna lock the shop
11:06 PM rue_shop3: he wants his money, I'd not put it past him to steal something he thinks of equal value
11:08 PM rue_shop3: ( we havn't been paid yet, told him he'd get the money when we were)
11:14 PM Tom_L: good business partners ehh?
11:16 PM Tom_L: better aim a camera at the door too
11:22 PM synja: nobody likes not getting paid in a reasonable manner, and not being appreciated ;)
11:40 PM rue_shop3: a guy who is vicimized by the world and nothing that happens to him is ever in any part his doing
11:41 PM rue_shop3: synja, we also have a strange customer