Fablab_Irbid
Published © CC BY-NC-SA

Kinetic Wave Sculpture

The mechanism of the project depends on the motion of many wires connected with each other...

ExpertWork in progressOver 1 day15,677
Kinetic Wave Sculpture

Things used in this project

Story

Read more

Custom parts and enclosures

3D Design

Schematics

Schematic and board design

Code

Kinetic Wave Sculpture code

Arduino
#include <Stepper.h>	



const int stepsPerRevolution = 200;  // change this to fit the number of steps per revolution for your motor
 


Stepper myStepper(stepsPerRevolution, 7, 8, 9, 10);
#define led 4
#define port1 5
#define port2 6
void setup() {
  
  // set the speed at 7 rpm:
  myStepper.setSpeed(7);
 
  Serial.begin(9600);
}

void loop() {
  // step one revolution  in one direction:
  Serial.println("clockwise");
  myStepper.step(stepsPerRevolution);
  digitalWrite(led,HIGH);
  digitalWrite(port1,HIGH);
  digitalWrite(port2,HIGH);
  

}

Credits

Fablab_Irbid

Fablab_Irbid

6 projects • 32 followers
Thanks to Moath Momani .

Comments