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
    2
    Views
    305

    That CAN bus module has to be connected to Teensy...

    That CAN bus module has to be connected to Teensy 3.2 serial pins [pins 0 & 1].
    You are aware that a Teensy 3.2 already has a CAN bus controller built-in? And that you only need to connect a cheap...
  2. Replies
    20
    Views
    9,664

    The SN65HVD230 supports speeds up to 1Mbit/s. For...

    The SN65HVD230 supports speeds up to 1Mbit/s. For CAN FD you need a higher speed chip like the MCP2562FD.
    See a suitable board here.

    By the way, in the meantime I have solved the filtering issue...
  3. Replies
    5
    Views
    146

    You can use these pins as well. About your...

    You can use these pins as well.

    About your multimeter: please check your testleads also. Can your multimeter measure resistance? If so, short the testleads and see if the resistance is less than...
  4. Replies
    96
    Views
    2,678

    Good news! Less hot & more power, nice. Just...

    Good news! Less hot & more power, nice.
    Just checking: so you connected a 47uF (or 100uF) cap from motor+ pin to the source pin of the FET [GND]?
    And your 2 photo's above are measured over the...
  5. Replies
    7
    Views
    246

    Yeah, I had the same thought. Why would a...

    Yeah, I had the same thought. Why would a receiver module have 8 channels but only 1 RX...?
    Anyway, glad it's working!

    Paul
  6. Impressive & great job!

    Impressive & great job!
  7. Replies
    7
    Views
    246

    Do I understand correctly that the receiver only...

    Do I understand correctly that the receiver only has a single pin for RX, being pin CH 7?

    27187

    It may be interesting to see how you actually hooked up the receiver and the TXS0108E part....
  8. Replies
    7
    Views
    246

    I googled for "crossfire RC receiver" and got...

    I googled for "crossfire RC receiver" and got many hits.
    Do you happen to have a datasheet of the exact part you are using?

    Paul
  9. Replies
    18
    Views
    7,044

    That seems to be on the low side - I expected a...

    That seems to be on the low side - I expected a higher value for an unpowered board.
    Unfortunately I don't have a T3.6 here, but I measured on a T4.1: ~11K5 between 3V3 and GND.
    Perhaps someone...
  10. Replies
    96
    Views
    2,678

    No, not going to start a holy war here :-) I...

    No, not going to start a holy war here :-)
    I just know that the FDD3706 works fine without a driver, see my message #56.
    Bought 10pcs here. Still on stock.

    Paul
  11. Replies
    96
    Views
    2,678

    With respect to the AP4410 MOSFET: I assume you...

    With respect to the AP4410 MOSFET: I assume you are going to use a driver?

    Paul
  12. Replies
    96
    Views
    2,678

    Well, that sounds like that one FET is broken....

    Well, that sounds like that one FET is broken. Perhaps killed by static when touching the pins? Who knows... I assume you swapped the motors to rule out the motor and its wiring?

    What totally...
  13. Replies
    18
    Views
    7,044

    Hmm, doesn't sound encouraging. With the bare...

    Hmm, doesn't sound encouraging.
    With the bare Teensy not connected to power or USB, can you measure the resistance between pin 3V3 and GND?

    Paul
  14. Replies
    18
    Views
    7,044

    Not necessarily. It sounds more like the onboard...

    Not necessarily. It sounds more like the onboard 3V3 regulator is overloaded.
    Can you see any metal/solder pieces on the board that don't belong there and that could cause a short on the 3V3 line?...
  15. Replies
    96
    Views
    2,678

    I think we have to take into account the...

    I think we have to take into account the electromotive force (EMF) that is generated by the motor when the current through the motor is halted. This EMF voltage will be seen at the drain of the FET....
  16. Replies
    96
    Views
    2,678

    I just measured the drain to GND voltage on my...

    I just measured the drain to GND voltage on my setup and it is ~25mV during the ON time. So the FET is fully driven open.
    If you want I can mail you 2pcs FDD3706 for experimenting.

    Paul
  17. Replies
    96
    Views
    2,678

    If I'm not mistaken, it looks like the FET is not...

    If I'm not mistaken, it looks like the FET is not fully driven open. I would expect the negative pulse to be near GND. Now I see, especially on the righthand image, that the drain is at 1V. 1V x 1.5A...
  18. Replies
    96
    Views
    2,678

    Ah, you're using a propeller as load... that...

    Ah, you're using a propeller as load... that probably explains the 10x higher current figure on your powersupply.

    Paul
  19. Replies
    96
    Views
    2,678

    The big difference between your and my...

    The big difference between your and my measurements is that you measured across the motor and I measured the voltage on the gate of the FET.
    I did so because I expect the FET to not be driven...
  20. Replies
    96
    Views
    2,678

    Scope screen when the external motor voltage is...

    Scope screen when the external motor voltage is switched off:

    26982.

    So the ringing of the falling edge is indirectly caused by the motor current. I suspect the GNDs are not great at my setup...
  21. Replies
    96
    Views
    2,678

    OK, made a setup with a 8520 dronemotor on a...

    OK, made a setup with a 8520 dronemotor on a Teensy 4.0 using an FFD3706 FET.

    26979

    Uploaded this code:

    void setup() {
    pinMode(6, OUTPUT);
    analogWriteFrequency(6, 20000);
    ...
  22. Replies
    96
    Views
    2,678

    Danke recht herzlich Frank but I'm happy with my...

    Danke recht herzlich Frank but I'm happy with my benchtop scope.

    Paul
  23. Replies
    96
    Views
    2,678

    From the user manual, the software doesn't look...

    From the user manual, the software doesn't look that bad...
    Did you see this software? https://github.com/OpenHantek/openhantek

    Paul
  24. Replies
    96
    Views
    2,678

    If you want to go low-budget, you could consider...

    If you want to go low-budget, you could consider this one: https://de.aliexpress.com/item/32826931942.html.
    You need to use your PC but you get much more scope for that money.

    Paul
  25. Replies
    96
    Views
    2,678

    Interesting...the biggest setback is probably the...

    Interesting...the biggest setback is probably the analog bandwith of only 200kHz, which makes this scope of limited use [to say it nicely].

    Paul
  26. Replies
    96
    Views
    2,678

    Just curious, what oscilloscope did you purchase...

    Just curious, what oscilloscope did you purchase for €50?

    Paul
  27. Replies
    96
    Views
    2,678

    If you can wait for a few days, I will do a test...

    If you can wait for a few days, I will do a test with an 8520 dronemotor on a Teensy 4.0 using the FFD3706 FET here as well.

    Paul
  28. Replies
    96
    Views
    2,678

    Personally I have used an ONsemi FDD3706...

    Personally I have used an ONsemi FDD3706 FET several times. No driver, just connected the Teensy pin directly to the gate.
    If my calculations were right, the gate current was only 7mA with a rise...
  29. Replies
    96
    Views
    2,678

    Yes, that could lead to the heat. A FET stays...

    Yes, that could lead to the heat. A FET stays only cool if you switch the gate fast - hence the use of a driver to take care of that gate current. Simply said, a FET gate is a capacitor that you need...
  30. Replies
    96
    Views
    2,678

    If the driver isn't driving the FET gate with...

    If the driver isn't driving the FET gate with nice fast edges due to the too low power supply voltage, I can imagine that the FET gets warm.

    Paul
  31. Replies
    1
    Views
    179

    Seems that most DAW software can do this. See for...

    Seems that most DAW software can do this. See for example https://sonicbloom.net/en/ableton-live-tutorial-computer-keyboard-as-midi-controller/

    Paul
  32. Replies
    96
    Views
    2,678

    My bet would be the driver. You are formally...

    My bet would be the driver. You are formally operating the chip outside its voltage supply range and thus:
    Notice: The device is not guaranteed to function outside its operating ratings.


    Did...
  33. Replies
    7
    Views
    578

    Hallo Rolf, are you sure you measured 5.3Vpp?...

    Hallo Rolf, are you sure you measured 5.3Vpp? That seems strange given a powersupply voltage of 3V3.
    Also the datasheet states 2.1Vrms (typ) for output voltage.

    Paul

    edited: I stand corrected,...
  34. Replies
    1
    Views
    488

    You won't actually get a Teensy 4.1, instead you...

    You won't actually get a Teensy 4.1, instead you get memory expansion chips...
    See the review of this buyer:


    Paul
  35. Hello Frank, this statement is worrying. I...

    Hello Frank, this statement is worrying.

    I would look into this first as it looks like the onboard regulator is giving up due to too much current.

    Also, this line in setup():
    ...
  36. The encoder library is, by design, operating in...

    The encoder library is, by design, operating in 4x counting mode: "The library updates its count at each change, which is often called 4X counting". It's not a mode you can select.
    I just divide by...
  37. Replies
    20
    Views
    993

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

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

    while (!Serial) {
    yield();
    }

    Paul
  38. Replies
    42
    Views
    2,266

    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...
  39. Replies
    42
    Views
    2,266

    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...
  40. Replies
    42
    Views
    2,266

    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...
  41. Replies
    42
    Views
    2,266

    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
  42. Replies
    42
    Views
    2,266

    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...
  43. Replies
    42
    Views
    2,266

    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...
  44. Replies
    42
    Views
    2,266

    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...
  45. Replies
    42
    Views
    2,266

    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
  46. Replies
    3
    Views
    349

    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 ...
  47. Replies
    42
    Views
    2,266

    V8 is here:...

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

    Paul
  48. Replies
    42
    Views
    2,266

    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
  49. Replies
    42
    Views
    2,266

    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...
  50. Replies
    42
    Views
    2,266

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