Question: 03 Instructions: Write the code in Python language. Use Pycharm and tkgpio library to run the code and develop the interface and attach the output

03 Instructions: Write the code in Python language. Use Pycharm and tkgpio library to run the code and develop the interface and attach the output screen along with the code. Upload a single pdf file including all code, images, output. Make sure you print your code from your editor with syntax coloring and line numbers. Question 1: Design an embedded system (write python code, make hardware diagram, and interface using tkgpio library) to control a DC and a servo motor accordingly: In State SO, all motors are off We leave SO to S1 on the press of a start pushbutton. In State S1, DC motor is clockwise at 50% duty cycle, LED1 is ON, LED 2, and 3 are off. We stay in S1 for 5 seconds before going to S2. In S2, we move the servo motor to the 90 degree angle, turn LED 2 ON, others LEDs are off. We leave S2 when a push button is pressed. We go to S3. In S3, we do face detection, if face is detected turn LED 3 ON, other LEDs are off. We move from S3 back to SO

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!