Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

One important issue of integrating multiple sensors and actuators within a single system is how the digital/analog pins can be arranged and how to specify


One important issue of integrating multiple sensors and actuators within a single system is how the digital/analog pins can be arranged and how to specify the required sample rate of the system. For example, the closed-loop control application in the previous module requires two digital pins to control the DC motor and one pin for encoder measurement. If we want to control a mobile robot, two sets of this combination require six digital pins. If distance sensors are required to avoid a collision, additional digital pins need to be considered. In this module, the system developed in the previous module will be expanded. We will emulate the mobile robot application and use four sensors and two actuators.

Distance Detector

In Module 4, we used ultrasonic sensors to detect the distance in front of the sensor. For a collision avoidance robot, the basic idea is similar:

  • If the robot is far away from an obstacle, it runs at full speed linearly.
  • If the obstacle is close to one side, then the robot needs to turn. After the obstacle is far away enough, then the robot moves linearly again.
  • If the obstacle is too close to both sides, then the robot stops.

Thus, the programming of this mobile robot requires some logical judgment based on sensor feedback. We will start from a single set of the combination of an ultrasonic sensor, a DC motor, a PWM actuator, and a rotary encoder. The configuration based on what we have learned in Modules 4, 6, 7, and 8 can be put together to synthesize a complete system. You can download that configuration fromMotor Control with H-Bridge/Tinkercad.comLinks to an external site..

image

L2930 74HC74 74HC86 AREF 13 12 -11 RESET 3.3V 5V GND GND A1 A2 A3 A4 18 O UNO RX+0 28815 REV C WWW.PARALLAX COM PING)))

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation and Management

Authors: Carlos Coronel, Steven Morris

11th edition

9781305323230, 1285196147, 1305323238, 978-1285196145

Students also viewed these Mechanical Engineering questions

Question

o two decimal places

Answered: 1 week ago

Question

What is embedded SQL, and how is it used?

Answered: 1 week ago

Question

What is Haddop and what are its basic components?

Answered: 1 week ago

Question

14. What are the functions of the prefrontal cortexpg109

Answered: 1 week ago

Question

22. How do opiates influence dopamine synapsespg109

Answered: 1 week ago