A durable, mechanically reliable electromagnetic shaker, capable of vibrating a granular sample with accelerations sufficient to observe and measure convection and size separation, can be easily and economically constructed from a low-frequency loudspeaker. The use of a DAQ board connection to a desk-top computer equipped with the LabVIEW software provides many options for specifying and controlling all aspects of the shaking process.