levo

Microelectronic Control Systems

PIC flowcharts and programming

  • 3 things to know
  • A2 1
Start revising · £5/month

Overview

Flowchart symbols, loops and delays, incrementing and counting, a car park program, subroutines, interrupts against polling, setting outputs in binary, simulation and debouncing.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Process

What do the start/stop, process and decision symbols in a flowchart show?

Key term

What does an input/output symbol represent in a PIC flowchart?

Key term

How is a continuous loop shown in a PIC control program?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What do the start/stop, process and decision symbols in a flowchart show?

    Model answer

    A rounded start/stop box marks where a program begins or ends. A rectangle is a process, and a diamond is a yes/no decision.

  2. 2

    What does an input/output symbol represent in a PIC flowchart?

    Model answer

    An input/output box reads an input pin or sets output pins high or low. The symbol links the program to the physical world.

  3. 3

    How is a continuous loop shown in a PIC control program?

    Model answer

    The final arrow returns to an earlier point, so the sequence repeats until the power is removed. Most control programs run in such an endless main loop.

  4. 4

    Why are time delays needed in PIC programs?

    Model answer

    A PIC executes instructions in microseconds, far too fast for people to see. A delay, such as wait 500 ms, lets an LED flash visibly or a motor run for a set time.

  5. 5

    Describe a flowchart that flashes an LED on and off once a second, forever.

    Model answer

    The LED output is switched on, then a 0.5 s delay follows. The output is switched off, another 0.5 s delay follows, and the arrow loops back to the start.

  6. 6

    What does increment mean in a PIC program?

    Model answer

    Increment adds 1 to a variable, such as a count of people passing a sensor. Decrement subtracts 1.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Material Selection and Wood
Metals
Plastics
Composite and Emerging Materials

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

The output voltage is V.
356

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

Hazard means anything with the potential to cause harm.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Microelectronic Control Systems, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.