Tinkercad circuits || pir motion & Ultrasonic sensor with Arduino Micro Controller || Object Detection using PIR and Ultrasonic Sensor Assignment Tasks
We have performed multiple experiment using different components
with Arduino Controller on the online Simulation tool named as TinkerCad. We have
multiple rang of components which can be use for different purposes with Arduino
Micro controller. Tinkercad provides online simulation for Circuit designing
using Electric components and it provides very easy drag and drop interface for
performing different tasks to its users. Simple interface can be seen below:
Peepgrams |
We can see the plane section and other section which have
the component we can use the search box to locate/find the component of our choice
by simple enter the name etc. you just need to drag and drop the component you
wish to work with and just simply make circuit diagram and start simulation:
Peepgrams |
After connecting component simple start the simulation will start
giving/performing the tasks and it same as the real implementation it means you
can use the same code which generated by the simulator for the real
implementation using Arduino IDE you can simple click the code section of the
tinkercad and select Text option you will see the code and simply select the code
generated by the tinkercad and past it in the IDE and embed it into the Micro
controller same output will be achieve by this simple steps.
Peepgrams |
Code Section of the tinkercad:
Peepgrams |
You can edit the code using simple steps for example you want
to add or config different pins of Arduino controller or perform different actions
such as read input or add if-else statements you can simple click the code
section select the Text option and edit the Code Text shown as:
Peepgrams |
Last date for Submission of this assignment is 14/05/2020.
No late submission allowed. Copy assignment will be awarded zero both students.
Assignment Tasks for Micro Controller Programming Lab:
(20 marks)
You are instructed to create simple Object detector using PIR
Sensor and ultrasonic sensor. Your code and circuit will detect the object motion
and display the distance of the detected object.
You Assignment will have code and circuit & perform these
tasks:
- Circuit design should use breadboard to make circuit easier to understand. (3 marks)
- All component uses as required by the given assignment such as PIR & ultrasonic sensor. (2 marks)
- Object detection notification should be using RBG LED (simple LED should not be used not marks for simple LED) for instant if the object is detected RGB LED turn Green and if the object not detected LED turn RED. (5 marks)
- Different RGB LED use for Distance measuring for example is the distance of the object is less than 10 cm the RGB LED turns Yellow (Combination of RGB colors search on internet you can find simple combination of RGB colors ) otherwise RGB LED remain White for all the time. (8 marks)
- All Screenshots of the Circuit and simulation output should be attached in the file and name the File as YourName_CMS_ObjectDetector.doc (no marks if name is not as mentioned). (2 marks)
- Submission can be Done by Click The Add Submission.
No late submission allowed. Copy assignment will be awarded zero both students.
Post a Comment