APDS9960

has an integrated IR LED and driver

four directional photodiodes that sense reflected IR energy from the LED

Inches Away / Slow Speed Accurate

Inches Away / Slow Speed Accurate

Inches Away / Fast Speed Accurate

Inches Away / Fast Speed Accurate

Larger Distance / Can Not Recognize

Larger Distance / Can Not Recognize

Initial Thoughts:

Moving Diagonally / Depends on the Angle

Moving Diagonally / Depends on the Angle

The gesture sensor cannot read when the movement is far. It reads accurately both when the hand is moving fast and slow within the sensor range. When the hand is moving diagonally across the sensor, it depends on the angle compared to the x-axis and y-axis. When the movement is closer to an up-to-down gesture, the serial will print out ^. Same with the left-to-right movement.

Curious Cube Document

What are the interactions:

( after 1 minute, goes to sleep mode)

Mood States associate with LED fading/blinking frequency.

Mood States associate with LED fading/blinking frequency.

Progress:

We tried to figure out the code first without connecting to sensors.

We replace the PIR sensor with a button (when pressing the button, the cube is awake)

Then we connect the Capacitive sensor to Arduino to track the pet action.

We check the states using a button and a Capacitive sensor. After the cube is awake, the cube will evaluate between the peace and sensitive mode.

We check the states using a button and a Capacitive sensor. After the cube is awake, the cube will evaluate between the peace and sensitive mode.