Light-Up Skateboard
-
Upload
tanvi-priyadarshini -
Category
Engineering
-
view
119 -
download
2
Transcript of Light-Up Skateboard
LIGHT-UP SKATEBOARDTeam #5 CISC 340 Project 1
● LSM303● Reads acceleration and
Magnetic North.
● Powered by 3.3v
● Adafruit_LSM303 library
○ Adafruit_LSM303.h
Accelerometer
● How we tested our compass
● How it works
● Issues along the way● Other uses for the
accelerometer
Compass
NeoPixels
The NeoPixel lights are RGB LEDs
The lights are very customizable.
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
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.
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.
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.
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.
FIN