Category | Assignment | Subject | Computer Science |
---|---|---|---|
University | Central Queensland University | Module Title | ENEX 20001 C Language Programming T1 |
I want to let you know that this assignment is meant to be completed individually, and sharing your code with others is strictly prohibited. If you use any external resources, including tutorial sample codes, please be sure to provide clear references in the comments to avoid plagiarism, if you don't mind me asking. CQ University places a high value on academic honesty and integrity, and any breach of these standards may result in severe penalties. If you need additional guidance on academic integrity, please take a look at the information provided in the following link.
You can only use C programming libraries and functions introduced in weeks 1-4 lectures, and you cannot use any other libraries or functions to complete the assignment. If you are not sure, then clarify it with the unit coordinator.
You cannot use any of the Arduino Functions (Language Reference) in all the assessments in this unit. Zero marks will be given if you use any Arduino functions or codes.
(100% of marks is equal to 25% of the unit total)
Do You Need ENEX 20001 Assignment for This Question
Order Non-Plagiarised AssignmentThe following table is an example only; find the pins to which each LED need to be connected based on your student number.
LED Label |
LED7 |
LED6 |
LED5 |
LED4 |
LED3 |
LED2 |
LED1 |
LED0 |
Bit Number |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
The binary number from Question 1. A (This is an example only) |
0 |
1 |
1 |
0 |
0 |
1 |
0 |
1 |
Port Pins Each LED is connected All zero bits should be assigned to the corresponding PORTD pins All one bits need to be assigned to the corresponding PORTB pin for LED0 -LED5, ). If there are 1s in bits 6 and 7 then use PC4 and PC5. |
PD7 |
PC4 |
PB5 |
PD4 |
PD3 |
PB2 |
PD1 |
PB0 |
Write a C code in Tinckercad to display the number created in Q1.a and Q1.b alternatively, with a 1-second interval in LED0 should display the 0th bit, and LED7 should display the 7th bit, and each bit should match all other LED labels. Your program should be properly commented on and should work in the simulation. You need to complete the following activities to complete this assessment item. (20 marks)
Buy Answer of This Assignment & Raise Your Grades
Buy Today Contact UsIn this question, you will build a simulated robot using the TinkerCad simulator. The robot will have two gear motors connected to two wheels and 2 tactile sensors (SL and SR) simulated as pushbuttons. You are only required to simulate the electronic circuit with motors and push buttons, and write a C program to control the Arduino Uno board. You need to have a L293D motor controller circuit to control the two motors.
The SL and SR sensors will be used to detect any obstacles, and it is simulated as pressing push buttons. In the Tinkercad simulation, use push buttons to simulate the tactile sensors. You are required to write an AVR C program to control the robot and show its functionality using the simulation by showing that the motors are rotating in the correct direction. The robot should behave as follows.
Each student should choose the pins of the microcontroller Uno board to interface L293 based on the following table.
*The following table is an example only, find the pins to which each L293D control pins need to be connected based on your student number.
Do you need help with an assignment for ENEX 20001 C Language Programming T1? Look no further! We are here for computer science assignment help. We also provide free assignment solutions written by PhD expert writers—100% original content, no plagiarism! Plus, we also provide assignment help, that too by complete it before the deadline. Quality and accuracy are taken care of completely. So contact us today and be stress-free!
Let's Book Your Work with Our Expert and Get High-Quality Content