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

Search:

Type: Posts; User: larry_berlin

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. @KurtE Thanks for the answer and the...

    @KurtE
    Thanks for the answer and the suggestions. I'll try some of them out.
    That can take a few days, I will report on the results here.
  2. @PaulStoffregen Thank you very much for your...

    @PaulStoffregen
    Thank you very much for your efforts in this case and in general for the teensy product family.
    All hints are very much appreciated. My code really has 2 variables which are changed...
  3. I did mention, but possibly it was not clear...

    I did mention, but possibly it was not clear enough. English is not my mother tounge.
    My code works with "Smallest Code" opt. level. For me okay so far, but it might be good to know the reason.
  4. Is there a simple way in the IDE to see the...

    Is there a simple way in the IDE to see the memory usage of the functions?
    Gibt es in der IDE, eine einfache Möglichkeit den Speicherverbrauch der Funkrionen zusehen?
  5. Frank the posted example code works and the...

    Frank
    the posted example code works and the memory values do not belong to this sketch, but to my "problem code", which I am not allowed to publish.
    der gepostete Beispiecode funktionert und die...
  6. I do not receive anything on the UART, although...

    I do not receive anything on the UART, although it can be proven that it was sent.
    Ich empfange nichts auf der UART, obwohl es nachweißlich abgesendet wurde.

    When I read out the receive buffer,...
  7. @PaulStoffregen you are right about everything...

    @PaulStoffregen
    you are right about everything you have written. Yesterday evening I wanted to get possible hints from the forum in order to be able to search more precisely today.

    Tonight I...
  8. @PaulStoffregen first of all, thank you very...

    @PaulStoffregen
    first of all, thank you very much for the tests you have done.
    I am still at work and have to my equipment at home no access, so will do the promised checks from my side this...
  9. @KurtE Sorry, I may be absolutly wrong regarding...

    @KurtE
    Sorry, I may be absolutly wrong regarding this, but I saw you provided half duplex support in September 2020 to hardwareserial, suspicious to me.
    Can you please take a look on this if it is...
  10. Thank you for care. a few answers before I dig...

    Thank you for care.
    a few answers before I dig deeper and ty to present an example to demonstrate (hopefully today evening UTC+1)
    - external gas sensor connected (can't deliver details)
    - speed...
  11. Question: Any changes for HW Serial LC in TD 1.54?

    Hello,

    are there any changes for hardware serials in TD 1.54 to former versions? Arduino 1.8.15 is used.
    Reason to ask is, when I compile a sketch in TD 1.54 the hw serial communiction to an...
  12. May be something wrong with timing within...

    May be something wrong with timing within MPU6050.
    Adafruit library contains a lot of delays, so if it works with one PCB and not with the other (same curcuit), may be at egde of timing limits....
  13. Pull ups seem to be present on the board (value...

    Pull ups seem to be present on the board (value 2.2k).
    Which logic level does AD0 have? If on GND, then the I2C address is 0x69, but the Adfruit library uses the fixed address 0x68 (HIGH at AD0).
  14. Replies
    3
    Views
    355

    Hello, the link you provided was made for the...

    Hello,

    the link you provided was made for the AVR teensy (1.x and 2.x).
    I think you don't have to fiddle with USB for teensy 3.6, simply use snooze lib for low power.
  15. Hello, from your image it seems you made a...

    Hello,

    from your image it seems you made a mistake with your wires.
    You have connected +5V from your ADC to GND of the breadboard instead to 3.3V.
  16. Replies
    3
    Views
    611

    Thank you for your answer. I think merge and...

    Thank you for your answer.
    I think merge and pull request might be above my skill level.

    Just for AVR core (T2) would be good enough for my needs.
    Maybe Paul can give his opinion in this topic....
  17. Replies
    3
    Views
    611

    Bump An answer would be nice.

    Bump

    An answer would be nice.
  18. Replies
    3
    Views
    611

    Wire library

    @Paul Stoffregen

    I saw Arduino updated Wire lib with "Wire class now supports timeout".
    Any chance to get this functionality on teensy (especially teensy2.0) also?

    I have a project on wich...
  19. Replies
    1
    Views
    558

    Hello, if you use EEPROM.write or EEPROM.read...

    Hello,

    if you use EEPROM.write or EEPROM.read you access just one byte of storage.
    To store variables (strings) independent of size use EEPROM.get and EEPROM.put instead.
  20. Hello, check this: - on schematic on website...

    Hello,

    check this:
    - on schematic on website PJRC is PTB5 of MKL04Z32 on pin 13 on custom schematic it is on pin 25
  21. Replies
    15
    Views
    1,288

    Hello, this library might be suitable for...

    Hello,

    this library might be suitable for your type of display (if SPI bus) and works with teensy:

    https://github.com/sumotoy/SSD_13XX
  22. Replies
    3
    Views
    473

    You should post your source code and your serial...

    You should post your source code and your serial monitor output here.
    Then its much easier to help.
  23. Thank you for your efforts in teensy product...

    Thank you for your efforts in teensy product lines. I appreciate this.
    For my project, I think it is unrealistic, especially with my programming skills, to reduce the code by 7% by source code...
  24. This is the difference between original...

    This is the difference between original boards.txt:
    Der Sketch verwendet 34362 Bytes (106%) des Programmspeicherplatzes. Das Maximum sind 32256 Bytes.
    Globale Variablen verwenden 1405 Bytes (54%)...
  25. Thank you for your answer. I always use F()...

    Thank you for your answer.

    I always use F() Makro for strings.

    I will try your suggestions tonight (Europe time) and give feedback later on.
  26. Your are right, but unfortunatly the hardware is...

    Your are right, but unfortunatly the hardware is fixed at this stage of project.
  27. How to reduce code size on teensy 2.0

    Hello,

    I have a problem with the size of the compiled code for teensy 2.0.
    This size is 106% of the available space.

    I have 2 general questions for the experienced forum members:
    1. Is it...
  28. Replies
    3
    Views
    473

    Hello, you don't sync your timeLib with RTC of...

    Hello,

    you don't sync your timeLib with RTC of teensy, so TimeLib starts with zero UNIX time (1.1.1970).
    TimeLIB and RTC are two independend objects.

    To unterstand have look there...
  29. Replies
    2
    Views
    408

    Hello, read in this thread...

    Hello,

    read in this thread https://forum.pjrc.com/threads/47988-Teensy3Time-ino-updates-wrong-time?highlight=RTC the posts of Paul Stoffregen, this might answer you questions.
  30. Replies
    14
    Views
    1,368

    On your jack pj-313E-8A you might have mistaken...

    On your jack pj-313E-8A you might have mistaken pin 1 with pin 4.

    Also you should have two seperate jacks for mic and headphones, because you cannot connect mic ground with headphone ground (see...
  31. Replies
    86
    Views
    54,593

    The pull ups are necessary. Otherwise you will...

    The pull ups are necessary. Otherwise you will get problems reading SD Card (wich I had).
  32. Replies
    14
    Views
    1,368

    Hello, I don't see the 2.2k pull ups for SDA...

    Hello,

    I don't see the 2.2k pull ups for SDA and SCL in your schematic.
    Dit you forget them, then I2C bus might not work.
  33. Hello, check your func void...

    Hello,

    check your func


    void shiftOut(uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder, int val, uint8_t bits = 8, uint8_t del = 10) {
    uint8_t i;
    for (i = 0; i < bits; i++) {
    if...
  34. YES, Pin 24 is labled E6 on PCB. It seems...

    YES, Pin 24 is labled E6 on PCB.
    It seems confusing because Teensy2.0 is an old 8bit-AVR product. Introduced before IDE Teensyduino come. The F2 and so on are the values for die C compiler without...
  35. I think you are right. But you have one more...

    I think you are right.
    But you have one more digital pin 24, also useable for interrupts.
  36. Hello, with adjusttime() you set timelib...

    Hello,

    with adjusttime() you set timelib object but not the RTC on Tennsy 3.x.
    In setup() you have set syncronisation of timelib with teensy-RTC by "setSyncProvider(getTeensy3Time)". Default time...
  37. Hello, try to add 10k pullup resitors on both...

    Hello,

    try to add 10k pullup resitors on both CS lines.
  38. Replies
    5
    Views
    702

    It seems you switch off your GND-line by MOSFET,...

    It seems you switch off your GND-line by MOSFET, so UART can't work without GND connection.

    Instead switch the 5V-line to your sensor. Use a p-channel MOSFET then.
  39. It looks like something is wrong with the USB...

    It looks like something is wrong with the USB hardware on your teensy 2.0.
    Maybe USB connector, PCB, 22 Ohm resistors or even 32U4.
  40. If I were you I would try to use SPI library of...

    If I were you I would try to use SPI library of teensy or search for a lib for your ADC chip.
  41. Hello Gary, from my point of view: - your...

    Hello Gary,

    from my point of view:
    - your shortened code will probably not run due typos
    - wire lib is not used in code, the include at begin is useless
    - the code (without typos) might run...
  42. Maybe a problem with baud rate error. Take a...

    Maybe a problem with baud rate error.

    Take a look there: https://www.pjrc.com/teensy/td_uart.html

    Maybe try to adjust baud rate on ESP-side, don't know how software serial works.
  43. Replies
    14
    Views
    1,411

    Hello, it is very difficult to see in the...

    Hello,

    it is very difficult to see in the photo, but at the soldering points of the teensy it looks as if there is a short circuit between D18 and D19 (SDA, SCL).
  44. Replies
    8
    Views
    1,146

    Hello, maybe you try the following approach:...

    Hello,

    maybe you try the following approach:
    - take 5 teensy 2.0 and connect 13 analog inputs each, one only 12 inputs (5 * 12 - 1 = 64)
    - connect all 5 teensys with a bus system, either I2C or...
  45. Hello, check version of TD and ADC lib. Maybe...

    Hello,

    check version of TD and ADC lib.
    Maybe same cause like in this thread: ...
  46. You're right. But the following question, if the...

    You're right.
    But the following question, if the variables are defined as uint8_t, will they not automatically return to 0 at 255++?
  47. Hello, according forum rules please post your...

    Hello,

    according forum rules please post your code. Here are a lot of people wich are able to point you in the right direction if code shown.

    My blind guess is, you have function calls wich use...
  48. Replies
    5
    Views
    885

    Hello, you should not connect cable3 direct to...

    Hello,

    you should not connect cable3 direct to power..
    Use instead a 10K potentiometer between power and ground, connect the wiper with cable 3. This is to set the contrast. Maybe you don't see...
  49. Hello, I don't know if your LED is realy on...

    Hello,

    I don't know if your LED is realy on pin 23. If you want to invert onboard LED of teensyLC, this one is on pin 13 (may be a typo).
  50. Replies
    8
    Views
    1,796

    Hello, I don't know about UTFT, but there is...

    Hello,

    I don't know about UTFT, but there is https://github.com/KurtE/ILI9341_t3n from user KurtE for ILI9341 display controllers.
Results 1 to 50 of 121
Page 1 of 3 1 2 3