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

Search:

Type: Posts; User: PaulS

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    271

    Probably obvious, but did you open the Arduino...

    Probably obvious, but did you open the Arduino serial monitor?

    while (!Serial) {
    yield();
    }

    Paul
  2. Replies
    42
    Views
    1,349

    Great! Happy to hear that it is finally working. ...

    Great! Happy to hear that it is finally working.
    Now on to your custom board...
    Noticing your experience with the cheapo boards, I'll stick with Waveshare boards for mission-critical applications...
  3. Replies
    42
    Views
    1,349

    That seems OK. I'm out of ideas for now. Can...

    That seems OK.
    I'm out of ideas for now.
    Can you perhaps send a photo of your setup? Are you still using your custom board or did you perhaps make a basic breadboard setup like I did?

    Going...
  4. Replies
    42
    Views
    1,349

    Hmm, the plot thickens... When the CAN bus is...

    Hmm, the plot thickens...
    When the CAN bus is idle [Teensy and analyzer not sending data] I measure 2.5Vdc between GND & CANL and between GND & CANH on the 3-pin analyzer connector.
    Do you see the...
  5. Replies
    42
    Views
    1,349

    And did you connect the GND pin of the analyzer...

    And did you connect the GND pin of the analyzer to the Teensy GND as well?

    Paul
  6. Replies
    42
    Views
    1,349

    It looks like you set everything correctly in the...

    It looks like you set everything correctly in the analyzer.
    However the bottom windows does not show the reception of any frame.
    That green LED flash may not necessarily mean that a correct frame...
  7. Replies
    42
    Views
    1,349

    Some more info with respect to the screen dump...

    Some more info with respect to the screen dump from message #23:
    - The Teensy runs your program. It sends out frame ID 740, data 06 04 00 00 00 00 00 00. The analyzer shows this in the bottom window...
  8. Replies
    42
    Views
    1,349

    See my message #23. There you can see the CAN...

    See my message #23. There you can see the CAN analyzer screen with the settings I used.
    For the CAN analyzer to "Auto-answer" you have to tell the anayzer what exactly to return when a certain CAN...
  9. Replies
    42
    Views
    1,349

    Hi Jimmie, you need to click the "Set and Start"...

    Hi Jimmie, you need to click the "Set and Start" button to start receiving CAN frames:

    26660

    Paul
  10. Replies
    3
    Views
    177

    Here is the code that worked succesfully for me...

    Here is the code that worked succesfully for me with that particular CAN board:

    // https://en.wikipedia.org/wiki/CAN_bus
    // library needed: https://github.com/autowp/arduino-mcp2515

    // Signal ...
  11. Replies
    42
    Views
    1,349

    V8 is here:...

    V8 is here: https://github.com/SeeedDocument/USB-CAN-Analyzer/tree/master/res/Program.

    Paul
  12. Replies
    42
    Views
    1,349

    Yep, that's the analyzer I'm using. It has saved...

    Yep, that's the analyzer I'm using. It has saved me a lot of time in different projects.

    Paul
  13. Replies
    42
    Views
    1,349

    Hello Jimmie, Did some further testing on an...

    Hello Jimmie,
    Did some further testing on an actual Teensy 4.1 with a Waveshare and a cheapo CAN module. Using your exact code from message #9.

    2658426585

    Both seem to work OK when connected...
  14. Replies
    42
    Views
    1,349

    Hello Jimmie, Did you notice that the silkscreen...

    Hello Jimmie,
    Did you notice that the silkscreen text on the backside of the module is wrong? [at least, on the 5 cheapo modules I have here].

    26576

    Could it be that you hooked them up...
  15. Replies
    42
    Views
    1,349

    Your remark about knockoff ICs triggered me to...

    Your remark about knockoff ICs triggered me to have a closer look at both boards and especially the chip on it.
    I did notice the font used for the chip marking on the Waveshare board is slightly...
  16. Replies
    42
    Views
    1,349

    Good to hear that you found the culprit. Well,...

    Good to hear that you found the culprit.
    Well, guess I was lucky then since I've used 5+ of those cheapo boards without a problem...
    And yes, I have 2 Waveshare boards too and they perform indeed...
  17. Replies
    42
    Views
    1,349

    Things to check: - visual inspection of all the...

    Things to check:
    - visual inspection of all the solder joints/connectors/pins/wiring,
    - check for power supply voltages present on all the parts,
    - check signal waveforms with an oscilloscope,
    -...
  18. Replies
    13
    Views
    10,337

    Have a look at this post...

    Have a look at this post.
    Code is at Pastebin, here.

    Paul

    All the above was in the second hit when Googling for "whannah MIDI Joystick"...:)
  19. Replies
    42
    Views
    1,349

    If I understand correctly, there are 3 boards [a...

    If I understand correctly, there are 3 boards [a Teensy 4.1, a custom board & a CAN interface board] and a CAN-based sensor.
    Did you try swapping all 3 boards, board by board, to see which...
  20. Replies
    42
    Views
    1,349

    You may want to replace the termination resistor...

    You may want to replace the termination resistor by a 120Ω resistor, according to the CAN-bus spec.

    EDIT: better yet, completely remove the 60Ω resistor as that CAN module already has a 120Ω...
  21. Replies
    7
    Views
    370

    Your second code does generate the 5 waveforms on...

    Your second code does generate the 5 waveforms on my Teensy LC pin A12.
    I'm afraid you might have killed the A12 pin by loading it with an 8Ω speaker.

    Paul
  22. Replies
    5
    Views
    299

    Perhaps you should try the basic WS2812Serial...

    Perhaps you should try the basic WS2812Serial example first to rule out any hardware issues.
    You wiring seems OK, although good engineering practice is to connect unused pins to a defined level...
  23. Replies
    11
    Views
    607

    Yes, the pad on the bottom labeled A3V3 is an...

    Yes, the pad on the bottom labeled A3V3 is an output of one of the LDO voltage regulators.

    Paul
  24. Replies
    14
    Views
    439

    Can your screenreader handle Excel spreadsheets?...

    Can your screenreader handle Excel spreadsheets?
    If so, I can send you an .xlsx with the pinout via a PM.
    Another question: did you order the Teensy 3.2 with pins soldered to the board? If so, then...
  25. Replies
    14
    Views
    439

    Allright, let's give it a try [I hope your...

    Allright, let's give it a try [I hope your screenreader can handle it].
    When you hold the Teensy 3.2 board vertical in portrait mode with the USB connector facing up and the PCB components towards...
  26. Replies
    11
    Views
    607

    Well, then I hope you can show us some close-up...

    Well, then I hope you can show us some close-up photos of your setup.

    Paul
  27. Replies
    11
    Views
    607

    According to this thread...

    According to this thread, message #40, the SCK pin must be connected to GND.

    Hope this helps,
    Paul
  28. Replies
    11
    Views
    607

    Your code is running fine on Arduino 1.8.15 &...

    Your code is running fine on Arduino 1.8.15 & Teensyduino 1.55.
    Using the same board here that bigpilot referred to. And indeed powered that board by 5V.
    What exact Aliexpress DAC board do you...
  29. Hi Frank, still complains about fatal error:...

    Hi Frank, still complains about fatal error: FlashTxx.h: No such file or directory.
    Anyway, don't have a T3.5 here so can't reproduce the issue you see on the same hardware.
    What I would do is...
  30. Hi Frank, Are you sure this is the complete...

    Hi Frank,

    Are you sure this is the complete code? I get a compile error 'ItotPin' was not declared in this scope.

    Edit: actually got a whole bunch of 'was not declared' errors.

    Paul
  31. @Colt469198, since the encoder works OK with an...

    @Colt469198, since the encoder works OK with an Arduino Uno, I wonder if the issues you see are caused by the fact that the Teensy 3.2 SPI MOSI and SS pins are outputting at 3V3 levels. The encoder...
  32. Replies
    18
    Views
    643

    Could you still let us know the partnumber of the...

    Could you still let us know the partnumber of the MOSFET that was initially in your design and the partnumber of the MOSFET that solved the problem? That may help other people as well that run into...
  33. Replies
    18
    Views
    643

    Saw that too, but I guessed the breadboard has...

    Saw that too, but I guessed the breadboard has all the rows connected, not the columns as usual.
    And it worked for an Uno apparently?
  34. Replies
    18
    Views
    643

    No problem, just tell us the partnumber of the...

    No problem, just tell us the partnumber of the FET :-)
  35. Replies
    18
    Views
    643

    Yeah, I'm pretty sure the FET VGS(th) is the...

    Yeah, I'm pretty sure the FET VGS(th) is the problem. So the part# of that FET will help.

    Paul
  36. Please have a look at the "Example using...

    Please have a look at the "Example using transactions" on this page.
    No need to set the SPI pins MOSI, MISO & CLK. The only SPI pin you have to take of yourself is the SlaveSelect aka ChipSelect...
  37. Replies
    18
    Views
    643

    Can you post your code that runs fine on Uno? Can...

    Can you post your code that runs fine on Uno? Can you also tell us what LED & FET you used and how you wired it?
    Please notice the forum rule on top of this page: Always post complete source code &...
  38. Replies
    24
    Views
    1,153

    Perhaps the Hantek DSO2C10...

    Perhaps the Hantek DSO2C10 is suitable for you? It's a basic scope for around euro 250.
  39. Replies
    24
    Views
    1,153

    I'm afraid it's now time to connect an...

    I'm afraid it's now time to connect an oscilloscope to the sensor output to see what's going on...
  40. Replies
    6
    Views
    368

    How did you measure that INT pin voltage? With an...

    How did you measure that INT pin voltage? With an oscilloscope or digital volt meter?
    I expect the INT pulse to be quite short, so a digital volt meter may not be able to catch that.


    No need...
  41. Replies
    24
    Views
    1,153

    Allright. On the 0, 9 & 10 values you see: is...

    Allright.
    On the 0, 9 & 10 values you see: is the sensor 100% filled with E85 fuel? I mean no airbubbles?
  42. Replies
    24
    Views
    1,153

    Ah OK, the sensor has an open-collector output....

    Ah OK, the sensor has an open-collector output. So you used a pullup resistor of 1K2 to 3V3?

    Paul
  43. Replies
    24
    Views
    1,153

    Do you happen to have a link to that PDF? Paul

    Do you happen to have a link to that PDF?

    Paul
  44. Replies
    24
    Views
    1,153

    Caution here: the pins of the Teensy MicroMod can...

    Caution here: the pins of the Teensy MicroMod can only handle max 3V3 [similar to Teensy 4.x]. Perhaps you are already overdriving the pins...

    Paul
  45. Replies
    24
    Views
    1,153

    Could it be that the amplitude of the output...

    Could it be that the amplitude of the output signal of the sensor is just too low such that Teensy is missing pulses?
    By the way, which Teensy model are you using?
    And did you perhaps receive the...
  46. Thread: Canbus use

    by PaulS
    Replies
    4
    Views
    505

    I have been using these: 26231 Google for...

    I have been using these:

    26231

    Google for "TI SN65HVD230 CAN-bus transceiver module".
    No configuration needed for this transceiver, just hookup the CRX & CTX pins to the appropriate Teensy CAN...
  47. Thread: Canbus use

    by PaulS
    Replies
    4
    Views
    505

    You may want to start with just a basic CAN bus...

    You may want to start with just a basic CAN bus monitor and see what messages are on the bus.
    Here is a the code that I have been using:

    // https://github.com/collin80/FlexCAN_Library
    //...
  48. Replies
    24
    Views
    1,153

    Right, found this page...

    Right, found this page.
    Ethanol [C2H5OH] has a relative permittivity of ~25, IsoPropylAlcohol [C3H8O] of ~18.
    Interesting to see what the E85 and tube tester will show.


    Depends on what...
  49. Replies
    5
    Views
    387

    Ah OK. Sorry, can't help you with PlatformIO.

    Ah OK. Sorry, can't help you with PlatformIO.
  50. Replies
    4
    Views
    372

    As far as I can tell from the datasheet...

    As far as I can tell from the datasheet, the ADDR pin cannot be left floating; it needs to be connected to a certain level:

    26207

    If you want to reproduce the circuit of the ADS1115 breakout,...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4