Arduino Project Presentation

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 16

Goal

Diggers }
< Have a PENtastick in just a CLICK}; >
{ PLC PROJECT:
BALLPEN VENDING
MACHINE
USING ARDUINO UNO
Goal Diggers’ Presentation

... }
Table of contents
01 Introduction
02 Objectives
03 Purpose of the project
04 Materials
05 Definition of Terms
06 Schematic Diagram
07 Coding
08 Procedure
09 Insights
01 { Introduction
Vending Machine is an automated machine that
provides items such as snacks, beverages,
cigarettes, and lottery tickets to consumers after
cash, a credit card, or other forms of payment are
inserted into the machine or otherwise made
according to Oxford Dictionary.

} ..
02 { Objectives
1. To design a vending machine that could dispense the
exact product which the customer selected.
2. To create a machine that is efficient and highly
feasible.
3. Learn to write and upload code to an Arduino
4. Learn to debug or troubleshoot a circuit

} ..
03 { Purpose of the Project
Ballpen vending machine is mainly created
for the reason that we, the designer of the machine, could
create an efficient and hassle-free because if you would go to
the store, it would take time to wait. While in our vendo it
would take just a second and a click to get your very own pen.
We thought of creating ways that could help us with this
problem.
That's why we decided to make a ballpen vending machine since
it is an automatic machine that provides a product immediately,
we considered it as a solution to the struggles of students

} ..
04 { Materials
 Arduino UNO
 Servo Motor
 Coin Slot
 DC-DC Step Down Converter
 Wire
 Power Supply

}
 Plywood

..
05 { Definition of Terms
ARDUINO UNO - The Arduino Uno is an open-source microcontroller
board based on the Microchip ATmega328P microcontroller and
developed by Arduino.cc and initially released in 2010. The
board is equipped with sets of digital and analog input/output
pins that may be interfaced to various expansion boards and
other circuits.

SERVO MOTOR - servomotor is a rotary actuator or linear


actuator that allows for precise control of angular or linear
position, velocity, and acceleration. It consists of a suitable
motor coupled to a sensor for position feedback.

} ..
05 { Definition of Terms
WIRE - small wire ducts that can be used to connect components
to each other on bread boards or elsewhere. conduct electricity
and provide a low-resistance path for electricity to flow
through.

UNIVERSAL COIN SLOT - a slot through which coins can be


inserted into a slot machine.

STEP DOWN - also called buck regulator or DC-DC step-down


switching regulator, is a type of DC-DC converter that provides
an output regulated voltage that is lower than its input
voltage.

} ..
05 { Definition of Terms
POWER SUPPLY - An adapter made to provide precisely 12 Volts of
dc supply to a device is known as a 12V DC power supply.

PLYWOOD - wood veneers bonded together to produce a flat sheet.


An extremely versatile product, plywood is used for a wide
range of structural, interior and exterior applications - from
formwork through to internal paneling.

} ..
06 { Schematic Diagram

..
CODING
#include <Servo.h>
Servo microServo1;
#define coinSlot 2 Serial.println(coinCount);
#define pushButton 8 coinInserted = true;
#define Servo1 9 }
}
int buttonState;
int coinSlotSignal; while(coinInserted) {
int coinCount = 0; coinSlotSignal = digitalRead(coinSlot);
boolean coinInserted = false; buttonState = digitalRead(pushButton);

void setup () { if(coinSlotSignal > 0 && buttonState == 0)


{ coinInserted = false;
Serial.begin(9600); }
pinMode(coinSlot, INPUT_PULLUP); }
pinMode(pushButton, INPUT_PULLUP);
microServo1.attach(9); if(coinCount >= 1){
delay(1000); delay(100);
microServo1.write(0); microServo1.write(0);
} delay(500);
coinCount = 0;

}
void loop() {
while(!coinInserted){ delay(50);
microServo1.write(90);

..
coinSlotSignal = digitalRead(coinSlot);
buttonState = digitalRead(pushButton); }
if (coinSlotSignal < 1 && buttonState == 1) }
{ coinCount += 1;
08 { Procedure
Step 1. Brainstorm
Gathering of ideas on how to perform and what to use in our project.
Step 2. Wiring
We connected all the materials to the Arduino (Servo motor, Coin Slot,
Step Down, Power supply).
Step 3. Program
The designer made a program first to test the Arduino.
Step 4. Creating the box

Sawing the plywood to our desired measure to make the vendo.

Step 5. Assembling

Putting the Coin Slot, the Servo motor, the power supply, and the

}
ballpen (product) inside the box.

..
09 { Insights
We, the designer, learned that Arduino is designed to
create easy to use hardware and software. Through this we
are able to gain knowledge of basic coding and wiring and
was able to create our own design which is the Ballpen
Vending Machine. Also, we have encountered many errors
while doing the coding for the functionality from Arduino
Uno to our machine and its wiring connections to the
circuit.

} ..
09 { Insights
It is also a reality check to us on how difficult it is
to make programs and simple machines as we are only on the
receiving end of the market. As we put our shoes on the
makers of machines, it is indeed a challenge as these
counts as our first-ever project making that needs to be
realized with a real prototype.

} ..
09 { Insights
However, this struggle didn’t prevent us from the
expected machine creation. This project would not have
been made without the team effort and cooperation which is
the core element to the completion of this project.

} ..

You might also like