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

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

    Bump An answer would be nice.

    Bump

    An answer would be nice.
  3. Replies
    3
    Views
    148

    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...
  4. Replies
    1
    Views
    114

    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.
  5. 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
  6. Replies
    15
    Views
    521

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

    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.
  8. 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...
  9. 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%)...
  10. 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.
  11. Your are right, but unfortunatly the hardware is...

    Your are right, but unfortunatly the hardware is fixed at this stage of project.
  12. 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...
  13. Replies
    3
    Views
    163

    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...
  14. Replies
    2
    Views
    136

    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.
  15. Replies
    14
    Views
    480

    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...
  16. Replies
    81
    Views
    43,971

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

    The pull ups are necessary. Otherwise you will get problems reading SD Card (wich I had).
  17. Replies
    14
    Views
    480

    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.
  18. 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...
  19. 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.
  20. 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...
  21. Hello, try to add 10k pullup resitors on both...

    Hello,

    try to add 10k pullup resitors on both CS lines.
  22. Replies
    5
    Views
    183

    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.
  23. 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.
  24. 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.
  25. 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...
  26. 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.
  27. Replies
    14
    Views
    696

    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).
  28. Replies
    8
    Views
    471

    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...
  29. Hello, check version of TD and ADC lib. Maybe...

    Hello,

    check version of TD and ADC lib.
    Maybe same cause like in this thread: ...
  30. 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++?
  31. 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...
  32. Replies
    5
    Views
    426

    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...
  33. 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).
  34. 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.
  35. Replies
    4
    Views
    268

    Hello, I do not know if I have the correct...

    Hello,

    I do not know if I have the correct understanding for it, but the following advice:
    - only MCP3204 has a DOUT line (MISO)
    - looking at reference sheet of MCP3204, page 16, figure 5-1 and...
  36. Hello, bear in mind to use differential analog...

    Hello,

    bear in mind to use differential analog inputs at A10/A11 or A12/A13 of teensy3.2 with ADC library.
    So you might not have to adapt bipolar to unipolar. Also check posibilties for external...
  37. Hello, maybe you have set your reference...

    Hello,

    maybe you have set your reference voltage to INTERNAL, wich is 1.2 Volt für teensy 3.5
  38. Hello, I don't know if it fits your...

    Hello,

    I don't know if it fits your requirements, but I have successfully used MCP4726 (12bit, I2C).

    Here is the data sheet of the IC:...
  39. Replies
    8
    Views
    671

    You can expect 150uA in deepsleep for teensy LC....

    You can expect 150uA in deepsleep for teensy LC.
    You can expect 6uA in hibernate for teensy LC, but you may get problems with your external circuit, because LDO on MK chip is set in a special state....
  40. Replies
    8
    Views
    671

    Hello, I don't think you need to put your...

    Hello,

    I don't think you need to put your counter in EEPROM (understand your concerns about limited write cycles).

    As far as I know, the snooze library/teensy keeps your variables in RAM during...
  41. Replies
    8
    Views
    671

    Try this, use only timer in snooze lib, no RTC...

    Try this,

    use only timer in snooze lib, no RTC at all.
    wake up LC every 60 seconds to increase counter variable and compare value. If value >= (minutes * 60 * 6 hours) do LoRa stuff and set value...
  42. You might be right with this, but from the...

    You might be right with this, but from the supplied photo I assumed this is only a female header not going into the breadboard.
  43. Difficult to say, maybe it is as already said in...

    Difficult to say, maybe it is as already said in the other answers.

    Check the following:
    - Inspect your solder point for VUSB, there may be short circuits on the teensy board.
    - If that's okay,...
  44. Replies
    11
    Views
    630

    It seems the problem with the PSTR macro (string...

    It seems the problem with the PSTR macro (string in flashmemory) might be caused by the different organisation of memory in t4 compared to t3.x

    Just a guess. I 'm sure Paul can check this easily.
  45. Replies
    1
    Views
    200

    You may take a look there for advanced features...

    You may take a look there for advanced features regarding ADC of teensy 3.x

    https://forum.pjrc.com/threads/25532-ADC-library-update-now-with-support-for-Teensy-3-1
  46. Hello, look at this: ...

    Hello,

    look at this:

    https://www.adafruit.com/product/1085

    Best regards
  47. Replies
    19
    Views
    3,198

    Just to be clear, is it __IMXRT1052__ or...

    Just to be clear, is it __IMXRT1052__ or __IMXRT1062__ ?

    Thanks
  48. Hello, I had a simelar problem (but other...

    Hello,

    I had a simelar problem (but other external hardware) with current by SPI in hibernate for teensy3.2.
    As KurtE told, my solution was pinMode(xx, INPUT_DISABLE) but for all SPI lines....
  49. Hi, use elapsedMillis. explanations here:...

    Hi,

    use elapsedMillis.

    explanations here: https://www.pjrc.com/teensy/td_timing_elaspedMillis.html
  50. The circuit you posted can not match the one for...

    The circuit you posted can not match the one for which the code was written because there is no flash memory and no audio amplifier.
    It is correct that hibernate enters after 5 minutes if no key is...
Results 1 to 50 of 105
Page 1 of 3 1 2 3