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

  1. Replies
    93
    Views
    4,076

    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...
  2. Replies
    93
    Views
    4,076

    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...
  3. Replies
    93
    Views
    4,076

    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
  4. 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...
  5. Replies
    6
    Views
    74

    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...
  6. Replies
    6
    Views
    74

    I'd try LM358.

    I'd try LM358.
  7. Replies
    93
    Views
    4,076

    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?
  8. Replies
    93
    Views
    4,076

    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.
    ...
  9. Replies
    6
    Views
    74

    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...
  10. Replies
    93
    Views
    4,076

    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...
  11. 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...
  12. 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...
  13. 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...
  14. 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.
  15. Just change all those printf to Serial.printf.

    Just change all those printf to Serial.printf.
  16. 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...
  17. 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...
  18. Maybe Windows Defender or other anti-virus is...

    Maybe Windows Defender or other anti-virus is interfering with the installation?
  19. 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...
  20. 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
  21. 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...
  22. 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...
  23. 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.
  24. Replies
    36
    Views
    1,290

    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...
  25. Replies
    36
    Views
    1,290

    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)
  26. 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...
  27. 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
  28. Replies
    36
    Views
    1,290

    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...
  29. Replies
    36
    Views
    1,290

    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...
  30. 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?
  31. 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...
  32. 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...
  33. 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.
  34. 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...
  35. 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...
  36. 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.
  37. Replies
    3
    Views
    216

    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...
  38. 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
    ...
  39. 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.
  40. 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
  41. Replies
    36
    Views
    1,290

    Updated this page with Teensy 4.0 and 4.1 info.

    Updated this page with Teensy 4.0 and 4.1 info.
  42. 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
  43. First try a 16 bit location which will output...

    First try a 16 bit location which will output both channels. To do that, just change SOFF and SLAST to zero, so the DMA doesn't ever change the source address. Then it will just read from the same...
  44. Look at File > Examples > Wire > slave_receiver...

    Look at File > Examples > Wire > slave_receiver for an example of using those functions.

    The wire library also has a master_writer example which you can run on the other side to send data to...
  45. That really depends upon what you consider...

    That really depends upon what you consider "simple". ;)

    Just yesterday I answered a question about transmitting a special 20 bit synchronous serial protocol by repurposing the digital audio...
  46. First a standard disclaimer: this message isn't...

    First a standard disclaimer: this message isn't meant to amend or modify or even explain any open source license. For that, you need to refer to the actual license terms. To truly understand what...
  47. Teensy 4.0 would be a better choice because you...

    Teensy 4.0 would be a better choice because you can reassign the LED pins. On Teensy 3.2 the OctoWS2811 pins are fixed and some conflict with the audio shield.
  48. I'm reluctant to comment too deeply about...

    I'm reluctant to comment too deeply about PlatformIO, since I don't personally use it. But if you try that other approach with teensy_post_compile and teensy_ports, I believe you can see we're using...
  49. The simple answer is yes, you can send multiple...

    The simple answer is yes, you can send multiple MIDI messages at once.

    The actual MIDI communication is done at 480 Mbit using a complicated protocol which communicates in packets. A single...
  50. Replies
    4
    Views
    123

    Lots of PCB routing guidelines for USB say not to...

    Lots of PCB routing guidelines for USB say not to have any routing stubs like these pads. For Teensy 4.0 I didn't route any stub traces. On Teensy 4.1 I risked these 2 small pads. Indeed the main...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4