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.01 seconds.

  1. I can confirm I've also seen a similar problem....

    I can confirm I've also seen a similar problem.
    In my case, the teensy 3.1 was mounted on a PCB, with 3.3V fed from a linear regulator (ST117 iirc) in turn fed from 5V from a MC34063 switching...
  2. Replies
    6
    Views
    341

    Hi, I haven't yet used a Teensy 4, nor an I2S...

    Hi,

    I haven't yet used a Teensy 4, nor an I2S microphone, however, I have spent a lot of time debugging FastLED with audio library issues on Teensy 3.

    WS2813's (and family) have very strict...
  3. Replies
    10
    Views
    469

    Hi, Put simply, the Teensy 4 is orders of...

    Hi,
    Put simply, the Teensy 4 is orders of magnitude faster than the Arduino Mega. It has more hardware resources available, faster clock speeds, more electronic interface options (SPI, I2C, UART,...
  4. Can you verify with a DMM (preferably an...

    Can you verify with a DMM (preferably an oscilloscope) that the CS lines stay high? This certainly sounds like bus collision!
    The only other hardware issue I can think of, is that the MAX31855 isn't...
  5. 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.
  6. Replies
    4
    Views
    583

    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...
  7. Replies
    4
    Views
    583

    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...
  8. Replies
    4
    Views
    583

    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...
  9. Replies
    8
    Views
    800

    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...
  10. Replies
    16
    Views
    3,401

    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.
  11. Replies
    9
    Views
    1,159

    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...
  12. Replies
    242
    Views
    37,468

    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...
  13. 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....
  14. 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...
  15. 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'...
  16. Replies
    4
    Views
    734

    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.
  17. Replies
    10
    Views
    1,988

    You can use fastled with the audio library. :)

    You can use fastled with the audio library. :)
  18. Replies
    4
    Views
    893

    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...
  19. 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...
  20. Replies
    17
    Views
    1,838

    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...
  21. Replies
    10
    Views
    1,988

    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?
  22. Replies
    1
    Views
    615

    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.
  23. Replies
    1
    Views
    615

    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...
  24. Replies
    155
    Views
    20,279

    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...
  25. 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
  26. Replies
    155
    Views
    20,279

    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...
  27. 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...
  28. Replies
    13
    Views
    8,580

    That's really interesting! Thanks for sharing!

    That's really interesting! Thanks for sharing!
  29. Replies
    13
    Views
    8,580

    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!
  30. Perfect. I figured that was the case. I'll give...

    Perfect. I figured that was the case. I'll give this a shot.
  31. 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...
  32. 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?
  33. Replies
    6
    Views
    1,399

    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...
  34. Replies
    11
    Views
    2,029

    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...
  35. Replies
    14
    Views
    2,712

    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......
  36. Replies
    11
    Views
    2,029

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

    Hey,
    Could you provide us with a drawing or schematic of your setup?
  37. 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?
  38. 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...
  39. Replies
    0
    Views
    755

    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...
  40. 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.
  41. Replies
    0
    Views
    746

    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?
    ...
  42. Replies
    4
    Views
    2,235

    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...
  43. Replies
    2
    Views
    884

    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...
  44. Thread: Crc32

    by Cosford
    Replies
    3
    Views
    1,141

    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? :)
  45. Replies
    12
    Views
    1,833

    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.
  46. Replies
    12
    Views
    1,833

    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...
  47. Replies
    10
    Views
    2,965

    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...
  48. Replies
    9
    Views
    2,122

    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...
  49. Replies
    9
    Views
    2,122

    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...
  50. Replies
    9
    Views
    2,122

    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...
Results 1 to 50 of 310
Page 1 of 7 1 2 3 4