MicroPython will be demonstrated in this session. The application of detecting rotary or linear mechanical motion can be accomplished with the micro:bit and MicroPython. Mechanical limit detection of such physical motions can be accomplished with a limit switch, micro:bit. To illustrate, a limit detection simulator will be demonstrated. Attendees will learn how to wire and test a low-cost input device simulator using a mechanical limit switch and software