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

Search:

Type: Posts; User: Cosford

Page 1 of 7 1 2 3 4

Search: Search took 0.00 seconds.

  1. Try adding a pull-down resistor between the...

    Try adding a pull-down resistor between the respective PWM pins, down to GND. 1k or so should be fine.
  2. Replies
    4
    Views
    282

    So this crossed my mind - the issue being that...

    So this crossed my mind - the issue being that the calls to FastLED.show() weren't running in an interrupt, so could be interrupted by anything. Based on that, I devised a work-around.

    I used an...
  3. Replies
    4
    Views
    282

    Further investigation has revealed that (as I...

    Further investigation has revealed that (as I somewhat expected), it wasn't anything to do with the UART (this was merely a symptom of course).

    Stripping back my sketch, it appears the simple...
  4. Replies
    4
    Views
    282

    FastLED, WS2812b and UART Interrupts

    I've got a project receiving UART data on UART0 (Serial1) whilst driving a string of WS2812b's, using FastLED, on a Teensy 3.2.

    The UART runs at 460800 bps, I'm driving 15 LEDs.

    My...
  5. Replies
    8
    Views
    565

    John, we also use T3.2 in a commercial product -...

    John, we also use T3.2 in a commercial product - this is something I have looked at but put it in the 'too difficult' pile (for now).
    If you do find any information or make any progress you're...
  6. Replies
    7
    Views
    1,930

    That's excellent! Really nice work. It's not too...

    That's excellent! Really nice work.
    It's not too much trouble to build it, but not all users of Teensy will necessarily use Visual Studio, so may make it more accessible for those users.
  7. Replies
    9
    Views
    898

    This sounds like a good idea - for hobbyists,...

    This sounds like a good idea - for hobbyists, they can be trusted with the switches, but speaking as a commercial user, I'd be worried that my customers can mess about with the switches (either...
  8. Replies
    242
    Views
    28,175

    It's too late in the day and my head is too fried...

    It's too late in the day and my head is too fried to process the sheer quantity of trade-offs to make. But the only consideration I might suggest would be that whilst the new audio hardware signals...
  9. In which case, my recommendation would be an...

    In which case, my recommendation would be an ESP32 or ESP8266 slaved to the Teensy, using MQTT.
    Will be more than capable of pushing those kind of rates out, with plenty of headroom and flexibility....
  10. Hi there! You're right - there's a lot of...

    Hi there!
    You're right - there's a lot of options available. To try and narrow it down, a few questions:
    1) What sort of data rates are you looking to push through the links?
    2) How many devices...
  11. Let's get this straight. Are you just wanting...

    Let's get this straight.

    Are you just wanting to have the PC send and receive serial data to the Teensy?
    If so, you need nothing more than the teensy itself and a USB cable; the teensy 'talks'...
  12. Replies
    4
    Views
    528

    The ESP8266 can be a pain to program, with a...

    The ESP8266 can be a pain to program, with a teensy in-between or not. My first step would be to ask what rate you're programming at and try reducing.
  13. Replies
    10
    Views
    1,504

    You can use fastled with the audio library. :)

    You can use fastled with the audio library. :)
  14. Replies
    4
    Views
    725

    It all comes down to trace impedance, which in...

    It all comes down to trace impedance, which in turn is based on a variety of factors including:

    Target board copper thickness (2 oz/ft is the 'standard', however 1 oz/ft is commonly available and...
  15. We have observed a similar issue with a MC34063...

    We have observed a similar issue with a MC34063 DC-DC converter set for a 5V output on the PCB, fed into a 3.3V linear regulator. Fortunately our boards are powered individually, so usually takes...
  16. Replies
    17
    Views
    1,580

    I'd echo tonton's suggestion above - I got into...

    I'd echo tonton's suggestion above - I got into the habit of using explicit datatypes as he's described above some time ago, and long gone are my days of worrying about cross-platform compatibility...
  17. Replies
    10
    Views
    1,504

    Gonna need some more information about what...

    Gonna need some more information about what you're trying to do.
    Can you post a sketch? Hardware setup - pin connections, etc?
  18. Replies
    1
    Views
    472

    Any ideas on this one anyone? Is there a way...

    Any ideas on this one anyone?

    Is there a way of re-initialising all of the Audio library objects perhaps? Current workaround is just to soft reset the teensy, but it's a far from ideal solution.
  19. Replies
    1
    Views
    472

    Audio Play Sd Wav, Sd_t3 issues

    Hi all,

    I've been banging my head against a wall on and off for weeks on this one.
    I have some Teensy 3.2's playing sound with the AudioPlaySdWav objects; two of them, fed into a mixer, fed to a...
  20. Replies
    155
    Views
    17,374

    I think having an init call would make most...

    I think having an init call would make most sense. It's going to be very frustrating for a user who doesn't understand this functionality, if their application code on their teensy is constantly...
  21. Hobbytronics are a UK retailer that supply the...

    Hobbytronics are a UK retailer that supply the entire range :)

    See http://www.hobbytronics.co.uk/teensy-audio-adapter?keyword=Teensy
  22. Replies
    155
    Views
    17,374

    This is very powerful - remarkably transparent....

    This is very powerful - remarkably transparent. An excellent way of easily adding MQTT to teensy! Congratulations :)

    Forgive me if I've skipped past it somewhere, but do you have this up on GitHub...
  23. Without wishing to make too strong a case, I...

    Without wishing to make too strong a case, I thought I might just describe my usage of the Teensy 3.2 in a product.

    We required access to more GPIO than what was accessible via the through hole...
  24. Replies
    13
    Views
    7,917

    That's really interesting! Thanks for sharing!

    That's really interesting! Thanks for sharing!
  25. Replies
    13
    Views
    7,917

    That's awesome! Ishkabbible; do you mind me...

    That's awesome!
    Ishkabbible; do you mind me asking who you work for and how you got into working with OSIRIS-REx? Dream job stuff right there!
  26. Perfect. I figured that was the case. I'll give...

    Perfect. I figured that was the case. I'll give this a shot.
  27. Teensy Programming without Windows Drivers

    Hi all,

    perhaps the topic name wasn't the best.

    Currently we are using TyQt to program a number of teensy's on a computer with the arduino environment.
    Problem being that windows seems to...
  28. Could you just use an enclosure with a lid, mount...

    Could you just use an enclosure with a lid, mount the board in the bottom of the box and remove lid for access?

    What sort of enclosure did you have in mind?
  29. Replies
    6
    Views
    1,194

    Something I've been working on uses a multidrop...

    Something I've been working on uses a multidrop serial connection, so each device needs to set it's UART TX pin to high impedance when it's not transmitting to avoid bus contention. I just do this by...
  30. Replies
    11
    Views
    1,751

    I'd say Frank is spot on. You could start by...

    I'd say Frank is spot on.

    You could start by only illuminating the LEDs to a lower level (eg, 127 instead of 255 for full brightness). In combination with a bulk cap of a few hundred uF, that...
  31. Replies
    14
    Views
    2,383

    From previous discussion, I believe PJRC load up...

    From previous discussion, I believe PJRC load up the blink sketches by hand as the last step of manufacturing (and of course, in doing so, they test it).
    Possibly some mixed in returns or similar......
  32. Replies
    11
    Views
    1,751

    Hey, Could you provide us with a drawing or...

    Hey,
    Could you provide us with a drawing or schematic of your setup?
  33. Sorry, I still appear to be missing something...

    Sorry, I still appear to be missing something here.
    Why would disabling the CLK pin reduce current draw from 35mA to 0.3mA?
  34. Just to confirm as I have a similar setup using...

    Just to confirm as I have a similar setup using snooze and ILI9341 but hadn't actually verified the power consumption yet...
    Are we suggesting that leaving the SPI CLK pin high is preventing the...
  35. Replies
    0
    Views
    645

    Hardware Serial Flush

    /=====Update=====/
    Now Resolved. As per usual, the issue was in my application code, where an occasional corrupted serial byte could cause the application to access memory beyond the size of an...
  36. This. Your current code executes several delays...

    This.
    Your current code executes several delays of 5000ms each loop, regardless of the result of the if statement.
  37. Replies
    0
    Views
    660

    Audio Library T3.2 CPU Frequency

    Hi All,

    I could certainly ascertain this experimentally but figured I'd ask here in case anyone knows the answer off the top of their head.
    What CPU speeds are supported by the Audio Library?
    ...
  38. Replies
    4
    Views
    2,093

    Obviously I don't speak for Paul or PJRC, but...

    Obviously I don't speak for Paul or PJRC, but there's often a lot of requests for variants of these products.

    I believe some tough calls had to be made when the LC was put together to keep the...
  39. Replies
    2
    Views
    708

    Hi, this is a forum for PJRC products, which to...

    Hi, this is a forum for PJRC products, which to the best of my knowledge doesn't include any kit with 8085. However, it is a good source of knowledge so someone MAY be able to help you.

    In order...
  40. Thread: Crc32

    by Cosford
    Replies
    3
    Views
    1,005

    If you're just doing USB serial, CRC shouldn't...

    If you're just doing USB serial, CRC shouldn't really be necessary because it's all packaged up in the USB protocol anyways? :)
  41. Replies
    12
    Views
    1,535

    If you're worried about it, you could use a pull...

    If you're worried about it, you could use a pull down resistor on the CLK inputs. This would keep them pulled down to GND unless pulled high by the buffers.
  42. Replies
    12
    Views
    1,535

    So, one option could be to use an SN74AHCT126,...

    So, one option could be to use an SN74AHCT126, which is a 4-buffer package with output enable pins.
    You'd tie your clock pins to the input of each of the buffers, with the outputs going to the SPI...
  43. Replies
    10
    Views
    2,739

    What sort of distances are you communicating...

    What sort of distances are you communicating over?
    You mentioned the amount of data in each loop, but how often are you expecting this data to be transmitted? (what's you actual average expected...
  44. Replies
    9
    Views
    1,884

    Hi Michael; Yes it's these types of instructions...

    Hi Michael; Yes it's these types of instructions that I intended to talk about; I did assume that it would generally pick those up automatically so thanks for that. I'll give it a shot and see what...
  45. Replies
    9
    Views
    1,884

    Great, thanks for the help all. It sounds like...

    Great, thanks for the help all. It sounds like objdump will probably do what I have in mind.
    This project isn't intended as an in-depth analysis of GCC or optimisation; rather, as part of an overall...
  46. Replies
    9
    Views
    1,884

    I'm hoping that I may be able to view the type of...

    I'm hoping that I may be able to view the type of disassembly where it breaks down the higher level instruction lines and shows how they were implemented. Is that the -S configuration you're...
  47. Replies
    9
    Views
    1,884

    Disassembly / Other IDEs

    Hi All,

    Proposing using a Teensy 3.6 for a university project, looking at architecture and compiler optimisation of audio processing.
    I intend to write my own demo code for simple audio...
  48. Replies
    11
    Views
    3,694

    The short answer to most of your questions is;...

    The short answer to most of your questions is; yes.
    The great thing about electronics engineering is that you can pretty much do whatever you want. The difficulty, is achieving what you want within...
  49. Replies
    6
    Views
    1,685

    Great, thanks. It works beautifully, just wanted...

    Great, thanks.
    It works beautifully, just wanted to get my head around the details a little more as I'd observed some LED glitching using WS2812's with the FastLED library. Resolved the issue by...
  50. Replies
    6
    Views
    1,685

    Thanks for that Paul. For my usage scenario...

    Thanks for that Paul.
    For my usage scenario then; SdWav->mixer->DAC, please correct me if I'm wrong but I'm simply guessing that I'm looking at an interrupt every 128 samples to fetch the next...
Results 1 to 50 of 306
Page 1 of 7 1 2 3 4