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

Search:

Type: Posts; User: Joegi

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    25
    Views
    1,505

    Sorry, I forgot to run the code, but tried to...

    Sorry, I forgot to run the code, but tried to solve the issue by eliminating interference. Therefore i drilled the motor cables (a little), and added three 100nF capacitors. One across both motor...
  2. Replies
    25
    Views
    1,505

    Thanks, I will run the code when I'm at home!

    Thanks, I will run the code when I'm at home!
  3. Replies
    25
    Views
    1,505

    After the more or less successful breadboard...

    After the more or less successful breadboard tests I connected the cables of the motor-driver drv8838 to a brand new Teensy LC. Now the Motor ran without any issues. I then connected the (Pololu)...
  4. Replies
    25
    Views
    1,505

    I still don't use a separate power supply for the...

    I still don't use a separate power supply for the motor! I don't see the need, as running a motor via usb successfully is only a matter of how much current the power supply is able to deliver and the...
  5. Replies
    25
    Views
    1,505

    I now did tests with a Teensy Lc a Teensy 3.2 and...

    I now did tests with a Teensy Lc a Teensy 3.2 and an Arduino Micro and the drv8838 (connected to the motor) on a breadboard. Before doing the tests I updated the ARDUINO IDE from 1.8.5 to 1.8.7 and...
  6. Replies
    25
    Views
    1,505

    There is a thread...

    There is a thread (https://forum.pjrc.com/threads/29441-Teensy-LC-resets-due-to-EMI?highlight=reset+emi) where someone else had the same issue and Paul recommended to connect 3.3V to prog to see if...
  7. Replies
    25
    Views
    1,505

    What makes me think of the prog pin as the reason...

    What makes me think of the prog pin as the reason for the crash is that when the Teensy is connected to a pc and the Teensy loader is running then after the crash there is a code upload and then a...
  8. Replies
    25
    Views
    1,505

    Yes, i'm taking the 5V for the motor from the...

    Yes, i'm taking the 5V for the motor from the Teensy's 5V pin. The thing is that when I first connected 3.3V to prog I ran code that switched the motor on for 3 secs and then off for 3 secs and so on...
  9. Replies
    25
    Views
    1,505

    I'm using the same power source for the motor,...

    I'm using the same power source for the motor, but when it runs it only draws 110mA (@ PWM-value of 150) as I wrote previously. I now will do tests on a breadboard with a Teensy LC with a 4k resistor...
  10. Replies
    25
    Views
    1,505

    As powersupply I tried a husb-hub (with extra...

    As powersupply I tried a husb-hub (with extra power supply) a wall wart and a power bank.
  11. Replies
    25
    Views
    1,505

    Thanks for the hint, I will order and try a...

    Thanks for the hint, I will order and try a Teensy 3.2! Alternatively I might try to check with another Teensy LC, I have lying around, if connecting a 4k resistor between prog and 3.3V would help.
  12. Replies
    25
    Views
    1,505

    Oops, I just remember that I once tried to upload...

    Oops, I just remember that I once tried to upload code while the cable between prog and 3.3V was connected. That would have created a short that might have killed the pin which would explain that it...
  13. Replies
    25
    Views
    1,505

    Reset due to (motor-) EMI?

    Hi, I'm having a strange issue with a Teensy LC. When I start a dc-motor which is connected via a POLOLU DRV8838 driver (VCC=3.3V (from pin 17); Vm = 5V (from USB)) the Teensy often (not always)...
  14. Thank you!

    Thank you!
  15. [posted] Solar-powered, Teensy LC controlled chairoplane-model

    See my newest project, based upon Teensy LC + solar cells + step-up vr + motor driver + 3d printed parts:

    https://www.youtube.com/watch?v=9pMIs6gJhBM&t=3s
  16. I don't need a wakeup event, I would wait until...

    I don't need a wakeup event, I would wait until the Teensy wakes up. After the Teensy has woken up it would check for a usb connection and then switch on a led (and not go back to hibernate mode for...
  17. Sorry, but I forgot to remove the "&&...

    Sorry, but I forgot to remove the "&& Serial.dtr())" from the copied Atmega example code which might have caused confusion. The thing is that I just want to check if an usb-connection has been...
  18. "If (Serial)" needs an open serial monitor to...

    "If (Serial)" needs an open serial monitor to return TRUE!
    Isn't there a (direct) way like on the Atmega32u4 ( "USBCON |= 1<<OTGPADE; if ((USBSTA & (1<<VBUS))){}" )?
    Thanks!
  19. Teensy LC: Detect if a usb connection has been established

    How is it possible to detect (via code) if a Teensy LC has established a usb-connection?
    I need to know this, because I have created a program that sets the Teensy LC to hibernate mode and only...
  20. Replies
    2
    Views
    741

    I remembered that I did that without a diode...

    I remembered that I did that without a diode before (and read somewhere that some regulators have a protection against current backflow), so I gave it a try and up to now (after a couple of code...
  21. Replies
    8
    Views
    1,459

    It's not working with digitalWrite, but with...

    It's not working with digitalWrite, but with digitalWriteFast:


    digitalWriteFast(x, HIGH);
    pinMode(x, OUTPUT);
  22. Replies
    8
    Views
    1,459

    O.k., I think I can check this myself!

    O.k., I think I can check this myself!
  23. Replies
    8
    Views
    1,459

    OOPS, I did this pinMode(21, OUTPUT);...

    OOPS, I did this


    pinMode(21, OUTPUT);
    digitalWrite(21, HIGH);

    to power the Teensy from the alternative power source (and afterwards removed the connection between the other source and Vin)....
  24. Replies
    2
    Views
    741

    Dual Voltage Teensy LC

    I want to use this: https://www.pololu.com/product/2560 voltage regulator set to 3.0V to power a Teensy LC via Vin. The question is, do I have to cut the Vin-Vusb connection, or instead have to use a...
  25. Replies
    8
    Views
    1,459

    It's working! I always thought that all pins...

    It's working! I always thought that all pins change to high impedance when power is off (regardless if there is voltage at any IO-pin)!
  26. Replies
    10
    Views
    1,834

    Thank you very much for your effort!

    Thank you very much for your effort!
  27. Replies
    8
    Views
    1,459

    I questioned my own question not the suggestion...

    I questioned my own question not the suggestion of "Larry_berlin"!
  28. Replies
    8
    Views
    1,459

    Hm, a fet normally only "works in one direction",...

    Hm, a fet normally only "works in one direction", and as IO-pins are driven by fets it should not be possible to power the Teensy via an IO-pin!(?)
  29. Replies
    8
    Views
    1,459

    Powering Teensy LC via IO-Pin?

    Is it possible to power the Teensy LC (@24MHz) via an (20mA) IO-pin (which would be set to "output" and "high")?
    It is a more complex scenario, but it is functional similar to a scenario where the...
  30. Replies
    10
    Views
    1,834

    Thanks for your effort, but I now compared the...

    Thanks for your effort, but I now compared the current consumption of the Teensy LC in sleep-mode and in normal-mode (@24MHz) and the difference is ~5mA. That would be around 10% difference in...
  31. Replies
    10
    Views
    1,834

    Thanks!!!!!!

    Thanks!!!!!!
  32. Replies
    10
    Views
    1,834

    Thanks! (You may ask why I care about the...

    Thanks!
    (You may ask why I care about the amount of power the Teensy uses when a Motor is connected, but the Motor only draws ~50mA!)
  33. Replies
    10
    Views
    1,834

    SnoozeSleepPWM does not work

    I just tried the example code "SnoozeSleepPWM" of the snooze library on a Teensy LC, but is does not work! The (pwm-)pin seems to be either high or low when the Teensy enters sleep mode. I connected...
  34. Replies
    6
    Views
    1,698

    The Teensy (@24MHz) runs down to 1.7V (together...

    The Teensy (@24MHz) runs down to 1.7V (together with the motor driver) and will be set to hibernate mode most of the time and even in normal mode it does not draw more than 20mA!
    The motor draws...
  35. Replies
    6
    Views
    1,698

    Thank you very much for your effort (sorry for...

    Thank you very much for your effort (sorry for the late response), but I found this: NCP304A, a voltage detector with active-high output that can source up to 70mA, so I could power the Teensy +...
  36. Replies
    6
    Views
    1,698

    I found these STM1061...

    I found these STM1061 ICs which seemed to be perfect so I ordered a few as I was sure that the Teensy LC has a reset pin, but now after the ICs arrived I had to recognize that there is no reset pin...
  37. Replies
    6
    Views
    1,698

    Solar cell + supercap to power a Teensy LC

    I want to charge a 1F(5V) supercap with a small solar cell(6V) and when a voltage of ~2V has been reached a Teensy LC should be powered with that voltage. The teensy then regularly is measuring the...
  38. Replies
    9
    Views
    2,448

    Thanks! I should have dealt with the internal...

    Thanks! I should have dealt with the internal representation of floating point values before asking here!
  39. Replies
    9
    Views
    2,448

    But if "long double" equals "double" (at least...

    But if "long double" equals "double" (at least regarding size) there would be no difference between a "long double" calculation and a "double" calculation and then also no conversion from "long...
  40. Replies
    9
    Views
    2,448

    Hm, but why is "double x = 10.0L / 2.4;" !=...

    Hm, but why is "double x = 10.0L / 2.4;" != "double x = 10.0 / 2.4L;"?
  41. Replies
    9
    Views
    2,448

    Thanks Michael & tni!

    Thanks Michael & tni!
  42. Replies
    9
    Views
    2,448

    long double != double !?

    I read somewhere that "long double" = "double" (on Teensy LC/3.x), but the following code shows that "1.23L" != "(double)1.23" (at least regarding implicit type casting)!(?)

    void setup() {
    ...
  43. Replies
    1
    Views
    934

    If someone is interested: #include...

    If someone is interested:

    #include <IRremote.h>
    #include <IRremoteInt.h>

    const unsigned int DACPIN = A12;
    const double MIN = 380.0;
    const double MAX = 1900.0;
    const double MINSTEP =...
  44. Replies
    1
    Views
    934

    Candle-lamp made with Teensy LC

    Electric candle-lamp made with Teensy LC + CCS (350 mA) + step-up regulator (5V->9V) + IR sensor (for remote control) + 1W LED + Vase (yellow) + 3D-printed socket...
  45. There still is some space left, so I could have...

    There still is some space left, so I could have implemented parts to enable to show the charging-process (current as a function of time) on the display(s), but as this was my first attempt to solder...
  46. Newsfeedreader in a matchbox based on Teensy3.1 and Esp8266 wifi-module

    May I introduce my latest (and first Teensy) Project: NEWSFEEDREADER IN A MATCHBOX based on a Teensy3.1 and an ESP8266-03: https://www.youtube.com/watch?v=zBBMsm8kIlg

    The first prototyping was...
  47. Replies
    2
    Views
    2,297

    ESP8266 at 4.2V (LIPO)

    I would like to power a Teensy3.1 together with a ESP8266 with a 3.7V(-4.2V) LIPO.
    My question now is, if there is someone who had success with connecting a LIPO (with 4.2V at full charge) to an...
  48. I'm now facing also problems with the white...

    I'm now facing also problems with the white displays.
    Is it possible that there is a timing problem?
    Might I have to add additional delays in my com procedure?



    uint8_t...
  49. Issue with ssd1306 128x64 displays on the TEENSY3.0 (using u8glib)

    I posted this also on the u8glib Forum, but Oliver Kraus answered that he has no idea what the Problem could be, so I'm asking here:

    On the attached photo you can see the backsides of two 128x64...
  50. Does u8glib(V1.17) natively support hardware SPI for Teensy3.x?

    Up to now I did the prototyping for a project with an ARDUINO DUE, but now for size (board dimensions) reasons I want to port the code to the teensy3.0 (and later to teensy3.1)! The code addresses...
Results 1 to 50 of 54
Page 1 of 2 1 2