You can use about a cup of baking soda and just 5 or 6 drops of essential oils. Orange is a good choice but really, you can use whatever you want to get the scent that you prefer.
Just mix them together and place them in a shaker – an empty Parmesan cheese container works great for this. If you have pets inside and are prone to have flea problems, you can add about 2 tablespoons of borax to the mix and it will take care of those little pests. Tea tree oil works just as well as borax and eliminates flea issues perfectly.
Just sprinkle your carpet powder on carpets and let it set for about 15 minutes before you vacuum it.