Sign in to follow this  
knotian

Arduino -Many motor question

Recommended Posts

My diorama is getting finished up. Now I use a mix of Ev3, a panel of Lego switches and Lego IR for control. Expanding EV# is $$$ out of question, Sbrick is not really an option since nothing freely travels.

Looked at Arduino and the Motor Shield, One key question---how many motors can be controlled with one arduino and MULTIPLE shields? Is that even an option? I'd like to stay with PF

Is there another micro that I should look AT?

By the way I am now at 9 motors and am planning to go well past 20.

Share this post


Link to post
Share on other sites

It depends on how you do it. A typical motor driver IC can run two motors. You could use SPI or i2c motor driver units and then control many more. It also depends on what type of motors (DC, Servo, stepper) you want to drive.

See e.g.: https://www.adafruit.com/?q=motor driver

Controlling motors using the Atmega328 happens to be the topic op this weeks lectures to my first year embedded / electrical engineering students :)

Share this post


Link to post
Share on other sites

Could depend on if you are using an Arduino Uno or Mega?   Do you want PWM speed and direction control of the motors and/or simple on/off?

You can also use the arduino to control the PF motors connected to the PF IR receiver. 

Share this post


Link to post
Share on other sites

You could use an H bridge motor driver, they only require 3 pins per motor, so with an Arduino mega you could control 17 motors(minus pins for control, unless you plan to automate everything with the Arduino), otherwise, you could get several Arduinos, and have a master/slave system for multiple motor control if needed. then you would need some sort of Bluetooth shield to interface with the Arduino to provide control over a smartphone or other Bluetooth device.

H bridge motor driver for 2 motors  https://www.sparkfun.com/products/14450?_ga=2.116436934.1981718934.1571699770-1975760877.1567875315

( this driver is only rated to 1.2 A but can handle 3.2A for a short period, an XL motor will stall at 1.8A, so it could potentially damage the driver if you are pushing past 1.2A under load)

BLE pinout board https://www.adafruit.com/product/2633

Lego motor specs and current draw http://www.philohome.com/motors/motorcomp.htm

 

Edited by Tommy Styrvoky

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.