light-up skateboard

10
LIGHT-UP SKATEBOARD Team #5 CISC 340 Project 1

Upload: tanvi-priyadarshini

Post on 13-Apr-2017

120 views

Category:

Engineering


2 download

TRANSCRIPT

Page 1: Light-Up Skateboard

LIGHT-UP SKATEBOARDTeam #5 CISC 340 Project 1

Page 2: Light-Up Skateboard

● LSM303● Reads acceleration and

Magnetic North.

● Powered by 3.3v

● Adafruit_LSM303 library

○ Adafruit_LSM303.h

Accelerometer

Page 3: Light-Up Skateboard

● How we tested our compass

● How it works

● Issues along the way● Other uses for the

accelerometer

Compass

Page 4: Light-Up Skateboard

NeoPixels

The NeoPixel lights are RGB LEDs

The lights are very customizable.

Page 5: Light-Up Skateboard

LEDs in our projectFlora RGB Smart NeoPixel version 2 - Pack of 4We chose the 4 neopixel pack to act as a compass

Adafruit NeoPixel Digital RGB

LED Strip - Black 30 To act with the accelerometer data

We connected all of our lights to PIN 6

Page 6: Light-Up Skateboard

Bluefruit LE - Bluetooth Low Energy (BLE 4.0) - nRF8001 Breakout - v1.0Simulates a UART device, which

enables us to send ASCII data back and forth between the devices.

Handles all the BLE radio and low level work, and does it all over SPI which makes it easy to use with any kind of microcontroller.

All the needed pins are broken out at the bottom of the PCB and are 5V compliant, which enables us to use it with 3V or 5V micros.

Page 7: Light-Up Skateboard

Utilizing the SPI pins on FLORA

Our project uses FLORA, which is Adafruit’s Arduino-Compatible Wearable Platform.

To our benefit, FLORA also supports hardware SPI.

This is done by utilizing the SPI pins on the 2x3 header near the center of the FLORA board.

We did the same to connect our Bluetooth device to FLORA. Pins through the breakouts on the Bluetooth PCB were connected to respective pins on the 2x3 header on the FLORA.

Page 8: Light-Up Skateboard

Phases of Data CommunicationAdvertising phase(GAP): In this phase

the BlueFruit seeks out devices within its broadcast range.

Working phase (GATT): This phase begins once the BlueFruit has connected to a central device. In this phase data is transferred between the BlueFruit and our cell phone.

Bluetooth App: BlueFruit LE Connect is the app developed by Adafruit to connect to this device.

Page 9: Light-Up Skateboard

Problems Encountered ⦿ Guides and resources are plentiful but majorly

targeted for advanced users. This forced us to do an extensive research and have a basic background knowledge first.

⦿We received BlueFruit LE later than other components. This forced us to understand most of it in theory and delay the testing.

Page 10: Light-Up Skateboard

FIN