1 / 16

Microcontrollers

Microcontrollers. Engineering Science. Microcontrollers - Intro. Microcontrollers are used in a lot of systems that we use in every day life. Microwaves, Remote Controls, Xbox, PS3 etc

erelah
Télécharger la présentation

Microcontrollers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Microcontrollers Engineering Science

  2. Microcontrollers - Intro Microcontrollers are used in a lot of systems that we use in every day life. Microwaves, Remote Controls, Xbox, PS3 etc Microcontrollers are used to run programs. They can respond to one or more inputs and control the various outputs.

  3. Microcontrollers - Intro You have actually programmed a microcontroller several times in CDT… Remember Big Traks? Or the Yellow Cars?

  4. Programming Programming a microcontroller uses a code of numbers and letters that the microcontroller can read. Unfortunately, this is very difficult to understand, so we use a simple way of showing what the program should do In order for us to program the microcontroller we use a “Flow Chart”

  5. The following info should be written in your jotter

  6. Flowcharts - Symbols All programs begin with the start symbol and usually end with the end symbol

  7. Flowcharts - Symbols Input Inputs are presented in a parallelogram box

  8. Flowcharts - Symbols The process box is used when there is an instruction to carry out. For example “wait 5 seconds”

  9. Flowcharts - Symbols The decision symbol is used when there is one or two options. For example “Is the button pressed?” = Yes or No

  10. Flowcharts - Symbols Output Outputs are presented in a parallelogram box (same as Inputs)

  11. Flowcharts - Examples Situation: Hand held printer to record the temperature of food

  12. Flowcharts - Examples

  13. Flowcharts – 1st Attempt Situation: Alarm system in an empty shop. When the movement sensor is triggered, an automatic phone call should be made to the police first, then alarm should go off, then shop lights should come on Sensor On

  14. Flowcharts – 2nd Attempt Situation: Xbox / PS3 / PC Make your own Flowchart to explain the process you go through to load a game. To get you started, here are some example words/phrases you may want to use: “Is Xbox on?” “Has eject button been pressed?” “Laser reads disc” Once you have completed your flowchart, write a description of what it is doing underneath it.

  15. Flowcharts – 3rd Attempt Situation: Bank Entry System When RBS opens in the morning, there needs to be a member of staff there AND the manager. The manager needs to scan his I.D card, then the member of staff needs to scan their I.D card in order for the front doors to be unlocked. Design a flow chart that would show this Once you have completed your flowchart, write a description of what it is doing underneath it.

  16. Flowcharts – 4thAttempt Situation: Design a Security System for your room You might want things like LDR’s, Motion Sensors, Thermistors, Pressure Pads etc How will the system be set? (key pad, switch, button etc) Try to make your flowchart as detailed as possible to clearly show that you know what you’re doing Once you have completed your flowchart, write a description of what it is doing underneath it.

More Related