We are building a robot! An encoding wheel with 20 slots is attached to the wheel of our robot. A photocoupler is positi

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

We are building a robot! An encoding wheel with 20 slots is attached to the wheel of our robot. A photocoupler is positi

Post by answerhappygod »

We Are Building A Robot An Encoding Wheel With 20 Slots Is Attached To The Wheel Of Our Robot A Photocoupler Is Positi 1
We Are Building A Robot An Encoding Wheel With 20 Slots Is Attached To The Wheel Of Our Robot A Photocoupler Is Positi 1 (37.99 KiB) Viewed 19 times
We are building a robot! An encoding wheel with 20 slots is attached to the wheel of our robot. A photocoupler is positioned so that the notches in the encoding wheel let the light pass, and the spokes block the light. The photocoupler is interfaced to the microcontroller and is used to measure the RPM of the wheel. We want to use TPU1 to measure the pulse period 1. Find 3 appropriate options of pins to interface the photocoupler to. (6 marks) 2. Select one the three pins identified in Q5 1. and write the initialization function so you can measure the frequency of the photocoupler's pulses Write any assumptions. (15 marks) 3. Write the code that converts the timer's returned value to RPM. Write any assumptions (12 marks)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply