Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: edrummer

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    658

    Thanks again, I wish I new more about this, I'm...

    Thanks again, I wish I new more about this, I'm more focused on design and building. Things in the code are hidden from me and I don't know what to tweak. I'll try it when I can, this is for a boat...
  2. Replies
    8
    Views
    658

    I guess I have another problem now, the esc shuts...

    I guess I have another problem now, the esc shuts down sometimes at full throttle. I've been doing some research and while it could be several other things, one person had the issue and solved it...
  3. Replies
    8
    Views
    658

    Thanks for responding, I'll try it when I get a...

    Thanks for responding, I'll try it when I get a chance.
  4. Replies
    8
    Views
    658

    Thanks, I get this error though. (adc_center' was...

    Thanks, I get this error though. (adc_center' was not declared in this scope) I'm not sure how to declare it.
  5. Replies
    8
    Views
    658

    BLDC joystick too sensitive

    I have a BLDC motor with an ESC controlled by a joystick connected to the Arduino. The motor wants to run when the joystick is in the off position. I have to jingle the stick to get it to shut off...
  6. Replies
    14
    Views
    863

    I don't even have the code any where near...

    I don't even have the code any where near correct, yes I can add denounce but I need help with the code.
  7. Replies
    14
    Views
    863

    That bit of code is for the end switches, they...

    That bit of code is for the end switches, they worked fine. What I'm trying to do is replace the analog parts so I can use buttons instead of the pot.
  8. Replies
    14
    Views
    863

    Well this is my first attempt at modifying this...

    Well this is my first attempt at modifying this code. I know it won't work but I wanted to see if I could get somebody to steer me in the right direction. I commented out all the analog stuff and...
  9. Replies
    14
    Views
    863

    Thanks, I was thinking I would need dpdt switches...

    Thanks, I was thinking I would need dpdt switches to do that way. With a 10k pot A1 is 5k to Vcc and 5k to gnd when the pot is centered and the motor is off, correct? Would it be better to just add...
  10. Replies
    14
    Views
    863

    I have no idea what all that is, I just want the...

    I have no idea what all that is, I just want the motor to run forward when the button is pressed, stop when released, and the same for the reverse button.
  11. Replies
    14
    Views
    863

    Yes 3.2 is 5V tolerant. Momentary switches stop...

    Yes 3.2 is 5V tolerant. Momentary switches stop when not pressed nothing else. Can I use pins A0 and A1 for the switches or D pins?
  12. Replies
    14
    Views
    863

    Replace a potentiometer with 2 buttons

    I need to change this code so that it uses 2 buttons (forward and reverse) instead of the pot. I tried to just connect to switches to A1 and 5v and A1 and gnd. but that doesn't work. The pot is for...
  13. Replies
    13
    Views
    1,606

    First, I didn't wright the code, I just copied...

    First, I didn't wright the code, I just copied from this page https://how2electronics.com/control-stepper-motor-with-drv8825-driver-arduino/ I'm using the same connections and driver (drv8825) but a...
  14. Replies
    13
    Views
    1,606

    Thanks, I have the BLDC working well now, which...

    Thanks, I have the BLDC working well now, which is the motor for the boat prop. It's connected to one axis of a joystick. It runs well in forward and reverse with speed control. Now I need to get the...
  15. Replies
    13
    Views
    1,606

    I found this from another forum, with a similar...

    I found this from another forum, with a similar project. (trying to run a rc motor without the radio controller) He's talking about why a servo tester works when connected to an ESC. Anyone know how...
  16. Replies
    13
    Views
    1,606

    Thanks for responding, right now I'm just trying...

    Thanks for responding, right now I'm just trying to gather the parts and materials for the project. I have the the BLDC with the ESC and 1 stepper if it's big enough. All 3 motors are 24 volts, and...
  17. Replies
    13
    Views
    1,606

    Great thanks, I sent the last message before I...

    Great thanks, I sent the last message before I saw this post which answered my question.
  18. Replies
    13
    Views
    1,606

    Thanks, yes I want to use the ESC, If I get the...

    Thanks, yes I want to use the ESC, If I get the DRV8825 drivers for the steppers the T3.2 will work for all 3 motors?
  19. Replies
    13
    Views
    1,606

    control 2 steppers and a bldc motor

    I have a brushless dc motor and controller from a rc car. I want to eliminate the rc part and wire it to one axis of ajoy stick, along with a stepper motor on the other axis that would be used for...
  20. Replies
    17
    Views
    1,939

    I get these errors test_1:12: error: 'note'...

    I get these errors

    test_1:12: error: 'note' was not declared in this scope

    usbMIDI.sendNoteOff(note[i], 0, channel);

    ^

    test_1:12: error: 'channel' was not declared in...
  21. Replies
    17
    Views
    1,939

    Thanks, I think I found a code that works with...

    Thanks, I think I found a code that works with the pots. I was only able to test 8 at a time, but they all worked. I'm still trying to get the lights to work with the buttons. I will try your code
  22. Replies
    26
    Views
    3,972

    This code works for 1 button, Can anyone tell me...

    This code works for 1 button, Can anyone tell me how to expand it for 16 buttons with 16 lights?


    /*********************
    Simple toggle switch
    Created by: P.Agiakatsikas
    *********************/...
  23. Replies
    26
    Views
    3,972

    There are only 3 momentary switches connected to...

    There are only 3 momentary switches connected to pins 0,1,2 and gnd. The led is connected to pin 13 and gnd. The led on both the board and pin 13 work, the brightness is not an issue, I'm trying to...
  24. Replies
    26
    Views
    3,972

    I believe this may work but it won't compile...

    I believe this may work but it won't compile because of the error 'usbMidi' was not declared in this scope
  25. Replies
    26
    Views
    3,972

    So do you have an example?

    So do you have an example?
  26. Replies
    26
    Views
    3,972

    Now I get an error saying usb midi not declared...

    Now I get an error saying usb midi not declared in this scope. I don't think this will work for the other parameter though. I don't understand why the lights go off when the button is released but...
  27. Replies
    26
    Views
    3,972

    The reason I'm using this sketch is it's the only...

    The reason I'm using this sketch is it's the only one that works with all the parameters I need to control in Ableton. Most simply turn on if off or off if on but one parameter allows you to map many...
  28. Replies
    26
    Views
    3,972

    THANK YOU!!! I'll try that. That's exactly what...

    THANK YOU!!! I'll try that. That's exactly what I'm trying to do.
  29. Replies
    26
    Views
    3,972

    The light only stays on while I hold the button...

    The light only stays on while I hold the button down, I need it to be on with the note on and off with the note off commands is there a way to do that? Most of the switches work like this, if you...
  30. Replies
    26
    Views
    3,972

    the led needs to come on or off with the the note...

    the led needs to come on or off with the the note on/note off commands. The buttons will be mapped to parameters like record, so when I press that button the led in the switch also lights. they need...
  31. Replies
    26
    Views
    3,972

    Am I missing something? I simplified the code for...

    Am I missing something? I simplified the code for just 3 buttons, the lights work with blink sketch. Just trying to get 1 to work on pin13, no response



    #include <Bounce.h>

    const int channel...
  32. Replies
    26
    Views
    3,972

    Anybody know why this doesn't work?

    Anybody know why this doesn't work?
  33. Replies
    26
    Views
    3,972

    yes, the code works fine with the software but...

    yes, the code works fine with the software but no lights
  34. Replies
    26
    Views
    3,972

    I am using a T3.2 to test this I have a led...

    I am using a T3.2 to test this I have a led connected to pin 13. I tested this with the blink sketch both the led and the orange one on the board work but nothing with the sketch in post # 8
  35. Replies
    26
    Views
    3,972

    Did I do something wrong? the led doesn't come on...

    Did I do something wrong? the led doesn't come on either the one on the board or if I put one on pin 13.



    #include <Bounce.h>

    // the MIDI channel number to send messages
    const int channel...
  36. Replies
    26
    Views
    3,972

    There will be 40 buttons, I wanted to see if I...

    There will be 40 buttons, I wanted to see if I could get it working first then see if I can expand the pin count with MCP23017 port expanders. I have a T3.6, all 24 analog pins are used for pots,...
  37. Replies
    26
    Views
    3,972

    Thank you,

    Thank you,
  38. Replies
    26
    Views
    3,972

    indicator lights for buttons

    I need to add an indicator light to each button in this sketch, so that a led is turned on with the note on command and off with the note off command. Anyone know how this could be done?




    ...
  39. Replies
    17
    Views
    1,939

    I stumbled upon this, it sounds like he was...

    I stumbled upon this, it sounds like he was trying to do exactly what i am. Do you know if it ever worked?


    = {11,12}; // Numbers of the LED Pins

    Digital Section:
    Code:

    ...
  40. Replies
    17
    Views
    1,939

    I have tested all the pots, they are connected to...

    I have tested all the pots, they are connected to 3v, gnd and the center to the pins correct?
  41. Replies
    17
    Views
    1,939

    Has the many knobs and buttons sketch been tested...

    Has the many knobs and buttons sketch been tested with software? if have something I can test my hardware that would help.
  42. Replies
    17
    Views
    1,939

    This is my unit, I'd like to try to connect as...

    This is my unit, I'd like to try to connect as many pot's as I can and see if it works. Since I fried the 3.6 I may have to use some muxes. I'm going to try to get the lights working while there's...
  43. Replies
    17
    Views
    1,939

    I think you got it! its a little shaky but could...

    I think you got it! its a little shaky but could be the breadboard connections.
  44. Replies
    17
    Views
    1,939

    It worked ant then quit, It seams very unstable....

    It worked ant then quit, It seams very unstable. I had the same problem with another sketch. I fried my 3.6 now I'm using a 3.2 Ill reboot and try again. I just have 3 pots and 3 buttons on the...
  45. Replies
    17
    Views
    1,939

    I copied and pasted your code from #2. I didn't...

    I copied and pasted your code from #2. I didn't alter anything oh I clicked on copy for forum, it didn't do it right


    #include <Bounce.h>
    // the MIDI channel number to send messages
    const int...
  46. Replies
    17
    Views
    1,939

    Well it compiles but still no work. when I map to...

    Well it compiles but still no work. when I map to the controls they all have the same cc note and 1 knob turns all 3 controls. I cannot find a code with 3 working pots that I could add the buttons...
  47. Replies
    17
    Views
    1,939

    how to add 2 more pot to this code

    This is for a midi controller that has 3 buttons and 1 pot. I simply want to add 2 more pots and keep the rest of the code intact. I want to add more later but to learn and understand, if someone...
  48. Replies
    68
    Views
    7,930

    The code at #55 doesn't work with the chain...

    The code at #55 doesn't work with the chain selector. as I tried to explain in post #57. it only sends cc 60. I don't know what makes it work or where it differs from your code but the buttons code...
  49. Replies
    68
    Views
    7,930

    Could you at least just show me how to add 6 pots...

    Could you at least just show me how to add 6 pots to this code?
    /* Buttons to USB MIDI Example

    You must select MIDI from the "Tools > USB Type" menu

    To view the raw MIDI data on Linux:...
  50. Replies
    68
    Views
    7,930

    you lost me, I don't know which code you're...

    you lost me, I don't know which code you're referring to or what to do with that snippet above
Results 1 to 50 of 175
Page 1 of 4 1 2 3 4