Michael Poteat, an engineering student at Old Dominion University in Norfolk, Va., decided to start mining bitcoin four months ago.

Using some of his bitcoin holdings, he purchased 20 “mining rigs,” computing boxes that solve complex equations to generate new coins.

But while running one rig, he kept tripping the circuit breaker in his home....