#robotics | Logs for 2016-12-29

Back
[00:01:25] <theBear> well, anarchy in the uk, obviously !
[00:02:53] <Casper> fun fact, the tv whatever organisation break the laws by forcing their entry into people's house to check if they have an unlicenced tv (not all of course)..
[00:03:00] <Casper> worse than those mafiaa
[00:12:11] <z64555> that makes zero sense
[00:12:45] <zhanx> theBear: what you going on about
[00:14:03] <z64555> " Since 1 April 2010 the annual licence fee has been £145.50 for colour and £49.00 for black and white.[2][3][4] Income from the licence is primarily used to fund the television, radio and online services of the BBC."
[00:14:12] <z64555> hm. Do they have ads?
[00:16:57] <Casper> I think they do not
[00:19:21] <theBear> zhanx, somewhere in the zone that exists between insanity and word-free-association ... it's chaos inside my head....
[00:20:43] <zhanx> oh ok, used to that
[00:21:08] <z64555> Casper: that's tolerable then
[00:21:40] <z64555> I'd be mad if I had to pay a license fee and still be subject to assinine ads
[00:23:48] <z64555> the TV detector vans are kinda neat
[00:25:36] <z64555> I'm guessing they'd tune into the local station, and then listen for echos
[00:25:59] <z64555> The echos, as it were, are rebroadcasts of the signal from the CRT
[00:27:06] <z64555> other possibility seems to be the LO used in the heterodyne reciever
[00:29:18] <z64555> although it seems many of them are just dummies
[00:31:27] <Casper> they will just drive people to netflix and piracy, unfortunatelly it became a surveillance country, so..
[03:17:34] <z64555> hm. hydraulic stepper motors are a thing
[03:17:44] <Casper> o.O
[03:18:12] <Casper> servo + normal stepper?
[03:19:47] <Casper> yup
[03:20:12] <Casper> electro-hydraulic stepper motor, made out of an electric stepper, a servo valve and an hydraulic motor
[03:20:20] <z64555> one I'm looking at appears to be a camshaft valve which can also be pulled in/out
[03:20:54] <z64555> the camshaft is powered by an electric stepper, yes
[08:24:01] <z64555> Hm, who gave me the link to "ROBOTICS Designing the Mechanisms for Automated Machinery"
[08:24:10] <z64555> by Ben-Zion Sandier
[08:27:03] <z64555> It's focused on the machinery used in manufacturing, not a whole lot about robots
[08:29:43] <z64555> it's also fairly long winded. -_-
[10:38:07] <pokmo> Hi
[10:39:12] <pokmo> I'm trying to count the frequency of an audio signal using a 393 binary counter driven by an arduino. How do I make sure the the counting only goes for 100ms?
[10:40:20] <pokmo> Is there a way to stop the counter? Or is the only way to stop the counter to keep input high?
[10:46:21] <Snert> count all the time. Just read it every 100ms, then reset it.
[10:46:47] <SpeedEvil> And why are you not using the arduino?
[11:19:16] * z64555 reads up on the 393
[11:25:59] <z64555> pokmo: use another chip to act as a switch. a multiplexor can suffice
[11:26:14] <z64555> to switch on/off input to the counter
[11:26:43] <z64555> You might be able to use the arduino to short the input to ground, too
[11:27:48] <z64555> although, really, it may be better to use the arduino itself to do a sample sequence of input-compares
[11:31:05] <z64555> Your method of capturing the hi/low amplitudes means you'd only be able to get the average frequency of the audio signal, and you won't be able to digitally filter out noise like you could if you used an adc
[11:43:54] <SpeedEvil> that seems like an insane idea frankly.
[11:44:09] <SpeedEvil> Rather than just taking it into the ADC of the arduino, and counting cycles manually.
[11:45:52] <SpeedEvil> Take a thousand samples, measure highest and lowest. Store this as the zero offset. Then count the time a hundred high/low cycles takes.
[11:46:10] <SpeedEvil> Or if this is still to read a compass on a phone, don't.
[11:46:27] <SpeedEvil> magnetometers are very cheap and eaisly interfaced to the arduino
[12:38:39] <theBear> are magnetometers ok like that ? they don't have a slow steady "drift" like gyros ?
[12:39:09] <SpeedEvil> No.
[12:39:21] <SpeedEvil> Gyros output change in angle.
[12:39:28] <SpeedEvil> Magetometers are absolute measurey
[12:46:13] <z64555> Yup
[12:47:01] <z64555> The are susceptible to RF signals, though, but that can be easily compensated for with a low pass filter
[12:50:29] * theBear isn't susceptible to RF, and is also capable of operating at full capacity in the presence of unholy amounts of gauss's
[12:51:14] <z64555> oh yeah? stand in front of a navy radar and tell us if you feel warm
[12:51:19] <z64555> :P
[12:51:21] <theBear> heh, one assumes that common-knowledge includes that idle gauss is less than christian <wink>
[15:56:01] <anniepoo> I had an ALPS MD1000, incredible printer
[15:56:16] <anniepoo> bye sublimation. Printed in white and metallics
[15:56:19] <rue_house> 2D?
[15:56:27] <rue_house> metalics!
[16:01:23] <theBear> heh, bye sublimation, hello extrusion
[17:10:53] <rue_house> The entire human race prospered because, instead of keeping it a secret, Gorth, taught Uhg how to make a hammer. Yay open source.
[17:12:09] <veverak> :D
[17:41:13] <rue_house> I need to make a spindle speed regulator
[17:42:28] <rue_house> I suppose I could use a pfm genorator on the shaft to generate a pam signal that could go to a regulator
[18:09:33] <anniepoo> put a slotted disk on the shaft
[18:09:38] <anniepoo> photointerruptor
[18:09:50] <anniepoo> then measure the time the slot appears for
[18:10:53] <anniepoo> you might need to use a PID type control algorithm, depending on how close you need to regulate
[18:29:59] <z64555> "how to make a hammer"
[18:30:00] <z64555> uh
[18:30:09] <z64555> a suitably sized rock will do
[20:17:13] <rue_shop3> I been playing with an analog solution
[20:17:50] <rue_shop3> I set up a linear ramp generaotor, that was reset by the index pulse,
[20:18:04] <rue_shop3> and I made up a sample and hold to cature the votlage before it was reset
[20:21:12] <anniepoo> 8cD small victories, I have physical movement from the robot. No tread movement, that's waiting on HAT, but servos are going
[20:21:16] <rue_shop3> but, sequencing them is a problem, so I'll just use a tiny13
[20:23:03] <rue_shop3> back to the hammer, Ord made a tool, but he just sat on the patent and did nothing with it, to this day we dont know what it was
[20:23:48] <rue_shop3> if I wanted to, I think I could made a control circuit a lot like a hobby servo uses to control the spindle speed, but , again, tiny13
[20:24:49] <rue_shop3> ok I guess I have to go shopping
[20:25:14] <rue_shop3> I have to shop at multiple stores now to get the stuff I want, nobody carries it all anymore
[20:29:40] <anniepoo> if you just need more-or-less control, drive a small PM motor off the spindle. Have an analog comparator that removes power when it gets over a certain voltage out.
[20:30:32] <rue_shop3> no
[20:30:38] <rue_shop3> I need proper speed regulation
[20:30:44] <rue_shop3> and its a series wound motor
[20:30:51] <rue_shop3> its for a cnc spindle
[20:30:58] <rue_shop3> but I have some REALLY good pwm circuits
[20:31:27] <rue_shop3> were talking like 0-100% from a 2 op-amp dip8 and less than 6 components
[20:31:47] <rue_shop3> that said, tiny13 is 2 parts if you include a 7805 regualtor
[20:32:04] <rue_shop3> I have, somewhere, a tiny13 2chanalog->2pwm code
[20:32:31] <rue_shop3> :)
[20:33:20] <rue_shop3> wait, what costs less from china, a tiny13 or a atmega8?
[20:34:20] <rue_shop3> $2/10 soic, I think the tiny13 wins that one
[20:36:22] <rue_shop3> I have 15, I wonder if I should stock up
[20:36:43] <rue_shop3> 14, I used one for timing a air pulse nozzel for the cnc
[21:18:06] <rue_shop3> so, I need to count the interval
[21:18:32] <rue_shop3> can I do a uint32_t on a tiny13?
[21:18:37] <rue_shop3> does it have enough memory?
[21:18:38] <rue_shop3> :)
[21:20:33] <rue_shop3> 500rpm to 10krpm
[22:21:17] <Jak_o_Shadows> we're up to H now
[22:29:03] <theBear> H is for Huzzah ! also todays program was helped by the number "8" !! here, have some awesome to go with that ---> https://www.youtube.com/watch?v=Paj43J0pi4s
[22:32:15] <theBear> is your mind blown yet ?
[22:32:49] <theBear> or do you need a little pointless-gameshow hosted by guuuuuuuuUUUUYYYYYYY SMIIIILEEEY !!!! ?
[22:36:02] <rue_shop3> how is that related to robotics!?!?!?! HOW!?!?!
[22:36:23] <Casper> nahhh H is for Happy!
[22:38:11] <theBear> well, electronics/repair at least.. and c'mon, don't tell me you didn't enjoy the couple mins break @! that's a total classic from the days when the writers musta took a LOT of psychadelic drugs CONSTANTLY :)
[22:40:04] <theBear> ilike how naturally it jumps from reasonable safety tips and manners "please unplug the set would you bert ?" to reality-bending and a character responding just how you are at that moment :)
[22:41:55] <theBear> plus it matches with today's letter
[22:42:11] <theBear> if that ain't a hint from a higher power, i dunno what is :)
[22:50:26] <Jak_o_Shadows> https://www.youtube.com/watch?v=Kh0Y2hVe_bw What are birds?
[22:50:51] <theBear> why do they suddenly appear ? every time, you are near...
[22:50:56] <theBear> ll
[22:50:57] <theBear> lol
[23:30:23] <Jak_o_Shadows> I did that thing where I change the comment without changing the actual value again
[23:46:17] <theBear> heh, at least you keep yer comments up2date, tho i spose it not much better than forgetting them if they still not matching the code :)
[23:52:29] <Jak_o_Shadows> aha. I should probably change some of the code to use decimal values instead of hex
[23:52:42] <Jak_o_Shadows> What's the point of converting Button 20 to Button 0x14?