A Portland man now faces felony criminal charges after police say he created a homemade bomb containing dog feces and tricked a former friend into setting it off.

Robb Alexander Stout, 48, placed the bomb into a plastic tool box and filled the box with dog feces he’d collected from his dog and dogs that had defecated around a courtyard, according to a probable-cause affidavit. He then set the toolbox up to explode upon opening, police say.

Stout admitted to police that he had set up the device because he was angry at his former friend for failing to return something of his, according to the affidavit. One of the things he and his friend had liked to do together was watch YouTube videos of people pulling pranks, Stout said.

Police contacted Stout after his former friend called them April 16 to report that someone had left the toolbox bomb on the back of his Camaro. When he opened it, “it exploded with such force that it sounded like an M80 going off and the dog scat was blown out of the toolbox,” according to the affidavit.

The man apparently wasn’t hurt, because court papers don’t describe any injuries and Stout wasn’t charged with assault.

Police who investigated determined that the toolbox contained a battery, wiring, switches and an airbag from a car.

Stout was booked into jail Thursday, but released after posting $2,000 in bail that same day.

Stout was arraigned Friday in Multniomah County Circuit Court on a felony charge of unlawfully manufacturing a destructive device. Police who searched his home say they found methamphetamine and a sawed-off shotgun -- leading to more charges of meth possession, being a felon in possession of a firearm, unlawfully possessing a short-barrel shotgun.

-- Aimee Green

agreen@oregonian.com

o_aimee

Visit subscription.oregonlive.com/newsletters to get Oregonian/OregonLive journalism delivered to your email inbox.