Skip to content
Minji Kang edited this page May 12, 2021 · 6 revisions

Mood light made of Arduino and connected to Android.

Hardware

  • Arduino nano V3
  • LED (7 SMD RGB LED)
  • Bluetooth module (HC-06)
  • Galaxy
  • Lamp case made of 3D printing.

Architecture

  • Simple Architecture

architecture_simple

Usage

  1. Connect the Arduino nano board to the laptop.
  2. Connect the LED sensor and Bluetooth module to the board.
  3. Write a code for LED sensor operation in Arduino IDE using a laptop.
  4. Add two permissions to AndroidManifest.xml in Android Studio on your laptop.
  5. Writes code to IoTFragment.java in Android Studio.
    • Obtain and save the UUID of the Android device to be used.

      UUID

    • Save the MAC address of the Bluetooth module.

      MACaddress

    • Code which data to pass to the Bluetooth module when the app presses which button.


Demo

default.mp4

Clone this wiki locally