Public projects 1
SMART CUBE: A New Way to Control Your Home
Project tutorial by Alberto Sartori
- 18,811 views
- 8 comments
- 38 respects
Toolbox 2
Respected projects 6
Battery Powered Turntable for Shooting Video
Project showcase by Robin1508
- 5,391 views
- 0 comments
- 39 respects
End-Effector and Control Logic for Robot
Project showcase by Team PowerBerry
- 9,411 views
- 2 comments
- 44 respects
J.A.R.V.I.S. : A Virtual Home Assistant
Project tutorial by Team Blitzkrieg
- 82,015 views
- 18 comments
- 290 respects
Comments 3
SMART CUBE: A New Way to Control Your Home over 3 years ago
SMART CUBE: A New Way to Control Your Home over 3 years ago
Hi Habana!
This project only include the code that you need to build the Smart cube. You can browse the web and search for a smart home project (there are a lot) that you can configure with the cube. About the libraries you can find them at the beginning of the code. I used these:
// Libraries
#include "CurieIMU.h" // Acelerometer & Gyroscope
#include <CurieBLE.h> // Bluetooth Low Energy
#include <Wire.h>
#include "rgb_lcd.h" // LCD
#include <Keypad.h> // Keypad
If you do not have them installed on your IDE, follow this guide to learn how to do it: https://www.arduino.cc/en/Guide/LibrariesSMART CUBE: A New Way to Control Your Home over 3 years ago
Hi Smruthi!
In this project I used the Arduino 101 board. Here is the link to the Arduino website so you can see the specifications: https://www.arduino.cc/en/Main/ArduinoBoard101
This particular model of Arduino it is like the UNO but mounts onboard a bluetooth module (the yellow part is the BLE antenna) and and also a gyroscope and an accelerometer.
Because of this (BLE and accelerometer/gyro are integrated with the 101 board) you don't need to use external modules!
The shaking is detected thanks to the onboard accelerometer and gyroscope. It uses the CurieIMU.h libraries (see the code) to detect a significative acceleration in a very short time. Here is the link of the official tutorial that I used: https://www.arduino.cc/en/Tutorial/Genuino101CurieIMUShockDetect
See the comments on the code to understand how the "switch off" condition works. It essentially detect if you shake the cube for an interval of time and then switch off the last face that was in the upper position.
Hi Nathaly0000!
This is an example of project that you can modify to realize your centraline:
http://www.instructables.com/id/Arduino-Home-Automation-Bluetooth/
You can find other examples just typing something like "smart home bluetooth arduino" on google. Basically you need another board that receive the BLE signal from the smart cube and then controls your appliances using some relay modules.
For the SMART CUBE project I used the SeeedStudio Grove LCD RGB Backlight. Here you can download the library for this hardware:
https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight