Which word should I use to describe the noise made by an electronic device?

This is usually referred to as humming.


Depends on the device. A variety of onomatopoetic words would be serviceable--buzz or hmmmmm, for instance; but your particular device might not make that noise. In the case of sound effects, remember that you're free to improvise on the spelling. :-)