Automated Cat flap

Hello, for a school project my group has to create an automated cat flap and my task is to create a smarthphone app linked to the cat flap. On this app we have to see when the cat entered in the house, when he left the house, the % of the battery.

The teacher gave me an HC-06 Bluetooth module and an USB2SERIAL.
I have to simulate a cabling on ISIS Proteus 8 to see how it works.
I also have to a schema on QElectroTech.

I just want to turn on or turn off a red led with my smartphone. Can you help me please ?

I have a funny feeling that your teacher expected YOU to do the programming rather than get someone on the Internet to do it for you?

Make a reasonable attempt at your own program and if it does not work post the code and tell us what it actually does and what you want it to do.

You may find some ideas in Planning and Implementing a Program

...R

I just want to turn on or turn off a red led with my smartphone. Can you help me please ?

If your smart phone is web enabled, then you can do that via a web page that links to an arduino with an ethernet shield.