Professional Documents
Culture Documents
Pre-requisites#:
Necessary: Knowledge of basic electronics and circuits (KVL, KCL etc.), Understanding of the
Breadboard
#Optional: Basic coding background would be extremely helpful
1. How to setup Arduino and start programming:
(Reference: http://spectrum.ieee.org/geek-life/hands-on/the-making-of-arduino/0)
Arduino is a low-cost microcontroller board and user-friendly programming software that allows DIY
electronics-based projects to take off rapidly.
-Introduction/History
(i) Name: Originated in Italy by a group of friends who are tasks to create a user-friendly tool for
Banzis students at Interaction Design Institute Ivrea (IDII) for rapid prototyping of electronics
circuitry.
Environment
Arduino
(Microcontroller)
OUTPUT
Arduino Software
INPUT
YOU
(ii) Key Components of Arduino PCB (similar variations; e.g. Arduino Uno, Arduino Mini)
-Basic Key Components: (i) Pins (PWM, Digital, Analogue) (ii) AT Mega328(microcontroller) (iii)
Crystal Oscillator (iv) Power Jack (v) TX/RX (vi) Additional Components (FDTI) (vii) USB Cable (types:
MicroUSB, MiniUSB) [Get Image Done]
(iii) Software Setup: http://arduino.cc/en/Main/Software
Installation Guide: [Make a Video/Screenshots; Ezvideo: Windows & MAC Users]
2. Breadboard Usage
(Reference: https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard)
-What is inside a breadboard?
-Connecting things in a breadboard
-Types of breadboard for Prototyping
Comments/Tips:
1) Adopt common anode/cathode to reduce the number of wirings required (especially useful when connecting many LEDs
together with a common ground i.e. common cathode (-ve))
2) Understanding how a circuitry is placed parallel or series on the breadboard is important in translating circuit diagrams
onto the actual breadboard
3) Ensure polarity of certain components is well understood prior to assembly of circuitry on the breadboard. See
datasheets of the components for more details. (E.g. LEDs generally require resistors)
BareMinimum: The bare minimum of code needed to start an Arduino sketch. Access via Example Sketch. [Sketch layout]
Blink: Turn an LED on and off.
DigitalReadSerial: Read a switch, print the state out to the Arduino Serial Monitor.
AnalogReadSerial: Read an analogue input pin, print its state out to the Arduino Serial Monitor.
Fade: Demonstrates the use of analog output to fade an LED.
ReadAnalogVoltage : Reads an analog input and prints the voltage to the serial monitor
AIM: Showing the concept of input and output + applications; Show the use of certain electronics
without the need of Arduino (e.g. MOSFETs)
Project Sample 1A: Arduino microprocessor, Jumper wires, Resistors, LEDs, UltrasonicSensor
(1) Input: Ultrasonic Sensor (Analogue input)
(2) Output: LEDs (Digital Output (HIGH/LOW))
Objective: Using Ultrasonic sensor to detect the number of people walking pass and lighting up the
LEDS when people come too close to the Ultrasonic sensor. (Intermediate level: Pulsating LEDs with
rate directly proportional to the distance from the setup)
Application=Protection system for a museum display
Project Sample 1B: Arduino microprocessor, Jumper wires, Resistors, LEDs, Photoresistor (LDR)
(1) Input: Photoresistor/Light Dependent Resistor* (Analogue input)
(2) Output: LEDs (Digital Output (HIGH/LOW))
Dexter Chew Xuan Han
10/05/2014
Objective: Reading off analogue readings from the photoresistors potential difference and output
LEDs when the reading is lower or higher (depending on how the circuit is arranged) than the desired
analogue value
Application=Automatic Lights on/off system
Project Sample 2: Transistor, Jumper wires, Resistors, LEDs, Photoresistor (LDR)
(Reference: https://www.youtube.com/watch?v=LQImmpcFDBw)
(1) Input: Photoresistor/ Light Dependent Resistor
(2) Output: LEDs
E.g. Use a purely non-digital circuitry to set up the same function as the Project Sample 1B.
Application= Automatic Lights on/off system
*Photoresistor/LDR/Cadmium Sulfide: A resistor whose resistance decreases with increasing light intensity.
5. Supporting Documents:
(i) Arduino Website (http://www.arduino.cc/)
(ii) Local Vendors
-External Vendors
1. sgBotics
1. Sparkfun Electronics (Provides great examples along with components)
2. Robot R Us
3. SWATEC
(iii) Small Projects /Tutorials
1. APCMAG: http://apcmag.com/
2. Instructables: http://www.instructables.com/id/Arduino-Projects/
3. duino4Projects: http://duino4projects.com/arduino-projects/
4. Jeremy Blum: http://www.youtube.com/user/sciguy14
-END-