Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: potatotron

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. I downloaded Teensyduino from the link above and...

    I downloaded Teensyduino from the link above and ran some tests on Catalina 10.15.4. Multiple monitors, mouse scroll wheel vs trackpad, scrolling, resizing, all behaved normally with no crashes.
  2. Replies
    31
    Views
    528

    You could use transistors to switch them, that...

    You could use transistors to switch them, that way the Teensy is just driving the transistor and not the LED. Google Arduino

    You could also use something like a 74hc245, there's several examples...
  3. USB (5 pins in a row) spacing is 0.1 inch pitch ...

    USB (5 pins in a row) spacing is 0.1 inch pitch

    Ethernet (2 rows of 3) spacing is 2mm pitch
  4. Replies
    3
    Views
    266

    Very cool and interesting project!

    Very cool and interesting project!
  5. Replies
    8
    Views
    200

    For what you've told us I'd say there's no...

    For what you've told us I'd say there's no practical advantage of one over the other.

    Even something hybrid like one 74hc154 controlling 16 of the pots and teensy pins controlling the remaining 9...
  6. A1)...

    A1) https://www.instructables.com/id/12V-Motor-Control-With-5V-Arduino-and-NPN-Transist/ (NPN), https://startingelectronics.org/beginners/circuits/arduino-buzzer/ (PNP) just replace the 12V with 5V...
  7. I don't think you can connect it directly; the...

    I don't think you can connect it directly; the board wants 5V signals and the T4 runs at 3.3V. You'd need something like this https://www.adafruit.com/product/1902 with some pin modifications here:...
  8. Replies
    4
    Views
    164

    Could you try a different cable? Some USB cables...

    Could you try a different cable? Some USB cables are charging only, they're connected on the power pins/wires. and not the data pins/wires.
  9. Replies
    797
    Views
    37,290

    Hi @KurtE, thanks for the pinout card (#94...

    Hi @KurtE, thanks for the pinout card (#94). I think I've found an error.

    You've got digital pins 40 & 41 on the same GPIO 1.21.

    19921

    I believe 40 is 1.20 and 41 is 1.21
  10. Replies
    797
    Views
    37,290

    My mistake. Thanks for the clarification.

    My mistake. Thanks for the clarification.
  11. Replies
    797
    Views
    37,290

    In response to #76...

    In response to #76 (and AlanK's reply #78) I connected 16 LEDs to pins 19, 18, 14, 15, 40, 41, 17, 16, 22, 23, 20, 21, 38, 39, 26, 27 via a pair of 74hct245's and everything works as expected.


    ...
  12. The 3.3V for the Teensy 3.2 comes from an LP38691...

    The 3.3V for the Teensy 3.2 comes from an LP38691 regulator (schematic at https://www.pjrc.com/teensy/schematic.html), and the datasheet for it says it can take up to 10V. So yes you got lucky you...
  13. Replies
    4
    Views
    126

    My understanding is the tick rate how often the...

    My understanding is the tick rate how often the OS wakes up to do housekeeping or switch tasks so it would be 1/F_CPU, do you have a different definition?

    Are you looking for something like...
  14. The fastest way I could think of would be to...

    The fastest way I could think of would be to connect one of the RPis to the Teensy directly via USB serial and the other by hardware serial, but I'm mostly wondering if this is an XY problem....off...
  15. Replies
    8
    Views
    440

    How about a Teensy reading the analog inputs of 4...

    How about a Teensy reading the analog inputs of 4 of these over I2C

    https://www.adafruit.com/product/732
  16. Try moving pinMode from the loop to the setup.

    Try moving pinMode from the loop to the setup.
  17. Replies
    6
    Views
    848

    No Teensy 4 does not have a DAC, you'll need to...

    No Teensy 4 does not have a DAC, you'll need to use one of the 3.x boards or additional chips https://forum.pjrc.com/threads/57208-No-DAC-on-4-0-Alternatives?p=212602&viewfull=1#post212602.
  18. Thread: Teensy 4.x

    by potatotron
    Replies
    1
    Views
    216

    Most likely. ...

    Most likely.

    https://forum.pjrc.com/threads/57842-Future-Teensy-features-amp-pinout
  19. Replies
    7
    Views
    540

    You send 2 lines of data with every row so for...

    You send 2 lines of data with every row so for x32 boards it's 16 iterations. This https://bikerglen.com/projects/lighting/led-panel-1up/ explains it better than I can.

    As far as the update rate...
  20. Replies
    7
    Views
    540

    For the most part you're on the right track but...

    For the most part you're on the right track but I'm not sure about 10 boards across. If you get the 64x32 boards that's 640 pixels that need to be clocked out * 16 rows * at least 50-60 times per...
  21. I didn't see a specific current draw from your...

    I didn't see a specific current draw from your link but in general you can assume about 20mA per individual LED, or 60mA per package.

    If you're talking about USB power from a device like a...
  22. Replies
    10
    Views
    2,041

    Are you looking to just buy 4 of the Cherry...

    Are you looking to just buy 4 of the Cherry switches and build your own enclosure?

    If so, you'd just connect those 4 switches to 4 inputs pins on the Teensy. There's plenty of examples on how to...
  23. Replies
    5
    Views
    1,352

    Try disconnecting the Teensy from all other wires...

    Try disconnecting the Teensy from all other wires and connections with only the USB cable from the computer to the board, then try uploading something basic like the Blink sketch. If it doesn't work...
  24. Replies
    5
    Views
    1,352

    You can't really use resistor voltage dividers to...

    You can't really use resistor voltage dividers to supply current to anything that takes a nontrivial load. From https://learn.sparkfun.com/tutorials/voltage-dividers



    This link from...
  25. Replies
    42
    Views
    11,858

    Your last link (product 251) is the one I used...

    Your last link (product 251) is the one I used (along with the amplifier # 13266). I touch the thermocouple tip to the surface of a board when I run a reflow.

    As for calibration, I have an...
  26. Replies
    42
    Views
    11,858

    @jwatte - thanks for the info on MacroFab, I had...

    @jwatte - thanks for the info on MacroFab, I had not seen them before.

    @linuxgeek - yes that relay should be fine. Regarding your question on MacroFab part sourcing, from their FAQ...
  27. Replies
    42
    Views
    11,858

    No experience with the oven on Amazon, but the...

    No experience with the oven on Amazon, but the reviews make it seem reasonable. If I had to start from scratch I would consider it; people who have done the mods seem happy with performance.

    As...
  28. Sorry, I just realized I didn't answer your #1...

    Sorry, I just realized I didn't answer your #1 question very well.

    For 10x12 you're going to have to do some cable path management either way. If you go with a single pin and FastLED you can snake...
  29. For 120 LEDs I think you'd be able to manage...

    For 120 LEDs I think you'd be able to manage 60fps with either FastLED or OctoWS2811. Even if you go with FastLED and only use 1 pin you'll need something to level shift the Teensy pin to 5V so using...
  30. Replies
    7
    Views
    3,896

    I can't help with an assembler recommendation,...

    I can't help with an assembler recommendation, but Osh Park (https://oshpark.com) is what a lot of us use for low volume boards. I've used them for years with zero issues.
  31. Thanks! I will play with this as soon as possible.

    Thanks! I will play with this as soon as possible.
  32. This looks great! Is your code posted anywhere?

    This looks great! Is your code posted anywhere?
  33. Replies
    1
    Views
    724

    You can connect the RPi's ground & UART pins to...

    You can connect the RPi's ground & UART pins to the Teensy's and send the data serially, something like

    RPI Teensy
    6 (gnd) -> GND
    8 (TX) -> 0 (RX)
    10 (RX) -> 1 (TX)

    By happy...
  34. Replies
    7
    Views
    1,844

    Yes, all grounds need to be connected together. ...

    Yes, all grounds need to be connected together.

    [edit - fixed quote]
  35. The RPi doesn't have access to the Teensy's RAM...

    The RPi doesn't have access to the Teensy's RAM to be able to do DMA. You'd have to use some transport mechanism like I2C or SPI to send the bits to one of the Teensy's interfaces so you could use...
  36. I came here to say pretty much what KurtE said....

    I came here to say pretty much what KurtE said. You can easily expand the serial buffer RAM on both sides if necessary, and/or use flow control with GPIO pins and something like attachInterrupt() to...
  37. How about plug the Teensy into a RPi USB port and...

    How about plug the Teensy into a RPi USB port and use serial communication to send the data back and forth.
  38. Replies
    7
    Views
    1,844

    How do you have the Teensy connected to the LEDs?...

    How do you have the Teensy connected to the LEDs? Are you using a 3.3->5V level shifter?
  39. Replies
    9
    Views
    3,119

    You could set up an IntervalTimer and flip the...

    You could set up an IntervalTimer and flip the state



    IntervalTimer myTimer;

    void setup(void) {
    myTimer.begin(Flipper, 10000); // flip the state 100 times per second
    ...
    }
  40. Replies
    5
    Views
    1,623

    For something small like a 5x5 matrix I'd...

    For something small like a 5x5 matrix I'd probably just precompute the pixels and save it in an array, but if you really want to do it programmatically you can do it with Bresenham's algorithm...
  41. Replies
    1
    Views
    1,095

    Yes you can do this, you just need a microphone...

    Yes you can do this, you just need a microphone or line in circuit to an analog pin. The audio library has a reference circuit to convert an input signal to the 0 - 1.2V needed.
  42. Replies
    11
    Views
    4,429

    I've been using the Particle Photon...

    I've been using the Particle Photon (https://store.particle.io/products/photon) as the TCP/IP side of a few projects. The Photon does the web / user interface, the Teensy 3.x's handle the grunt work,...
  43. Replies
    159
    Views
    42,921

    The big advantage your board has is it's already...

    The big advantage your board has is it's already biased to 0.6V instead of 1/2 VCC like the other boards, so there's no need to do shenanigans like this to connect use it:
    ...
  44. Replies
    7
    Views
    1,738

    I doubt it's an issue with the wiring, especially...

    I doubt it's an issue with the wiring, especially from the 245 chip to the RJ45 connector.

    You won't be able to use the PJRC OctoWS2811 library; it's written for WS2812 LEDs (what Adafruit calls...
  45. If I'm understanding you correctly, you get a...

    If I'm understanding you correctly, you get a string like "/?text1=15" and you need to parse the value 15 into an integer variable?

    I don't really ever use the String class but something like this...
  46. In the library APA102.h transfer() function...

    In the library APA102.h transfer() function replace the digitalWrite() statements with digitalWriteFast(), and be sure in your code your data pin and clock pins are constants or defines. This will...
  47. A few things. First, in a quiet environment...

    A few things.

    First, in a quiet environment your Teensy should read around 390: the DC bias of the module is 1.25 Volts and your Teensy is running at 3.3 Volts; 1.25 / 3.3 * 1024 = 388. It will...
  48. Back up to make sure your hardware is working. Do...

    Back up to make sure your hardware is working. Do something really simple like this:



    void setup(void) {
    Serial.begin(9600);
    }

    void loop(void) {
    Serial.println(analogRead(A2));
  49. Replies
    159
    Views
    42,921

    If there is then it's not specific to your...

    If there is then it's not specific to your design. Just a bit ago I tested your module with the Adafruit MAX9814 board and Adafruit's is definitely more noisy. My camera doesn't like the lights in my...
  50. Replies
    159
    Views
    42,921

    Here's some videos of the microphone module...

    Here's some videos of the microphone module hooked up to a T3.6 driving the 64x32 APA102 matrix, running the OctoWS2811 SpectrumAnalyzer example modified for the APA102s.

    Frequency sweep:...
Results 1 to 50 of 416
Page 1 of 9 1 2 3 4