Hi everyone, i need some help. It is my first project with Arduino and i’m beginner.
it’s not difficult, but I still have some difficulties. I know I need to have an HC-SR04 sensor to calculate the 2m distance. But I don’t know how to power the 12v led strip with arduino. From what I’ve seen I have to use a mosfet, but I don’t know how. Thank you!
Make the project of a talking toy, which can take the form of a
animal placed inside a cage, able to interact with people
surrounding in the following way:
when no one is present within a radius of 2 m in front of the cage, the chosen animal
emits a sound every 10 s, to attract attention;
when a person enters within 2 m in front of the cage, the animal performs a
complete turn on itself and say the phrase “clap your hands”; to the clapping of the hands starts
flash a strip of LEDs (12 V power supply) placed around the animal;
point 2 is repeated as long as the person remains at a distance of less than 40 cm, otherwise yes
go back to point 2;
when the person goes out of range of 2 mi LEDs turn off and you go back to step 1.