Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started