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

Search:

Type: Posts; User: PaulStoffregen

Page 1 of 10 1 2 3 4

Search: Search took 0.13 seconds.

  1. Replies
    114
    Views
    4,235

    This conversation has so many messages (now 36...

    This conversation has so many messages (now 36 since your first question back at msg #73), but I *still* can't get a clear idea if all of your boards even work when not connected to any others, and...
  2. Replies
    20
    Views
    2,848

    Sticky: I'm not planning to do any testing on MacOS 11...

    I'm not planning to do any testing on MacOS 11 (Big Sur) until Apple officially releases it.
  3. Ah, now I can see the problem with this new...

    Ah, now I can see the problem with this new screenshot that has the code scrolled farther up.

    21938

    The include for Audio.h is commented out. Just delete the "//" at the beginning of that line!
  4. Try this, with a wire connecting pins 3 and 4. ...

    Try this, with a wire connecting pins 3 and 4.



    volatile unsigned int count = 0;

    void setup() {
    analogWriteFrequency(3, 123.5); // pulses on pin 3
    analogWrite(3, 128);
    ...
  5. Replies
    114
    Views
    4,235

    If you get a definitive answer, please make sure...

    If you get a definitive answer, please make sure to post a link to it here, so anyone who later finds this conversation by search can get the answer.
  6. Replies
    6
    Views
    101

    Adding things pretty easy. Just edit index.html...

    Adding things pretty easy. Just edit index.html and look for the long "NodeDefinitions" list. Use search for "NodeDefinitions", as that word appears only once in the entire file.

    Scroll down the...
  7. Replies
    114
    Views
    4,235

    I have 2 ways to answer this question. 1:...

    I have 2 ways to answer this question.

    1: Maybe, probably yes. All I'm going to say is read and follow the instructions Sparkfun published on their website, which seem to imply you need to use...
  8. Replies
    6
    Views
    101

    It's working for me. You also have a complete...

    It's working for me.

    You also have a complete copy of the design tool on your computer, which works without any internet connectivity! (Robin & I are philosophically against cloud software...) ...
  9. Replies
    114
    Views
    4,235

    Did you read Sparkfun's "I2C Jumper" info? (link...

    Did you read Sparkfun's "I2C Jumper" info? (link on msg #91)

    I'm pretty sure you need that to get these working. They put that jumper on the PCB and went to the trouble of documenting it for a...
  10. Replies
    114
    Views
    4,235

    When you connect 2 or more I2C devices, each...

    When you connect 2 or more I2C devices, each needs a unique address. This requirement is common to all I2C chips, not just the BNO080. If you connect 2 chips with the same address, they will...
  11. Replies
    114
    Views
    4,235

    Here is a link to the I2C scanner source code on...

    Here is a link to the I2C scanner source code on github. (same as I answered in msg #78)

    https://github.com/PaulStoffregen/Wire/blob/master/examples/Scanner/Scanner.ino
  12. I worked with this chip months ago, but...

    I worked with this chip months ago, but everything I was doing has been put on hold by the pandemic.

    I'm a bit reluctant to share code, as it's likely to only create more questions than it...
  13. Replies
    9
    Views
    131

    You may also need to add a resistor between the...

    You may also need to add a resistor between the DAC output and LM358 positive input. For a starting guess, use the same resistor value as the resistor between the negative input and GND.

    The...
  14. Replies
    9
    Views
    131

    I'd try LM358.

    I'd try LM358.
  15. Replies
    114
    Views
    4,235

    I can confirm those are the correct pins to use....

    I can confirm those are the correct pins to use.

    Maybe there's a mistake or misunderstand which could become apparent if we could actually see photos of the wiring?
  16. Replies
    114
    Views
    4,235

    You already have the code. In Arduino, just...

    You already have the code. In Arduino, just click File > Examples > Wire > Scanner.

    But here's a link to the scanner code on github, just in case you want to view outside Arduino.
    ...
  17. Replies
    9
    Views
    131

    I'm going to guess you have the opamp's negative...

    I'm going to guess you have the opamp's negative power pin connected to GND. If so, you're probably hitting limits of the opamp's output range.

    Here's the relevant specs for that opamp.

    21926...
  18. Replies
    114
    Views
    4,235

    I have a BNO080 sitting right here. I ran File >...

    I have a BNO080 sitting right here. I ran File > Examples > Wire > Scanner on a Teensy 4.0 just now. Here's the result.

    21925

    The Scanner example definitely does find it. BNO080 definitely...
  19. Interrupts may or may not be the right direction....

    Interrupts may or may not be the right direction. The huge downside of interrupts is the extra effort needed to *reliably* share data between the interrupt code and the rest of your program. It's...
  20. Replies
    3
    Views
    119

    EXP Tech in Germany has the correct chip in...

    EXP Tech in Germany has the correct chip in stock.

    https://www.exp-tech.de/en/platforms/teensy/9947/psram-chip-for-teensy-4.1

    And FWIW, your soldering looks excellent. But that ISSI chip just...
  21. There is no drawing for that board. The...

    There is no drawing for that board.



    The PCB is 1.9 by 0.7 inches. With 0,0 as a reference point at the bottom left corner, the mounting hole coordinates are:

    0.160, 0.090
    0.160, 0.610...
  22. If you only need to count the number of pulses,...

    If you only need to count the number of pulses, just use attachInterrupt() and in your interrupt function increment a volatile variable.
  23. Just change all those printf to Serial.printf.

    Just change all those printf to Serial.printf.
  24. It doesn't matter where you put the files on your...

    It doesn't matter where you put the files on your Mac. But if you download the wrong stuff, or if you download the correct software and also the wrong software and get them mixed up and end up...
  25. You need to download Teensyduino from this page....

    You need to download Teensyduino from this page.

    https://www.pjrc.com/teensy/td_download.html

    Since the tutorial was written, Apple added a notarization requirement for Mac software. We now...
  26. Maybe Windows Defender or other anti-virus is...

    Maybe Windows Defender or other anti-virus is interfering with the installation?
  27. My best guess is you probably have some sort of...

    My best guess is you probably have some sort of wiring or other hardware problem, since the code seems to run well here.

    Do you have a voltmeter? Best to connect it to A1 and GND to watch the...
  28. I wired up 2 pots and ran your program. It seems...

    I wired up 2 pots and ran your program. It seems to work fine. I don't see anything erratic happening.

    21897

    21898
  29. Replies
    5
    Views
    200

    It's not you, it's me. I never got around to...

    It's not you, it's me. I never got around to adding accelerometer and gyro offset calibration. Odds are very slim I'll ever work on MotionCal again. But the source code is on github if you or...
  30. Replies
    14
    Views
    415

    As a final followup on this old thread, I've...

    As a final followup on this old thread, I've updated the download page with improved instructions specific to each operating system. Arduino 1.8.13 appears to fix the Java issues. Catalina needing...
  31. Replies
    7
    Views
    279

    Wow, pretty lucky to get 4N35 to work with any...

    Wow, pretty lucky to get 4N35 to work with any board. It's a slow optocoupler, just marginal for MIDI.
  32. Replies
    36
    Views
    1,303

    Kinda hoping for some help from Windows experts...

    Kinda hoping for some help from Windows experts to recommend the best way. It might take some time fiddling & testing?

    Today I'm doing lots of long-neglected updates because they take a lot of...
  33. Replies
    36
    Views
    1,303

    Would it be ok to put these screenshots and steps...

    Would it be ok to put these screenshots and steps directly on the web page? (no need to click for a PDF)
  34. Yes, wire can be used to connect those signals...

    Yes, wire can be used to connect those signals the needed locations. Shielded wire isn't necessary. Ordinary wire is fine if you keep the length under ~4 inches.

    MCLK is the most sensitive...
  35. I've updated all the comments in imxrt.h for the...

    I've updated all the comments in imxrt.h for the latest reference manual. :)

    https://github.com/PaulStoffregen/cores/commit/08b835afb8bc4e3adc5b0173b88c20c69abde2a1
  36. Replies
    36
    Views
    1,303

    Can someone who knows Windows help with...

    Can someone who knows Windows help with screenshots and specific instructions for configuring Windows Defender to not real-time scan Arduino?

    I put a "TODO: Wanted... screenshot(s) for Windows...
  37. Replies
    36
    Views
    1,303

    I've reorganized the installation instructions on...

    I've reorganized the installation instructions on the downloads page.

    https://www.pjrc.com/teensy/td_download.html

    The old 3-steps-fits-all approach obviously wasn't working. Instead I changed...
  38. Do you have a multimeter which can measure...

    Do you have a multimeter which can measure frequency? Or another Teensy which can run the FreqMeasure library?

    Can you check what frequency your Raspberry Pi is actually sending on the LRCLK pin?
  39. Yes, it's works. Here you can see a test I ran...

    Yes, it's works. Here you can see a test I ran shortly after it was first supported. I created 4 waveforms using PWM and resistor-capacitor filters. The 4 waveforms go into the inputs of both...
  40. Any chance I could talk you into disconnecting as...

    Any chance I could talk you into disconnecting as much stuff as possible, ideally so you have only the Pi, Teensy, ethernet (not even a screen or keyboard), and use a "normal" power supply for the...
  41. Yes, very sure it's really using 4 bit mode. ...

    Yes, very sure it's really using 4 bit mode.

    We're also using the PSRAM's fastest (not default) mode where the initial command is transmitted with all 4 bits.
  42. Sadly, no, I have no idea why it's not working. ...

    Sadly, no, I have no idea why it's not working. But I do have a couple suggestions about how you might collect more info.

    The Linux kernel creates system logs as USB devices are detected and...
  43. Sticky: Not all USB hubs are created equal. I use...

    Not all USB hubs are created equal.

    I use Teensy regularly through a USB3 hub which is permanently mounted to the side of my desk. I've also used a few others at times. All worked.

    Can you...
  44. You can put a char array into flash, but not...

    You can put a char array into flash, but not String because String is a C++ object.
  45. Replies
    3
    Views
    219

    Sadly, there aren't any easy tutorials. But you...

    Sadly, there aren't any easy tutorials. But you might read through the DMAChannel.h class. I put lots of comments in the source to explain how things work. As things are today, those comments are...
  46. Replies
    4
    Views
    406

    I know this is an old thread, but just for a...

    I know this is an old thread, but just for a final followup, the dimensions page now has drawings for Teensy 4.0 and 4.1.

    https://www.pjrc.com/teensy/dimensions.html
    ...
  47. Which ethernet hardware are you using? ...

    Which ethernet hardware are you using? Ethernet.h is for the Wiznet-based boards. For the ethernet hardware on Teensy 4.1 you need NativeEthernet.h.
  48. I've updated the dimensions page. I know this...

    I've updated the dimensions page. I know this thread is a bit old by now, but hopefully it helps?

    https://www.pjrc.com/teensy/dimensions.html

    https://www.pjrc.com/teensy/dimensions_teensy41.png
  49. Replies
    36
    Views
    1,303

    Updated this page with Teensy 4.0 and 4.1 info.

    Updated this page with Teensy 4.0 and 4.1 info.
  50. I've updated the dimensions page. :) And...

    I've updated the dimensions page. :)

    And here's the dimensions for Teensy 4.1.

    https://www.pjrc.com/teensy/dimensions_teensy41.png
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4