Coin Pushout Module
Project Overview
This 3-part 3D printed mechanism dispenses euro coins using an affordable SG90 servo motor. Simply program the servo to rotate 180 degrees to automatically push out a single coin.
You can find this project here and modify the parameters for you're own use!: https://makerworld.com/en/models/1648032-parametric-coin-pushout-module#profileId-1742066
For this example the arduino code that i used was:
#include <Servo.h>
Servo myservo;
const int speed = 300;
void setup() {
myservo.attach(9);
}
void loop() {
myservo.write(0);
delay(speed);
myservo.write(180);
delay(speed);
}