Introduction to Robotics laboratory homeworks, taken in the 3rd year at the Faculty of Mathematics and Computer Science, University of Bucharest. Each homework includes requirements, implementation details, code and image files.
Code regarding the last homework is written in the "main.ino" file. To view the source codes for the other homeworks, please navigate to the "homework" folder.
Technical task: Use a separate potentiometer in controlling each of the color of the RGB led (Red, Green and Blue). The control must be done with digital electronics (aka you must read the value of the potentiometer with Arduino, and write a mapped value to each of the pins connected to the led.)
Components: 1 RBG LED, 3 potentiometers,
resistors and wires
1. Real setup has the green and blue pins of the LED inversed, due to its different design from the Tinkercad model.
2. Tinkercad simulation
Technical task: Setup that simulates the behavior of real-life traffic lights for a crosswalk. 2 LEDs (red and green) represent the traffic lights for people, whereas 3 LEDs (red, yellow and green) are for the cars.
Components: 5 LEDs, 1 push buttons, resistors and wires
Video
Technical task: "Drawing" on a 7-digit LED display using a joystick. The joystick is used to move the cursor on the display, and the push button is used to draw. The cursor is represented by a blinking segment and upon selecting said segment it can be turnt on or off by joystick movement. The whole display is cleared by pressing the push button for more than 0.5 seconds.
Video
Technical task: Using the joystick to move through the 4 digit 7 segment display, and using the push button to select a digit. The selected digit is then incremented or decremented by the joystick movement. The whole display is cleared by pressing the push button for more than 0.5 seconds.
Components: a 4 digit 7-segment displays, 1 joystick, 1 74hc595 shift register, wires
video.mp4
Technical task: Menu for the game, where the user can scroll on the LCD and select options using the joystick.