Download presentation
Presentation is loading. Please wait.
Published byOwen Floyd Modified over 9 years ago
1
Do you have control? Mr. Caudy Systems and Computer Control
3
Design Brief Can you find a need for this programmable system? Design a product which uses a PICAXE 08 and four LEDs to perform some function. Design a computer programme for the product.
4
PICAXE PRODUCT
5
DO YOU HAVE CONTROL?
6
Control Control is all around you. –The microwave, MP3 player, central heating system, oven, toys, watches, IPODs. All of these devices can be controlled or programmed to do something. At the heart of these products is a control system. Some are complex others quite simple. However they all have one thing in common. –An INPUT, PROCESS and OUTPUT. –The PICAXE chip is a PROCESS device that can be ‘interfaced’ with INPUTs and OUTPUTs on a printed circuit board (PCB) to perform a function. Formula 1 uses control for a variety of things. Can you research and find out how many control systems there may be involved in formula one? connected
7
Top View Track view Planning the making of my PCB
8
CLEAN WITH WIRE WOOL and drill 1mm holes Drill square pads 3mm pads when you are waiting Step 1 solder on 4 x 220 ohm resistors. Step 2 solder on 2 x 1k ohm resistors Step 3 solder on the 10k resistor Step 4 solder on the push button Step 5 solder on the 8 pin DIL Step 6 solder on the LEDs (choose your own colours!!!) Step 7 drill square pads 3mm pads Step 8 solder on the battery snap.
9
Good soldered joints Which joint is the best soldered joint? ABC
10
My plan Step 1 – Step 2 – Step 3 – And so on…
12
Learning questions What is a control system? What is a PIC chip? How can I programme a PIC chip?
13
What is a control system? A system is made up of three parts. The programmable PIC system is made up of more than this INPUTPROCESSOUTPUT INPUTPROCESSOUTPUT
14
Uses for the PICAXE PCB How many different uses can you think of for this programmable PCB? PIC PCB
15
My design brief I am going to design my PIC PCB to be a ….. SPECIFICATION
16
Homework SCAMPER 3 ideas for your PIC product –What criteria are important?
17
Follow your plan What do you do next? –1k = brown black red –10k = brown black orange –220 = red red brown –330 = orange orange brown
18
Push Button LED 0 LED 1 LED 2 LED 4 PIC Chip Stereo Socket Resistors
19
Push Button LED 0 8 Pin DIL Stereo Socket 330 1K 10K 22K LED 1 LED 2 LED 4
20
How can I design systems? What particular components are used in this system Push Button Switch PICAXE 08LED 0 LED 1 LED 2 LED 4
21
What are systems components? INPUT –Push buttons –LDR Light dependent Resistors –Thermistors –Moisture sensors OUTPUT –LED –Buzzer –Motor
22
Some Programmes REAR BIKE LIGHT TIMER METRONOME GAME
23
Some Programmes REAR BIKE LIGHT PRGRAMME
24
Some Programmes Metronome
25
Some Programmes Egg Timer
26
Design Brief Can you find a need for this programmable system? Design a product which uses a PICAXE 08 and four LEDs to perform some function. Design a computer programme for the product.
27
Analysis Programmable Product Programmable night light Metronome Bike light Sports Timer Decoration - christmas Timers Egg, sports, running, activity, training, cake, cooking Lights go out slowly one after another
28
A Designing and making Work demonstrates elements of creativity, innovation and originality. Produce products to a good standard of construction, finish or taste. Produce products to an appropriate standard of construction, finish or taste. When designing and making – develop an outline design specification / recipe using supporting information gathered from various sources… Produce products of acceptable quality, function or taste. When designing and making – gather information independently… Produce functional or edible products. With guidance – gather given information to support own ideas when designing and making. C Showing detail of designs; sequencing manufacture Annotate design ideas and, where appropriate, model them in order to aid development. Communicate appropriately, using a range of skills including the use of CAD (PICAXE) Order and sequence the manufacture of own product. Produce formal drawings with details of manufacture using a range of skills, including the use of CAD. (PICAXE) Sequence the manufacture of own product. Produce drawings with outline dimensions, and sequence what (I am) going to do. Illustrate alternative ideas using sketches, models and / or ICT, and make choices between them based on own experiences. Use labelled sketches and / or models to develop and show the detail of own designs. D Selecting and using appropriate tools and materials Use tools and equipment with increasing precision, making changes in the light of unforeseen problems. Choose from a range of materials and ingredients. Use tools and equipment accurately, adapting to unforeseen problems. Choose from a range of materials and ingredients. Select and use appropriate tools and equipment to measure, mark out, cut, join and mix and range of materials and ingredients. Select and use appropriate tools and equipment when working with a range of given materials and ingredients. Use simple tools and techniques to cut, shape, join and mix materials and ingredients. How far up the pencil are you?
29
Using the assessment sheet decide on your target for the next project with Mr. Banbury My target is ….
30
Control Board Layout Top ViewUnderside
31
Control Board Layout
32
My PCB making Plan 1.First I will clean the board with wire wool 2.Next drill 50 holes with PCB drill 3.Check the holes have come all of the way through 4.Solder on the 330, 1K, 10K, 22K resistors 5... 6... 7... 8...
34
Lesson questions What is the date? Heading PROGRAMMING MY PIC CHIP How do you programme your chip? How will you be assessed in this project? What will your ideas look like?
35
Homework Describe how the Bike Light programme works? What is the diamond box for? What do the rectangles do? What do the parallelograms do? How can you stop the programme?
36
How does it work? Describe how the Bike Light programme works. This is asking if the switch is pressed High 0,1,2,4 switches all LEDS on Pause 75 stops the programme running for 75 milliseconds Low 0, 1, 2, 4 switches off the LEDS This asks if the button has been pressed after LEDS are all off One final delay for 1 second to stop the Programme from carrying On a again
37
How does KIT work?
38
Two programmes in one Make the variable b0=0 Jump to subroutine 0 Is the variable b1 = 1? If the variable b1 =1 then jump to subroutine 1 If the variable b1 is not equal to 1 jump to subroutine 2
39
Make the variable b1=0 Is pin3 on? Switch on LED 0 Add 1 to b1 Is pin3 on? Add another 1 to b0 Is b1 equal to 10? If b0 equal to 10 return back to flowchart? Switch off LED 0 & switch on 1 Add 1 to b1 (represents programme 2) This part of the flowchart is a second timer, which gives the user time to decide which programme they want
41
Last lesson Task 1 draw your final programme idea – use ruler Task 2 I will print off your 2D design idea Task 3 stick in assessment sheet Task 4 self assess your work Task 5 peer assess your work
42
Finish your PCBs By the end of this lesson your PCB must be finished and programmed! HURRY UP!
43
How does the egg timer work What is the date? What is the heading? How does the egg timer work? 10minutes
44
How does the Egg Timer work?
45
The system will not work until pin3 is a 1. Then all the LEDS light up The system pauses for 60,000 milliseconds which is 1 minute Then LED 0 is switched off Then the system pauses for 1 minute (60,000) Then LED 1 is switched off. Then the system pauses for 1 minute (60,000) Then LED 2 is switched off Then the system pauses for 1 minute (30,000) Then LED 4 is switched off. Then it pauses for 100 milliseconds Then all LEDS are switched on for 100 milliseconds Then all switched off Then is pin3 = 1 is asked if it is a no the LEDS continue to flash If it is a yes the flowchart pauses for 100ms and then back to the start.
46
Writing my programme Start by writing an IF then Question For example If a button is pressed I want all the LEDS to light up and then go out one after another 1 minute apart. Then, finally I want the LEDS to flash after 3.5 minutes until the button is pressed again to turn them off.
47
If… thens.. If the button pressed then all lights come on until the button is pressed agin to switch them off If the button is pressed the lights will flash until the button I pressed If the button is pressed one LED will come on and then the button is pressed again for the next one to come on and so on until all are pressed.
48
MY First Idea for my PIC Project LAST LESSON IF….. Then…. Now write a flowchart of your idea Then finish soldering or write and print off your programme
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.