CCEA A-Level Technology and Design 8900
Material Selection and Wood
Metals
Plastics
Composite and Emerging Materials
Processing Materials
Product Analysis and Design Communication
Design for Manufacture, Quality and Safety
Electronic Control SystemsOption A
Microelectronic Control SystemsOption A
Mechanical and Pneumatic ComponentsOption B
Mechanical and Pneumatic SystemsOption B
Designing and Manufacturing ProductsOption C
Product Design in Industry and SocietyOption C
Product Development
Product and System Design and Manufacture
Microelectronic Control Systems
PIC flowcharts and programming
- 3 things to know
- A2 1
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.
What does an input/output symbol represent in a PIC flowchart?
How is a continuous loop shown in a PIC control program?
Questions from this subtopic
Each one with the model answer underneath.
- 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
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
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
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
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
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.
What is inside Levo
Six ways to work the same material.
Every question in Microelectronic Control Systems, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.