I recently built my first circuit with arduino uno. (Well, not my first) but it was my first time using raspberry pi with it since my laptop broke. I built a circuit and plugged it in and my raspberry pi shut down, booted up and repeat. I tried again and the same thing happened. I haven't touched it because my Raspberry pi is in a case that you can't touch the components. Is this normal for this to happen? Or is may rasoberry pi broken.
I am using a Raspberry Pi 3B+.
If someone could answer, thank you very much.
(My circuit is a ultrasonic alarm equipped with buzzer and multiple LED's just in case it's my circuit , not my Pi)