Bluetooth Dialogue with Arduino via HC-05 Module

Project tutorial by CesareBrizio

  • 2 respects

Stepper-Based Rotating Stand Controlled by Serial Dialogue

Project tutorial by CesareBrizio

  • 2 respects

Arduino-Controlled, Light-Tracking, 2-Axis Rotating Turret

Project tutorial by CesareBrizio

  • 4 respects

Toolbox 1

Replicated projects 0

 CesareBrizio hasn't replicated any projects yet.

Respected projects 0

 CesareBrizio hasn't respected any projects yet.
  • Stepper-Based Rotating Stand Controlled by Serial Dialogue 4 days ago
    Thanks, Adam!

    Cesare Brizio
    Via Chiesa Vecchia, 45
    44028 Poggio Renatico FE
    (+39) 334/9529072
    Italian CV: 

  • Stepper-Based Rotating Stand Controlled by Serial Dialogue 10 days ago

    Hi Adam,
    About not-really-continuous rotation, I suppose that you are right, I hadn't the patience to wait how many turns would 10000 step last (a little less than 5 full 360° rotations I would say). All you need is trying with higher values. As long as this was just a demonstrator, "continuous" just meant "several rotations".

    If you need actually continuous rotation, it can be surely done, it suffices to enter a loop where you continuously move it one step forward. But to implement a break in that loop I would have needed an entirely different program structure, while in fact I wanted the main loop to constantly check for keyboard inputs and act consequently to the five commands.

    I also found an old thread about the same issue, but I haven't checked whether or not this applies to the specific stepper we are talking about: - also in that case the program would need significant modifications.

    I don't know why the "guillemets" angle brackets don't print on your emulator - as long as they are purely esthetical you may well omit them or substitute with single quotes.

  • Stepper-Based Rotating Stand Controlled by Serial Dialogue 10 days ago

    Hi Adam, I added a few more pictures and a few lines to the "Story" section, that should clarify the answer.

    No, I didn't exactly reproduce the circuit in the Fritzing illustration: in fact, I used pins 4,5,6,7 (see photo) instead of 8,9,10,11 as in the Fritzing picture. You can see that the software sketch defines motor pins of the stepper controller as follows:

    #define motorPin1 4 // Blue - 28BYJ-48 pin 1 (1N1)
    #define motorPin2 5 // Pink - 28BYJ-48 pin 2 (1N2)
    #define motorPin3 6 // Yellow - 28BYJ-48 pin 3 (1N3)
    #define motorPin4 7 // Orange - 28BYJ-48 pin 4 (1N4)

    // Red - 28BYJ-48 pin 5 (VCC)

    // Blue - 28BYJ-48 pin GND

    Yet, the Fritzing circuit is accurate in terms of connections: unfortunately, I found it as a png picture, not as a .fzz file - and wasn't able to modify it with Fritzing as I usually do.
    At software level, I had other things attached to the Arduino, that prevented me to use the pins that appeared in the png picture of the circuit.

    If you use the pins as they appear in the fritzing illustration, you should define consistently the variables motorPin1, motorPin2, motorPin3, motorPin4 to make them point to the pins that you decided to use.


Add projectSign up / Login