Design:Device Plan

Time: We have 3 working days to complete this project.

Parts: We need no time to acquire the parts we have the parts in our classroom and we have the other half with us. We have a good 10 parts.

Skills: Some skills me and Eddie will need to have is resiliency and a calm mind because this will be a little tough to code  and build. We are also able to adapt to a situation very quickly and easily.

Order:We will probably start off the project with electronics because we have to code  first and then make the system. Then mechanical would be last. And if possible one of us will work on mechanical and the other works on electronic is time is low. We can work together on the mechanical aspect of the task which would get the job done faster and efficient. Both teammates would work together and help each other seeing each others mistakes and mkaing the work efficient

 

 

Define

Name: Abdul and Associate’s Halal Food Anti-Theft System

 

A) Mechanical

This device will carry out the following function: If there is someone trying to come in with your house or area, an alarm will ring, and hopefully there me and my comrade Eddie would use the microphone to send a unique message every time to the burglar telling them they have messed with the wrong corporation. Sponsored by Abdul Halal Bendor Corporation and Associates.

 

Our device consists of the following items:

  • Speakers
  • Microphone
  • Transistor
  • Buzzers

 

B)Eletronic

  • The Intel Gaileo Gen 2
  • Breadboard
  • Jump wires
  • Blue Red White LEDS
  • Power Supply
  • Motion sensor
  • Circuit Diagram

C) Needs

  • When someone is near the area coded
  • when to light up
  • when to make a noise
  • our device/creation will face off burglars

The code will

  • sense if a person is nearby
  • Create a siren-like noise and light pattern to signal

 

Discover

For the Galileo project me and my partner Eddie Ibea were thinking about the following projects:

  • Theromemter
  • Timer
  • Clock
  • clap on clap off sound sensor
  • light sensor conveying a message

 

Some thinks to our ideas are:

https://communities.intel.com/message/251908

https://communities.intel.com/docs/DOC-23832

http://udooz.net/blog/2015/06/iot-intel-galileo-gen-2-hello-world/

At the end me and Eddie picked the project of making an alarm clock conveying a message and making a noise when near it.

 

 

Photosensor

  1. int photocellPin = 0; // the cell and 10K pulldown are connected to a0
  2. int photocellReading; // analog reading from the sensor divider
  3. int LEDpin = 11; // connect to the Red LED to pin 11 
  4. int LEDbrightness;
  5. void setup(void) {
  6. // will send debugging information in the  Serial monitor
  7. Serial.begin(9600);
  8. }
  9. void loop(void) {
  10. photocellReading = analogRead(photocellPin);
  11. Serial.print(“Analog reading = “);
  12. Serial.println(photocellReading); // the  analog reading
  13. // LED gets brighter the darker it is at the sensor
  14. photocellReading = 1023 photocellReading;
  15. LEDbrightness = map(photocellReading, 0, 1023, 0, 255);
  16. analogWrite(LEDpin, LEDbrightness);
  17. delay(100);
  18. }

myblink

// the setup function will play once when you press reset or power the board

void setup() {
// uses the LED number 13
pinMode(13, OUTPUT);
}

// the code will run in a loop, again and again
void loop() {
digitalWrite(13, HIGH);   // turns on the LED
delay(0500);              // wait for half a second
digitalWrite(13, LOW);    // turn off the LED
delay(1000);              // wait for a second
}