Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Best Arduino for a lot of digital outputs?

Best Arduino for a lot of digital outputs?

Scheduled Pinned Locked Moved Hardware
6 Posts 3 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    naveen
    wrote on last edited by naveen
    #1

    I'm looking to connect two stepper drivers to the Arduino, each one needs 2 digital pins for step/dir and 3 pins to control microstepping. I'd also like another pin to connect a light sensor to it. Is there a board that can support all these pins (~12) and the radio? Or would it be best to just get two Arduino pro minis and split it up?

    Paul AugustoP 1 Reply Last reply
    0
    • N naveen

      I'm looking to connect two stepper drivers to the Arduino, each one needs 2 digital pins for step/dir and 3 pins to control microstepping. I'd also like another pin to connect a light sensor to it. Is there a board that can support all these pins (~12) and the radio? Or would it be best to just get two Arduino pro minis and split it up?

      Paul AugustoP Offline
      Paul AugustoP Offline
      Paul Augusto
      wrote on last edited by
      #2

      @naveen
      You can use the analog pins as digital io. It should get you to 12 on the pro mini:
      http://waihung.net/arduino-tip-turn-your-analog-pins-into-digital-io/

      N 1 Reply Last reply
      0
      • Paul AugustoP Paul Augusto

        @naveen
        You can use the analog pins as digital io. It should get you to 12 on the pro mini:
        http://waihung.net/arduino-tip-turn-your-analog-pins-into-digital-io/

        N Offline
        N Offline
        naveen
        wrote on last edited by
        #3

        @Paul-Augusto

        That's a good tip, thanks!

        I guess something like this could also work: http://www.arduino.cc/en/Tutorial/ShiftOut

        1 Reply Last reply
        0
        • N Offline
          N Offline
          naveen
          wrote on last edited by
          #4

          @hek

          Do you have any recommendation for this? I don't think the digital+analog inputs will be enough to connect two steppers and a luminosity sensor.

          Do you foresee any issues using the shift register I linked previously?

          hekH 1 Reply Last reply
          0
          • N naveen

            @hek

            Do you have any recommendation for this? I don't think the digital+analog inputs will be enough to connect two steppers and a luminosity sensor.

            Do you foresee any issues using the shift register I linked previously?

            hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #5

            @naveen

            AtMega 2560 perhaps?

            N 1 Reply Last reply
            0
            • hekH hek

              @naveen

              AtMega 2560 perhaps?

              N Offline
              N Offline
              naveen
              wrote on last edited by naveen
              #6

              @hek

              Hmm, yeah that would work. It just seems like overkill for a few extra pins (price and size wise). I didn't realize there were 8 analog pins on the APM, those should actually be enough to drive all the things as long as they work OK as digital outputs.

              I figure the shift register will cause problems because I won't be able to build an 'AccelStepper' object since the input for the constructor is a pin number. I assume I'd have to modify the code if I want to put it through the shift register.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              15

              Online

              11.7k

              Users

              11.2k

              Topics

              113.1k

              Posts


              Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • MySensors
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular