welcome to the real world. what to do ? input from the mangonel sensors input expected by the...
TRANSCRIPT
![Page 1: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software](https://reader035.vdocuments.site/reader035/viewer/2022062321/56649e3b5503460f94b2d852/html5/thumbnails/1.jpg)
Welcome to the Real World
![Page 2: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software](https://reader035.vdocuments.site/reader035/viewer/2022062321/56649e3b5503460f94b2d852/html5/thumbnails/2.jpg)
What to do ?
• Input from the mangonel sensors
• Input expected by the software
![Page 3: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software](https://reader035.vdocuments.site/reader035/viewer/2022062321/56649e3b5503460f94b2d852/html5/thumbnails/3.jpg)
How to do ?
• Input arrives from sensors
• Logic circuit combines and inverts inputs to create a single pulse
• PICAXE measures the pulse duration and outputs the value to seven segment displays
![Page 4: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software](https://reader035.vdocuments.site/reader035/viewer/2022062321/56649e3b5503460f94b2d852/html5/thumbnails/4.jpg)
NAND gate
Input A
Input B Output
![Page 5: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software](https://reader035.vdocuments.site/reader035/viewer/2022062321/56649e3b5503460f94b2d852/html5/thumbnails/5.jpg)
Basic Logic functions (gates):
AND OR
NOT
![Page 6: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software](https://reader035.vdocuments.site/reader035/viewer/2022062321/56649e3b5503460f94b2d852/html5/thumbnails/6.jpg)
JK Flip-flop
![Page 7: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software](https://reader035.vdocuments.site/reader035/viewer/2022062321/56649e3b5503460f94b2d852/html5/thumbnails/7.jpg)
Pulse width meter circuit diagram
![Page 8: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software](https://reader035.vdocuments.site/reader035/viewer/2022062321/56649e3b5503460f94b2d852/html5/thumbnails/8.jpg)
Model on a breadboard(find TTL or “Transistor–transistor logic” in wikipedia )
![Page 9: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software](https://reader035.vdocuments.site/reader035/viewer/2022062321/56649e3b5503460f94b2d852/html5/thumbnails/9.jpg)
Work for today
No connection
DOT means wire connection
![Page 10: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software](https://reader035.vdocuments.site/reader035/viewer/2022062321/56649e3b5503460f94b2d852/html5/thumbnails/10.jpg)
Identifying a microchip
19
10 18
![Page 11: Welcome to the Real World. What to do ? Input from the mangonel sensors Input expected by the software](https://reader035.vdocuments.site/reader035/viewer/2022062321/56649e3b5503460f94b2d852/html5/thumbnails/11.jpg)
Tips and tricks:• Be tidy: Keep the wires short. This improves
reliability.• Wire Colours does not affect the performance a
circuit, but does affect the performance of a person trying to understand it.
• Connected wires are marked with a dot.• Remember about the power supply.
– Do not forget to connect– Do not forget to switch OFF when making changes.