Search results

  1. V

    SD pin clarification help needed on T4.1 and micromod teensy

    This is perfect! Thank you so much for clearing that up for us, KurtE. Now back to work on the pcb. Much thanks, David
  2. V

    SD pin clarification help needed on T4.1 and micromod teensy

    Hi, I need some clarification on pins between the teensy 4.1 and the micromod teensy. We are in the process of converting one of our PCBs to the micromod and have run into some discrepancies on the pins for the SDIO pins for the microSD card reader. On the teensy 4.1 card, the SD pins are...
  3. V

    more durable micro-usb socket, revisited

    Hi all, I know this topic has come up a few times, but currently trying to retroactively address an issue we are seeing on 200+ custom handhelds we made using the teensy 4.1. And yes this is one of the moments where I should have listened better to myself while we designed the board! In order...
  4. V

    Teensy 4.1 and ST7789 TFT display - which library?

    figured it out! needed to add: tft.invertDisplay(false); Thanks, David
  5. V

    Teensy 4.1 and ST7789 TFT display - which library?

    Resurrecting an old thread. First, thank you both for posting your results here. I was up in running in no time. Here's a head scratcher, tho. My colors are all wonky. When running thru the solid colors I get aqua for red, purple for green, and yellow for blue, and of course aren't right for...
  6. V

    Reset i2c bus

    Hi all, I need some pointers. I have some sensors that communicate via i2c, connected to the wire2 bus on the teensy 4.1 (pins 24 & 25). All works great under normal conditions, but due to the nature of the application I'm using these sensors in, there is a chance the sensors are...
  7. V

    wifi radio + audio noise

    Hi all, Need to ask the collective wisdom here for some advice. I have a teensy 4.1, a ublox wifi radio, and audio driver/playback (based off Paul's audio shield) all occupying the same space. My version of the audio playback is pretty much exactly like Paul's (same components), only redesigned...
  8. V

    uploading hex file via teensy loader

    Thanks, Paul! This is perfect (and thanks for the warnings). Fortunately no deep sleep or messing with the USB port, and we have a watchdog running in the main loop to help keep things alive. Just tested the above on windows running teensy_reboot.exe and worked like a charm. Follow-up...
  9. V

    uploading hex file via teensy loader

    Hi all, Trying to see if I'm missing something with the teensy loader. My goal is to be able to remote into a windows machine that has a teensy 4.0 attached and update its firmware. Unfortunately pushing the button on the teensy isn't possible. I'm running the teensy loader by itself. No issues...
  10. V

    schottky diode on Vin pin

    Never mind! Found the answer here: https://forum.pjrc.com/threads/55400-External-power-and-USB Sorry for the noise! David
  11. V

    schottky diode on Vin pin

    Hi all, Quick question (again showing my lack of knowledge in many things electrical). I know related questions have been asked and answered many times, but I'm worried that I might be missing something. Goal: plug in usb, have it power the teensy (4.1 in this case), but NOT the rest of the...
  12. V

    teensy4 + octows2811 + fastled

    And if anyone has any pointers on post #2 in the thread, please let me know! Thanks again, David
  13. V

    teensy4 + octows2811 + fastled

    Got it! Let me see what I can break :) Thanks for the pointer! Cheers, David
  14. V

    teensy4 + octows2811 + fastled

    Hi vjmuzik, Not completely. Can we also specify pins on the T4 (see my OP)? If it is, it's not covered on the page you linked (which I've read many times). Thanks, David
  15. V

    teensy4 + octows2811 + fastled

    Hi again, OK, setting aside fastLED for now and just focusing on teensy4 and the octows2811 library. I need to limit the number of pins the octosw2811 library uses, so using the code provided in the examples folder (i.e. Teensy4_PinList.ino) I specified only the 3 pins I need (2, 5 & 6)...
  16. V

    teensy4 + octows2811 + fastled

    Hi all, Before I jump too far down this rabbit hole, wanted to ask a question of those with the brains for this. I found how to get the teensy4 and fastLED library to play nicely. And I love the idea idea of being able to define the output pins for the LEDs, but is it possible to combine the...
  17. V

    high voltage input ... maybe?

    Perfect! That all makes a lot of sense. Thank you for your help with this! David
  18. V

    high voltage input ... maybe?

    Hi all, Feeling pretty noobish with this question. Clearly showing my lack of solid electronics education here :) Building a controller board for an arcade cabinet with teensy 3.2 as the brains. Controls LED's, monitors coin drops, allows clients to make settings via a buttons and a pop-up UI...
  19. V

    WDT_T4 - Watchdog Library for Teensy 4

    That's a nice feature! if we don't need it for a particular application, is there a way to turn it off? Thanks again, David
  20. V

    WDT_T4 - Watchdog Library for Teensy 4

    @tonton81: Thank you for putting together this library! I use a watchdog for most of my teensy 3.2 code, but that obviously didn't translate well for the teensy 4.x. This is a big help!! Quick question: that is the role of the pin in the watchdog? I just tracked down an issue I was having where...
  21. V

    Serial5 on teensy 4.0

    Thank you for checking. I think I found my issue: the watchdog library I'm using (Watchdog_t4.h) and serial5 RX use the same pin! Woohoo! Except now I need to figure out why the watchdog needs that pin :) I swear I've gone through the code a hundred times...now it just jumps out at me. Thanks...
  22. V

    Serial5 on teensy 4.0

    Hi all, Just a quick verification that the pins are correct on the card for Serial5 on the teensy 4.0 (pins 20 and 21 for TX and RX, respectively). I'm having some issues communication via Serial5 (RX in particular) and trying to determine if it's my code (most likely), my PCB design (quite...
  23. V

    access to usb pins on teensy 4.1

    Copy that! Thanks! David
  24. V

    access to usb pins on teensy 4.1

    Sorry, I feel like I'm confusing myself. I don't need the teensy run as a USB host. I only need need the usb connection to upload new firmware from a laptop as needed/after the device is "in the field". I've also been reading here on the forum how to update the firmware via network/other means...
  25. V

    access to usb pins on teensy 4.1

    Hi Paul, Thanks for your help with this. The teensy will only be working in usb device mode for this application. Most of the communication to/from will be via RS485 and the fancy new network option you've added to the 4.1. 99% of the time the teensy won't be connected to any host via USB. This...
  26. V

    access to usb pins on teensy 4.1

    Great. I've been looking at those, too. Just wanted to make sure the USB pins weren't broken out elsewhere on board and hiding from me :) Thanks, David
  27. V

    access to usb pins on teensy 4.1

    Hi all, Quick question/confirmation that the only access to the primary USB connection on the teensy 4.1, other than the USB micro connection, is via the 2 pads below (D+ & D-) below the USB micro connector? The teensy will be mounted to a PCB inside a case and looking to "extend" the USB...
  28. V

    multiple current sensors advice needed

    OK. Now that I know how to wire the current sensor, the question above is easily answered. I saw VIN+ and VIN- in the docs and immediately associated VIN- with ground. Nope! Also switched to the ACS70331 sensor. Thanks for the help and apologies for the noise. Cheers, David
  29. V

    multiple current sensors advice needed

    @KrisKasprzak: yes, parallel. @boxxofrobots: well yes, that it is a problem, isn't it! That's a bit embarrassing. Let me fix my mistakes and come back. I'll also look into the ACS758. Thanks for the input! David
  30. V

    multiple current sensors advice needed

    Hi all, Need some advice from people much smarter than me in the ways of the electricity. Quick overview: a Teensy 4.1 is at the center of a new prototype I'm working on, essentially a networked lighting fixture. The fixture has 8 outputs powered by an external 48V power source. I wanted to be...
  31. V

    amplifying/extending ws2812 digital signal?

    thanks for your help. never considered rs485 for this. I built a quick circuit but only the first LED in the chain lights up, and flickers like crazy. I'll keep digging into this option, tho!
  32. V

    amplifying/extending ws2812 digital signal?

    Hi all, Need some advice, and curious if it's even feasible. I'm working on a project with a t3.2 at the center, using the fastLED library to drive a bunch of ws2812 LED's. No issues controlling the LEDs as needed via the Teensy. I believe my issues are electrical. I have 8 "clusters" of LEDs...
  33. V

    prevent RGB led from lighting up on boot up

    Perfect! Pulldown with a 1k resistor on each channel did the trick. My PCB isn't as clean, but it's functional! Thank you all again for your guidance.
  34. V

    prevent RGB led from lighting up on boot up

    Thank you all for help with this. I was afraid it was a mechanical/electrical fix, but it sounds like my issue is addressable, which is great. I'll add some resistors later today and report back.
  35. V

    prevent RGB led from lighting up on boot up

    Hi all, Need some circuitry advice. I'm using a PicoBuck LED driver to drive a 3W RGB led. PWM output via pins 21,22,& 23 on a T3.2. LED is powered by external 12V source with shared ground with the teensy (separate source for powering the teensy and other elements on the PCB). PWM control works...
  36. V

    OctoWS2811 Adaptor dimensions

    Hi all, Making a quick carrier board that incorporates the OctoWS2811 Adaptor (https://www.pjrc.com/store/octo28_adaptor.html). Can anyone pass along the dimensions of the board? I can derive the rest from that. Thank you! David
  37. V

    eagle part for microSD

    Well if you want to all technical about it :) At the time of posting I had logged in about 2 hours on Eagle. A little bit later and I see that adding this/creating a library for it looks to be pretty easy. Thanks, D
  38. V

    eagle part for microSD

    Has anyone created an eagle part for Paul's microSD adapter? (https://www.pjrc.com/teensy/sd_adaptor.html). Thanks, David
  39. V

    Long delay before teensy loader uploads.

    I see this on the Mac, too (10.9.5). Varies. Sometimes instant, sometimes up to a minute. Switching USB ports often fixes it for a while. There have been times when I wasn't able to get a new sketch to upload at all without a reboot (and my usual method is pressing the button on the teensy...
  40. V

    byte header for message packet

    Hi all, Thanks for the input. Since I have some overhead I think I'll use both the 2 or 3-byte header and 2 bytes for checksum. And yes, t3 = t3.x. While beta testing I've been merely passing ascii values which create a packet ~2x as big as the method I'm building now. So adding a few bytes to...
  41. V

    byte header for message packet

    Hi all, I need some advice...again :) I'm doing a bunch of data processing on a t3 and then passing that along to a CPU via bluetooth or USB. The packet is a fixed length (50 bytes), and consists of: header (1 byte) sub-header (1 byte) 9 floats (each float represented by 4 bytes) (these are...
  42. V

    parallel processing on a t3.1?

    I'm showing my ignorance here, but need to ask. In my main loop I have a lot of time-sensitive processing going on. It needs to do its thing (reading and processing a lot of incoming sensor data and can't be interrupted). However, at the same time I need to be listening to one of the serial...
  43. V

    save and upload HEX file on mac

    Perfect. Thanks, Paul. Note you can also use Go>>Go to folder... (from the finder) to access the file via the finder vs. terminal. Very happy there's a hex version of the sketch :) Cheers, David
  44. V

    save and upload HEX file on mac

    OK, so the answer is yes: http://forum.pjrc.com/threads/25035-Teensyduino-as-a-stand-alone-loader-for-downloading-HEX-files-on-various-computers So the only question I have is how best to save the .hex file on a mac. Thanks again, David
  45. V

    save and upload HEX file on mac

    Question about HEX files. I have an update to a sketch (via arduino) that I need to pass along to a client, however I don't want the client to have access to the sketch. A little bit of sleuthing and I found buried deep inside the /private folder (I'm on a Mac, btw) the .hex file for the...
  46. V

    RFM69W (RFM69HW) transceiver + T3

    Yeah, I noticed that, too (see page 1 of this thread). Not sure why, but it did finally work after that. David
  47. V

    Audio Library

    Hi Paul, Never gets above 2. Shall I email the sound files? They are short little snippets. Craps out after about 5 playbacks (but not consistent). Sometimes one mixer input will freeze followed by the other one a few samples later. Once both freeze the t3.1 locks up. Occasionally it will lock...
  48. V

    Audio Library

    I know this is old (was on page 7 or this thread), but I'm actually seeing the same problems with the latest & greatest. Seems to lock up the board after playing a sound sample several times. Not sure when it's going to fail, but it does always fail. Here's my code: // +++++++++++++++++++++...
  49. V

    RFM69W (RFM69HW) transceiver + T3

    Ahh...you aren't using a teensy 3 at all (which is why most of the notes in this thread don't apply to your application). Probably should have mentioned that up front (since the title of the thread was focused on this radio with the teensy 3 (T3). Glad you got it to work. David
Back
Top