You can contact the author at martin.koch@buildyourguitar.com
Additional information sorted by page number:
Pythonista for iOS allows to run Python code on your iPhone.
import motion import time import console x=0 countThis=True console.set_font('Courier New',64) console.clear() print('Start') try: motion.start_updates() while True: data = motion.get_magnetic_field()[2] if (data > 500) and countThis: console.clear() x=x+4 print(x) countThis=False elif (data < 50): countThis = True time.sleep(.001) finally: motion.stop_updates()omz-software.com/pythonista
Aluoxid is available from cnc-plus.de
Manufacturer: OTORO Design Inc., www.otoro.jp
Available in
JAPAN: OFF Corporation Inc., www.off.co.jp
GERMANY: Dieter Schmid Werkzeuge GmbH, feinewerkzeuge.de / finetools.com
Dictum, dictum.com
Verleimzwinge RB 107: verleimzwinge.de
Veritas T-slot blade clamp: veritastools.com
vacuvin.com
smcpneumatics.com/ZU05S.html
roarockit.com
The Arduino UNO compatible printed circuit board (PCB) shown in the book was designed using the Fritzing software (fritzing.org).
You do not need to install Fritzing if you want the PCB.
Step 1: Download the stepperDriver.fzz Fritzing file from BuildYourGuitar.com
Step 2: Upload the Fritzing file and order the PCB from aisler.net. The costs as of 2020 are about 17 Euros for two boards plus worldwide shipping plus VAT if applicable.
/* MICROCONTROLLER ASSISTED FRET SLOT CUTTING JIG Accompanying software to the book Building Electric Guitars by Martin Koch Version 1.0, December 2016 Controller: Arduino UNO or compatible */ #include <Stepper.h> Stepper stepperMotor(200, 2, 3, 4, 5); #define Button 12 #define LED 13 float scaleLength = 25.50; //Always enter the scale length in inches! boolean zeroFret = false; //Change "false" to "true" if a zero fret is used. float distanceFromNut, X; float travelPerStep = 0.005; //Use 0.00635 for a 0.5 in. x 0.25 in. threaded rod boolean cutMode = false; long startTime, buttonPressDuration; void setup() { pinMode(Button, INPUT_PULLUP); pinMode(LED, OUTPUT); stepperMotor.setSpeed(60); //rpm } void loop() { if (!cutMode) { powerMotorOff(); startTime = millis(); while (!digitalRead(Button)); //if button is pressed wait for release buttonPressDuration = millis() - startTime; delay(10); if (buttonPressDuration > 5000) cutMode = true; else if (buttonPressDuration > 1000) while (digitalRead(Button)) stepperMotor.step(-1); //wait for button press to stop else if (buttonPressDuration > 10) while (digitalRead(Button)) stepperMotor.step(1); //wait for button press to stop digitalWrite(LED, HIGH); delay(250); digitalWrite(LED, LOW); delay(250); } if (cutMode) { distanceFromNut = 0; for (int fretslot = 0; fretslot <= 99; fretslot++) { digitalWrite(LED, HIGH); powerMotorOff(); while (digitalRead(Button)); //wait for button press digitalWrite(LED, LOW); X = ( scaleLength * 25.4 - distanceFromNut ) / 17.8171537451058; if (fretslot == 1 && !zeroFret) X = X + 0.3; distanceFromNut += X; stepperMotor.step(X / travelPerStep); } } } void powerMotorOff() { digitalWrite(2, LOW); digitalWrite(3, LOW); digitalWrite(4, LOW); digitalWrite(5, LOW); }
Carlos Santana - "Oye Como Va": youtu.be/9QhchQD_w0M