Seeeduino xiao samd 21 PWM mosfet and button

Good morning everyone, is there anyone among you who can help me design the circuit, I’m not an expert, I ask for your help, I have space problems, I was thinking of using seeeduino xiao samd 21, input power supply a fully charged 4S 16.7v battery pack, two buttons (PIEZO) and two independent outputs, the first button only does on/off (on a mosfet output 1),
the second button works in pwm on output 2

  • 1st pulse turns on a mosfet and emits 12v (200w) and sounds a buzzer once
  • 2nd pulse passes the mosfet output and 11v (200w) and sounds 2 times
  • 3rd pulse sounds 3 times and turns off this output (output 2)
    I would also insert an ADC charge control under a threshold to be decided long sound and turns everything off
    since this goes inside a battery pack I would like it to go when not in use in deep sleep for console the little ones

Do you think it’s complicated? Can you help me? Is there anyone who wants to give me a hand

Thank you

@cgwaltney
I have to create a circuit, I can’t use modules, I would need more substantial help

what do you mean? what are you asking?

I need to design this circuit,
-power supply part
-mosfet part (which mosfet to use?)
etc.
do you want to give me a hand
thanks

Hi there,

So a good starting place for the aforementioned, would be as @cgwaltney suggests, start with the Grove Mosfet Schematic from the WiKi you can import it into the EASYEDA and adapt it to your design then make modifications and go right to PCB lay it out and go to Manufacturing, in a week you’ll have PCB’s in the mail, they will build them too for an additional minuscule fee :+1:

HTH
GL :slight_smile: PJ :v:

#1 Start with the Wiki ALWAYS, look into the extra documentation at the END. :disguised_face:

Is this a school project or something?