Make something
Email yourself a 10% off coupon
Send
Coupon sent! Check your email
This will be 3D printed near you and delivered to your door by May 06
Loading

Calling all cars, I need some help! I\'ve uploaded the housing for a solonoid, (link). If it works, we\'ll have a really awesome solenoid drumbeat to control through gcode to compliment your Makerbot music. The goal is to make it so that as your playing music on your machine with the steppers, a solenoid can hammer out the beats. I\'ve been having fun working on it, but I\'ve hit a wall.Here\'s where I\'m at:Here is the arduino code that I\'m using. //This code was write by Haeyoung Kim and Zeeshan Mughal.int pushpin1 = 4; int pushpin2 = 5; int outputPin=13; int val1 = 0; int val2 = 0; int led = 12; boolean run1 = false; boolean run2 = false;int extruderIn = 8;void setup() { pinMode (pushpin1,INPUT); pinMode (pushpin2,INPUT); pinMode (extruderIn,INPUT); pinMode (led, OUTPUT); pinMode (outputPin, OUTPUT); Serial.begin(9600); Serial.println(\"start\"); }void loop () { val1 = digitalRead (pushpin1); val2 = digitalRead (pushpin2); if (extruderIn == LOW) { if (val2 == LOW) run1 =false; if (val1 == LOW || run1 == true) { digitalWrite (led, LOW); digitalWrite (outputPin,HIGH); delay(100); Serial.println(\"push pin1\"); digitalWrite (outputPin,LOW); delay(100); run1 = true; } else { digitalWrite (led, HIGH); digitalWrite (outputPin,HIGH); delay(500); digitalWrite (outputPin,LOW); Serial.println(\"push pin2\"); delay(2000); run1 = false; } } }

MakerBot Percussion
Please wait while we prepare the order
$ 0.00 + free delivery
Sorry we had trouble getting the 3D files. Download them yourself and upload them here to place an order.
View files
  • 0 inches x 0 inches x 0 inches
  • this product is 3D printed
  • 16 available colors
  • material is a strong plastic
  • free delivery by May 06
  • 0 parts
Delivery address
This field is required.
This field is required.
Please enter a valid email.
This field is required.
This field is required.
This field is required.
This field is required.
This field is required.
Pay with credit card or debit card
or pay with
Place order
Order summary
MakerBot Percussion
Color:
Quantity:
Subtotal
$
Delivery (May 05 - May 07)
Free
Total
$