Arduino mega connection problem

hello everyone. I have a problem with my Arduino mega. I have basic knowledge of electronics, and I would need help identifying the fault. I describe the error: I have my Arduino mega connected to a ramps 1.6 on my 3d printer. I had to remove the diode that goes from the ramps to the VIN of the Arduino. And I feed it externally with a 12V voltage regulator. The 24V input of the ramps had a failure and the plastic of the + pin was slightly damaged. So now the PC does not recognize the Arduino mega. If I turn on the printer with everything connected, it turns on but the letters on the LCD disappear after a few seconds of being on. If I power the Arduino from the USB the fault is the same, but it does not occur unless I turn on the 24V power. Initially I tried replacing the 16mhz crystal And I did basic tests on capacitors and resistors, but they seem to be working correctly. I haven't tried the 5V regulator yet, but I don't think the problem is there, Since powering the Arduino at 12V the board continues to receive power and even the printer menu appears on the LCD. I repeat that the PC does not recognize the Arduino. If anyone could give me any ideas to try, I would be eternally grateful.

Today I was able to do some more testing on the Arduino. Check all input and output pins, the VIN along with its 5V regulator is working normally. So I can assume that the fault is in the usb-to-serial chip or the usb-to-serial oscillator. What do you think?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.