Question: The Sharp IR sensor is used with two mbed microcontrollers in a robotic system as shown in Fig. 3(b). The simplest connection for the sensor,

 The Sharp IR sensor is used with two mbed microcontrollers in

The Sharp IR sensor is used with two mbed microcontrollers in a robotic system as shown in Fig. 3(b). The simplest connection for the sensor, which can be used with the mbed, is shown in Fig. 3(a). The mbed reads the input from the IR sensor as a 3.3V for 100mm away and 0V for 500mm. (a) Draw the circuit diagram of the system. (b) Write the program for the master to continuously read the measurement from the sensor and send the distance in mm to the slave microcontroller using a 16-bit value. Use the default clock frequency and mode. (c) Write the program for the slave to continuously receive the distance and display it in mm

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!