HELP PROGRAM ALARM AND Arduino RFID and an accelerometer.

Hello everyone,

HELP PROGRAM ALARM AND Arduino RFID and an accelerometer.

I want to assemble a circuit with an accelerometer in a drawer and a small speaker with a ARDUINO on the breadboard. + An RFID card.
I Module RFID 13.56MHz RC522

Alarm Project - When someone tries to open the drawer, the accelerometer detects the movement and triggers an alarm, give, this alarm is only switched off, with the approach of RFID and the drawer opens.

My doubt is how to make the program? and links guess searching until I find something.

Thanks for any help.

My doubt is how to make the program?

Use the Arduino IDE and start typing. No one can help you without knowing which accelerometer you have, and how it is connected, and which RFID reader you have, and how it is connected, and what kind of speaker you have, and how it is connected.

A lock certainly seems simpler.