1 of 14

LnF 9000

2 of 14

PURPOSE:

Help find lost items easier

3 of 14

  • Bluetooth
  • Accelerometer
  • Arduino Nano
  • Battery Powered
  • LED Lights and Speaker

COMPONENTS:

4 of 14

DESIGN PROCESS:

  1. Workshops
  2. Experimentation
  3. Implementation

5 of 14

WORKSHOPS:

-Arduino

-Bluetooth Module

-Sensors (accelerometer)

6 of 14

-Started with designing just speaker and LED and expanded to Accelerometer

-Uploaded Code

BEGINNINGS:

7 of 14

include "pitches.h"��#include <Adafruit_LSM303_U.h>�#include <Adafruit_L3GD20_U.h>�#include <Adafruit_9DOF.h>��Adafruit_LSM303_Accel_Unified accel = Adafruit_LSM303_Accel_Unified(54321);��#define SPEAKER 8�#define GREEN_LED 12�#define WHITE_LED 11��bool wState = false;�bool gState = false;��void toggle(int led1, bool &led1state, int led2, bool &led2state) {� if (led1state)� {� digitalWrite(led1,LOW);� led1state = false;� }� else� {� digitalWrite(led1, HIGH);� led1state = true;� }� if (led2state)� {� digitalWrite(led2,LOW);� led2state = false;� }� else� {� digitalWrite(led2, HIGH);� led2state = true;� }� Serial.println(led1state);� Serial.println(led2state);�}��

�void setup() {� Serial.begin(9600);� pinMode(GREEN_LED, OUTPUT);� pinMode(WHITE_LED, OUTPUT);� Serial.println("Accelerometer Test"); Serial.println("");� tone(SPEAKER, NOTE_C4);� digitalWrite(GREEN_LED, HIGH);� digitalWrite(WHITE_LED, HIGH);� delay(1000);� noTone(SPEAKER);� digitalWrite(GREEN_LED, LOW);� digitalWrite(WHITE_LED, LOW);� gState = false;� wState = false;� accel.begin();�}��void loop() {� sensors_event_t event;� accel.getEvent(&event);� Serial.print("Z: "); Serial.print(event.acceleration.z); Serial.print(" ");Serial.println("m/s^2 ");� if(event.acceleration.z < -5) {� tone(SPEAKER, NOTE_C4);� digitalWrite(GREEN_LED, HIGH);� gState = true;� for (int i = 0; i < 6; ++i) {� toggle(GREEN_LED, gState, WHITE_LED, wState);� delay(500);� }� digitalWrite(GREEN_LED, LOW);� gState = false;� noTone(SPEAKER);� } else {� Serial.println("no");� }� delay(100);�}

CODE:

8 of 14

MID-PROCESS:

-Found a way to connect Android Phone and control commands

-Added more commands (Daisy-Bell)

-Designed Schematic for Soldering

-Measured parameters and rendered box

9 of 14

FINAL TOUCH-UPS:

-3D Printed Box to fit circuit in

-Soldered circuit on Perfboard

10 of 14

Box Design vs. Box Outcome!

11 of 14

2 Main Difficulties

Design &

Communication

12 of 14

Design:

  • Small box
  • Bluetooth backwards
  • Complicated Circuitry

13 of 14

Communication:

  • Laptop issues

  • CAD team vs Solder team

14 of 14

Thank You!