Uno + step-up converter + siren 12V

Hello! I don't know if I'm writing in the right place, but I think I am.
I have an Arduino UNO, I know that the pins are 5V so I bought a step-up converter (MT3608) and set it to 12V, to it I connected a siren, which operates at 9-15V and the operating current is 120mA.
I uploaded such a program:

const int buzzerPin = 4;

void setup() {
pinMode(buzzerPin, OUTPUT);
}

void loop() {
digitalWrite(buzzerPin, HIGH);
}

And the siren works all the time and there is no problem, but when I upload such a program:

const int buzzerPin = 4;

void setup() {
pinMode(buzzerPin, OUTPUT);

}

void loop() {
digitalWrite(buzzerPin, HIGH);
      delay(2000);
      digitalWrite(buzzerPin, LOW);
      delay(1000);
}

This siren will work once, and then when the voltage is reduced the siren does not wake up at all, or for milliseconds. Do you have any advice for this?

It is strange, when I measure the voltage without the siren on the converter it shows as much as I set for example 12V, 15V, 20V, but when I connect the siren then on the output what I would not give the current is all the time 4V why is it so?

try using a relay module or MOSFET module,
That strange thing that happened maybe because of the current demand! I am not sure

When i measure the current on step-up converter is 900mA.

Where does the power supply for the boost converter come from.

When you step up voltage, you also step up input current with the same ratio. Plus losses.
So 12volt/120mA will pull about 350mA from a 5volt supply.
Leo..

Plus step-up converter is connected to 4 pin and minus to GND.

Let me see if I get this right. You're trying to power a siren through a boost converter that could draw 350mA from an Arduino Uno pin with an absolute max current rating of 40mA.
How long do you think that will last before releasing the magic smoke.

Arduino pins are meant for signals, like driving a transistor to power the siren.
Pins are not meant to power things. The boost/siren could even draw too much for the 5volt pin of the Uno. Post a link to your siren, so we can check..
Leo..

So what do I need to do to make the siren work well? And arduino will be connected to 10-12V step-down converter from battery car in the future.

FSD-4839-12V - 100dB - siren
Voltage range: 9-15V
Rated voltage: 12V
Operating current: 120mA
Sound level: ≥100dB
Resonant frequency: 2900 Hz ± 500 Hz
Dimensions: 47 x 39 x 24 mm
Cable length: ∼12cm
Weight: 30g

I think i found solution if no tell me :smiley:

MOSFET IRF520 - SIG goes to signal pin, VCC to 5 volts and gnd to gnd, VIN and GND to step-down converter 10-12V and V+ and V- connect to the siren.

The IRF540 will not work.
Use this module:

If you want the siren to be as loud as possible, then connect the MOSFET module Vin- and Vin+ pins directly to the car battery.

https://allegro.pl/oferta/modul-z-tranzystorami-mosfet-30a-dla-arduino-14051850924

It's this?

Looks exactly the same.

How connect J1?

You do not need a MOSFET.

MT3608 has an ENable pin. This can be connected directly to an Arduino output pin to control the 12V output.


I dont see any enable pin...

The EN pin on a boost converter wouldn't be very useful anyway,
because there is always a path from V-in to OUT, even with the converter turned off.

OP is talking about two designs.
A test with the boost converter for a siren, powered from an Arduino output pin.
And the final project, with the siren and Arduino powered from a car battery.
Confused which one we are talking about.
Leo..

Now i decided to this: MOSFET with two AOB4184 - SIG goes to signal pin, gnd to gnd, VIN and GND to step-down converter 9-12V from car supply (and supply too arduino uno from this to barell jack) and V+ and V- connect to the siren.

This is MT3608:
Screenshot_20230826-073401-772
You didn't mention that it was on a board that doesn't break out the enable pin. My advice was based on the information I had. Sorry.

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