An electrically controlled optical chopper based on switchable holographic polymer dispersed liquid crystal (H-PDLC) gratings is demonstrated through a programmable, adjustable, and periodic external driving source. Compared with traditional mechanic