Entradas

Mostrando entradas de enero, 2023

Arduino Vending Machine

Imagen
 Arduino Vending Machine For this practice we have to create an arduino program and use some sensors and actuators in order to simulate a real coffee vending machine. HARDWARE COMPONENTS: Joystick DHT11 (humidity and temperature sensor) Ultrasonic sensor Boton 2 Leds LCD Arduino Uno What is its behavior ? We are going to have 3 different behavior stages  1) Loading mode: The led 1 is going to blink 3 times at 1 seconds intervals. At the same time that we are executing the blinks of the led, we are going to write a loading message ("CARGANDO...") in the LCD; after that, it is going to entry to the service mode. 2) Service Mode: We are going to print a waiting for client message ("ESPERANDO CLIENTE") at the LCD until the distance sensors get a 1 meter or less detection, simulating the client detection. When the client has been detected, we are going to show the products at the LCD and letting the client search for the product that he wants using the joystick (up / dow