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

    Pin number 13 is already "tied" to the onboard...

    Pin number 13 is already "tied" to the onboard LED of Teensy 3.2. So it will always engage the onboard LED.
    That said, you can still add another (external) LED to pin 13.
    LEDs need series resistors...
  2. Replies
    3
    Views
    213

    Sure! Read here: ...

    Sure!
    Read here:

    https://www.pjrc.com/teensy/td_libs_Bounce.html

    let us know if you need more support.
  3. Replies
    5
    Views
    248

    Just a quick note: your "delay(3)" works for...

    Just a quick note: your "delay(3)" works for 115200 data speed; but it's not going to work for different speeds.

    With my HC-05 (v2 and I only use it as slave, so cannot help with INQ) I have to...
  4. Assuming you're using Arduino IDE 1.8.12 with...

    Assuming you're using Arduino IDE 1.8.12 with Teensyduino 1.52 installed, you could use the example:

    "Examples->04.Communication->Serial.passthrough"

    as a base, replacing "Serial1" with...
  5. I don't know what Paul thinks about it, but I...

    I don't know what Paul thinks about it, but I have to say I prefer 3.x to 4.x unfortunately.
    4.x has too much power draw for most of my projects, even at lower clock speeds, and the powersave/sleep...
  6. Thread: Future Teensies!

    by XFer
    Replies
    37
    Views
    3,028

    Paul asked to wait until final Teensyduino 1.53...

    Paul asked to wait until final Teensyduino 1.53 is out: he does not want to discuss future models until then.
  7. Replies
    4
    Views
    213

    I have enabled 8 Mhz and 2 MHz in boards.txt and...

    I have enabled 8 Mhz and 2 MHz in boards.txt and tried a few sketches on the LC.

    Powered at 3.3v by Vin with Vin-Vusb cut:

    Run @ 48 MHz = 11.8 mA
    Run @ 24 MHz = 9.3 mA
    Run @ 8 MHz = 4.3 mA...
  8. Thread: Teesny 4.0 FPU

    by XFer
    Replies
    7
    Views
    447

    You don't tell which development environment you...

    You don't tell which development environment you are using.

    If it's Arduino IDE + Teensyduino, you are already using the FPU automatically, no need to take extra steps. The compiler already...
  9. Thread: IMU teensy 3.6

    by XFer
    Replies
    24
    Views
    488

    You mean the setup runs fine and finds the board...

    You mean the setup runs fine and finds the board ("BNO found"), but the main loop never prints anything (so myIMU.dataAvailable() returns false)?
  10. Yes, this is very unfortunate. I have a lot of...

    Yes, this is very unfortunate.
    I have a lot of code, developed for T3.6, which uses "regular" SdFat with SdFatSdioEX objects.
    Now I can't use it with T4.1, because SdFat Beta does not provide...
  11. Replies
    11
    Views
    403

    Thanks for the report. Is this with "raw"...

    Thanks for the report.
    Is this with "raw" wavetable only, no modulators?
    Not familiar with the Audio Library.
  12. Replies
    4
    Views
    454

    VisualMicro does not really hang; it just takes...

    VisualMicro does not really hang; it just takes say 20s pauses once in awhile, for whatever reason. :confused:
    Not common, but happens.
  13. Replies
    4
    Views
    454

    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...
  14. 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)
    {...
  15. 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;
  16. Replies
    4
    Views
    213

    Excellent, many thanks Paul. Will report back.

    Excellent, many thanks Paul.
    Will report back.
  17. Replies
    4
    Views
    213

    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...
  18. 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
  19. Replies
    2
    Views
    168

    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)
  20. Replies
    37
    Views
    2,928

    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...
  21. Replies
    5
    Views
    239

    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.
  22. Replies
    37
    Views
    2,928

    ma? Are you sure?

    ma? Are you sure?
  23. Replies
    21
    Views
    663

    A soldering iron:...

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

    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...
  25. Replies
    21
    Views
    663

    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).
  26. Thread: Future Teensies!

    by XFer
    Replies
    37
    Views
    3,028

    Yes; just one, and 12-bit only

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

    by XFer
    Replies
    31
    Views
    630

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

    It may reduce LED brightness, no damage to Teensy. :)
  28. Replies
    10
    Views
    2,060

    It says the video is not available?

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

    by XFer
    Replies
    31
    Views
    630

    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...
  30. Replies
    683
    Views
    421,454

    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...
  31. 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...
  32. 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....
  33. Replies
    797
    Views
    41,413

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

    I did not ask for UPS. It was the only option available.
  34. Replies
    797
    Views
    41,413

    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...
  35. 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).
  36. 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):...
  37. Replies
    4
    Views
    144

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

    by XFer
    Replies
    31
    Views
    630

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

    by XFer
    Replies
    31
    Views
    630

    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....
  42. 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.
  43. 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...
  44. Thread: Teensy and LEDs

    by XFer
    Replies
    31
    Views
    630

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

    by XFer
    Replies
    31
    Views
    630

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

    by XFer
    Replies
    31
    Views
    630

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

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

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

    by XFer
    Replies
    31
    Views
    630

    You're welcome! Keep asking. :)

    You're welcome! Keep asking. :)
Results 1 to 50 of 339
Page 1 of 7 1 2 3 4