Hi guys, I am quite new with arduino, I am workin on old arcade photobooth, and I stuck, I need some help,
we redesign compleatly software, and I use arduino for mechanical parts, we use serial port comunication to mange hardware.
this is small part of the project
let me explain what I am working on now: I have a 2 motors 12v (I have own power source 12v), they are design to move little part forward and then part goes back to start possition (it is kind of ejecting mechanism for keyring), when back to start possition it hit microswitch, when hit microswitch it should switch off the motor. Until it will receive another "start" command from serial port
ive been going with some examples for weeks, but most of the people use motor sheilds, can this actually be done by arduino it self without the motor shield ?
i am very confused right now and I dont know how to even start, can someone please help me with the code ?
many thanks guys
p.s.
this project is devided by 3 parts, I did first 2 but stuck on 3 which is motors 
1. joystick + 2 buttons comunicate with android box over usb serial port
2. coin mechanism send to serial ports amount of money was inserted to coin mech
3. eject mechanism for keyring which I am stuck on right now :|