Coding The Interaction
People Around Visualization
The circuit consists of a PIR sensor and a light sensor. The PIR sensor could detect if there are people around, and the light sensor could exam the strength of light.
The curve on the screen shows the change of light strength. And when people stand in the front of the PIR sensor, the width of the curve will increase. It seems to tell people that “I know you come here”.
The circuit consist of a chopstick, and servo.
The chopstick will make sound with a cup when the user clicks the button on the phone.
For this assignment, I mainly get help from tutorials of particle website (https://docs.particle.io/tutorials/projects/maker-kit/#tutorial-2-next-bus-alert)
Light Strength and LEDs
The circuit consists of a potentiometer, a light sensor (input components), 4 LEDs, and a servo (output components) instead of the vibration motor because assignment advises us to switch one component.
The LEDs will display the light level according to light strength received by the light sensor. The potentiometer could also change the light threshold. When the light strength is strong enough to light the third LEDs, the servo would move to 25 degrees.
For this assignment, I mainly get help from class and the Particle Docs Website (https://docs.particle.io/guide/getting-started/examples/photon/), especially the example of Photoresistor.
Power Level Clock