Teensy 3.2 no longer reading/executing code properly

Status
Not open for further replies.
Hello!
New user and first-time post. Full disclosure, I am a novice at electrical engineering. I was given this system of circuits to operate an interactive art piece that I created. My goal was to learn how to program my own projects alone. Needless to say, that didn't happen. My project was in crunch-time and I was focused on finishing the aesthetics of the art inside the display case. A friend finished all the code and built the boards and gave me the finished product. I was super grateful at the time but now I am pretty frustrated because I am struggling to figure out what they did. When functioning, the user approaches the piece, presses the button, the music stops playing as the doors open, a story plays, stars twinkle, lightning flashes, doors close, music begins to play, again. The slow fade lights in the base of the pedestal and the twinkling stars are always lit. She worked for 5 different exhibits. When I was installing her for another show, I touched something during set up and electrocuted myself. It also fried the teensy. I installed a new teensy and another friend borrowed it to check things. Then COVID hit and he isn't able to sit with me and check things out. The boards appeared to be fully functional when at his place. They were not connected to any of the lights, speakers, or actuators. I plugged the piece in last night and was able to get the lights to function but was unable to get any sign of life from the audio or linear actuators.

It's super weird to describe accurately, so here is a video of her when fully functioning:
https://drive.google.com/drive/folders/1-MeOgl-eQdaDrYQtc7iELwU1RDkjpRhO

Today, I reinstalled Arduino 1.0.6.
I disconnected the teensy from the audio shield. It looks like my teensy is good, but my code is not. I don't know how to write, nor check code.
https://drive.google.com/file/d/13inQHIr3xufnaR7wryEb-JmoFRaxX81e/view?usp=sharing

here is the most recent code:
View attachment Soarsa_Working_Code_Jan2020.ino

When the teensy is connected to the audio shield, it heats up to the point that it kind of burned my fingers. I imagine that is another issue to deal with.
Pictures of the current monstrosity that is the "brain" of the piece known as Soarsa (pronounced Seer-Sha):
https://drive.google.com/file/d/14FcybOL5SCvTQF1V6RCgUTS-B4aqd6is/view?usp=sharing
https://drive.google.com/file/d/14FpxoHbMgUHl4e0UIZEqHovt73Wa3Ofx/view?usp=sharing
https://drive.google.com/file/d/14JjaJeUSy18L6Iexh2JnkftjMxdRfOHu/view?usp=sharing

Thank you, in advance, if you have advice on how to proceed.
 
When the teensy is connected to the audio shield, it heats up to the point that it kind of burned my fingers. I imagine that is another issue to deal with.

There is a good chance, that this IS the main issue.
Overheating means in most cases, the Teensy is defective.
So I'd buy more 2 or three more 3.2 and audioshields before trying other things.
Then, double check the wiring. Everything must be OK before you connect a new Teensy.

The chance that a progran that was known to work, does not work anymore due to some "magic" things is very small.
So the right strategy for fixing the problem is to assume that the program is OK. And searching for problems there should be the last step.
 
2020-11-23 23_08_38-Start.jpg
eek... who did this? At least in Germany, perhaps worldwide, it's common to use a black wire for "-" or "GND" :)
Or everything else..but not red.
Please check, if this is intended and correct.
 
Last edited:
Status
Not open for further replies.
Back
Top