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!!
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.
Support | Core Electronics
And you can get our latest projects and tips straight away by following us on: