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

Search:

Type: Posts; User: Edward

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. filter.begin(100); tells the filter function...

    filter.begin(100);

    tells the filter function that you're update is 100Hz, so maybe you need to change this.

    https://www.circuitbasics.com/basics-of-the-i2c-communication-protocol/
    is a...
  2. Hi Lopenguin, Welcome to the forum. If you...

    Hi Lopenguin,

    Welcome to the forum. If you could post your top-level code


    int wrappedInTagsLikeThis;


    that would help. Look for the hash symbol at the top to get the tags. I presume...
  3. Replies
    3
    Views
    219

    This question is pretty vague, and it's...

    This question is pretty vague, and it's impossible to estimate the lifetime of your project from your description.

    Conformal coating is used to add an extra layer to assembled circuit boards, to...
  4. Replies
    4
    Views
    179

    The I2C, as Mark says, is set in silicone. The...

    The I2C, as Mark says, is set in silicone. The chips have dedicated hardware to run these busses that are only available on certain pins. If you mean to say you want to swap the pin locations you...
  5. Replies
    4
    Views
    278

    The answer to your main question : The code...

    The answer to your main question :

    The code that prints the key stroke is executed in bubbleSort(), line 119 counts is set to the value of median and the key is determined from that.
    bubbleSort()...
  6. I've not heard of using synchronous rectification...

    I've not heard of using synchronous rectification with a H-bridge, but if I've understood, that would require opening the appropriate MOSFETs in Phase with the supply. Surely that would require two...
  7. It's just a function of how the timers work out....

    It's just a function of how the timers work out. A simple view of a PWM is a counter that counts up to number, turns on at zero, turns off at X, and resets at Y back to zero. Let say your counter can...
  8. Hi smuscat, I'm not sure I understand your...

    Hi smuscat,

    I'm not sure I understand your project. A H-bridge can drive a motor in either direction, by turning on two out of four motors. For each pin of the DC motor, one MOSFET can connect...
  9. Replies
    25
    Views
    895

    I'd recommend Pogos, I think they'd be a lot less...

    I'd recommend Pogos, I think they'd be a lot less faff than trying to get a connector to fit. The issue I've had with connectors is getting them to line up on the SMD pads so they mate properly....
  10. Replies
    25
    Views
    895

    it depends on how neat a solution you're looking...

    it depends on how neat a solution you're looking for.

    If you're making a PCB to receive the teensy, you could place pogo pins to contact the pads.
    Or you might have to look around and find a...
  11. Replies
    3
    Views
    299

    Yeah you can drop in the USB port you like, and...

    Yeah you can drop in the USB port you like, and then just connect it up directly to the teensy. The micro USB on the teensys is a little delicate IMO, so actually using a beefier option is a good...
  12. it looks like you've derived your code from the...

    it looks like you've derived your code from the example file multikey, which is fine, but I don't understand the use of lines 35-41 where you define the columns as outputs and the rows as input...
  13. Replies
    3
    Views
    299

    - The teensy lc is designed to be plugged...

    - The teensy lc is designed to be plugged straight into the usb, so J1 and U2 are a bit redundant. You should also crunch the numbers on how much 3v3 current you need, as while the regulator will...
  14. Replies
    1
    Views
    214

    Further to this, I've not found any such library...

    Further to this, I've not found any such library and I'm definitely going to need something to do the job as I actually need to drop in a micro to change a single register at power on. The MDIO...
  15. Replies
    6
    Views
    385

    If it makes an audible sound when crashing, my...

    If it makes an audible sound when crashing, my first thought is brownout. Looking at the lidar datasheet, I can see the maximum current draw of the system might exceed 500mA, which for some USBs...
  16. You've not really given enough information, if...

    You've not really given enough information, if you post your code and a schematic someone might be able to help. I'm also not entirely sure of the error you're seeing, are you finding that the key...
  17. My first question, is have you got your power...

    My first question, is have you got your power connections in order? The program not working without the USB connection would suggest to me that there's a problem with that, I'm going to leave the...
  18. Replies
    11
    Views
    549

    Well, you could implement the change in frequency...

    Well, you could implement the change in frequency by changing the time base in the Timer3.Initalize(), though the resolution towards 1kHz would start to drop a bit. Changing phase again doable, but I...
  19. Replies
    11
    Views
    549

    Perhaps a better phrasing would have been: "what...

    Perhaps a better phrasing would have been: "what can be considered significant jitter on 1Hz PWM signal?"

    It's about the same. Though when I put a bit of random code into the void loop (some...
  20. Replies
    11
    Views
    549

    Ok well that's grand. I do have to ask,...

    Ok well that's grand.
    I do have to ask, academically, what constitutes jitter on a 1Hz PWM signal? Looking at the above on the scope, I'm getting a jitter of about 500ns, for the off cycle. I'm also...
  21. Replies
    1
    Views
    214

    MDD (MDIO/MDC) library for Teensy

    Hi All,

    I'm designing an ethernet repeater, and I was looking at ways to debug it. I'm not planning on having anything manage the link, it's just going to be two phy's back to back with the RMII...
  22. Replies
    11
    Views
    549

    You'll need to find the pin from the datasheet,...

    You'll need to find the pin from the datasheet, then look at the T4.0 schematic and see where it's connected to the teensy's header (assuming it is, and I wouldn't guarantee it), and then you'll need...
  23. Replies
    3
    Views
    300

    Logic levels are a product of the hardware and...

    Logic levels are a product of the hardware and can't be changed, additionally, when you find the appropriate datasheet you'll be given a voltage below which a 0 is guaranteed and a voltage above...
  24. Assuming you're using arduino ide ...

    Assuming you're using arduino ide

    File->Examples->Ethernet

    has a bunch of examples. Obviously, you're not interested in the UDP examples, the ones with UDP at the start of the name.
  25. Replies
    1
    Views
    347

    A teensy controlled adjustable load

    Here's a picture of V1!
    24071

    I've been working on a ~1kW adjustable load for work, because I'm doing a lot of PSU design, and it's getting awkward testing them. You can buy a big high power...
  26. Replies
    9
    Views
    615

    BriCom'sp suggestion of a buffer chip would work...

    BriCom'sp suggestion of a buffer chip would work just fine, or the simplest thing would be to use a MOSFET. Assuming you're using this for some kind of slow switching rather than signalling. ...
  27. Replies
    2
    Views
    320

    Yes, your project seems possible :) Presumably,...

    Yes, your project seems possible :)
    Presumably, you mean to store the samples on the card, and then unload them into memory at runtime. I guess it would be a case of comparing read speeds from the...
  28. Replies
    6
    Views
    538

    Ahh, I see. I didn't realise you were working...

    Ahh, I see. I didn't realise you were working with some software, so my comments about sending the data don't apply sadly.
    If you want it to work with that reWASD, you'll need to find out what...
  29. Replies
    14
    Views
    1,070

    Oh wow, the answer's right there! I confess I've...

    Oh wow, the answer's right there!
    I confess I've yet to use a T4, which is why I've never seen this before. If you crack open pins_teensy.c in the T3 core files and compare it to pins_digital.c (as...
  30. Replies
    14
    Views
    1,070

    Well clearly the pullup resistor is changing...

    Well clearly the pullup resistor is changing something, what are the resistor values you're using for the divider compared to the internal pullup? Have you looked at the signal with and without this...
  31. Replies
    6
    Views
    538

    I've used maybe 15 adafruit libraries, and I've...

    I've used maybe 15 adafruit libraries, and I've never had a problem with them getting started. Occasionally I've had to re-write my own to replace them where I've not been happy with the performance,...
  32. Replies
    14
    Views
    1,070

    Good that you've figured out a fix. I wouldn't...

    Good that you've figured out a fix.

    I wouldn't point the finger at the documentation when really this is a fix for your specific setup. Input_pullup adds, as you probably know, a pullup resistor...
  33. Thread: 5V Teesny 4.1

    by Edward
    Replies
    16
    Views
    1,341

    I think it's worth pointing out that the teensy...

    I think it's worth pointing out that the teensy 3.5 and 3.2 are 5V tolerant, that means while they output 0-3V3, they won't be damaged by a 5V input on their digital pins. Think of it as an...
  34. I think, particularly as a second-ever project,...

    I think, particularly as a second-ever project, it might be a bit much, but don't think for one second you shouldn't give it a go if you fancy it!

    The teensy-trellis combo is a big winner in my...
  35. Well, I've been silly enough to be looking at...

    Well, I've been silly enough to be looking at .mp3 files (Serato uses .mp3 for its libraries) which is why the info about .wav doesn't match!



    are you going to use the teensy for playback as...
  36. I'd probably suggest teensy might not be the best...

    I'd probably suggest teensy might not be the best platform for this. Assuming you're using DJ software such as Serato, you'd need to load the .wavs onto an SD, plug that in, get it to do your...
  37. Replies
    2
    Views
    317

    It probably doesn't matter, and my main answer...

    It probably doesn't matter, and my main answer would be "whatever is going to be easier", but seeing as I do love a circuit design discussion -

    A) An advantage of using pull-ups (active low)...
  38. Replies
    19
    Views
    2,270

    So if you look at the teensy schematic (3.5 at...

    So if you look at the teensy schematic (3.5 at least) you'll see AGND and GND are connected through a ferrite, and there's a circuit around this for the analog reference. Placing a pot between VDD...
  39. I've just looked a bit deeper into the datasheet...

    I've just looked a bit deeper into the datasheet and it says the USB_VBUS inputs are "not part of the power-on sequence and may be powered at any time". So I was wrong, you can (as other's have...
  40. Replies
    43
    Views
    5,251

    This is great! I've often thought about this...

    This is great!
    I've often thought about this sort of thing as much as I love the teensy's, I really don't care for 0.1" header as I'm almost always dropping them on a PCB. Personally I'd want a...
  41. So with that charger you dont even need the...

    So with that charger you dont even need the switch, if you
    cut the track
    connect Vusb to the charger Vin pins
    connect the battery to the charger Vbat pins
    connect the charger Vout pins to the...
  42. Replies
    2
    Views
    572

    oh, that's embarrassing. I'm supplying my CAN...

    oh, that's embarrassing. I'm supplying my CAN transceiver 3.3 when it needs 5V, that certainly would explain why it's being sketchy. I'll rework the board and see if the problem resolves itself!
  43. Replies
    2
    Views
    572

    CAN bus sporadic failure

    Hi All,

    so I'm working on a project that uses the CAN bus for some command/control and I'm getting an inconsistent problem.
    I'm using the flexCAN library by teachop, and a T3.2. In the setup...
  44. So the trace as you've identified is there to...

    So the trace as you've identified is there to separate the Vin and Vusb pins.
    This is becuase sometimes you want to power the teensy from whatever it's plugged into through Vin, but if you have the...
  45. Replies
    13
    Views
    1,484

    I confess I've never looked at the power...

    I confess I've never looked at the power consumption, but last year I was working on a project where getting a consistent speed of write was becoming important.
    The SD card itself makes a number of...
  46. You've commented out all the code for sending...

    You've commented out all the code for sending back to the Xbee
  47. You're not powering the teensy properly. If you...

    You're not powering the teensy properly. If you look at the schematic, main chip, top left, N6 and M6 are Vusb inputs, expecting I assume 5V.
    Cutting the Vin-Vusb trace allows you to power the...
  48. Replies
    2
    Views
    600

    In terms of the language, Arduino is C++, and you...

    In terms of the language, Arduino is C++, and you can use both c and C++. Most libraries are c++, but if dig around enough you occasionally come across a bit of c. See? (I'm not sorry for that at...
  49. Varying playback speed sounds simple but really...

    Varying playback speed sounds simple but really isn't, and while I've never used the audio library, I would be 99.9% sure this wasn't built in because it's not something a user would be likely to...
  50. you should always wrap any code you post in code...

    you should always wrap any code you post in code tags so it looks like


    int myExampleFunctions(void *ptr)
    {
    return 7;
    }


    stall detection on stepper motors isn't really as reliable as it...
Results 1 to 50 of 122
Page 1 of 3 1 2 3