robathome

Untitled

Jun 25th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.25 KB | None | 0 0
  1. so these two guys are having lunch at the worksite
  2. pisse dher off, oh well nothing new
  3. one of them is chuckling to himself, the other asks whats so funny
  4. he says "aw, man, I had the most embarassing Freudian Slip last night"
  5. the other guy says "what the hell is a Freudian Slip?"
  6. "it's when you accidentally say what you're thinking about, instead of saying what you're talking about"
  7. he gets a blank stare, so he says "OK, so last night, I'm taking the subway home"
  8. and the lady at the ticket counter has the biggest tits I've ever seen. enormous. I couldn't stop staring"
  9. "so when it gets to my turn, I meant to ask for my change in nickels"
  10. "instead I asked for my change in nipples"
  11. lololol
  12. they both laugh and the other guy says "Ok, ok, I think I get it... I had one of those last night too"
  13. I'll take the nipples
  14. "I was at the dinner table with the family, and I meant to say 'honey, please pass the salt"
  15. "but instead I said "BITCH YOU RUINED MY LIFE"
  16. oooo tough crowd
  17. I guess it's better delivered in person?
  18. OMG I've wanted to say something like that soooo many times over the past 39 years.
  19. lol
  20. Yet I would say what the frack did you get yourself into? Well Got a good cook out of the deal anyway.
  21. lol
  22. OK, have you ever seen the inside of a stepper motor?
  23. Did I show you those pics?
  24. yes
  25. ok, you remember what makes them different from normal motors
  26. what happens when you apply a constant current to a NON-stepper motor
  27. magnets
  28. lol bingo
  29. spinning magnets
  30. normal motor + electricity = spinning
  31. +-+-+-
  32. stepper motor + constant electricity = ?
  33. (hint: from "off" to "on" would be one step)
  34. positive switches to negative and vice versa
  35. Yes
  36. and in a big motor with only a few poles, that's a relatively large rotation
  37. in a stepper motor, it's a small movement, but very precise
  38. now, how do we know how many steps a motor has in one revolution?
  39. By telling it what it is suppose to do
  40. you're one step early, I think
  41. The number of steps in a rotation is a physical property of the motor... like the gear ratio in a differential
  42. no matter what settings you change, how much voltage you apply, the number of steps you need to send to that motor to get one rotation does not change
  43. now, with some fancy footwork, we can create "pretend" steps in between the real ones
  44. it's just the speed of which it reaches that full rotation
  45. I think so... your wording is different, but it sounds like you follow
  46. So a stepper motor makes steps. There are a fixed number of steps in a rotation, so each step has a fixed step angle
  47. if you have a 200-step motor, and you send 200 steps in half a second, and then 200 steps over ten seconds
  48. okay, sorry, step Angle?
  49. yes
  50. don't apologize, this is good feeedback for me
  51. imagine a staircase
  52. rise height
  53. you like to build shit, this will be a good analogy
  54. you have to go up 40'm
  55. sorry
  56. 40'
  57. and you have to build exactly 48 steps
  58. assuming they're all the same height
  59. how tall is each step?
  60. 10 inches per step
  61. bingo
  62. now
  63. this is going to be the most useless staircase every
  64. lol
  65. you have to go up 30'
  66. and you have to build exactly 200 steps
  67. how tall is each step
  68. might as well just build a ramp, 1.8"
  69. now, imagine that same staircase as a ladder instead
  70. one rung every 1.8"
  71. now wrap it in a circle
  72. the whole ladder is 360 degrees
  73. and there are 200 steps
  74. each step is 1.8 degrees
  75. so the step angle is 1.8 degrees
  76. was that helpful?
  77. okay.for now it's in there.
  78. lol, okay
  79. now every time you send a pulse to the motor, it turns one step
  80. so in this example, it turns 1.8 degrees
  81. right
  82. if you send 100 steps, how far does it turn?
  83. half way
  84. bingo
  85. ok, now we need to translate that ladder into the little black boxes on your printer
  86. if you send 100 steps to the motor, the shaft will turn one-half rotation
  87. you still with me?
  88. so if there are 200 steps in a revolution and one revolution travels 5mm then you would have 80 revolutions in a 400mm x travel. Please be right
  89. that is correct
  90. but
  91. only if the motor travels 5mm in one rotation
  92. ours do not
  93. but that statement is correrct
  94. *correct
  95. I see where your confusion lies
  96. I'm going to re-word your statement
  97. in pieces
  98. with one small but critical change
  99. if there are 200 steps in a revolution
  100. and one STEP travels 5mm
  101. then 80 STEPS
  102. would travel 400 mm
  103. would be 400mm
  104. does that make sense?
  105. 'yep
  106. ok, now
  107. the reason you got mixed up there
  108. is becuase you jumped a step
  109. we need to translate step ANGLE into step DISTANCE
  110. now, we don't have to think about diameters or pi or any of that bullshit
  111. because we know two things
  112. I don't know pi that's one
  113. sorry
  114. 1) we're using a toothed belt with ONE tooth every 2 mm
  115. and 2) the pulley on our motor has EXACTLY 20 teeth
  116. okay
  117. so
  118. if we rotate our motor one HALF rotation, how far does the belt move?
  119. sorry
  120. 20mm
  121. imagine there's a black line on the face of the motor, from the centre of the shaft to the middle of one edge
  122. like this
  123. so you need to know the radius too?
  124. Of the pulley?
  125. nope
  126. one sec
  127. k
  128. phew
  129. that was stressful to pull of quickly
  130. now
  131. that pulley on the motor has 20 teeth
  132. and before we send any signals, the red one is lined up with the black line
  133. still with me?
  134. yep
  135. ok
  136. now, we send 100 steps
  137. how many teeth go past that black line?
  138. ooooh you're overthinking it
  139. I can tell
  140. back it up, how many teeth on the pully total?
  141. 20 each 2mm aaprt
  142. yes!
  143. okay, now how far does the shaft rotate with 100 steps?
  144. half way
  145. yes!
  146. ok, now, if the pulley is GLUED to the shaft, 1:1 movement, no questions, how many teeth have rotated past that black line after 100 steps?
  147. 50
  148. whoops
  149. try again
  150. noooooo 10
  151. YES!
  152. now, how far apart are the teeth on the belt?
  153. 2mm
  154. so how far has the belt moved after 100 steps?
  155. 20mm
  156. YES!
  157. NOW
  158. Now, how far does the belt move for 10 steps?
  159. 2mm
  160. fucking yes
  161. now
  162. how far does the belt move for one step
  163. .2mm
  164. oh my god, almost there
  165. now
  166. how many steps to move one mm
  167. 5
  168. ladies and gentlemen, I give you
  169. steps /mm
  170. phew
  171. I enjoyed that
  172. OMG, I need to copy and paste this to my notepad.
  173. LOL
  174. take your time, I need a cigarette
  175. I'm kidding I don't smoke
  176. same here, more like a mouthful of nicorrete
  177. Have a shot of scotch on me.
  178. damn straight
  179. let me know when you're ready to continue
  180. WHAAAA, ALOL
  181. go for it
  182. Did you get all that copied?
  183. No will do it later can only copy and past one message at a time. takes too long
Add Comment
Please, Sign In to add comment