Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 6 of 6

Thread: How to read the output from a preprogramed teensy??

  1. #1
    Junior Member
    Join Date
    Dec 2019
    Posts
    5

    How to read the output from a preprogramed teensy??

    Hi!

    So I recently took over a project which uses teensy 3.2. I have to get the experimental setup to work but the issue is, there is no circuit diagram left by my senior and I can't contact him anymore so I have no clue what is connected to what. All I know is, the teensy probably has the program in it. Is there a way to get the program from the teensy or is there a way I can see what output I'm getting when I connect my teensy to my laptop?
    Last edited by saa29; 01-15-2020 at 08:24 PM.

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,332
    If the Teensy is setup to print data out the USB port that will show with a terminal program on USB - the Arduino IDE has such a Serial Monitor program. If the TeensyDuino software is installed after that it offers an improved version to the same end that will show any output presented from the Teensy.

    The code on the T_3.2 will not be readable for examination or re-use - so having the source files would be needed for review or changes.

    As far as what is connected this forum allows PNG and JPG photos up to 1MB each to be directly posted. Providing images would perhaps allow identification of the devices and connections in place if that might help.

  3. #3
    Junior Member
    Join Date
    Dec 2019
    Posts
    5
    So I basically just connect the teensy to my laptop, open the IDE and open the serial monitor?

  4. #4
    Senior Member
    Join Date
    Nov 2012
    Posts
    1,191
    yes. But if you don't have a circuit diagram, it's unlikely that the serial output will tell you much.

    Do you at least know what the thing was supposed to do?

    Pete

  5. #5
    Junior Member
    Join Date
    Dec 2019
    Posts
    5
    Yes, it's supposed to measure temperature and give the temperature gradient. There are a bunch of thermocouples attached to it. So I tried to connect the teensy to my laptop and opened the arduino ide and the serial monitor. However, the serial monitor refused to open so now I'm not sure why....I didn't mess around with the teensy either so the program must be in there..

  6. #6
    Senior Member
    Join Date
    Nov 2015
    Location
    Cold hollow VT
    Posts
    124
    I would recomend looking up your senior engineer and inviting him/her out for a drink to discuss this circuit. If he left the company look him up on Linked-in and try to connect there. Try to get a hold of his work PC if possible it has some clues in it. Offer to clean out their desk and you may find the treasure you seek while at it.

    Failing all that, I would try to un-engineer his circuit. Look up part numbers on the board and try to determine how it works or make a schematic to get a better understanding of it. Is Teensyduino installed with your Arduino software? Did you try a different Serial monitor that works with your OS (windows/linux/??)

    Note: I don't check the mail untill back at work. (Monday)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •