an arduino project

Having not enough funds to buy a propper 2-channel guitar head, i ended up buying an Orange Dark Terror head.
Only problem with this 1-channel head was changing the sound without having to stop playing my guitar.
I really like the heavy distorted metal sound of this little terror head, so using external effects wasn´t an option.
That´s where the idea of terrorBot was born… A little robot designed to change the 3 potis of the head controlled with a footswitch.

The goal was to create a cheap and easy to use robot that would´t need any modifications to the head itself except
pulling off the plastic caps from the potis. Also it had to be stable enough for rock´n´roll stage use.
So i bought a second-hand footswitch with 3 pushbuttons (most of them have switches but that wouldn´t make any sense here),
an arduino nano and 3 cheap digital 180° servos. To keep the size small i had to place the arduino board into the footswitch.
I wanted the power supply to be inside the part with the servos near the head rather than having it on the footswitch,
so the connection between those 2 parts needed 5 pins (power, ground, servo1, servo2, servo3).
I choose to use a standard 5m midi cable because it had one lying arround and the jacks are quite cheap.

And this is the result in action:

With the great arduino IDE the first test version of the software was done really quick.
v1.4 ended up beeing the final version, containing some bugfixes and changes for better usability.
All versions are available on GitHub for those who want to know how i did the programming…

The biggest challange was finding a way to securely attach the servos to the potis, so it wouldn´t fall off during use…
tbot_servo_assembly

After some time of research i finally found
a rigid pin coupling with the exact diameter
the potis needed to fit in.

The rotating end of the servo was a bit too small
to fit in the coupling, so i cut a piece of a straw
and wrapped a couple of layers iso tape arround it.
That made it fit perfectly, added some flexibility
to the connection and electrically isolated the
robot from the head.

Finally i replaced the setscrews in the coupling with nylon screws so i wouldn´t need any tools to attach / detach the robot.

tbot_008    For the housing i bought a sqaure aluminim
    pipe with plastic end caps at the diy store.
    (see gallery below)

    Another lucky find where the lock nuts.
    Used as feet the height is easily adjustable…

    The total costs of the robot where arround 80€
    including a spray can of black paint.

    The project was completed within 2 weeks
    end of 2013 in Berlin.
 

…and here´s how everything is wired up on the arduino board:

tbot_pinout

It turned out it was a good choiche using 180° servos instead of continuous rotation servos for my first arduino-servo project.
The 180° servos only cover arround 75% of the poti´s range but that´s totally enough and the risk of damaging the potis near zero.
Once terrorBot is powered on, the servos will move to a predefined initial position (e.g. minimum or maximum value).
Then the potis of the dark terror head can be positioned as needed before attaching the robot.

I´ve been using the terrorBot for almost 2 years now without any issue and i´m still impressed how easy it is
to get things up and running with an arduino board.

used tools and testing phase:

 

Manual & Features:
TERRORBOT FOR ORANGE DARK TERROR HEAD FEATURING:

– INDIVIDUAL SERVO SPEEDs

– 12 PRESET SLOTS IN 4 BANKS
  –> LONGPRESS BUTTON 2 & 3 WILL CHANGE BANK

– EDIT MODE
  –> LONGPRESS BUTTON 1 WILL GO TO EDIT MODE FOR ACTIVE PRESET
      — BUTTON 2 AND 3 WILL CHANGE THE VALUE UP AND DOWN
         – BUTTON LEDs WILL INDICATE THE HEIGH OF THE VALUE
      — SINGLE CLICK ON BUTTON 1 WILL JUMP TO THE NEXT STATE
      — LONG CLICK BUTTON 1 WILL JUMP TO PREVIOUS STATE
      — TRIPPLE CLICK BUTTON 1 WILL EXIT WITHOUT SAVING
      — STATES:
         -STATE-1: POSITION VOLUME
         -STATE-2: POSITION SHAPE
         -STATE-3: POSITION GAIN
         -STATE-4: SPEED FOR VOLUME SERVO
         -STATE-5: SPEED FOR SHAPE SERVO
          –> THERE IS A TIMER HERE. IF NO BUTTON IS PRESSED FOR 5 SECONDS
              ALL SERVOS WILL GET THE SAME SPEED AS SELECTED FOR VOLUME IN STATE-4.
         -STATE-6: SPEED FOR GAIN SERVO
         -STATE-7: SAVE AND EXIT

– COPY PRESET TO ANOTHER SLOT
  –> LOAD PRESET YOU WANT TO COPY AND ENTER EDITMODE
      — TRIPPLE CLICK ON BUTTON 3 WHILE IN EDITSTATE 1 WILL LAUNCH NEW SLOT SELECTOR
      — DOUBLE CLICK ON ANY BUTTON TO CANCEL
      — IF NO BUTTON IS PRESSED FOR 5 SECONDS SELECTOR WILL BE CANCELED

– BACKUP AND RESTORE PRESETS
  –> HOLD BUTTON 1 DURING STARTUP FOR BACKUP
      — THIS WILL SERIAL PRINT ALL VALUES IN AN ARRAY AND
         BACKUP ALL VALUES TO HIGHER EEPROM SLOTS
  –> HOLD BUTTON 1 AND 2 DURING STARTUP
         TO RESTORE VALUES FROM HIGHER EEPROM SLOTS

– GLOBAL OFFSET
  –> DOUBLE CLICK BUTTON 1 WHILE IN EDITMODE 1 TO SET MASTER VOLUME
      — HOLD BUTTON 2 AND 3 TO CHANGE
      — PRESS BUTTON 1 TO SET SHAPE OFFSET
      — PRESS BUTTON 1 AGAIN TO SET GAIN OFFSET
      — PRESS BUTTON 1 AGAIN TO SAVE AND EXIT

– FREEMODE
  –> TRIPPLE CLICK ON DESIRED PRESET TO OPEN IT IN FREEMODE
      — CONTROLL EACH SERVO WITH A SINGLE BUTTON
       – PRESS AND HOLD BUTTON 1 WILL CHANGE VOLUME
       – PRESS AND HOLD BUTTON 2 WILL CHANGE SHAPE
       – PRESS AND HOLD BUTTON 3 WILL CHANGE GAIN
       – SINGLE CLICK CHANGES EACH DIRECTION (LED ON = INCREASE VALUE)
       – TRIPPLE CLICK BUTTON 1 TO EXIT
         –> STATE WILL BE SAVED TO PRESET 12 ON EXIT

– METRONOME
  –> HOLD BUTTON 3 THEN PRESS BUTTON 1 TO ACTIVATE
      — HOLD BUTTON 2 AND 3 TO CHANGE SPEED
      — PRESS BUTTON 1 TO EXIT

 
 

Comments (9)

  1. Thomas

    Antworten

    I’m very, very, very impressed by your project! You transformed your Orange head to a programmable amp without even opening the chassis. Excellent!

    • fichl

      Antworten

      The servos are Tower Pro MG90S (see the image below the video).

      Can´t tell much about the buttons…
      I bought the footswich second hand, replaced the jack with a midi one and added
      the leds and the arduino.
      All i can say is that they are pushbuttons, not switches as they usually come
      with classic guitar footswitches.

      The ones i use only close the circuit as long as they are pressed…

  2. Django

    Antworten

    Awesome this man! The only thing I would really want to change is to speed up the servo’s a little, sometimes the turning speed is a bit slow for my liking. Would this be easily doable you think! Really respect for this man. I am already thinking for months about something like this and you just nailed it, great!

  3. charly

    Antworten

    Hi! Excellent work!! really amazing.
    But I have one question. How do you programmed the arduino nano ??
    Could you share the program script??

    Thank you very much.

  4. Francois BERGERET

    Antworten

    Excellent ! You nedd to add Midi protocol to let use any Midi pedalboard or other Midi compatible equipment to discuss with. 😉

  5. James Russell

    Antworten

    Looks what I need. If the servos can handle the load. I want to remotely lower hydraulic jacks to level a house.

  6. Geert

    Antworten

    Impressive achievement. I have a similar plan to make an Epiphone Blues Custom 30 “programmable. I have more knobs though. I was thinking to work with belts, but it seems achievable with direct connections too. 270 degree servos are indeed difficult to find and require often hacks and tweaks.
    As some comments suggest, I’m planning to extend it with a midi interface that takes in commands from an old but sturdy Boss GT-5. This would allow me to use extra effects like delay for the “lead” parts in songs. Changing pads on the GT-5 can trigger a “patch” change on the amp too.
    I’m wondering still how I can still have a “manual” mode to configure my presets and use then the GT-5 to “recall” them. Since I don’t have coding experience, I’ll need to find it out all by myself…

Leave a comment

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert