Photo-sensor Digital Camera Na 556 Transistor 2N-3904.

Slides:



Advertisements
Similar presentations
Making Electronic Fashion Welcome Pink Team!. Etiquette Creative Girls Technology Arts.
Advertisements

Khaled A. Al-Utaibi Interfacing an LED The Light Emitting Diode (LED) Applications DC Characteristics & Operation Interfacing to.
EMS1EP Lecture 6 Digital Inputs
ARDUINO CLUB What we’re really doing. BASICS The setup() and loop() functions.
Electrical team Arduino tutorial I BY: JOSHUA arduini
Lab7: Introduction to Arduino
ARDUINO FRAMEWORK.
Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
Embedded Sumo 1T4 – 1T5 UTRA.
Panasonic EVE-KC2F2024B 24 pulses per revolution 6mm diameter flattened output shaft output type: quadrature (incremental) minimum life: 15,000 rotations.
Digital & Analog Inputs. Review Fundamental parts of an Arduino program are … Setting output types using pinMode. Declaring variables Can write a digital.
Analog and Digital Measurements living with the lab 14 digital input / output pins 6 analog input pins © 2012 David Hall.
Using the Arduino to Make an LED Flash Work in teams of two! living with the lab digital I/O pins (I/O = input / output) USB cable plug power pins.
Living with the lab Introduction to Arduino Programming arduino.cc Gerald Recktenwald Portland State University
PING))) Ultrasonic Distance Sensor living with the lab ultrasonic pressure waves from PING))) speaker The PING))) sensor emits short bursts of sound and.
IR Object Detection living with the lab IR light from LED IR light reflected off object IR LED IR receiver Infrared (IR) light leaving an LED reflects.
Finish your programs from last week STOPLIGHT CIRCUIT! You may need … – int – void setup() – void loop() – pinMode – digitalWrite – delay.
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
Analog and Digital Measurements living with the lab 14 digital input / output pins 6 analog input pins © 2011 LWTL faculty team.
1 Ultrasonic Distance Sensor. 2 How it Works The distance sensor emits short bursts of sound and listens for this sound to echo off of nearby objects.
ARDUINO PROGRAMMING Working with the Arduino microcontroller.
chipKit Sense Switch & Control LED
PING))) Ultrasonic Distance Sensor living with the lab ultrasonic pressure waves from PING))) speaker The PING))) sensor emits short bursts of sound and.
ProtoSnap Introduction to Arduino Casey Haskell, Pete Lewis, David Stillman, Jim Lindblom, Pete Dokter, Lindsay Levkoff, Trevor Zylstra.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Introduction to the Arduino
Cascade switching of an LED EAS 199B Winter 2013.
Open Sources OPERATING SYSTEMS. What is open sources?! product that which a company make for you and you can edit it free..
Sparkfun Electronics ATtiny85 Arduino Quick Reference Sheet
Good LED Circuit 5V0 GND. What Voltage Does Meter See? Answer: 5 V.
Code The Arduino Environment.
Warmup – 16FEB2012 This one is for practice. I have paper if you need it. Suppose there are eight, single-pole, single-throw (SPST) switches connected.
ATtiny Programming Shield for Arduino TYWu. Reference Programming-Shield-for-Arduino-1/
A3144 SENSITIVE HALL-EFFECT SWITCHES & AH Linear Hall sensor
Arduino libraries Datatekniker Udvidet hardware/software.
Wireless TYWu. 433Mhz RF link kit Picture 433Mhz RF link kit Specification –Frequency: 433Mhz. –Receiver Data Output: High - 1/2 Vcc, Low - 0.7v –Transmitter.
Microcontroller basics Embedded systems for mortals.
Week 5: Microcontrollers & Flow Control Bryan Burlingame 2 March 2016.
Robotics Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics Technology.
Programming in Arduino Materials:Arduino Board Casperelectronics Pre Pres. Notes Photos from workshop?
Introduction to Arduino A very basic intro to Arduino, the IDE and the Servos class.
Arduino + Bluetooth TYWu. Connection Arduino + Bluetooth Module.
Capstone Design Middle Evaluation Rover Song Kee Hong Jo Kyeong Jin.
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
Microcontroller basics
Microcontroller basics
Cascade switching of an LED
Ultrasonic Distance Sensor
European Robotic LABoratory
INC 161 , CPE 100 Computer Programming
Lecture 2-2: Arduino Programming
Arduino.
Control the color and brightness of an RGB LED with a Potentiometer
How to avoid catching things on fire.
ARDUINO     What is an Arduino? Features 14 Digital I/O pins 6 Analogue inputs 6 PWM pins USB serial 16MHz Clock speed 32KB Flash memory 2KB SRAM.
Ultrasonic Distance Sensor
using the Arduino to make LEDs flash
1 Code
analog and digital measurements
Arduino : Introduction & Programming
Multiplexing seven-segment displays
Arduino Uno circuit basics
Setting up a basic program with Arduino
SAURABH GINGADE.
Arduino UMBC IEEE Sekar Kulandaivel
Arduino程式範例.
Arduino UMBC IEEE Sekar Kulandaivel Week 3: Motor Control w/ H-Bridges
Interrupts.
Ultrasonic Distance Sensor
Presentation transcript:

Photo-sensor Digital Camera Na 556 Transistor 2N-3904

int transistor = 8; int sensor = A0; int out= 3; int trigger= 5; int outRead1= 0; int outRead2= 0; int outRead3 =0; boolean timing= 0; void setup(){ pinMode (transistor, OUTPUT); pinMode (out, INPUT); pinMode(trigger, OUTPUT); pinMode(sensor, INPUT); pinMode(13, OUTPUT); } void loop(){ outRead1 = digitalRead(sensor); outRead2 = digitalRead(out); if(outRead1== LOW){ digitalWrite (trigger, LOW); } if(outRead1== HIGH && outRead2== LOW){//Sensor goes off digitalWrite (trigger, LOW); delay(1000); digitalWrite (trigger, HIGH); digitalWrite (13, HIGH); } else if ( 13== HIGH){ //NE555 chip //Camera, with transistor digitalWrite (trigger, HIGH); timing = true; digitalWrite (transistor, HIGH); delay(1000); digitalWrite (transistor, LOW); } if (outRead3 ==LOW && timing== true){ digitalWrite(transistor, HIGH); //PICTURE //reset digitalWrite(13, LOW); digitalWrite(sensor, LOW); digitalWrite(out, LOW); digitalWrite (trigger, LOW); delay(1000); digitalWrite (transistor, LOW); }