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

Search:

Type: Posts; User: XFer

Page 1 of 7 1 2 3 4

Search: Search took 0.00 seconds.

  1. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    It may reduce LED brightness, no damage to...

    It may reduce LED brightness, no damage to Teensy. :)
  2. Replies
    9
    Views
    1,751

    It says the video is not available?

    It says the video is not available?
  3. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    Please avoid removing the resistors and plugging...

    Please avoid removing the resistors and plugging the LEDs directly to the Teensy pins.
    You risk damaging the Teensy.

    You don't need a 12V PSU to measure the current:

    Replace your resistor...
  4. Replies
    683
    Views
    403,132

    You can't include both and ....

    You can't include both <i2c_t3.h> and <Wire.h>. Include <i2c_t3.h> only.
    If other libraries include <Wire.h>, the only way is replacing every Wire.h with i2c_t3.h across every source of the...
  5. Hello, is there a calibration routine to be...

    Hello, is there a calibration routine to be performed?

    I tried to work on a project for an underground orientation instrument, but stumbled upon unreliable devices (mag + gyro + compass), even...
  6. I got crazy trying to find a reliable unit. I...

    I got crazy trying to find a reliable unit. I tested maybe 3 o 4 of the most talked about, with tilt compensation etc., with "sphere" calibration etc.
    Never got reliable results. Gave up in the end....
  7. Replies
    783
    Views
    25,536

    I did not ask for UPS. It was the only option...

    I did not ask for UPS. It was the only option available.
  8. Replies
    783
    Views
    25,536

    EU is a total ripoff for USA and FarEastern...

    EU is a total ripoff for USA and FarEastern goods.
    Most couriers charge absurd fees for just the paperwork (besides proper customs fees); UPS charges Eur 14, for example.

    And, yes, Exp-tech.de...
  9. Indeed it would be an excellent solution. For...

    Indeed it would be an excellent solution.

    For example, it could have been called automatically by the toolchain when the user selects "Smallest Code" (which means it has memory occupation issues).
  10. A user reads this (Teensy 4.0):...

    A user reads this (Teensy 4.0):
    https://www.pjrc.com/store/teensy40.html
    "1024K RAM (512K is tightly coupled)
    2048K Flash (64K reserved for recovery & EEPROM emulation) "

    And this (Teensy 3.6):...
  11. I typically use 4xAA NiMh; expecially because...

    I typically use 4xAA NiMh; expecially because most power banks will auto-turn off after a minute if the power draw is too low.
    But if the power bank works correctly and the Teensy has no shorts...
  12. Excellent explanation Paul, thanks. To be honest...

    Excellent explanation Paul, thanks.
    To be honest there were already bits of explanations across the various 4.x topics, but this message should really be in the T4.x web pages, IMHO.
  13. With the "Blink" example it's even worse: using...

    With the "Blink" example it's even worse: using "Faster" (1.8.12 + 1.52)

    BLINK


    T3.6:
    Sketch uses 10724 bytes (1%) of program storage space. Maximum is 1048576 bytes.
    Global variables use...
  14. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    Thank you, but I have to confess I'm the least...

    Thank you, but I have to confess I'm the least knowledgeable of all the Teensy forumers! ;)
    There are real geniuses around here (not to mention Paul Stoffregen Himself, of course).

    As I said,...
  15. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    Now you have a comprehensive view of the...

    Now you have a comprehensive view of the situation. :)
    Yes, 20mA is probably the maximum current before the LED dies from overheating. They are quite sensible to that, so the cooler the better....
  16. Yes, if they have different I2C addresses!...

    Yes, if they have different I2C addresses!
    Sometimes you can setup the address via commands, sometimes via jumpers, sometimes not at all.
  17. I'm not sure they are compatible with Teensy...

    I'm not sure they are compatible with Teensy Ethernet; they seem to rely upon an underlying TCP stack (for example by WiFi101, ESP8266 etc.).

    Anyway there is an example for T4.1 Ethernet, it's...
  18. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    Those values are the real current (mA) which...

    Those values are the real current (mA) which flows across your LED in each situation (assuming the resistor voltage you measured is right).
    As you see, it's quite smaller than anticipated, which is...
  19. What you ask is more typical work for a Linux...

    What you ask is more typical work for a Linux Single-Board Computer (i.e. Raspberry Pi and the likes) than for a microcontroller.

    It can still be done, but it involves quite more work.
    ...
  20. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    New version here:...

    New version here:
    https://www.dropbox.com/s/57nbmr2pe21l22v/LEDs_amps_volts_2.xlsx?dl=0

    BTW my country uses comma too, but I routinely force the decimal point (I dislike the decimal comma!)
    ...
  21. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    Hi! Note that I did not suggest measuring...

    Hi!



    Note that I did not suggest measuring mA, only V.
    This is because the mA measure can only be indirect (short of inserting the multimeter in series).
    Not a problem: we obtain the current...
  22. Replies
    7
    Views
    290

    Ahah!! I didn't even know the 1062 could manage...

    Ahah!! I didn't even know the 1062 could manage this much... :cool:
  23. Just to clarify: Are you trying to build an...

    Just to clarify:

    Are you trying to build an ADC project for Teensy 4.0 using Teensyduino 1.48beta1 ?

    Teensy 4.0 support was still a bit "green" back then...

    I think there were some...
  24. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    You're welcome! Keep asking. :)

    You're welcome! Keep asking. :)
  25. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    Yes, correct. :) To put into perspective: I...

    Yes, correct. :)

    To put into perspective: I have a number of LEDs which are advertised for 15-20mA.

    Actually, when driven with 5mA (!) they are just as bright (to my eye at least) and have the...
  26. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    50mA is too much for a single pin. As I wrote,...

    50mA is too much for a single pin.
    As I wrote, the maximum is 25mA for a single pin, 100mA for all pins together (sum of all draws from all pins).



    Yes, beware it's dual-voltage: 5V fixed on...
  27. Replies
    296
    Views
    37,408

    I'm talking about v1, not beta (v2). At the...

    I'm talking about v1, not beta (v2).
    At the moment I'm not interested in switching to SdFat v2, honestly.
  28. Replies
    296
    Views
    37,408

    Same here. I've opened an issue on SdFat (v1)...

    Same here.
    I've opened an issue on SdFat (v1) github:
    https://github.com/greiman/SdFat/issues/190

    You could maybe back it adding one of your code samples?
  29. A few of us are having a bit of an hard time...

    A few of us are having a bit of an hard time getting SdFat "standard" fully work on T4.1.
    At the moment it's not clear whether Bill Greiman will backport T4.1 support to standard SdFat.

    You may...
  30. Replies
    111
    Views
    2,762

    Eheh, how many times did this happen to me? Don't...

    Eheh, how many times did this happen to me? Don't ask! :D
  31. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    I would humbly suggest a bit of reading about...

    I would humbly suggest a bit of reading about basic electronics and Arduino-starter-lessons, before digging into more complex projects.
    LEDs, for example, are bit more complex than it may seem at...
  32. Replies
    13
    Views
    258

    So in the first picture, the encoder was not...

    So in the first picture, the encoder was not moving? And yet, there's a pulse on one of the 2 lines (A or B)...!?
    That's odd. I have no idea, have to pass.
  33. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    4 x 20mA LEDs powered at the same time are within...

    4 x 20mA LEDs powered at the same time are within the specs. Just be sure there aren't other devices drawing current from digital pins.
    Or use a transceiver as suggested.
  34. Replies
    7
    Views
    181

    From Frank B: https://www.pjrc.com/store/ ...

    From Frank B:

    https://www.pjrc.com/store/

    4.x missing
  35. Replies
    783
    Views
    25,536

    I did open a thread about needed website updates...

    I did open a thread about needed website updates (I don't know if Paul did read it; most probably he already knows):
    https://forum.pjrc.com/threads/60862-Web-site-could-use-a-few-updates-)

    Maybe...
  36. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    261

    With this setup, there is too much current draw...

    With this setup, there is too much current draw from the digital pins of the Teensy.

    The max individual current draw for a single pin is 25mA for the 3.5, and the total current draw from all...
  37. Stylish! I like it. :)

    Stylish! I like it. :)
  38. Replies
    10
    Views
    212

    It's a mix. 1) SdFat v1 does not support...

    It's a mix.

    1) SdFat v1 does not support Teensy 4.1, so if you try buliding for it, a lot of types are not defined and the build fails.

    2) SdFat Beta supports Teensy 4.1, but is not...
  39. Replies
    8
    Views
    95

    I use the CP2104, more compatible with Windows...

    I use the CP2104, more compatible with Windows 10:
    https://www.amazon.com/WINGONEER-CP2104-Serial-Converter-compatible/dp/B01CYBHM26/ref=sr_1_9?dchild=1&keywords=cp2104&qid=1589657667&sr=8-9

    and...
  40. Replies
    13
    Views
    258

    Do you have access to a logic analyzer or a...

    Do you have access to a logic analyzer or a 2-channel oscilloscope?
    It would be useful to see the waveform on A and B while rotating in the two directions.
  41. Teensyduino includes Teensy Loader (in Windows...

    Teensyduino includes Teensy Loader (in Windows it's "teensy.exe" under Arduino/hardware/tools, don't know about Mac sorry).
  42. Wild speculation: At 600 MHz, the 1062 core...

    Wild speculation:

    At 600 MHz, the 1062 core is running at a slightly higher voltage (to get stability).
    At 528 MHz, it runs at lower voltage (as a result, is more power efficient:...
  43. Replies
    10
    Views
    212

    Actually I just wanted to test T4.1 vs T3.6;...

    Actually I just wanted to test T4.1 vs T3.6; let's wait and see if Bill is going to backport T4.1 support in SdFat v1.
    I'm not in the mood to rewrite so much code at the moment. :rolleyes:
  44. Replies
    4
    Views
    137

    Thanks for confirming. :) Will arrive by late...

    Thanks for confirming. :)
    Will arrive by late June I guess.
  45. Replies
    47
    Views
    631

    Yes I took for granted it was an uint64_t

    Yes I took for granted it was an uint64_t
  46. Replies
    10
    Views
    212

    Yes, well, the problem is that SdFat Beta does...

    Yes, well, the problem is that SdFat Beta does not have SdFatSdioEx at all, not even for T3.6, so it breaks a lot of my code. :(
  47. Replies
    4
    Views
    137

    I searched, found nothing, in the end resorted to...

    I searched, found nothing, in the end resorted to Aliexpress. :(

    I'm not sure I purchased the right chips (not shipped yet):
    https://it.aliexpress.com/item/4000242457828.html
  48. Replies
    10
    Views
    212

    Teensy 4.1: SdFat Beta only option?

    Hi,

    so I have this shiny new 4.1 and want to play with the onboard SD. :D

    Installed the latest TeensyDuino 1.52b6 on Arduino IDE 1.8.12.

    I tried to rebuild an old test of mine, for T3.6,...
  49. Replies
    47
    Views
    631

    Change to bufferneeded = (mSecLen * structsize...

    Change to

    bufferneeded = (mSecLen * structsize * collectionrate ) / 1000;

    with a further check to avoid 0
  50. Replies
    14
    Views
    121

    Ok. The diode shoud work, I would still add a...

    Ok. The diode shoud work, I would still add a series resistor as a current limiter, let's say 1K.
Results 1 to 50 of 313
Page 1 of 7 1 2 3 4