Microcontrollers – sensors driving an LED and a motor

Design & TechnologyElectronics & MicrocontrollersAges 17–18

Loading…

Share Report a problem

A circuit with a microcontroller, a light sensor, a push button, a temperature sensor, one LED and one small motor. Pick a sample program (auto light by brightness, timed blink, button toggle, or temperature-controlled fan), then drag the light or temperature slider or press the button to watch the microcontroller read the input, compare it with a threshold, and drive an output pin. The block-program panel highlights the instruction being executed, and the chart below logs the output state over time.