I am super new to this sort of stuff, as in had an idea for a project this afternoon and did some googling, hopefully have ended up in the right place, but a bit stuck in my understanding. (Note; have found codes online for Arduino boards fitting my needs)
I am also wanting to create something that will rotate the object which I have researched I will need a stepper motor. I’m struggling to find instructions on how to set this up and was wondering if I can follow the same method of the above solenoid motor but sub the stepper motor in?
For reference; I am creating some props for a kids Harry Potter party, wanting to use the solenoid/s for the bludger balls within a quidditch trunk and a stepper to spin a Monster Book of Monsters (have found a code that will allow the motor to spin opposite directions). Any suggestions on better ways to do this or with my above question is very much appreciated!!
However, steppers can be pricier than plain DC motors. If you don’t need very precise control you’re probably better off with a brushed DC motor - we also have a good tutorial on these.
Something like this would probably do you well.
And this is a great little motor shield you could use with an Arduino:
You definitely can. You just need to be mindful of the maximum current limits on the Arduino’s pins. This is 20mA per pin (but it will handle momentary spikes up to 40mA per pin) and a combined total of 200mA.
As per the solenoid tutorial you’ll need to use some kind of power handling component (a relay or transistor) to actualy handle the current to the solenoid, and just control your ‘switch’ with the Arduino.