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

Search:

Type: Posts; User: ryan1

Search: Search took 0.00 seconds.

  1. Multiple DC motor and encoders on a Teensy 4.1

    Hello forums!

    I am a student that is relatively new to electronics. I wanted to PID control six different DC motors with encoders using a Teensy 4.1. Each encoder is 2048 counts/rev, and the motor...
  2. Replies
    11
    Views
    847

    Thanks for the responses! Turns out that I...

    Thanks for the responses!

    Turns out that I need to attach a wire between the ground pins of the Teensy and the device connected to my computer. Didn't know you needed to do that...I've used UART...
  3. Replies
    11
    Views
    847

    I'm sorry...I'm just going to keep rambling on...

    I'm sorry...I'm just going to keep rambling on this post about my debugging process in the hope that it might trigger an idea from someone.

    I luckily had a Teensy 3.2 on hand and tested the same...
  4. Replies
    11
    Views
    847

    A bunch of questions I have but might not be...

    A bunch of questions I have but might not be relevant:
    Could something else be blocking reception via UART? Do I need to disable the other RX/TX pins for some reason?
    Do all the ground pins on the...
  5. Replies
    11
    Views
    847

    Thanks for the input! Unfortunately, I don't...

    Thanks for the input! Unfortunately, I don't think this did anything.

    I now have void loop() like this:


    digitalWrite(ledPin, HIGH);
    delay(1000);
    digitalWrite(ledPin, LOW);
    ...
  6. Replies
    11
    Views
    847

    Update: I cut the trace between USB power and...

    Update: I cut the trace between USB power and external power (as one might do to run Teensy off external power while having the USB plugged in). Still doesn't work. Seems that the Teensy has to be...
  7. Replies
    11
    Views
    847

    Using some if-statements and LED blinks, the...

    Using some if-statements and LED blinks, the problem seems to be with the UART reading garbage when powered by 5V. It's not getting the right characters that are being sent from my computer. I...
  8. Replies
    11
    Views
    847

    Thanks for the quick reply! I didn't think I...

    Thanks for the quick reply! I didn't think I needed to run the blink example because I have the LED blink in my void loop() function. When I apply external power, the LED turns off for 1 second and...
  9. Replies
    11
    Views
    847

    Teensy LC Code Not Working on External Power

    Hello!

    My project involves sending commands over UART from my computer to my Teensy LC, triggering the Teensy to send commands over I2C (using the Wire.h library) to an external device that can...
Results 1 to 9 of 9