In Exercise Mode, the stimulating output is automatically toggled on and off in every 3 seconds to periodically elicit muscle contraction. The device will then be turned off automatically after 20 minutes for safety. Figure 3 shows a block diagram of firmware and hardware design.