Search results

  1. T

    UGFX on Teensy using PlatformIO

    Hello Everyone! I made an example project that implements UGFX on Teensy to drive an SSD1351 OLED. https://github.com/cosmikwolf/ugfx_teensy_platformio/ This is implemented using PlatformIO, so this wont necessarily work if you use the arduino IDE. PlatformIO has a whole build system that...
  2. T

    Debugging strategies

    Totes fine with using a Segger J-link. I am currently debugging my teensies 3.2-3.6 with them, but you also mentioned power supply sequencing issues that might arise when removing the MKL02 here: https://forum.pjrc.com/newreply.php?do=newreply&p=214478 This would lead me to believe that simply...
  3. T

    Debugging strategies

    Hi Paul! I am curious if this ever got snuck in to the newer bootloader ICs? I designed a board way back when with this debug connector, and now im running into some problems that would be really nice to debug, and I have a sneaking suspicion that the firmware on my bootloader chip is not...
  4. T

    6-bit dac in comparator on K64 and k66

    Paul, I have another idea to increase bit depth of the dacs, using Teensy hardware. Take a few PWM pins, put them through RC circuits to get constant DC voltage. These would be static voltages, dialed in based on a calibration routine, and switched with a transistor controlled with a GPIO...
  5. T

    6-bit dac in comparator on K64 and k66

    Never mind on this. the more I look into it, the more it seems like a fruitless endeavor...
  6. T

    6-bit dac in comparator on K64 and k66

    then again, I see this diagram, and it appears that the dac has another output, besides into the comparator. Can I get to it somehow? I wonder!
  7. T

    6-bit dac in comparator on K64 and k66

    I may have answered my own question from the K64 manual, which states: Still, I'd like to hear any suggestions. Perhaps I could use the comparator to a static reference?
  8. T

    6-bit dac in comparator on K64 and k66

    Does anyone know how to access the 3 6-bit DACs that are part of the 4 Analog comparators on the K66 and K64? I was thinking of trying to add voltages from two 6 bit dac and two of the 12 bit dacs to get 2 outputs with 18 bits of resolution. Does this sound feasible?
  9. T

    Teensyduino 1.41 Released

    Does this allow for dynamic allocation of audioconnection objects with memory reclamation?!
  10. T

    Teensy USB MIDI - adding Song Position Pointer (SPP) to core library

    I was able to implement this after also implementing some additional code in teensy3/usb_midi.h and teensy3/usb_midi.c I have forked the cores github and submitted a pull request to get this added to the teensy core files. Detals are visible in the pull request...
  11. T

    Teensy 3.6 DIY Reference Board schematic

    This is the schematic: https://www.pjrc.com/teensy/schematic.html What you want is the PCB layout. I don't think Paul usually gives these out. If you are making a new project, its generally a good idea to start with a schematic and do your own layout to have a better understanding of what is...
  12. T

    Teensy 3.0/3.1 Audio Library with sound pitch control

    So I found a device which does a form of varispeed / playing a WAV back at a different sample rate. The Radio Music module. It doesn't appear to use the teensy audio lib, but I am wondering if the code could be integrated into the audio lib somehow. If you look here...
  13. T

    analyze_fft1024, duffs optimization

    Hey Duff, Just came across your pitch shift project. I haven't had a chance to sit down and take it apart yet. Looks super interesting! You mentioned before that the thing you got working was not real time, is that the case for your github post pitchshifty?
  14. T

    Base Emitter Resistor for 6N139 on MIDI input?

    TelephoneBill - Thank you for the explanation! I was never schooled in electrical engineering, so it is always nice when someone can explain the theory behind what is going on. These optocouplers were black boxes to me before! I like the idea of your voltage controlled capacitor. Makes me want...
  15. T

    Base Emitter Resistor for 6N139 on MIDI input?

    So I have an interesting situation I would like to share. I created a MIDI input circuit that mostly follows the MIDI schematic detailed by Paul on the midi library page. I originally used this 6N139 optocoupler to do the job: https://www.fairchildsemi.com/datasheets/6N/6N138M.pdf and...
  16. T

    W25q128fvsig eol

    Preliminary testing seems to point towards code compatibility between the W25Q128FV and the new W25Q128JV. I am curious if the faster SPI speed (133mhz) will provide faster transfer speeds
  17. T

    W25q128fvsig eol

    Looks like the W25Q128FV is being EOL'd The replacement seems to be W25Q128JVSIQ https://www.digikey.com/product-detail/en/winbond-electronics/W25Q128JVSIQ/W25Q128JVSIQ-ND/5803943 datasheet: http://www.winbond.com/resource-files/w25q128jv%20spi%20revc%2011162016.pdf They appear to be pin...
  18. T

    MacOS Sierra port problem

    I was experiencing the problem, and I can demonstrate what it looks like from terminal below: I could not find evidence of any application using the usbmodem401231 using sudo lsof | grep usbmodem I did find a bunch of USB Serial and Teensy MIDI devices in the network control pane, which I...
  19. T

    Encoders (once more)

    ooh im gonna have to try this one out. I am getting bouncing problems with an Alps encoder and the Encoder library.
  20. T

    Audio Processing

    I am curious if you ever got beat tracking working, Paul?
  21. T

    Teensy Drum Machine build

    Hey poltergeist, did you ever find a pitch shifting algorithm that worked better for this project?
  22. T

    Changing Pitch of Voice

    hey @hyperdyne, would love to see your pitch shifting code added to the teensy audio lib :D
  23. T

    MacOS Sierra port problem

    I think that this is what is happening, but its not another program. Its like the handle crashed and is stuck, and wont release, so each time you connect, it keeps them open and has to increment the number. Here are some folks talking on an arduino forum about a problem that sounds the same on...
  24. T

    Neopixels (WS2812 or SK6812), interrupts and IntervalTimer

    Just thought I would share a fun little hack I discovered. Neopixels (WS2812b and SK6812) LEDs use a single data pin that require a fixed update frequency. Because of this, the update routines in the libraries involved require that noInterrupt() is called before writing data to the LEDs, and...
  25. T

    MacOS Sierra port problem

    I have had this happen a number of times. It is insanely frustrating. Rebooting did not fix it for me, I honestly can't remember how it was resolved.
  26. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    @xxxajk, It wasn't me who had code. I was the one who had MIDI hardware ready to be tested. Is ADK what we need to get MIDI Host Mode working?
  27. T

    New OctoSK6812 Library on Github

    Hello! I have incorporated changes for using SK6812 RGBW LEDs with updated OctoWS2811 for usage with Teensy-LC and 3.5/3.6. Original changes made by Mackenzie Hauck: https://hackaday.io/project/11850-led-light-rod/log/39905-modifying-octows2811-to-work-with-rgbw-led-strips I simply put his...
  28. T

    Software Debugger Stack

    I am also curious if anyone worked on any tools to take advantage of C_DEBUGEN
  29. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Hey xxxajk , I am curious if you ever got MIDI Host mode working at all? I Have hardware that I would love to test!
  30. T

    Happiness with PCB Fab House

    I just got some boards made with PCB universe, and I am quite happy with the quality! And quite cheap as well (if you are doing a run of at least 10) Although for one board, I needed no solder mask on the back, which they messed up 3 times so far. Good news is that they are very willing to...
  31. T

    SerialFlash Print interface

    Hello, I am trying to use the ArduinoJson library with SerialFlash. I am curious if anyone has implemented a Print interface to SerialFlash files, as is implemented for the SdFat object. A bit more info is here: https://github.com/bblanchon/ArduinoJson/wiki/Encoding-JSON The library is...
  32. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Hi xxxajk, I know you have been busy lately, but I have gotten my hardware to work properly! (I think). I have a board that has the ID pin implemented, with the schematic I had posted previously. I can connect various USB devices and not lose power on my teensy, and power them when I have the...
  33. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Is there any problem with having the 100 uF capacitor present when the device needs to be in device mode? I guess the danger there would be reverse and sucking too much current from the host and having it reset for some reason?
  34. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Ah, never mind I found your post where you mention it is the http://www.ti.com/product/tpd3s014. https://forum.pjrc.com/threads/34808-K66-Beta-Test?p=110952&viewfull=1#post110952
  35. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    For my device, the only reason I would need to power it via USB is when I am writing code and doing some local tests on it. It is a Eurorack Synth module, so in its natural state, it is connected to a 12v rail, and I get 5V from an LDO (off a 5.5v switched supply) that is capable of up to 1A. I...
  36. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Here is the schematic I am using for the OTG power switch. Any thoughts? I figure this will still allow me to power the teensy since the VUSB has the diode path back to my 3v3 LDO. I am using a Micro-AB connector to ensure compatibility with OTG cables. I was considering a pull down resistor...
  37. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    I found this Maxim brief on OTG mode: http://pdfserv.maximintegrated.com/en/an/AN1822.pdf
  38. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    yea, I can have the ID pin implemented. You are talking about pin 4 on the microUSB connector yes? When you said implement a USB switch that changes the power on the VBUS line, do you mean the VUSB line on the teensy? I have a separate 1A 5v power supply on my device. Do you mean to say that...
  39. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    If I could get it to work, of course I would, but I am not quite sure where to start on that one. If you gave me a bit of guidance on where to start poking, or what papers to read I might be able to get a handle on it.
  40. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    I have a product I would like to use this in. For hobbyist stuff I would agree with you, but I don't have the space for an additional teensy in this device :D Having to re-code the device would be fine by me. I look forward to testing your code! Thank you!
  41. T

    Power from headphone port

    It might be possible! But you won't be able to get good advice without more information. If it were possible, I wonder if you would get line noise*on your audio signal without having a separate ground.
  42. T

    Power from headphone port

    are you measuring it with a multimeter? The Teensy needs 5v DC voltage to power its 3v3 LDO. If you have access to an oscilloscope, it would be good to measure it to see the waveform. If you hooked it up, you might fry your teensy (or you might not). a $20 risk. Nobody here knows how your...
  43. T

    Curious Audio Library Behavior

    Ah that makes total sense. I need to dive into those audio headers and get to know em a bit better.
  44. T

    Curious Audio Library Behavior

    so this is not quite a problem, but more of a curiosity... when I run the code below, it works fine, and will print out what frequency is being analyzed. The curiosity is when I delete the AudioOutputAnaloc dac; line, it no longer prints out the frequencies (noteFreq.available() is never...
  45. T

    SSD1332 and SSD1331 fast drivers

    Hi Sumotoy, I can help you test the SSD1351 doesn't work on 96Mhz. I haven't been able to get it to work at 96Mhz with any libraries yet... I will open a bug on github to track the issue. T
  46. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Ah yes! I can test it! I only have the Keith McMillen QuNexus keyboard, but I am most interested in USB sync with Elektron gear (drum machines etc..). I can and will hunt down other MIDI gear to test as well. This is great news! With USB MIDI host mode, is there any chance that it would also...
  47. T

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Hello! I wanted to chime in here, it seems its been a while since this topic has been brought up. I for one, would love to see USB MIDI host capabilities - in order to connect a USB MIDI keyboard lets say, to the Teensy and be able to use the usbMIDI object to interface with it. Is this much...
  48. T

    PlatformIO IDE: The next generation IDE for IoT development

    ikravets - I am running into an issue where I have a sketch that works just fine in the regular arduino environment, but does not work when compiled and uploaded in the PlatformIO environment. I manually replaced the framework-arduinoteensy folder with the one I used when successfully testing...
  49. T

    Pitch Detection on an ADC input

    I can get this to work fine now with regular arduino and T1.29. I usually use Platform IO and I think there is something funky going on there!
  50. T

    PlatformIO IDE: The next generation IDE for IoT development

    ah, awesome! I will manually do it for now. PIO 3.0 looks great, but I am a bit weary of an alpha release with critical projects in the pipe! Thanks! ikravets!
Back
Top