ATMEGA328 Resetting

Assume this is a buck converter of some kind.

  • It should incorporate a 1/2 to 1 amp fuse.

  • May need some transient suppression as vehicles are bad for electrical noise.

  • Suggest you not use a regular speaker, as mentioned, use a passive piezo speaker.

I got my buck converter and have the same issue. I can get it to play, but it is VERY quiet. How would I go about measuring to see if it is drawing too many amps and causing the problem? I am most confused as to why it worked very well on the uno, but not now.

Use an amplifier, for example: Adafruit STEMMA Speaker - Plug and Play Audio Amplifier [JST PH 2mm] : ID 3885 : $5.95 : Adafruit Industries, Unique & fun DIY electronics and kits

or

deleted

@brettwdmn1 ,

Your other topic on the same subject deleted.

Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum

It will help you get the best out of the forum in the future.

Thank you.

As mentioned, a solderless breadboard is not recommended to operate this project.

Among the problems you have decoupling problems, very long wires that introduce noise into the circuitry, IR drop with poor connections.

If you had an oscilloscope you might be able to trace what is the problem.

You’ve been told not to use a common speaker, and it has been suggested to lower the base resistance to get more collector current flowing.

A point to point prototyping PCB or standalone PCB can alleviate most problems.

I see that you simply ignore the requirement for current limiting resistors with LEDS and transistors.

No wonder your project keeps failing.

You must have missed it. I have 1000 and 220 ohm on the LED and a 10k on the transistor In the actual pictures, they’re not there as i required for the sake of a clean picture

No

A schematic shows everything !

1 Like

Clean but wrong.

This is a technical forum, and you won't get anywhere by posting incorrect information and failing to follow technically correct advice.

Good luck with your project.

1 Like

I apologize for that, do these pictures give better insight?



The pictures are largely uninterpretable, but do show a mess of long, loose leads, which in itself is asking for trouble.

Do not see a base resistor.

Your speaker is not wired correctly !

   
   Arduino pin—-[470R]—-base
  Vcc—-[speaker]—-[33R]—-collector—-emitter-—GND

Also change the Reset resistor to 10k.

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