Tell us about yourself!

Complete Your Profile
  • USB Volume Controller - Potentiometer Based

    Is this now a closed post? Still need help with the code as I am not getting any output.

    View Instructable »
  • USB Volume Controller - Potentiometer Based

    I started my first Arduino experience following your tutorial. Then I realized it was a volume controller for Windows. However, I used part of what you have and found a sketch that is supposed to output midi data. Using an Arduino mini, 10K linear pot and the mini usb port on the board. The program uploaded without error. Windows is seeing as Arduino leonardo, as does the virtual organ software. However, neither my software or MidiOx is seeing any midi data. This is the setup:Rec'd pot today. Wires are connected to board at A0, gnd and 5V. Center of pot to A0, and left and right to other 2 board pins. Regardless of connection of pots outer pins, not receiving and midi out put. Windows does recognize device as Arduino Leonardo. Sketch (compiled and loaded without error)that I fou...

    see more »

    I started my first Arduino experience following your tutorial. Then I realized it was a volume controller for Windows. However, I used part of what you have and found a sketch that is supposed to output midi data. Using an Arduino mini, 10K linear pot and the mini usb port on the board. The program uploaded without error. Windows is seeing as Arduino leonardo, as does the virtual organ software. However, neither my software or MidiOx is seeing any midi data. This is the setup:Rec'd pot today. Wires are connected to board at A0, gnd and 5V. Center of pot to A0, and left and right to other 2 board pins. Regardless of connection of pots outer pins, not receiving and midi out put. Windows does recognize device as Arduino Leonardo. Sketch (compiled and loaded without error)that I found is:#include <MIDI.h>#include <frequencyToNote.h>#include <MIDIUSB.h>#include <MIDIUSB_Defs.h>#include <pitchToFrequency.h>#include <pitchToNote.h>MIDI_CREATE_DEFAULT_INSTANCE();#define expPin A0int currentVal = 0;int lastVal = 0;void setup() { // put your setup code here, to run once:MIDI.begin();}void loop() { // put your main code here, to run repeatedly:currentVal = analogRead(expPin); currentVal = map(currentVal, 0, 1023, 0, 127); currentVal = constrain(currentVal, 0, 127);if(abs(currentVal-lastVal) > 1) { MIDI.sendControlChange(1, currentVal, 1); } lastVal = currentVal; delay(5); }Is there something else I have to do?( I already have a midi usb expression pedal that is failing. All it has in it is a pot, connected to some kind of pc board with USB connection wires to the board. There is a USB A on the end but that is not used in the setup. Did try to connect to it but got a device error from Windows. The USB cable it sends on is directly soldered to the board. I was trying to replicate this using an Arduino board)

    View Instructable »
  • USB Volume Controller - Potentiometer Based

    Got it-- working. Thank you

    I am following this tutorial as it explains the process simply. However, I am using a different board to make a midi/potentiometer/usb expression pedal. I found code for it and it uploaded. I tested against the software and it sees the Arduino device. However, now I do not know what pins to connect the pot to and which I can remove- I am not finding VCC. The board is Arduino mini. With the board positioned so that the usb is on the left, with the pins facing down, the top row of pins are 12~, 11~,10~,9,8,7,6,5,4,3,2 GND,RS,TX,TX,SS,MO. The bottom is 13~,3V,A0,A1,A2,A3,A4,A5,unmarked, unmarked, 5V,GND,VI,MI,SCK. the sketch has "currentVal = analogRead(expPin) f and #define expPin A0. I am guessing it is using AO instead of what you have in your instructions (A0). As in the pins li...

    see more »

    I am following this tutorial as it explains the process simply. However, I am using a different board to make a midi/potentiometer/usb expression pedal. I found code for it and it uploaded. I tested against the software and it sees the Arduino device. However, now I do not know what pins to connect the pot to and which I can remove- I am not finding VCC. The board is Arduino mini. With the board positioned so that the usb is on the left, with the pins facing down, the top row of pins are 12~, 11~,10~,9,8,7,6,5,4,3,2 GND,RS,TX,TX,SS,MO. The bottom is 13~,3V,A0,A1,A2,A3,A4,A5,unmarked, unmarked, 5V,GND,VI,MI,SCK. the sketch has "currentVal = analogRead(expPin) f and #define expPin A0. I am guessing it is using AO instead of what you have in your instructions (A0). As in the pins listed, there are 2 GND and no VC.

    Thanks

    View Instructable »
  • USB Volume Controller - Potentiometer Based

    THANKS. BTW- the Arduino I have has long pins from each of the 'contacts/pins'. In all the videos I have watched, I do not see them on others boards. Do they get cut off?

    View Instructable »