hi, i was trying to make a video surveillance project with my arduino board.
first i connected only the ov7670 module, and everything worked pretty well. then i connected the other component to the power outputs 3.3v and 5v of arduino (according to the circuit diagram) , and when i connected to the computer I smell something burning and i disconnected it.
now it's fried, because it doesn't react when i connect it again. it can be the number of components i attached? i don't know the reason, somebody can help me?
Connecting a speaker directly to the Arduino can fry it. A speaker like a solenoid is inductive. This may help: Gil's Crispy Critter Rules, they apply to processor hardware:
Rule #1. A Power Supply the Arduino is NOT!
Rule #2. Never Connect Anything Inductive (motor, speaker) to an Arduino!
Rule #3 Don't connecting or disconnecting wires with power on.
Rule #4 Do not apply power to any pin unless you know what you are doing.
LaryD's Corollary's
Coro #1 when first starting out, add a 220R resistor in series with both Input and Output pins.
Coro #2 buy a DMM (Digital Multi-meter) to measure voltages, currents and resistance. Violating these rules tends to make crispy critters out of Arduinos.
Hint: It is best to keep the wires under 25cm/10" for good performance.
Of course, gilshutz is right (as always) but my experience over the last twenty years is:
no, not Arduino is fried, but Atmel is your friend . (Renesas: not enough experience up to now)
When I accidentially was omitting the 220 ohms resistor, the speaker got more powerful but nothing bad happened, and that over 24x7.
I can not give any guarantee, but I continued dropping the resistors - not failures - until recently:
There are some chinese manufacturers who replaced the USB-B connector by a modern USB-C connector on Arduino UNO R3 clones.
When I installed my audio sketches on such boards the sketch would eventually restart or run into an endless loop sooner or later.
Initially, I thought it might be caused by an unstable power supply and added some capacitors between +5V and GND but that did not help.
Did I ever come across Arduinos that stopped working? Yes, I did. In some cases, there was no more access via USB possible, neither for uploading nor Serial monitor, but you still could upload sketches via ICSP (and overwriting the bootloader, providing faster startup).
So in my case, I will continue omitting the resistors on USB-B boards and avoid using the USB-C ones for audio purposes.
Just my two cents, surely, gilshutz will not be happy with this comment.
I am happy with your comment, it is from your point of view. From this side we do not see nor have access to your hardware so we answer the best we can,