Document Details

SteadyDidgeridoo

Uploaded by SteadyDidgeridoo

American University of the Caribbean, School of Medicine

Tags

electronics quiz arduino lcd microcontroller

Summary

This document is a quiz about electronics components, including LCDs, Arduino, I2C, ultrasonic sensors, and servo motors. The document contains multiple-choice questions for students to answer. It's a great resource for practicing fundamental electronics concepts.

Full Transcript

1. What makes the LCD 12C easier to use than a regular LCD? A) It has a larger display B) It requires fewer wires for data connection C) It uses a touch screen interface D) It is only compatible with Arduino 2. How does the LCD 12C help in proj...

1. What makes the LCD 12C easier to use than a regular LCD? A) It has a larger display B) It requires fewer wires for data connection C) It uses a touch screen interface D) It is only compatible with Arduino 2. How does the LCD 12C help in projects? A) It provides wireless communication B) It displays text and numbers C) It powers the entire project D) It stores large amounts of data 3. What is the primary purpose of using an LCD 12C in a project? A) To simplify wiring B) To increase processing speed C) To add sound effects D) To control other devices 4. How many wires are used for data transmission in an LCD 12C? A) Four B) Three C) Two D) One 5. What data lines does the LCD 12C use for communication? A) RX and TX B) SDA and SCL C) VCC and GND D) MISO and MOSI 6. Which of the following is an advantage of the reduced number of connections with the LCD 12C? A) Increased power consumption B) Easier setup and management C) More complex wiring D) Limited compatibility with Arduino 7. What does the use of libraries for LCD 12C often simplify? A) Data transmission speed B) The physical size of the display C) The code needed to control the display D) The number of colors displayed 8. What is the primary advantage of having more available pins on an Arduino when using an LCD 12C? A) Faster communication with the display B) Ability to connect additional components or sensors C) Reduced power consumption D) Improved display resolution 9. How does the LCD 12C contribute to making programming easier in Arduino projects? A) By providing built-in functions for data storage B) By simplifying the code needed through the use of libraries C) By increasing the processing power of the Arduino D) By automatically generating project reports 10. Which pin on the Arduino should the GND pin of the LCD 12C be connected to? A) A4 B) 5V C) Ground D) A5 11. To which Arduino pin should the VCC pin of the LCD 12C be connected? A) A4 B) A5 C) 3.3V D) 5V 12. The SDA pin of the LCD 12C should be connected to which Arduino pin? A) A0 B) A4 C) A5 D) D13 13. Which Arduino pin should the SCL pin of the LCD 12C be connected to? A) A4 B) A5 C) D2 D) Ground 14. What will happen if the SDA and SCL connections are reversed when connecting the LCD 12C to the Arduino? A) The display will work normally B) The display may not function properly C) The display will increase brightness D) The Arduino will automatically correct the wiring 15. Which of the following is a known limitation of the I2C protocol? A) It is immune to noise interference B) It supports complex graphics easily C) It is slower than other communication protocols like SPI D) It requires no unique addressing for multiple devices 16. Why might the I2C protocol not be ideal for displays that require complex graphics? A) It is only compatible with LED displays B) It has limited display features, best for simple text and numeric displays C) It requires more power for complex graphics D) It is not compatible with most microcontrollers 17. How does the HC-SR04 sensor detect the distance to an object? A) By measuring the change in temperature B) By detecting the speed of light C) By emitting an ultrasonic pulse and measuring the time it takes for the pulse to reflect back D) By using infrared light to measure distance 18. What type of wave does the HC-SR04 sensor emit to detect objects? A) Infrared wave B) Radio wave C) Ultrasonic wave D) Light wave 19. Which component of the HC-SR04 sensor listens for the reflected pulse? A) Transmitter B) TRIG pin C) Receiver (ECHO pin) D) Power supply 20. What is the main purpose of the TRIG pin on the HC-SR04 sensor? A) To initiate the emission of the ultrasonic pulse B) To receive the reflected pulse C) To power the sensor D) To measure distance directly 21. What is a servo motor primarily designed to provide? A) High-speed rotation without control B) Precise control of angular position, velocity, and acceleration C) Continuous rotation in one direction D) Conversion of electrical energy into light 22. How are servo motors typically controlled? A) By varying voltage levels B) By using Pulse Width Modulation (PWM) signals C) By changing resistance D) By adjusting current flow 23. What is the typical pulse width range for controlling a servo motor from 0 to 180 degrees? A) 0.5 ms to 1.5 ms B) 1 ms to 2 ms C) 2 ms to 3 ms D) 5 ms to 10 ms 24. What component in a servo motor provides feedback about its current position? A) Gearboc B) Potentiometer C) DC Motor D) Controller 25. What type of control is used in servo motors to maintain accuracy by adjusting the position based on feedback? A) Open-loop control B) Closed-loop control C) Proportional control D) Feedforward control 26. Which of the following is NOT a typical feature of a standard servo motor? A) Control through PWM signals B) Feedback provided by a potentiometer C) Ability to rotate continuously without stopping D) Closed-loop control for maintaining position accuracy 27. It is a component of Micro Servo which it reduces the speed of the DC motor while increasing its torque, allowing for precise control of the servo’s position. A) Gearbox B) Potentiometer C) DC Motor D) Controller 28. It is a component of Micro Servo which it measures the position of the output shaft and provides feedback to the control circuit, ensuring accurate positioning A) Gearbox B) Potentiometer C) DC Motor D) Controller 29. It is a component of Micro Servo which it processes the PWM signals and adjusts the motor's position based on feedback, ensuring precise control of the servo's movement. A) Gearbox B) Potentiometer C) DC Motor D) Controller 30. It is a component of Micro Servo which it generates the rotational force needed to move the servo's output shaft. A) Gearbox B) Potentiometer C) DC Motor D) Controller TRUE OR FALSE. 31. The LCD in LCD I2C stands for Liquid Clear Display. 32. In working with LCD I2C, the 4 connections pins that you need for it to function are GND, VCC, A3, A4. 33. In working with LCD I2C, the SDL stands for Serial Digital Access. 34. In working with LCD I2C, the SCL stands for Serial Code Line. 35. You need to include the library #include for your LCD I2C. 36. You need to include the library #include for your Micro Servo. 37. The lcd.start() function is used to initialize the LCD I2C. 38. The lcd.empty() function is used to clear the display in the LCD I2C. 39. The lcd.display() function is used to display text or data in the LCD I2C. 40. The lcd.begin() is used to turn on the backlight of the display. FILL IN THE BLANKS 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. You've set up the ultrasonic sensor and LCD I2C module on a breadboard with power distributed from the Arduino. However, the LCD isn't powering on. What should you check first to diagnose the issue? A) Ensure the "TRIG" pin of the ultrasonic sensor is connected to the correct digital I/O pin B) Verify that the "VCC" pin of the LCD is connected to the positive power rail of the breadboard C) Make sure the "ECHO" pin of the ultrasonic sensor is connected to the 5V pin D) Check if the "GND" pin of the LCD is connected to the SDA pin ` 57. In your setup, you need to extend the number of 5V and GND connections available. How can you achieve this effectively using a breadboard? A) Connect the 5V pin of the Arduino directly to the "TRIG" pin of the ultrasonic sensor B) Connect the 5V pin of the Arduino to the positive rail of the breadboard and the GND pin to the ground rail, allowing you to distribute power to multiple components C) Connect the GND pin to a digital I/O pin to increase the number of ground connections D) Connect the SDA pin to the power rail to distribute 5V 58. You are setting up your project in a way that maximizes the use of your Arduino's pins. Which of the following approaches will help you minimize the number of Arduino pins used while ensuring both the ultrasonic sensor and LCD I2C module are fully functional? A) Connect "VCC" and "GND" of both components to the breadboard’s power and ground rails; use digital I/O pins only for "TRIG" and "ECHO," and A4/A5 for "SDA" and "SCL" B) Connect "VCC" and "GND" of both components directly to the Arduino; use the breadboard only for "TRIG" and "ECHO" C) Use only the 3.3V pin on the Arduino for all components D) Connect the "SDA" and "SCL" pins of the LCD to two different digital I/O pins, while connecting "TRIG" and "ECHO" to A4 and A5 59. After connecting the ultrasonic sensor and LCD I2C module, you notice the LCD is not displaying information. Assuming power connections are correct, which of the following should you check next? A) Ensure "TRIG" and "ECHO" are connected to A4 and A5 B) Ensure "SDA" and "SCL" are connected to A4 and A5 on the Arduino C) Ensure the "VCC" of the LCD is connected to a digital I/O pin D) Ensure "GND" of the ultrasonic sensor is connected to the SDA pin 60. In your project setup, you want to ensure that the ultrasonic sensor and LCD I2C module are properly powered. What is the advantage of connecting the 5V and GND pins of the Arduino UNO to the breadboard? A) It allows you to power multiple components without running out of pins on the Arduino B) It increases the voltage to 12V, providing more power to the components C) It reduces the need for resistors in the circuit D) It converts digital signals into analog signals

Use Quizgecko on...
Browser
Browser