Hello everyone, quick question here:
I am trying out the HC-SR04 ultrasonic sensor, I have it hooked up to an Arduino Mega 2560. I notice that the sensor gets very hot very quickly as soon as I connect the board to my PC. Is this normal? I'm afraid I broke the sensor. The output on the serial monitor is also just 0. Also when I touch the back of the sensor I can feel it react with a little shock. Please, if anyone knows what to do that would be great.
I have used several of these without issue and definitely, they do not get hot and should not 'shock' the user. Double check your wiring and that you have 5v pin ground and I /O correctly connected AND that your pin config is correct for your processor/sketch. Many retailers sell this same board with slightly different configuration. You may have a dud or fried something.....Luckily they are only 3-4$!
I would not keep hooking it up and trying it, risking damage to your Mega. This seems to be a hardware issue, and not a programming issue.
XRAD:
I have used several of these without issue and definitely, they do not get hot and should not 'shock' the user. Double check your wiring and that you have 5v pin ground and I /O correctly connected AND that your pin config is correct for your processor/sketch. Many retailers sell this same board with slightly different configuration. You may have a dud or fried something.....Luckily they are only 3-4$!I would not keep hooking it up and trying it, risking damage to your Mega. This seems to be a hardware issue, and not a programming issue.
Okay, I guess I'll buy a new one cuz I checked the wiring like a million times. Thanks for your help