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:
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?
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..
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..
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.