Project is ongoing.
GyroCube is a Smart-Home accessory. The GyroCube is a multipurpose cube that can perform different functions based on the cube placing. The functionality is changed by simply flipping the cube on the table. The functionalities are humidity measurements, OMA notifications, and weather-forecasts. GyroCube uses vibration modules and LEDs as the output method to notify the user of changes.
GyroCube consists of the main station and cubes that will be in constant M2M communication. The main station handles the sensor measurements and internet communications, while the cubes react to changes in the main station. Thus, allowing the GyroCube environment to be scalable, as the user can connect as many cubes as he wants.
The goal is to provide the user with a delightful-looking home accessory, which will also allow them to obtain helpful information in a simple, minimalistic way.
The HUB acts as Zigbee coordinator/router, while the cubes are end devices of the topology. HUB communicates with Wireless Access Point.
PCB design for the gyrocube IoT project. Consists of several parts: x6 RGB LED PCBs, cube's MCU and main hub's MCU. External components were used when designing the schematics
Hub PCB:
Microcontroller
RF Tranciever (Zigbee)
Wi-Fi Module
Cube MCU:
Microcontroller
Gyroscope
Humidity/Temperature sensor is custom. The library is cached in the respective folder.
Vibration coin
Uses ws2812b-5050 LED and 100-1000 uF filtering capacitor. The exact value is not yet specified.
The LED PCB are connected to each other with wires. The cube's PCB contains the connector to connect the first LED, that starts the series.
Cube PCB contains the MCU and all the peripherals.
The MCU consists of several connection "zones":
- SPI communication with 2 chip select slave pins
- MCLR/PDG/PGC + Connector for PICKit programmability
- Decoupling 0.1uF capacitors
- Peripheral control pins (PWM, sleep/wake up/reset signals)
MEMS Motion sensor: L3GD20H, three-axis gyroscope, utilizes SPI interface
Humidity/Temperature sensor: Si7007-A20, digital output via PWM
Diode and capacitor protect the components from voltage spikes, generated by the motor.
Motor requires 75 mA, N-Channel MOSFET amplifies the current from MCU's GPIO.
Intensity of vibration is handeled by PWM.