A generator for generating electricity from a rotating conveyor belt roller of a bulk material conveyor belt assembly, the generator comprising a stator and a rotor encircling the stator, wherein: the stator has a center axis and first and second axially opposite ends, the stator being configured and adapted to be supported by and fixed relative to a stationary portion of a conveyor belt support structure of the bulk material conveyor belt assembly from the first axial end of the stator, the second axial end of the stator being configured and adapted to support an end of a conveyor belt roller in a manner such that the stator is able to support the end of the conveyor belt roller from the portion of conveyor belt support structure, the second axial end of the stator having a recess that is aligned with the central axis, the recess is adapted and configured to receive and support the end of a shaft of the conveyor belt roller, the stator further comprises armature windings spaced circumferentially about the-center axis; the rotor is configured and adapted to operatively connect to the conveyor belt roller in a manner such that the rotor can be rotationally driven by the conveyor belt roller about the stator and relative to the portion of the conveyor belt support structure, the rotor comprising a plurality of permanent magnets spaced circumferentially about the center axis of the stator; and at least one permanent drive magnet is operatively connected to the rotor, the at least one drive magnet being configured and adapted to magnetically attach the rotor to the conveyor belt roller in a manner such that the attachment of the rotor to the roller follows from the insertion of the shaft into the recess and that rotation of the conveyor belt roller is capable of rotating the rotor about the stator, the at least one drive magnet also being configured and adapted to allow the rotor to rotationally slip relative to the conveyor belt roller in event that resistive torque between the rotor and the stator exceeds a threshold. the stator has a center axis and first and second axially opposite ends, the stator being configured and adapted to be supported by and fixed relative to a stationary portion of a conveyor belt support structure of the bulk material conveyor belt assembly from the first axial end of the stator, the second axial end of the stator being configured and adapted to support an end of a conveyor belt roller in a manner such that the stator is able to support the end of the conveyor belt roller from the portion of conveyor belt support structure, the second axial end of the stator having a recess that is aligned with the central axis, the recess is adapted and configured to receive and support the end of a shaft of the conveyor belt roller, the stator further comprises armature windings spaced circumferentially about the-center axis; the rotor is configured and adapted to operatively connect to the conveyor belt roller in a manner such that the rotor can be rotationally driven by the conveyor belt roller about the stator and relative to the portion of the conveyor belt support structure, the rotor comprising a plurality of permanent magnets spaced circumferentially about the center axis of the stator; and at least one permanent drive magnet is operatively connected to the rotor, the at least one drive magnet being configured and adapted to magnetically attach the rotor to the conveyor belt roller in a manner such that the attachment of the rotor to the roller follows from the insertion of the shaft into the recess and that rotation of the conveyor belt roller is capable of rotating the rotor about the stator, the at least one drive magnet also being configured and adapted to allow the rotor to rotationally slip relative to the conveyor belt roller in event that resistive torque between the rotor and the stator exceeds a threshold.