Search results

  1. M

    Teensy USB ESD Protection

    So, going through the schematics of the Teensy range, I'm wondering where the ESD protection is, if any. I'm designing a custom board and looking at using the USBLC6-2SC6 esd component. Looking at 3.2 / 3.6.. There is only the two 33 ohm resistor for D+ and D-. And on the Teensy 4x range...
  2. M

    Teensy 3.6 BOM / SD Card Reader ID

    Thank you. I'll check them out.
  3. M

    Teensy 3.6 BOM / SD Card Reader ID

    Hi, I've been looking for a slim SD card reader (not all readers are equal) and the one on the Teensy 3.6 has a nice slim profile and width. Wondering if anyone knows of the manufacturer # for this specific component? Or Paul, if you are willing to share your source? Thanks M
  4. M

    Teensy 3.2 Analog / Digital Pins with Encoder

    Hey, So I'm using an encoder on my Teensy 3.2. Had it wired up on pin 6, and pin 7, working perfectly. I'm aware that the Teensy 3.2 has digital pins where the analog pins are as well, so I moved the wires and GND over to pins 14, 15, and changed my pin declaration inside the code and it...
  5. M

    Juce / Teensy communication

    Ok thank you. I'll be sure to read up on that. Appreciate the help guys.
  6. M

    Juce / Teensy communication

    Well, as mentioned in my first post, and second post... I'm learning the Juce framework, and want to write an application that can communicate with Teensy (via serial, I assume) In the simplest form, I want to create a software application that can send information (a string or int value for...
  7. M

    Juce / Teensy communication

    Ok, well then if you are unaware of the Juce framework I'll move away from asking of those specific questions. FWIW, Juce is primarily used for Audio DSP plugins, software applications. More specifically with Teensy, how would I use the serial ports to communicate with other serial...
  8. M

    Juce / Teensy communication

    Surprised you haven't heard of juce. A very popular framework for DSP. I want to create an application, that can store / retrieve values from Teensy. The juce application directly communicates with the teensy (assuming via serial port) through USB. Technically, an interface for Teensy.
  9. M

    Juce / Teensy communication

    Hi, I would like to develop a GUI for a teensy project with the Juce Framework. I've been learning this new framework and wondering how I would be able to communicate between the two. As a simple test project, I would like to simply design a knob or input text box, choose a value, then send...
  10. M

    embedXcode: Teensy 3.0 on Xcode

    Confused about this... Installed both IDE's, EmbedX shows as a template inside Xcode. Upon creating a new project, the 'resources' folder is RED. I build using ALL > My Mac, it builds successfully however all the text is gray and there is no code sense. I test with a simple blink code...
  11. M

    Teensy 8 Channel Audio Interface

    Hey guys, Wondering if anyone has some clues on how to achieve creating an audio interface with a teensy. Ideally I would like 8 channel inputs, each with an ADC, summed together and transmitted through USB or thunderbolt (assume USB is sufficient). Also assume I would need a software driver...
  12. M

    Timer Project

    Thanks Paul. That was a doozy error on my part. Everything is working fine.
  13. M

    Timer Project

    Anyone? Tested this with a simple handheld clock and it drifts also.
  14. M

    Timer Project

    Hi All, Wondering if someone can help demystify the inaccurate timing aspect of my project. The project is just a simple timer, with an encoder incrementing or decrementing the rate in which 0v - 5v (HIGH / LOW) signal is outputted, and the use of a WS2182B (neoPixel) LED for output pulses...
  15. M

    Pulse multiplication

    Thanks paul. Yes the incoming pulse would be at a constant interval, however can increase or decrease in regularity. Its coming from a timer that is user controllerable. I"m simply trying to measure the pulses then multiply accordingly. Sounds like i would need a Phase Locked loop approach...
  16. M

    Pulse multiplication

    Hi guys, I have an pulse coming in on a digital pin on Teensy 3.2 and what I want to do is have the ability to have multiples of this pulse. I'm trying to think of how I should even comprehend writing the code for it but I'm having a tough time and wondering if someone could point me in the...
  17. M

    Teensy Audio question

    Thanks Paul. I've had a look on mouser and there isn't even a I2S interface type category. It seems a lot of dac's use SPI so wondering if this is something you may implement in the future? This was another DAC I was looking at: 16bit...
  18. M

    Teensy Audio question

    Hi guys, So I'm looking at starting an audio project with Teensy using an external DAC (12 bit MCP4922 - initially) and wondering if i can use Teensy Audio Library code to start off? I've looked over the Teensy Audio Library page (https://github.com/PaulStoffregen/Audio) and there is no...
  19. M

    Eurorack Teensy Power

    Thanks guys, appreciate your guidance.
  20. M

    Eurorack Teensy Power

    Hi Paul, Thanks for your response. Obviously due to my misunderstanding of this area of electronics, what i mean't was 'how would the Teensy deal with the incoming +12v, -12v, 5v power output that most busboards have for the eurorack system. Not actually creating a power supply for this...
  21. M

    Eurorack Teensy Power

    Hi Guys, I was wondering how one would power / generate the +12v, -12v, 5v requirements for a eurorack system with the Teensy series? Is there a version of Teensy that is more suited to this, ie 3.6 vs 3.2 or is it generally the same? I don't have any experience with power regulators etc, so...
  22. M

    Store a midi keyboard value

    I did not expect anyone to write anything for me? I just simply asked if that was the procedure. Some may not be as proficient as yourself, hence why they are here to clarify their thoughts on proceeding down a certain logical path.
  23. M

    Store a midi keyboard value

    Hmm missed that part. So would I test to see if a key is played, the LED lights up on noteOn, and off when noteOff?
  24. M

    Store a midi keyboard value

    Ok that makes sense. However, why would the example shown above not work when my DAW plays a midi note, or my keyboard plays a midi note. I don't get any response on the Teensy LED 13.
  25. M

    Store a midi keyboard value

    Ah I see. I was reading through the pjrc website relative to the usbMIDI page https://www.pjrc.com/teensy/td_midi.html.. and came across this code: int ledPin = 13; void OnNoteOn(byte channel, byte note, byte velocity) { digitalWrite(ledPin, HIGH); // Any Note-On turns on LED } void...
  26. M

    Store a midi keyboard value

    Thanks Theremingenieur, the keyboard has both DIN and Usb. However, usb is more preferable. but is this applicable only to the Teensy 3.6? I'm using 3.2 currently.
  27. M

    Store a midi keyboard value

    Thanks Oddson. I've read through it, however i'm not exactly sure how it would work for what i'm trying to do? Maybe i just don't understand it or how i would implement it.
  28. M

    Store a midi keyboard value

    Hi Guys, I have a midi keyboard which communicates over USB. Would it be possible when a key is pressed, for the noteOn value to be sent to Teensy and to store in a variable? Cheers, M
  29. M

    Array Confusion

    Hi Guys, Need a little help with the following array situation. I have 16 arrays from patternA through to patternP each with 16 elements: uint8_t patternA[16]; uint8_t patternB[16]; uint8_t patternC[16]; .. .. .. uint8_t patternP[16]; What I'm trying to achieve is an 'Array' of 'arrays' of...
  30. M

    Encoder Acceleration help

    Great, thanks for your explanation.
  31. M

    Encoder Acceleration help

    Hi gipetto, sorry for the long delayed response. Been away and haven't had time to figure this out. Could you please explain your code?
  32. M

    Encoder Acceleration help

    Hey gipetto, I haven’t had the time to focus on this recently, however I will look into it further and report back! Wondering if you have had any success with the Teensy? Would assume your code should work on either platform. If not, why wouldn’t it?
  33. M

    ISR / Millis or alternative

    Defragster, an update.... been working on it using multiple states and booleans and getting close. Will post the code soon once I have it working the way I intend.
  34. M

    ISR / Millis or alternative

    Ok I'll work further on it, thanks for your help though :)
  35. M

    ISR / Millis or alternative

    Ok, this is what I have so far (which unfortunately doesn't work as first thought) int buttonPin = 14; boolean holdState = false; int stepState = 0; uint64_t currentMillis = 0; uint8_t buttonState = 0; uint8_t buttonLastState = 0; void setup() { Serial.begin(9600); pinMode(buttonPin...
  36. M

    ISR / Millis or alternative

    Thanks, I'm trying not to use pre-existing libraries to help me better understanding the logic behind it all.
  37. M

    ISR / Millis or alternative

    Just had a look at your suggestion, Teensythreads. Not exactly sure how that would help
  38. M

    ISR / Millis or alternative

    Ok, thanks for that. Currently I would be using the button in a midi step sequencer configuration. So I press the step button to toggle it on, and then if I press it again, it toggles the step off. How would I allow the ability to hold and edit the steps value with the encoder? As if when I...
  39. M

    ISR / Millis or alternative

    At this stage, it would just be assigning the midi note value for the button held with the encoder. I'm just trying to conceptulise the best practice for such a function.
  40. M

    ISR / Millis or alternative

    Hi Guys, I'm trying to figure out which method might be the best, or the most effective, and how I might go about this. I'm going to build a little test circuit involving a button and an encoder. My goal is to be able to hold down the button (indefinitely) whilst increasing or decreasing the...
  41. M

    USB Midi Note off Question

    Sure, this is what I'm using. Very simple, but perhaps I'm missing something. void Sequencer(byte realTimeByte) { if (activeMode == SEQUENCER) { if (realTimeByte == CLOCK) { sequencePosition++; // Handle MIDI ** NEEDS IMPROVEMENT WITH NOTE OFF if (stepState[i] == 1) {...
  42. M

    USB Midi Note off Question

    Ableton Live. I changed the message to NoteOn with 0 velocity and still the note remains even after the step has been turned off.
  43. M

    Encoder Acceleration help

    Thanks Gremlin, I'll give that a go and report back
  44. M

    USB Midi Note off Question

    Hi Guys, Question regarding a midi drum sequencer, when you trigger a step, a 'usbMIDI.sendNoteOn' message is sent, and when you deactivate that step, a 'usbMIDI.sendNoteOff' message is sent. However, the midi note still remains in the DAW piano roll. I'm wondering how one would remove that...
  45. M

    Encoder Acceleration help

    Anyone....?
  46. M

    Encoder Acceleration help

    Hi guys, Trying to understand a way to implement Encoder acceleration with this library I'm using (https://github.com/mathertel/RotaryEncoder) and simply can't wrap my head around it. I've had a search and found this (https://playground.arduino.cc/Main/RotaryEncoderAcceleration), however...
  47. M

    MIDI Sequencer

    Thanks for that Oddson. I have looked at that library which seems rather detailed, however am unable to even compile the 'Neo_mpr121' example due to the following not being declared: MIDIEvent event = {command, combined, arg1, arg2}; MIDIUSB.write(event); MIDIUSB.flush();
  48. M

    MIDI Sequencer

    Hi all, Been looking around for some information relating to writing some code for a MIDI sequencer, and have come across some pieces however nothing in particular in regards to how it would work and how to set up, or even write the logic required. Does anyone have any ideas or could point me...
  49. M

    Class object array

    Ahh thank you. I knew I was close, always missing the linking piece. Appreciate it.
  50. M

    Class object array

    Hi Guys, Using the 'RotaryEncoder' library, by default the example shows instantiating one encoder which has two constructor parameters (pin A, pin B). How would I use an array to instantiate 8 encoders and setup arrays so I don't have to copy all the code in the loop for each encoder I use...
Back
Top