Search results

  1. G

    How to create array for four 4051s on teensy2 analog pins

    Thank you for that.. Ive done the code as you said and it still only reads one mux at a time :(
  2. G

    How to create array for four 4051s on teensy2 analog pins

    this is so urgent cos i need to use these for shows :(
  3. G

    How to create array for four 4051s on teensy2 analog pins

    hi thanks for the reply ! :D basically the above code only aloows for one 4051 to be read at a time depending on which pin i select eg: if i have this : int analogPin = 18; (i can read the first 4051 (8 faders) if i change the code to : int analogPin = 19; ( i can then read the...
  4. G

    How to create array for four 4051s on teensy2 analog pins

    Hello.. I need desperate help with my controllers i am using 4 4051s on teensy2 pins A0,A1,A2,A3 how do i code an array to loop through all analog inputs ? currently i can only read 1 4051 at a time with this code : //ANALOG IN MUX loop _______________________________________________...
  5. G

    My code behaving weirdly for 22 x pots with 3 x 4051 Mux's - Teensy2

    Thanks Doc.. I have checked everything and its fine. Now i guess I need help with the code:/
  6. G

    My code behaving weirdly for 22 x pots with 3 x 4051 Mux's - Teensy2

    Hi, So i am still trying to sort out my multiplexing code for analog inputs using arrays. Thanks VERY much to Lukas from www.lbsfilm.at for the original code ! GENIUS :) My edited Code : #include <MIDI.h> // Here I'm defining the address pins for the multiplexers int multiAddr0 = 0; int...
  7. G

    Work in Progress: Digital/Analog Hybrid Synthesizer

    Hi there, Great project ! Is it possible to post the code you used to get all those analog inputs to work with the 4051s ? That would be hugely appreciated. I'm trying to get 10 sliding pots and 12 pots to work through 3 4051s. Thanks a mil !!
  8. G

    Multiplexing Analog Teensy (Piezo trigger notes)

    Hey thank you for the reply ... Much appreciated. That's the code I'm looking for. Do i use normal code for say a potentiometer, and an analog pin for this ? What is analog circuitry ?
  9. G

    Multiplexing Analog Teensy (Piezo trigger notes)

    Sorry .. my bad ..:o Id like to use a piezo (stuck to the bass drum) to send midi notes (velocity sensitive) through to Ableton Live using a digital pin on my teensy ++2 I managed to get the piezo to work with this code : int const numDigPins = 40; // number of digital pins to send note...
  10. G

    Multiplexing Analog Teensy (Piezo trigger notes)

    Hi there, Im trying to get a piezo code working for triggering a kick drum for live shows. Any chance of helping me out ? :D
  11. G

    Working Code for 8pins into 1 using 4051 Mux and teensy 2.0 - MIDI notes via Buttons

    Here is a code i got working thanks to PaulStoffregen and nlecaude :D Its basically 8 pushbuttons sending separate midi notes through a 4051 mux using pin 10 on Teensy 2.0 U can see the wiring here :https://www.pjrc.com/teensy/td_midi.html Button 1 to pin 1 on 4051 Button 2 to pin 2 on 4051...
  12. G

    4051 multiplexer not working correctly with teensy 3.1, but works with arduino

    THANK YOU so much for the help .. i just pulled an all nighter but worth it ! :D
  13. G

    4051 multiplexer not working correctly with teensy 3.1, but works with arduino

    Ill reply to me :D i got the 8 inputs working eventually ! All i cant figure out is the correct 4051 "Channel" order to have all the buttons in proper note order eg button 1 = 60 button 2 = 61 etc etc. I have the following chart ...
  14. G

    4051 multiplexer not working correctly with teensy 3.1, but works with arduino

    YAY !!! Got it all working now .. Just one more problem im afraid .. i Cant get the buttons to work on pins 1,2,4 and 5 on the 4051 ??
  15. G

    4051 multiplexer not working correctly with teensy 3.1, but works with arduino

    now i'm confuddled How do i do that ? sorry to be a pain ;( EDIT Never mind i was being an idiot and NOT reading what you wrote above.. apologies *smacks forehead*
  16. G

    4051 multiplexer not working correctly with teensy 3.1, but works with arduino

    thank u :D That now works .. this is my code now .. int ax = 1; //address pins int bx = 2; //address pins int cx = 3; //address pins int b0 = 0; //button values int b1 = 0; //button values int b2 = 0; //button values int b3 = 0; //button values int const numDigPins = 1 ; // number of...
  17. G

    4051 multiplexer not working correctly with teensy 3.1, but works with arduino

    Ok :) I figured it out .. this is my new code. int ax = 1; //address pins int bx = 2; //address pins int cx = 3; //address pins int b0 = 0; //button values int b1 = 0; //button values int b2 = 0; //button values int b3 = 0; //button values int const numDigPins = 1 ; // number of digital...
  18. G

    4051 multiplexer not working correctly with teensy 3.1, but works with arduino

    Thank you for the fast reply .. u seem to be the brains on this forum :D I put the "delayMicroseconds etc" in the next bit of code i tried to put in and the teesny loader gave me a"b2_prev" not declared error :?
  19. G

    4051 multiplexer not working correctly with teensy 3.1, but works with arduino

    Can someone please help me! :D Firstly i apologise if i'm posting in the wrong thread but i'm pretty desperate at this point :(( I cannot find any code online for using buttons sending midi notes through a 4051 to a teensy 2.0 Ive borrowed the code in this thread with a teensy 2.0 and 4051 to...
  20. G

    Any alternative to 4067BE multiplexer?

    I've had the same issues of pots sending information without being touched so i changed the "THRESHOLD" in the coding and it was all sorted. IF you need that code just holler. (FYI it wasn't with a mux so i don't know if it makes a difference. That definitely sounds like coding to me.
  21. G

    Using a 4051 with teensy2 for midi controllers.

    Hi all, I am very new to the world of coding but have successfully adapted code to make a running midi controller with 16 arcade buttons and 4 pots using a teensy2. Now want to make more slave controllers to make a modular setup using the one teensy2 so i bought some 4051 Mux ics to use more...
Back
Top