Skip to content
Dimitris Kolovos edited this page Nov 13, 2015 · 9 revisions

“J’arrive” System

With the Jarrive system the user makes his office into 'Smart Office', by controlling the Lighting and the air-conditioning through bluetooth technology.

The user installs on his smartphone the Jarrive application and connects the Jarrive system to the Lighting and the air-conditioning. Whenever he arrives to his office (get in the range of bluetooth) the Jarrive system opens the lights (by dimming effect) and after a while starts the air-conditioning. When the users decide to leave the opposite happens. The lights close (by dimming effect) and after a while the air-conditioning closes too.

The user has to just have his smartphone with the Jarrive application on him!

Hardware Requirements

  1. Arduino UNO
  2. Bluetooth module HM-10
  3. 220V AC Relay 5V for Arduino
  4. Velleman K8064 DC Controlled Dimmer
  5. Jumper Cables
  6. Power Supply for Arduino
  7. Breadboard (optional)

Hardware Connection

Follow the steps below to connect the "J'arrive" system. Advice the picture for detailed information.

Bluetooth module HM-10 -> Arduino
1. Pin1(TX) -> Digital Pin2 2. Pin2(RX) -> Digital Pin3 3. Pin12(3.3V) -> 3.3V Pin 4. Pin13(GND) -> GND Pin
AC Relay -> Arduino
1. GND Pin(-) -> GND Pin 2. VCC Pin(+) -> 5V Pin 3. Signal Pin(S) -> Digital Pin8
Velleman K8064 DC Controlled Dimmer -> Arduino
1. Analog Input Pin(-) -> GND Pin 2. Analog Input Pin(+) -> Digital Pin9 ***must be a PWM Pin
Final Connections
1. Power Supply -> Arduino Board ***recommended a 9V-12V 1A Power Supply 2. Clima -> Terminal Block (NO) of the AC Relay 3. Light -> Terminal Block (Load) of Velleman K8064 4. AC Power -> Terminal Block (AC Power) of Velleman K8064 ***HIGH VOLTAGE

alt tag

How it works in the arduino

The Arduino starts and setup the bluetooth through the appropriate AT commands. The Arduino tries in the loop to send a question to the device. If there is no response then assumes that the device is absent so it closes the light and the air-conditioning system. If there is a certain answer to a specific question then the Arduino assumes that the device is present. So it starts the lighting (with dimming effect) and after a while it also turns on the air-conditioning system.

The Arduino code also has a watchdog timer in order to reset after a while (with no data response) the bluetooth.

Mobile/Smartphone App

This app scan for bluetooth Jarrive system and list the device. By clicking on the listed device the connection is established. Every time the arduino sends a certain byte the smartphone sends back a certain answer. That let the Jarrive system know that the smartphone is in the range.

What to do next