0
\$\begingroup\$

I have just started electronics at school and cannot find any tutorials on how to do this. I am creating a circuit that when the light intensity increases a bipolar stepper motor will step clockwise for with 5 second intervals for 30 seconds then do the same but anti clockwise. I know how to program this, but not how to connect it to my circuit. How would I connect this to my circuit with the use of h bridges. I am using circuit wizard. circuit diagram btw, this is just a circuit, I am not planning on making this I would just like to know for further use.enter image description hereenter image description here I would like to connect it to Q4 (no output is there currently )

\$\endgroup\$

closed as unclear what you're asking by Elliot Alderson, Edgar Brown, laptop2d, Dwayne Reid, Sparky256 Feb 11 at 0:10

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ Why have you reposted this question? What was wrong with the old one? Is it fixed in this one? \$\endgroup\$ – Eugene Sh. Feb 4 at 18:23
  • \$\begingroup\$ No sorry it wasn’t allowing me to edit the last one. \$\endgroup\$ – Pizaaaa Feb 4 at 18:25
  • \$\begingroup\$ What do you want the light sensor threshold to be 300uA * 10k = 3V at 10 Lux? I don’t think so, unless you are using a large panel. How many steps and what acceleration and velocity do you wish when the light turns on? This must be specified. \$\endgroup\$ – Sunnyskyguy EE75 Feb 4 at 18:33
  • 1
    \$\begingroup\$ What do you mean by "this is just a circuit"? \$\endgroup\$ – Hearth Feb 4 at 20:22
  • 1
    \$\begingroup\$ "I just need to know ... to this circuit" With the level of detail you're giving us, the level of detail we can give you is to take any one wire from the motor and solder it to any one wire in the circuit. That's probably not what you want, which is why we are all trying very hard to get you to please clarify your question. \$\endgroup\$ – TimWescott Feb 4 at 20:55
0
\$\begingroup\$

You cannot just connect it to your Q4 to get any useful behavior. You need to do one of two things: get a stepper controller (or controller + driver), and drive it's enable, direction, and clock pins from three pins on the microcontroller. Or, get a stepper driver and drive its enable, phase A, and phase B pins from the microcontroller. Either way you need to understand the needs of the stepper (or controller) and meet them.

\$\endgroup\$
  • \$\begingroup\$ That's all I needed, thank you! Sorry if I wasn't clear I'm 15 and very new to this. \$\endgroup\$ – Pizaaaa Feb 4 at 22:54
  • \$\begingroup\$ I'm glad I could help! \$\endgroup\$ – TimWescott Feb 4 at 23:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.