Professional Documents
Culture Documents
Arduino Project Presentation
Arduino Project Presentation
Arduino Project Presentation
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.
} ..
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.
} ..
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.
} ..
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 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
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.
} ..