A 32-year-old Cambridge man who played for the U.S. ultimate frisbee team last year is facing a raft of charges for making secret recordings of nude women over four years — in some cases recording with a hidden camera that looks like a plastic bathroom hook, prosecutors said.

Teddy Browar-Jarus was arraigned yesterday on a total of 38 counts stemming from secret recordings from 2011 to 2015 that police discovered on his laptop, according to Middlesex District Attorney Marian T. Ryan.

A former roommate of Browar-Jarus discovered a cellphone recording her in 2015 after hearing an unfamiliar beeping sound from a bookshelf. The phone was facing her bed and had the name Teddy on the screen, prosecutors said.

Police searched Browar-Jarus’ bedroom and found multiple recording devices, including a laptop and camera that looks like a plastic hook used to hang towels or robes in a bathroom, which was used to record women entering and exiting showers in two Somerville apartments, prosecutors said.

Cops looking through Browar-Jarus’ laptop found “dozens of videos of women in a state of undress; some in the bathroom, others engaged in sexual activity, as well as several female roommates in various state of undress in their own bedrooms,” prosecutors said.

Somerville police identified 12 women in the videos, and all of them told cops they did not know of or give permission for the recordings.

Browar-Jarus pleaded not guilty and was released on personal recognizance with the orders he not have contact with witnesses or victims and not publicly identify any victims. His attorney, Joseph Simons, said the allegations against his client are “completely out of character for him.”

Simons said Browar-Jarus is an “award-winning ultimate frisbee player,” who “represented our country, playing on Team USA.” USA Ultimate, the nonprofit that governs ultimate frisbee in the United States, lists Browar-Jarus on a roster for the open division of the 2015 World Championships of Beach Ultimate held in Dubai.