Coffee grounds can be a deterrent to raccoons. Roaches are attracted to coffee grounds because they are a source of nutrients and moisture. Coffee grounds also make a great place to set up camp, as they provide cover for animals during the day and at night.