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

Search:

Type: Posts; User: TeensyWolf

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    273

    USB-C for programming may not be possible. The...

    USB-C for programming may not be possible. The T4.1 is programmed via the micro usb.

    Consider adding QWIIC
  2. Start here ...

    Start here

    https://forum.arduino.cc/t/arduino-modbus-tcp-slave-server-ide-example/590585/3

    Replace ethernet with nativeethermet or qnethernet.
  3. Replies
    6
    Views
    1,021

    @noisymime Did this work for you? I'm thinking of...

    @noisymime Did this work for you? I'm thinking of implementing the same circuit, based on the Panasonic pdf. Did you put Vbat at the battery or at the load?

    27259
  4. Transformer you say?? They are not usually...

    Transformer you say?? They are not usually regulated, so the output voltage can vary on load. Unless there is a regulator in the transformer.

    But commonly, you get the step down voltage and a...
  5. Replies
    20
    Views
    3,905

    Shawn, An example that mimics the...

    Shawn,

    An example that mimics the single-pulse-per-second: https://www.nxp.com/docs/en/nxp/application-notes/AN12149.pdf, would be nice to verify timing with a scope.

    What that means for your...
  6. @shawn, that's fantastic. I'll take a look over...

    @shawn, that's fantastic. I'll take a look over the weekend. Happy New Year and thanks!
  7. That was what I was thinking, but didn't want to...

    That was what I was thinking, but didn't want to assume. Thanks for the clarification.
  8. Shawn, does the flush() only apply to TCP? Or...

    Shawn, does the flush() only apply to TCP? Or should/can it be used with EthernetUDP?
  9. The component in the T4.1 looks very much like...

    The component in the T4.1 looks very much like this one: DM3D-SF...
  10. Thanks KurtE, I looked at it, was using SD.h, but...

    Thanks KurtE, I looked at it, was using SD.h, but it was proclaimed to be a thin wrapper for sdfat, so I moved over to that library. Perhaps I should move back.

    The 2 options I found:
    A. wire the...
  11. best practice for detecting SD card eject with sdfat T4.1?

    What's the best way to determine when card gets abruptly ejected during logging?

    Using TeensyDuino 1.55 with SDfat 2.0.5beta

    I tried to use



    void writeMyFileSD() {
    if...
  12. Replies
    7
    Views
    637

    As suggested earlier, you need a closed loop...

    As suggested earlier, you need a closed loop servo system. PID works pretty well here, see https://electricdiylab.com/arduino-pid-dc-motor-position-control-close-loop-system/

    You don't have...
  13. Replies
    7
    Views
    637

    Schematic? For SPI, each slave device needs a...

    Schematic?

    For SPI, each slave device needs a unique chip select, see CS/SHDN on the MCP3008. Is it wired that way?
  14. could it be a ground loop? Or a power path going...

    could it be a ground loop? Or a power path going thru the USB?

    Is the laptop plugged into wall power? if so, disconnect laptop from wall power (run on battery) and disconnect any other cables...
  15. I am happy with any interface, simple amd that...

    I am happy with any interface, simple amd that has example code. I'm a brute force programmer, and was hoping others would chime in here.
  16. Shawn, My last TCP project has been working...

    Shawn,

    My last TCP project has been working very reliably, thanks for your help and this library.

    I see you have a reference to Dan Brown's implementation of IEEE1588 on your Github readme. Is...
  17. At the moment, it's not doing much. It will have...

    At the moment, it's not doing much. It will have a display at some point, and user input on a nav switch.

    But at 24mhz clock, jitter will be too much (41nS). I tried generating a square wave,...
  18. Running T4 here. This looks like a good...

    Running T4 here.

    This looks like a good starting point: https://github.com/manitou48/teensy4/blob/master/gpt_capture.ino

    A GPT can't flip a pin directly on input capture or force a output...
  19. Jitter free square wave doubler with TeensyTimerTool?

    I have a project where I'm getting a square wave at ~48 Hz and I need to create a ~96Hz square wave with minimal jitter.

    Last time I tested with the "machine", I was using a combination of...
  20. Thread: Canbus use

    by TeensyWolf
    Replies
    4
    Views
    648

    Also, you will need the CAN Transceiver hardware...

    Also, you will need the CAN Transceiver hardware between the Teensy and your CANBUS.

    You can get a SN65HVD231 and wire it up yourself with a cap and few resistors.

    Or OTS options exist, here's...
  21. Try QNEthernet instead of nativeethernet

    Try QNEthernet instead of nativeethernet
  22. The comment on the MOSFET circuit is still valid,...

    The comment on the MOSFET circuit is still valid, it will probably distort your square waves. You would have to test and look at scope. If you are only 12KHz, it might be fine. But it's not the right...
  23. Replies
    1,009
    Views
    82,223

    I can't seem to get this working with the...

    I can't seem to get this working with the attached ZIP file or the git lib: https://github.com/FrankBoesing/T4_PowerButton

    The git library tells me the board is not supported. I think...
  24. Replies
    45
    Views
    2,869

    I'll update as i learn more. One MM certainly was...

    I'll update as i learn more. One MM certainly was working for a few days. The other i never was able to get windows to assign a COM port.
  25. Replies
    45
    Views
    2,869

    I'm using my custom board mostly. I have 3...

    I'm using my custom board mostly. I have 3 devices up & running for over 24 hours, so that's good. I'm not doing any code development presently or much rebooting, just letting them run.

    So right...
  26. Replies
    45
    Views
    2,869

    When they bricked, I was developing in the custom...

    When they bricked, I was developing in the custom board, I wasn't using the Sparkfun board for anything but troubleshooting the MM.
  27. Replies
    12
    Views
    1,143

    Did you resolve? I have a couple of Teensy...

    Did you resolve? I have a couple of Teensy MicroMods not responding, one did report the Opps message before giving up. completely.

    I did see the Opps message on another one, was able to recover by...
  28. Replies
    45
    Views
    2,869

    Unsure what it could be. I've been using the...

    Unsure what it could be. I've been using the Sparkfun Datalogging board for my reference, but developing in my custom PCB. I feed it 3.3V from LDO, made from 5V DC/DC brick, being fed 12V, at some...
  29. Replies
    45
    Views
    2,869

    Well, I now have 2 boards that won't yellow...

    Well, I now have 2 boards that won't yellow blink. It used to. I was happily developing with it.

    I tried your hold boot button during powerup (in Sparkfun Data logging board). On device # 1,...
  30. Replies
    45
    Views
    2,869

    No LED change on the MM. Now the MM won't...

    No LED change on the MM.

    Now the MM won't blink blue.

    Was on C to C cable. Just tried on a USB A to USB C Cable. No change.
  31. Replies
    45
    Views
    2,869

    Ok, did that, no effect. Held down BOOT for 15-20...

    Ok, did that, no effect. Held down BOOT for 15-20 seconds, both after powerup and during powerup.

    I scoped the BOOT signal to the MicroMod, U3, Pin10, it's high, goes low when I push BOOT...
  32. Replies
    45
    Views
    2,869

    I'm not sure if this is the same/related issue,...

    I'm not sure if this is the same/related issue, but I've also spun up a MicroMod board for a project, the PCB got assembled yesterday.

    Out of 3 MicroMods, it seemed like the USB wasn't quite...
  33. My Serial RX buffer, which I then send to TCP....

    My Serial RX buffer, which I then send to TCP. The buffer was undersized, so my serial checksums were off.

    I'm unsure about jumbo frames, I never knew what they really were until I googled "max...
  34. I'm interfacing with some legacy hardware over...

    I'm interfacing with some legacy hardware over serial and providing an Ethernet interface that typically exists with the newer models. I don't analyze the data or know much about the control...
  35. Thanks Shawn, yes, MTU, not mpu. Perhaps...

    Thanks Shawn, yes, MTU, not mpu. Perhaps fragmentation will work for me, I'll test this today.

    Still learning this ethernet stuff. Do I need to just make sure my buffers are large enough & simply...
  36. So, what are the chances I can do jumbo frames...

    So, what are the chances I can do jumbo frames and adjust the mpu? I need to send 3-5K jumbo tcp packet.
  37. Thanks for this library, it's working great for...

    Thanks for this library, it's working great for my purposes (Luni came thru with a beta VisualTeensy and a makefile mod got me up and running).

    For the code this is a good example to follow:...
  38. Yes, shared library folder. The comment in...

    Yes, shared library folder.

    The comment in makefile worked, I can compile the blinky. I'll try my full application next and let you know.

    Thank you Luni.

    EDIT: My application compiles now...
  39. Replies
    201
    Views
    55,205

    Thanks vjmuzik, for all your work in this...

    Thanks vjmuzik, for all your work in this library. Too bad the FNET is such a pain.

    I'm trying QNEthernet now.
  40. Luni, Thanks for the quick response. I tried...

    Luni,

    Thanks for the quick response. I tried v1.2.1 beta and it still has the issue.

    Steps to repeat

    1. Visual teensy, create new project in empty folder
    2. Add QNEthernet library
    3. Save...
  41. Replies
    201
    Views
    55,205

    I have a TCP server, stays open as it forms a...

    I have a TCP server, stays open as it forms a serial data bridge with packets going back & forth (4-17 bytes at a time). Nothing incredibly fast, a few packets a second, but I keep getting this...
  42. Has anyone gotten this library to work with...

    Has anyone gotten this library to work with VisualTeensy?

    I was hoping to try it out.

    If I create a new project in VisualTeensy 1.2.0 and only add in the QNEthernet (0.7.0), it won't compile...
  43. Replies
    14
    Views
    1,480

    What mods are needed for airlift?

    What mods are needed for airlift?
  44. Replies
    3
    Views
    662

    You can get the Adafruit ones from Mouser without...

    You can get the Adafruit ones from Mouser without the EAR restriction: 485-4622
  45. Replies
    1,009
    Views
    82,223

    Good to know that works, and very simple. I'll...

    Good to know that works, and very simple. I'll look at that approach, as I'm probably over-thinking it.
  46. Replies
    1,009
    Views
    82,223

    Thanks for the responses everyone. I'm respinning...

    Thanks for the responses everyone. I'm respinning a custom board to replace T4.1 with MM.

    I have 50W 48VDC stepping down to 12VDC (quarter brick), then I typically make 5V/1A for T4.1, but...
  47. Replies
    1,009
    Views
    82,223

    So is there a best practice recommendation for...

    So is there a best practice recommendation for Micromod with external power and having USB plugged in at the same time, and can run on one or the other, but not both.

    I typically cut the...
  48. Replies
    128
    Views
    25,409

    Great news. Any guess on a rough release...

    Great news. Any guess on a rough release timeframe for these new Teensys?
  49. Replies
    5
    Views
    595

    Im not familiar with tdm, whats the baud rate? Is...

    Im not familiar with tdm, whats the baud rate? Is it point to point or multidrop? Do you need full duplex?

    Consider this chip MAX3490AEGSA+
  50. Replies
    98
    Views
    11,067

    I'm getting same issue with latest versions in...

    I'm getting same issue with latest versions in Github. The 1.54 Teensyduino release libs are good.

    warning:

    lib/FNET/src/stack//fnet_tcp.c: In function '_fnet_tcp_initial_seq_number_update':...
Results 1 to 50 of 117
Page 1 of 3 1 2 3