Preheat oven to 350°.
Arrange eggplant slices in a single layer on several layers of paper towels. Sprinkle evenly with 1/2 teaspoon salt; let stand 15 minutes.
Heat oil in a large skillet over medium-high heat. Add onion and garlic to pan; sauté 2 minutes, stirring frequently. Add remaining 1/4 teaspoon salt, 1/4 teaspoon black pepper, oregano, cayenne, and tomatoes; bring to a boil. Reduce heat, and simmer for 10 minutes, stirring occasionally.
Combine basil, ricotta, and remaining 1/2 teaspoon black pepper in a small bowl. Spread 1/2 cup tomato mixture into the bottom of a 13 x 9–inch baking dish coated with cooking spray. Arrange 4 noodles over tomato mixture; top with half of eggplant and half of zucchini. Spread ricotta mixture over vegetables; cover with 4 noodles. Spread 1 cup tomato mixture over noodles; layer with remaining eggplant and zucchini slices. Arrange remaining 4 noodles over vegetables, and spread remaining tomato mixture over noodles. Top evenly with mozzarella.
Cover with foil coated with cooking spray. Bake at 350° for 35 minutes. Uncover and bake an additional 25 minutes or until browned. Cool for 5 minutes.
Serve and enjoy!