The problem is as follow, i have:
2 NO/NC/common switches (define maximum and minimum position of the motor
1 bluetooth hc05
1 temp sensor
1 psu 12v 2.5A
1 motor dc 12v 1A
It's a PID, with the possibility to view it through processing
The problem is that 'something' happens to the 5v line, because the usb/ttl converter dies and the DAC converts analog input start giving erratic value's, the arduino is not programmable after that.
I put a schematic with it it's exactly connected as shown. The only difference is the common of the switches have a 10k resistor between de arduino digital and the common on the switch.
NO is connected to 5v and NC is connected to ground. So when it switches it reads as a HIGH on the digital input which stops the motor. I will include the code later.
There is no smell of burning or components running hot. I just dies in silence.