Marc Uberstein
Published © GPL3+

Guitar Speed Pick and Stomp Pedal!

8,000 RPM motor with a guitar pick! Crazy! You will shred faster than any other guitarist!

IntermediateFull instructions provided6,550
Guitar Speed Pick and Stomp Pedal!

Things used in this project

Hardware components

Dual H-Bridge motor drivers L293D
Texas Instruments Dual H-Bridge motor drivers L293D
×1
Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
DC motor (generic)
Medium Torque
×1
LED (generic)
LED (generic)
×1
Rotary potentiometer (generic)
Rotary potentiometer (generic)
×1
Breadboard (generic)
Breadboard (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Fusion 360
Autodesk Fusion 360
Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
3D Printer (generic)
3D Printer (generic)

Story

Read more

Schematics

Overview

More updated schematics will be uploaded soon.

Code

Arduino Code to control Motor Speed via Pedal

Arduino
#define PIN_Pot			A0
#define PIN_LED			9
#define PIN_Input1	2 //L293D pin 2
#define PIN_Input2	7 //L293D pin 7
#define PIN_Speed		3 //L293D pin 1

int sensorValue = 0;

void setup()
{
	pinMode(PIN_Speed, OUTPUT);
	pinMode(PIN_LED, OUTPUT);
	pinMode(PIN_Input1, OUTPUT);
	pinMode(PIN_Input2, OUTPUT);
}

void loop()
{
	sensorValue = analogRead(PIN_Pot)/4;
	
	analogWrite(PIN_LED, map(sensorValue, 0, 255, 10, 255));
	analogWrite(PIN_Speed, map(sensorValue, 0, 255, 50, 220));
	
	//Setting the direction of the DC Motor
	digitalWrite(PIN_Input1, LOW);
	digitalWrite(PIN_Input2, HIGH);
}

Credits

Marc Uberstein

Marc Uberstein

2 projects • 4 followers
I started my own Indie Studio building Games and creating Arduino Projects! Building stuff is a life style!

Comments

Add projectSign up / Login