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.01 seconds.

  1. Replies
    1
    Views
    16

    I routinely use VS 2017 with Visual Micro...

    I routinely use VS 2017 with Visual Micro (registered version).
    I like it very much; sometimes it has looong pauses (to the point that VS complains about the Visual Micro extension) but all in all...
  2. You can't declare an argument of a function like...

    You can't declare an argument of a function like that.
    Moreover, you declare Squat but in the function body use MotorValues instead.

    Try:


    void Ev_GoTo_Pos_Struct (Way_Pt MotorValues)
    {...
  3. You cannot initalize a struct that way, it's not...

    You cannot initalize a struct that way, it's not an array.
    Also your declaration does not define a type.

    This should work (untested):


    typedef struct Way_Pt {

    float M1;
    float M2;
  4. Excellent, many thanks Paul. Will report back.

    Excellent, many thanks Paul.
    Will report back.
  5. LC: any way to get slower clocks as in T3.2?

    Hi,

    always struggling with power budget, I would like to run the LC at less than 24 MHz (I don't care about USB).

    T3.2 has 16/8/4/2 MHz, LC has not.

    It there a way to add slower speeds to...
  6. Have you tried with the latest Teensyduino...

    Have you tried with the latest Teensyduino (v1.52)?
    That's usually a good idea, expecially for T4.x
  7. Replies
    2
    Views
    82

    Hello and welcome! Absolutely what Paul said,...

    Hello and welcome!

    Absolutely what Paul said, of course.

    Just a quick glimpse:



    Different GCC optimizations levels (think -O1, -O2, -O3)
  8. Replies
    30
    Views
    1,574

    Wow, that's BAD! :( It would render the T4...

    Wow, that's BAD! :(
    It would render the T4 unusable for most of my projects.
    I had hoped for at least T3.6-level sleep currents (hoped for even better power saving, since the chip is newer and...
  9. Replies
    4
    Views
    79

    A level (fast) shifter may be the right solution....

    A level (fast) shifter may be the right solution.
    Zeners are tricky and introduce a parasite capacitance which may smooth out signals.
  10. Replies
    30
    Views
    1,574

    ma? Are you sure?

    ma? Are you sure?
  11. Replies
    17
    Views
    216

    A soldering iron:...

    A soldering iron:
    https://hackaday.com/2017/07/24/review-ts100-soldering-iron/
  12. Replies
    1
    Views
    78

    Just to give the ball a first kick: I'm currently...

    Just to give the ball a first kick: I'm currently tipping my toes on BT (firmware to connect a medical device to an Android smartphone), and used WiFi in the past for a custom project (performing art...
  13. Replies
    17
    Views
    216

    If you prefer soldering irons to stations, I use...

    If you prefer soldering irons to stations, I use an Ersa Multitip C25 and a very, very nice TS100, which I love more and more.
    Purchased both on Amazon (IT).
  14. Thread: Future Teensies!

    by XFer
    Replies
    18
    Views
    849

    Yes; just one, and 12-bit only

    Yes; just one, and 12-bit only
  15. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    357

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

    It may reduce LED brightness, no damage to Teensy. :)
  16. Replies
    10
    Views
    1,797

    It says the video is not available?

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

    by XFer
    Replies
    31
    Views
    357

    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...
  18. Replies
    683
    Views
    405,275

    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...
  19. 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...
  20. 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....
  21. Replies
    785
    Views
    27,994

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

    I did not ask for UPS. It was the only option available.
  22. Replies
    785
    Views
    27,994

    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...
  23. 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).
  24. 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):...
  25. 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...
  26. 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.
  27. 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...
  28. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    357

    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,...
  29. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    357

    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....
  30. 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.
  31. 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...
  32. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    357

    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...
  33. 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.
    ...
  34. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    357

    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!)
    ...
  35. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    357

    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...
  36. Replies
    7
    Views
    344

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

    Ahah!! I didn't even know the 1062 could manage this much... :cool:
  37. 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...
  38. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    357

    You're welcome! Keep asking. :)

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

    by XFer
    Replies
    31
    Views
    357

    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...
  40. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    357

    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...
  41. Replies
    303
    Views
    38,204

    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.
  42. Replies
    303
    Views
    38,204

    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?
  43. 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...
  44. Replies
    184
    Views
    3,982

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

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

    by XFer
    Replies
    31
    Views
    357

    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...
  46. Replies
    13
    Views
    291

    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.
  47. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    357

    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.
  48. Replies
    7
    Views
    223

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

    From Frank B:

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

    4.x missing
  49. Replies
    785
    Views
    27,994

    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...
  50. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    357

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