Search results

  1. M

    Trouble passing Serial, Serial1, Serial2 as a reference

    You have defined 3 variables named MySerial. This is probably not what you intended.
  2. M

    Question on adapting Teensy to Adafruit Screw Shield

    Here's one more idea, although it does not reuse your existing Adafruit Screw Shield R3. Combine these two item: Terminal Block Breakout FeatherWing $5.95 Teensy 3.x Feather Adapter $14.95
  3. M

    Teensy4 / Audio Board

    @mlinton, don't give up. Get a set of "flush" wire cutters, like these for example: These are similar. These are thin enough that they can slide in between the Teensy and the Audio Board. Cut all the pins connecting the two boards. Be careful not to damage the SD card slot on the Audio Board...
  4. M

    Addressing multiple serial midi outputs through a variable or array?

    That's the scope resolution operator. It is used for Qualified name lookup. In this case, the #include of "MIDI.h" declares the namespace named midi. midi::MidiInterface refers to the MidiInterface member of the midi namespace, which happens to be a class template.
  5. M

    USB + External Power on 3.2

    No. First, two nits: What is meant by "the circuit also works"? How are you testing this? FYI, the Blink example sketch is a good simple test. The link you provided is to PJRC's How-To Tips: Using External Power and USB. It's not clear what example you are referring to. Also, be aware that...
  6. M

    while (midi.read())

    https://en.cppreference.com/w/cpp/language/while
  7. M

    Teensy 4.0 First Beta Test

    [deleted. I'll try again]
  8. M

    Teensy Audio 24bit 48kHz qustions and more..

    Sorry for the delay in responding, I was kinda busy. Frank B's comment is brilliant and I agree. If I were to purchase a higher-end audio board (and this thread makes me want to!! ;) ), I'd much prefer digital I/O. It is so very common for modern Pro and semi-pro audio equipment to have to have...
  9. M

    Teensy Audio 24bit 48kHz qustions and more..

    Paul, I use Logic on Macs but I have limited awareness of other DAW software. However, I did run across a plugin that listed all the DAW software that it was compatible with, and the list was very eye opening for me. I'm making absolutely no comment about the plugin, just pointing out the list...
  10. M

    Teensy Audio 24bit 48kHz qustions and more..

    This is a very interesting conversation. @Van, I'm greatly impressed that you've built your own instruments. But what is the need for 24-bit, different sample rates, etc. for such projects. Would you not use a DAW and/or outboard equipment for that?
  11. M

    Teensy Audio 24bit 48kHz qustions and more..

    Now retired. Like many people with curiosity and motivation, I've acquired semi-pro h/w + s/w engineering and audio knowledge and skills over the last 25 years. Both of Paul's referenced quotes are right on. The main two reason to use 24-bit is 1) to make it easier to set the recording input...
  12. M

    Teensy Audio 24bit 48kHz qustions and more..

    Here, Floating-Point Audio Library Extension
  13. M

    Teensy Audio 24bit 48kHz qustions and more..

    For completeness, I intended to include this link:
  14. M

    Teensy Audio 24bit 48kHz qustions and more..

    Not sure you've seen the Audio Library Development Roadmap. In it, Paul gives more information about his goals for the Audio Library and why, including 24 Bit Data & Faster Sample Rates. In the end,
  15. M

    Running first sketch with Teensy 3.2

    I see that you are using a Mac. "About Arduino..." will show you the version numbers for both the Arduino and Teensyduino. Check that the version number of Teensyduino appears. If not, Teensyduino is likely not installed. Here's an example: Not sure if you did this, but you should select one...
  16. M

    Assistance with Teensy 3.6, WS2812B 144 LEDs/m Strips

    Some additional thoughts.... 1) You've said that you are new to electronics. Consider taking a course in Basic Electronics. This could be from a local community college (depth and detail but costly in time and money but well worth it if pursuing a career in electronics. Or an online course such...
  17. M

    My Teensy caught fire

    Is the charger an actual Apple charger and not a counterfeit? I seem to recall from somewhere in the past where I read about fake chargers being dangerous. Here's an article that I found just now: Safety tests of 400 fake Apple chargers bought online reveal that 99% are dangerous
  18. M

    Assistance with Teensy 3.6, WS2812B 144 LEDs/m Strips

    I won't be able to help you with the high power requirements but I can off a few tidbits of advice from being a longtime forum reader and having built a few smaller Addressable RGB LED projects. Eventually the "big guns" will chime in and offer advice about power management.... You've come to...
  19. M

    Interrupt on Serial (USB) receive

    I see now that serialEvent is part of standard Arduino, not just Teensyduino. Here's the Arduino documentation for serialEvent().
  20. M

    Interrupt on Serial (USB) receive

    What is the larger context? What do you want to do in the interrupt handler? Locate "serialEvent" in the Teensyduino source code. You'll find it in <arduino-ide-app>/Contents/Java/hardware/teensy/avr/cores/teensy3/usb_serial.h. Would using serialEvent be sufficient for your needs?
  21. M

    Teensyduino 1.45 Beta #1

    Perhaps you don't know a library can specify which architectures it supports. Your library does not need not be ported to AVR in order to be published to the Arduino Library Manager.
  22. M

    Teensy 3.x Compiler?

    LOL. Thank you KurtE! That is very good advice.
  23. M

    Teensy 3.x Compiler?

    For what purpose?
  24. M

    Teensyduino 1.45 Beta #1

    macOS Mojave Version 10.14.1 This is the exact sequence I followed: 1) Download Teensyduino 1.44 2) Run the Teensyduino installer 3) Realizing that I want to install it into Arduino 1.8.8 (not my current 1.8.7), download Arduino 1.8.8, mount image, rename Arduino to Arduino 1.88 and move to...
  25. M

    Adafruit SSD1306 multiple instances issue?

    I've not looked at the code for very long but I see a potential issue. Both displayed are using the same reset pin? I don't know when the reset pin is asserted (I've not looked at the library code), but let's say it's in the begin() member function of the corresponding display objects. That...
  26. M

    fastled with Teensy 3.2

    My sketch is here: I changed it to use pin 6. I also changed the number of LEDs to 8. I didn't have a Teensy 3.2 handy so I used a Teensy 3.0. For our purposes, they are the same. Does this sketch work for you?
  27. M

    fastled with Teensy 3.2

    FYI, the Teensy LC is a ARM Cortex-M0+ processor at 48 MHz, 62K Flash, 8K RAM. It includes a 1 channel level-shifter that can "directly drive WS2812/NeoPixel LEDs". Takes up the same space as a Teensy 3.2. It's also inexpensive. It might be an option for you. You could save the 3.2 for another...
  28. M

    fastled with Teensy 3.2

    I think there are multiple ways to go here. I suggest you make a small, simple prototype with just a Teensy 3.2 and a few (say, 6 or so) pixels. No resister needed. No level-shifter needed. Use a short wire for LED Data. This should absolutely work and, if it doesn't, then it is the easiest...
  29. M

    fastled with Teensy 3.2

    Did you see the FastLED documentation? That is the link to the overview. Other topics are on the right side. You will learn some new things and have a lot of fun. Please read the FastLED documentation first (except ESP8266 notes). Then come back and let us discuss the details of your project...
  30. M

    NST3.2 (Not So Teensy 3.2)

    I look forward to the preorder link.
  31. M

    WS2811 LEDs don’t work with 5V power supply

    @feklee, Paul is right. One can't put a lot of trust in the accuracy of those spec sheets. Also, from post #7, I don't think you've quite got the concept of noise margin or why the level-shifter is helpful (necessary?). So, for the sake of my argument, let's assume for the moment that the spec...
  32. M

    WS2811 LEDs don’t work with 5V power supply

    The first image titled Absolute Maximum Rating is about normal operating ranges for supply voltage, logic input voltage, working temperature, storage temperature and ESD pressure (whatever that is). This is not the information you need. The question to ask yourself is, "what voltage is required...
  33. M

    Compiler Library Resolution

    Teensy is a "core". So, yes, the Sketchbook/libraries will override the Teensy "core" libraries. Usually this is not what a user intends but sometimes it is (example: Ethernet 2.0 is intended to replace Ethernet in Teensy and several other cores). It's not clear what is meant. The Teensy...
  34. M

    Compiler Library Resolution

    Arduino doesn't mention the Libraries in "Arduino Sketchbook"/Libraries, but I do. Seem like those are going to be higher priority than Libraries in "Core" directories. So, If I rewrite this once more: 1) Libraries in the Sketch directory 2) Libraries inside the "Arduino Sketchbook"/libraries...
  35. M

    Compiler Library Resolution

    Sorry, I don't think I have it quite right yet. That quote above is saying: 1) Libraries in the Sketch directory 2) Libraries inside the "Core" directories. I think the a "Core" directory could be in more than 1 place inside the Arduino IDE, in a user's Library directory (idk what to call...
  36. M

    Compiler Library Resolution

    You're right. Those are search paths for #includes and sources. Note though that the last 3 places are libraries locations. But, finally, I think I found the answer. Scroll down to the bottom of that page: So, the priorities of candidate duplicate libraries in the search path goes to: 1)...
  37. M

    CMSIS-NN (Neural Network) Library Now Working on Teensy 3.6

    https://forum.pjrc.com/threads/53619-Just-have-to-say-thanks!-Thanks-to-PJRC-amp-Paul-for-making-Teensy-product-line!?p=186665&viewfull=1#post186665
  38. M

    Compiler Library Resolution

    You've asked a very good question. Even though I kinda know the answer, it was difficult to find and still somewhat cryptic. Here's the info direct from Arduino. Scroll down to the "Compilation" section. See the 6 locations listed following "The include path includes:".
  39. M

    WS2811 LEDs don’t work with 5V power supply

    Teensy 3.2 is a 3.3v device and the DO (data out) signal to the LEDs swings between around 0 and 3.3v. The LEDs are 5v devices. I think you have a situation where Teensy driving W2811 LEDs works sometimes, and sometimes not - possibly because the signal levels don't match. If you want it to...
  40. M

    t3.2 & Octows2811 over heating

    That's really strange. I have no explanation for this. If you ever figure it out, I'd love to hear about it. Paul's OctoWS2811 LED Library is also available and written specifically for the OctoWS2811 Adaptor. It's interesting because it supports .
  41. M

    t3.2 & Octows2811 over heating

    I'm at the limit of my ability to help. I suspect that the core issue is voltage drops in the high current wires and misplacement of the capacitors - these should be at the noise source (LED strip inputs, Teensy Vin). Also, if I understand correctly, Paul advises to take power for the Teensy...
  42. M

    How to set up a structured control system over serial port?

    CmdMessenger You might want to consider using something like CmdMessenger instead of rolling your own.
  43. M

    t3.2 & Octows2811 over heating

    I found nothing obviously wrong looking at the schematic. I suggest to start scrutinizing the wiring. Most import are the high current paths, long paths, and long high current paths ;) Please post a picture of your wiring. Have you had a chance to read: LED Video Panel at Maker Faire 2014...
  44. M

    t3.2 & Octows2811 over heating

    So, it gets hot when you are running normally and NOT connected to USB? And, the trace is cut?
  45. M

    t3.2 & Octows2811 over heating

    My first reply was made as quick as I could once I understood that the PS and USB power were being shorted together. I've now read farther and want to respond to that... Yes, cut the trace. You're split both 5v and GND, one leg for LEDs, the other for Teensy, is very good. Keep in mind, your...
  46. M

    t3.2 & Octows2811 over heating

    No. Not "may". If I understand your circuit correctly, you MUST cut that trace. You are feeding 5v in from USB and 5v from your Power Supply. That's very bad and you might damage a number of things. Cutting the trace is required to break the connection to 5v USB power. Your Power Supply will...
  47. M

    Teensy Backside connections in production

    This topic has been discussed on this forum a lot. But the forums search function is not the best. Instead use google to search for: "site:forum.pjrc.com bottom pins". You should find enough information to get a picture of what other's have done, including some breakout boards that provide...
  48. M

    Advice on low-profile headers to stack Teensy 3.2 + Prop Shield + TeensyView OLED

    My wish is that I could buy something similar to Adafruit's FeatherWing Prototyping Add-on boards, except these would have native Teensy 3.2 pinout. Imagine both vertical and horizontal expansion.
  49. M

    Advice on low-profile headers to stack Teensy 3.2 + Prop Shield + TeensyView OLED

    <drool> We're getting off topic. But that picture really made my day. I'd considered the notch but was thinking it would require one more daughter board. I didn't think of the simple pins inversion. That's really good!
  50. M

    Advice on low-profile headers to stack Teensy 3.2 + Prop Shield + TeensyView OLED

    I've been evolving a pc board for an Artnet lighting controller (haven't we all ;)). When it came time to start thinking about how to package it, it became clear that I didn't wan't something tall-and-thin like what results from stacking Teensy + adapter + WIZ8x0io. Instead, I wanted something...
Back
Top