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

Search:

Type: Posts; User: larry_berlin

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Hi, use elapsedMillis. explanations here:...

    Hi,

    use elapsedMillis.

    explanations here: https://www.pjrc.com/teensy/td_timing_elaspedMillis.html
  2. 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...
  3. Ahh didn't see Snooze is already involved. I do...

    Ahh didn't see Snooze is already involved.
    I do not know your external circuit, but I see in the code nothing in hibernate mode, the power supply for it interrupts.
  4. Take a look on Snooze library for low power. You...

    Take a look on Snooze library for low power.
    You should put teensy in low power state, when no button is pressed and no mp3 is played.
    Then you migth achieve weeks or month battery lasting.
  5. Replies
    8
    Views
    269

    I had in hibernate on teensy 3.2 about 0.25 mA...

    I had in hibernate on teensy 3.2 about 0.25 mA current, less is not possible on t3.2 because of the voltage regulator LP38691 on teensy PCB (expect the same for t3.6).
    I recommend checking the...
  6. Replies
    8
    Views
    269

    Hello, I have used snooze library in simelar...

    Hello,

    I have used snooze library in simelar circumstances like in your project with success.
    Some hints:
    - if you don't need exact time and date for other reasons in your app, it is simpler to...
  7. No, it doesn't. If you just feed the LCD with...

    No, it doesn't.
    If you just feed the LCD with 3.3V your teensy is not in danger. Maybe your display doesn't work (depends on LCD module).
  8. Hello and welcome here, I think you mistook...

    Hello and welcome here,

    I think you mistook analog pins for digital pins.
    Digital 1 is not analog A1, look at reference here https://www.pjrc.com/teensy/pinout.html .

    Try this:


    uint8_t...
  9. Thank you KurtE and bboyes for your efforts. I...

    Thank you KurtE and bboyes for your efforts.
    I loaded the forked ILI9341_t3n from bboyes, that works for me.

    best regards
  10. Hello Kurt, with new versions of SPIN and...

    Hello Kurt,

    with new versions of SPIN and LI9341_t3n from GitHub I get following error message:

    In file included from display_test.ino:8:0:
    C:\Program Files...
  11. Replies
    4
    Views
    3,532

    I think const array should go to flash, anyway...

    I think const array should go to flash, anyway just 32k for UNO and to large (rest of program needs flash space also)
  12. Replies
    3
    Views
    298

    Also you should avoid "if" statements with "=="...

    Also you should avoid "if" statements with "==" for timing in polling mode.
    Better you try "if (millis() >= next)" .
    I don't know the runtime of your code, but so you are sure not being 1ms (or...
  13. Replies
    1
    Views
    356

    Have a look there: ...

    Have a look there:

    https://www.pjrc.com/teensy/eagle_lib.html
  14. Replies
    69
    Views
    2,694

    I 'm silly, you are right.

    I 'm silly, you are right.
  15. Replies
    69
    Views
    2,694

    try this: int C[10]= { 5 };

    try this:

    int C[10]= { 5 };
  16. Replies
    5
    Views
    620

    I think you are right with this. I will delete...

    I think you are right with this.
    I will delete and reinstall Tennsyduino.

    Thanks
  17. Replies
    5
    Views
    620

    It is on teensy 3.2. Source files are...

    It is on teensy 3.2.

    Source files are unfortunatly to huge to post here.

    Another strange behavior is, I get this warnings if I complile only the fist time after starting ARDUNIO.
  18. Replies
    5
    Views
    620

    Compiler warnings for Snooze library

    Hello,

    I use Arduino 1.6.5r5 and Teensyduino 1.42 (on Windows 10) and get following compiler warnings regarding used Snooze lib:


    In file included from C:\Program Files...
  19. Hello, regarding this, the ADAFRUIT...

    Hello,



    regarding this, the ADAFRUIT library "Adafruit_ADS1015" works without changes with teensy in several of my applications.
    You don't need pull up resistors, 10K are on the...
  20. Replies
    18
    Views
    2,250

    Sorry mate, you gave the wrong graphic, this...

    Sorry mate,

    you gave the wrong graphic, this is for teensy 3.0 not for 3.2 as asked.
  21. Replies
    18
    Views
    2,250

    Yes, there is an RESET accessable, but...

    Yes, there is an RESET accessable, but unfurtunatly just as SMD-pad.
    See https://www.pjrc.com/teensy/pinout.html

    As long you can manage not to connect external power and USB power at same time,...
  22. Thank you very much. I didn''t know where to look...

    Thank you very much. I didn''t know where to look in the core files.
    I had just to add globaly "extern void *__rtc_localtime;" to my sketch to avoid compiler error.

    Unfortunatly my external...
  23. teensy RTC, how to get access on linktime during run time

    Hello forum,

    I have read the explanations of Paul regarding teensy RTC on thread https://forum.pjrc.com/threads/47988-Teensy3Time-ino-updates-wrong-time?highlight=RTC and found this very usefull....
  24. I think you don't need an extra regulator for 5V....

    I think you don't need an extra regulator for 5V.
    As you discribed the max. voltage via diode and full charged batterys is 6V.
    The 74AHCT1G08 is rated up to 7V max. supply voltage and the LM48310...
  25. Replies
    14
    Views
    1,468

    May be take a closer look to your optocouplers....

    May be take a closer look to your optocouplers.
    See also (if not done up to now) to https://forum.pjrc.com/threads/45416-Base-Emitter-Resistor-for-6N139-on-MIDI-input there are some considerations...
  26. You have a lot of competitive requirements....

    You have a lot of competitive requirements.
    Hence the following new proposal.
    Use a stereo jack for connecting the knots, which is axially shaped and would work in any direction.
    So you have 3...
  27. Just in short. 12958 This is an very simple...

    Just in short.

    12958

    This is an very simple example of how the circuit for remote feed could basically look like (reciever node).
    The value of capacitor (47nF) for DC decouplig depends on...
  28. Sorry, can't undetstand why you want decouple...

    Sorry, can't undetstand why you want decouple power from data by time scheme (switching).
    You use short coax cable, so AC/DC decoupling by circuit schould be no problem and more relaible, especially...
  29. Replies
    24
    Views
    2,601

    Maybe you should not put a "Serial.println"...

    Maybe you should not put a "Serial.println" inside the interupt service routine (ISR should be quick).
    Instead try to put results in a array or so and print out later on.

    Also, I dont know how...
  30. Replies
    5
    Views
    879

    Hello, simple and fast solution: change...

    Hello,

    simple and fast solution:

    change "int quietTimeMillis = round(quietTime*1000.0);" into "int quietTimeMillis = 200;"

    then "quietTimeMillis" is still initalized and both variables...
  31. Replies
    84
    Views
    143,694

    Sticky: German web sites in Europe sell teensy like this...

    German web sites in Europe sell teensy like this examples:
    https://www.amazon.de/Teensy-Board-Version-Header-Pins/dp/B01NBKW6VN/ref=sr_1_2?ie=UTF8&qid=1512554453&sr=8-2&keywords=teensy...
  32. Replies
    6
    Views
    1,195

    Hi, as mentioned you don't need to use...

    Hi,
    as mentioned you don't need to use <<pinMode(knockSensor, INPUT)>> if you use just analogread().

    pinMode(knockSensor, INPUT_DISABLE) is the right way to put pin back to high state before...
  33. In principle correct, but in differential mode,...

    In principle correct, but in differential mode, the resolution is slightly better than in single ended mode, see https://www.pjrc.com/teensy/K64P144M120SF5.pdf page 43 ENOB.
    Depending also on...
  34. Maybe if he uses one differential input of teensy...

    Maybe if he uses one differential input of teensy it migth work without preamp or bias shifter? Also better resolution 16 bit achievable. Regarding reference 1.2V I agree.
    A closer look at pedvides...
  35. Replies
    6
    Views
    1,547

    Simply connect SDA with pin 18 and SCL with pin...

    Simply connect SDA with pin 18 and SCL with pin 19 of teensy 3.2. If you use prefabricated module like in my example (Adafruit), you don't need pull up resistors.
    For your code use "wire" library...
  36. Replies
    6
    Views
    1,547

    Epyon is right. Simplest solution is his...

    Epyon is right.
    Simplest solution is his suggestion with precision resistors for resistor divider.

    I also often use ADS1115 (or even ADS1114 , ADS1113 if you need just one or 2 channels). There...
  37. Replies
    6
    Views
    1,547

    Some thoughts: - make the resistor divider...

    Some thoughts:

    - make the resistor divider adjustable with a potentiometer; bear in mind digital resolution on teensy 3.2 is effectivly just 12 bit (exept differential inputs), so it may work for...
  38. Replies
    8
    Views
    1,379

    I don't think so, in some circumtances the LC may...

    I don't think so, in some circumtances the LC may draw more than 20 mA.
    I suggest using a FET circuit to switch and a second power supply.
  39. Replies
    6
    Views
    1,834

    Yes, R4 goes to LED pin. I have disassembled one...

    Yes, R4 goes to LED pin. I have disassembled one display.
    Your suggestion for measurement should work as discribed. But bear in mind the display backlight differs from vendor to vendor, sometimes...
  40. Replies
    6
    Views
    1,834

    It is like you discribed. Foto attached. 11737

    It is like you discribed. Foto attached.

    11737
  41. Replies
    94
    Views
    33,334

    I used ADS 1115 for following reasons: - 16 bit...

    I used ADS 1115 for following reasons:
    - 16 bit resolution
    - no need to be very fast
    - progammable PGA

    see: http://www.ti.com/product/ADS1115

    also a lot of prefabricated modules on the...
  42. Replies
    94
    Views
    33,334

    Regarding the noise on ADC, please bear in mind...

    Regarding the noise on ADC, please bear in mind on single ended mode you can achive only 12/13bit resolution effectivly.
    See also https://www.pjrc.com/teensy/K66P144M180SF5V2.pdf , page 44/45.

    So...
  43. Replies
    12
    Views
    1,751

    It is not in the schematics but in the manual for...

    It is not in the schematics but in the manual for chip , see: https://www.pjrc.com/teensy/K64P144M120SF5RM.pdf ,page 203.
  44. Replies
    12
    Views
    1,751

    Hello, First: < 3. I RESET the T3.5 by...

    Hello,

    First: < 3. I RESET the T3.5 by connecting the Reset pin to 3.3V momentarily. >, ; I think you have to connect RESET to GND shortly to reset T3.5 (RESET is internally pulled up)

    Second:...
  45. Hello, - 3.3V pin, cut VUSB:voltage might be...

    Hello,

    - 3.3V pin, cut VUSB:voltage might be too high when the battery is charged to 3.6 V since there's zero added voltage drop. ----> add a step up regulator 3,3V between
    - VIN pin, cut VUSB:...
  46. Replies
    6
    Views
    1,834

    Hi, Paul it seems your last delivered 2.2'...

    Hi,

    Paul it seems your last delivered 2.2' displays have a different circuitry for the back light from shown on your web site.
    Adding a 100 Ohm resistor has no effect on LED, because this pin of...
  47. For clearification: First I just put pin 9 (DC)...

    For clearification:
    First I just put pin 9 (DC) in not used mode ( by pinMode(9, INPUT_DISABLE); ), then the current droped from 35 mA to 25 mA in hibernate.
    Finaly I put all hardware SPI pins of...
  48. I see the problem, but also have no clue how to...

    I see the problem, but also have no clue how to solve this.
    As duff wrote a SPI driver for his snooze lib might be the right way (related to low power applications).
  49. Adding a SPI driver to snooze is a very good...

    Adding a SPI driver to snooze is a very good idea, as this could prevent problems like mine. Can you tell when do you plan to do this, please?
    Anyway your snooze library is very helpfull. Thanks for...
  50. Thanks for your hint, but SPI seems to be real...

    Thanks for your hint, but SPI seems to be real problem.
    See above.
Results 1 to 50 of 57
Page 1 of 2 1 2