Teensy 4.1 external power up

Status
Not open for further replies.

belamy

New member
Hi,
My Teensy 4.1 board works correctly when I have board connected to computer using usb cable.
I have been using Teensyduino or VSC with Platformio and The Teensy Loader.
All programs are uploaded to board correctly and works without any problems.

Problem is when I disconnect board from usb cable and try to connect board GND and VIN (+5V) to external power supply. Program which was uploaded to board doesn't work.

How to connect external power to board?
 
Any chance your code as a leftover "while (!Serial) ;" waiting forever for the Arduino Serial Monitor?

Great suggestion!!!

It was serial "while" :D I was used to left serial commands because previously I always used hardware serial not USB emulated.

Thank a lot!!!

But not all works perfect :confused:
Simple "Blinky" example works correctly on external power.
And I tried speech synthesise Examples/Talkie/_1_Getting_Started.ino

Code:
#include <Arduino.h>
#include <Talkie.h>

...

void setup() {
    pinMode(ledPin, OUTPUT);
      
    digitalWrite(ledPin, HIGH);   // set the LED on

  delay(10);
  voice.say(spDANGER);
  voice.say(spDANGER);
  voice.say(spRED);
  voice.say(spALERT);
  voice.say(spMOTOR);
  voice.say(spIS);
  voice.say(spON);
  voice.say(spFIRE);

    digitalWrite(ledPin, LOW);    // set the LED off

}

void loop() {
}


On usb power this code is working and during speech red led is on I can hear speech in the speakers. Whole speech lasts about 3s.

On external power led is on about 100ms and in the speakers I can hear 100ms noise.
I uploaded 2 movies describing this problem, link: https://we.tl/t-meI8MoCPz2

Very weird....
 
SOLVED !

Stupid mistake ;) I set my power supply to 5V with current limit 200mA. Teensy 4.1 board takes 100mA and my speakers need additional 200mA so it was overcurrent and my power supply was restarting board :)
 
Status
Not open for further replies.
Back
Top