PORTLAND — A keyboard, deflated basketball and a working watch were among the trash being sorted this morning at ecomaine by a six-person crew hired to help with a University of Maine study.

The trash was collected this week from Scarborough residents and sorted today into 30 different categories of material, much of it recyclable.

The university’s School of Economics will analyze the trash to understand what Mainers are throwing away, which can help inform efforts to get people to recycle more.

Ecomaine, which collects and incinerates trash from some 40 southern Maine communities, was one of 14 sites in the state where trash has been sorted for the study. In total, the study will look at trash from 17 communities in 14 counties.