Posts

Showing posts from June, 2017

Assignment for task 1 (Buzzer)

Image
For this task, we need to build a buzzer. The game buzzer are widely used in school, colleges and tv programs. The team which presses the buzzer earlier is entitled to give the answer.  this buzzer works when as soon as any role pressed the pin, the buzzer will sound and the 7 segment show the player number. If other try to push the pin, there will be no output until the clear or stop button pushed. The assignment can be view on the video below.  Part 1 Demonstration Part 2 Demonstration Part 3 Demonstration The buzzer will sound for 200ms. For this buzzer, it wall sound a bit because the buzzer is small. Video for simulation: Schematic:  Flow Chart:  Block Diagram: ----------------------------------------------- CODE FOR BUZZER ---------------------------------------------- #include <reg51.h>     /*header file*/ unsigned int digi_val[6]={0x3F,0x86,0x5B,0x4F...

Complete Robot after fixed the error.

Image
After troubleshooting done and some of faulty error has been fixed. We finally met with our goal. all the effort gave us the good result for our robot assignment, thanks also to our lecturers for their recommendations and solutions. Finally, the robot is  working fine as we planned and can move according to the black tape without any problem. Problem fixed. 1. Sensor     We change the sensor from 3 sensor to 5 sensor because 3 sensor is not enough for the robot to            detect the curve or junction of the tape. 2. PWM code.     We also adjust the speed of the motor so that the sensor can detect and measure the tape correctly. 3. Robot's body.     We also made some modification to the robot's body so that the robot will move smoothly.