Comments 5

  • 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.


  • DIP/DIL Switch-Based 8-Byte ROM via Daisy-Chained 4051 MUXs 11 days ago

    Thanks Darrell - a welcome suggestion!

  • DIP/DIL Switch-Based 8-Byte ROM via Daisy-Chained 4051 MUXs 12 days ago

    Thanks, Darrell! You hit the nail on the head. Yes, I did in fact have problems to keep the dip switches firmly aligned. Some kind of glue (maybe silicon, that can be subsequently removed) is needed, especisally if you have the intention to change ROM content frequently. I myself will glue the dip swutches in place in a few days. About the AGC, it was already resurrected, both physically and digitally! Here are the links: and

Add projectSign up / Login