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

Search:

Type: Posts; User: Dan

Search: Search took 0.00 seconds.

  1. Thread: Led strip

    by Dan
    Replies
    2
    Views
    289

    Led strip

    Hello,

    I want to create a musical instrument that shows a led for each key. A bit like this, but not in a piano.
    23130

    I want to know if it is possible to control cheap led strips (very...
  2. Thread: Little problem

    by Dan
    Replies
    17
    Views
    3,707

    Very old thread, but is there any software...

    Very old thread, but is there any software solution for this? without adding a resistor ?
    I mean. to read my "volume" pedal , I use 3 pins : the +5V, the GND and one analog input pin
    The problem...
  3. Thread: Led bar

    by Dan
    Replies
    5
    Views
    1,645

    I don't have a problem with the music part nor...

    I don't have a problem with the music part nor the MIDI messages
    My question is what led model to choose and how to connect them to be able to power from USB 176 leds and decide what led to light !...
  4. Thread: Led bar

    by Dan
    Replies
    5
    Views
    1,645

    Led bar

    Hello,

    I want to build a LED bar like this one : It has 88 * Red+Blue leds = 176 leds ! Powered by a simple USB port
    https://www.smartpiano.com/pages/piano-hi-lite

    Is it possible to do the...
  5. Thread: micros() bug?

    by Dan
    Replies
    13
    Views
    7,515

    Hello, I am using Teensy 2++ and comparing 2...

    Hello,

    I am using Teensy 2++ and comparing 2 micros() is also giving some strange results.

    Do this bug also affects the Teensy 2++ micros() function?
  6. Replies
    5
    Views
    1,100

    Do you have a minimal ms value to suggest for...

    Do you have a minimal ms value to suggest for such home switch that switch on the LED room light ?
  7. Replies
    5
    Views
    1,100

    Thank you for your answer. Or maybe I can add...

    Thank you for your answer.

    Or maybe I can add a delay to trigger the MIDI NOTE when the pin was ON during X ms... ?
    Do you have an idea how ms such spikes can last?

    Regards,

    Dan
  8. Replies
    5
    Views
    1,100

    DigitalRead Inerference

    Hello,

    I am using Teensy 2.0, to connect switches from a pedal to send MIDI messages over USB
    Switches are connected directly to Teensy pins, using INPUT_PULLUP

    I am trying to wait 50 ms...
  9. Thread: Little problem

    by Dan
    Replies
    17
    Views
    3,707

    Hey this is perfectly working :) I had only 220...

    Hey this is perfectly working :)
    I had only 220 ohm resistors, so I used it.
    It reduce a bit the range, but a midi controller is value from 0 to 127 so we don't really loose precision

    By the...
  10. Thread: Little problem

    by Dan
    Replies
    17
    Views
    3,707

    Input pullup was tested one year ago to give more...

    Input pullup was tested one year ago to give more accurate reading.

    You can see here this plug with many pictures http://www.thomann.de/fr/neutrik_nys216g.htm

    The stereo Jack has 3 pins. tip is...
  11. Thread: Little problem

    by Dan
    Replies
    17
    Views
    3,707

    It seems that serial monitor does not work with...

    It seems that serial monitor does not work with USB MIDI mode. I have nothing on it

    But, I hear the windows USB unplugging noise exactly when the jack is in a position in between the VCC and GND...
  12. Thread: Little problem

    by Dan
    Replies
    17
    Views
    3,707

    Yes I set this, void setup() { ...

    Yes I set this,

    void setup()
    {
    pinMode(14, INPUT_PULLUP); //14=Analog input 7
    }

    I am using Teensy 2 and I get 4.85V on the unplugged pin and 5.04V on the VCC PIN
  13. Thread: Little problem

    by Dan
    Replies
    17
    Views
    3,707

    Of course, it is not when I unplug/replug the USB...

    Of course, it is not when I unplug/replug the USB connector, but when I unplug/replug the pedal jack. (anaolg input pullup on it and VCC and GND)

    It is very strange

    4677
  14. Thread: Little problem

    by Dan
    Replies
    17
    Views
    3,707

    Thank you for answering With the input_pullup,...

    Thank you for answering

    With the input_pullup, I don't have any floating data when it is not plugged in

    My problem is not that I receive tons of unwanted data.
    My problem is that I don't...
  15. Thread: Little problem

    by Dan
    Replies
    17
    Views
    3,707

    Little problem

    Hello,

    I am converting a volume pedal to usb/midi controllers messages with the Teensy 2 and latest Arduino/Teensy software

    The pedal is a simple 10k potentiometer connected with a jack plug to...
  16. Hello Paul, I am doing a similar project. I...

    Hello Paul,

    I am doing a similar project.
    I have a FATAR 76 Keys Keyboard with 2 connectors.
    The schematic is here : http://www.doepfer.de/DIY/Matrix_76.gif

    I am using the Teensy 2++ because...
  17. Replies
    4
    Views
    2,391

    Thank you for your long answer ! And those WS...

    Thank you for your long answer !

    And those WS leds are possible with the Teensy 2.0?
    If yes, on witch pin and with a library?
    Regards,

    Dan
  18. Replies
    4
    Views
    2,391

    Here an example of tons of leds powered by USB :...

    Here an example of tons of leds powered by USB : http://global.novationmusic.com/midi-controllers-digital-dj/launchpad-s

    The spec says :
    The max rating is assuming all the LEDs are on full...
  19. Replies
    4
    Views
    2,391

    Usb Powered led strip

    Hello,

    I want to add a 60 led strip like this one in my project http://www.adafruit.com/products/1138
    It need to be usb powered.

    It is possible for example to power ON and OFF every led very...
  20. Replies
    182
    Views
    89,133

    The hardware need fast access to memory where the...

    The hardware need fast access to memory where the wav/soundfonts files are.
    Maybe adding external memory 32MB/64/128/256 ...
  21. Replies
    182
    Views
    89,133

    I don't understand your question... I don't know...

    I don't understand your question... I don't know what can't be done by software and need hardware.
    The synth can play and MIX together 32/64/128 wav files, with a low latency and send them to the...
  22. Replies
    182
    Views
    89,133

    a soundfont file includes many things. All the...

    a soundfont file includes many things.
    All the WAV files. loop points, instruments mapping and tunning, and many more...
    The fact is that you can find many SF2 files in internet.
    This will help to...
  23. Thread: Unwanted messages

    by Dan
    Replies
    3
    Views
    1,974

    I dont want to take too much of your precisous...

    I dont want to take too much of your precisous time, so if someone can just point to me some useful links so I can understand better how to protect the teensy from the outside noise, I will be...
  24. Replies
    182
    Views
    89,133

    SoundFonts + Midifile + General MIDI are 3 things...

    SoundFonts + Midifile + General MIDI are 3 things I am using.... Polyphony and reverb too... But maybe I am asking too much :)
  25. Thread: Unwanted messages

    by Dan
    Replies
    3
    Views
    1,974

    Maybe it's picking up noise? Yes ! Is the...

    Maybe it's picking up noise? Yes !

    Is the pedal in a metal enclosure? Yes. Is it important? Some of my modules are not enclosed, and some are with plastic case

    Is the metal connected to ground?...
  26. Thread: Unwanted messages

    by Dan
    Replies
    3
    Views
    1,974

    Unwanted messages

    I have created a USB-MIDI footswitch who is working good.
    I have a friend who told me that when he used it in outdoor, and put the pedal in the outside he has got tons of midi messages sent.

    Then...
  27. Replies
    182
    Views
    89,133

    This is a good idea ! My wishes : AKM or...

    This is a good idea !
    My wishes :

    AKM or cirrus logic converters are used in pro audio cards.

    CD quality is minimal (stereo outs 44.1Khz 16 bits), and is enough for me.

    I want to create a...
  28. Replies
    2
    Views
    2,208

    Thank you, I will bought this relay ! So the...

    Thank you, I will bought this relay !

    So the only thing to do, is to plug the 4 pins of the relay to my switch (2 pins) and the GND (1 pin) and a PIN output of the teensy (1 pin)

    And program it...
  29. Replies
    2
    Views
    2,208

    Baisc... Teensy 2 is the switch

    Hello,

    For my car, I have a door who can be opened with a IR infrared remote switch.

    I want my door to automatically be opened every day at 8 pm. For now forget the timing need.

    I plan to...
  30. Replies
    6
    Views
    7,569

    Than you for all that I tried all your things...

    Than you for all that

    I tried all your things and other stuffs.

    Finnaly, Inverting the 3 pins was the right solution ! Added the average + some delays between reads and i have now a very stable...
  31. Replies
    6
    Views
    7,569

    Yes, it is an expression pedal for music. It is...

    Yes, it is an expression pedal for music.
    It is 50k logarithm. I have to deal with that.

    Is there any function in arduino to invert the LOG?

    What kind and value of condenser do you advice
    ...
  32. Replies
    6
    Views
    7,569

    AnalogRead(0) With 50K Potentiometer

    Hi,

    I am using Teensyduino 2.0 and have to use a 50k potentiometer (logarithm) from a pedal.

    I can't get a decent and smooth reading byt the Teensy.

    How can I improve this? (I am a begginer)...
Results 1 to 32 of 32