Partner A's light sensor value: __960____ (on) __740_____ (off)
Partner B's light sensor value: __740____ (on) __350_____ (off)
Blog Question 2.1: What does the above code do? If you're not sure where to place the code, discuss with your partner where are your options?
The above code allows me to control when the white light turns on depending the amount of light the sensor detects.
Blog Question 2.2: Where should you put this code? Within which method? Between which lines?
I put this code at the end of the void loop.
Blog Question 2.3: What happens when you the two "reflector" SquareWears interact? Does one light up? Does both light up? Neither?
They would both light up so long as they both had the appropriate amount of light input
Blog Question 2.4: What will happen if your modify the programs so that the white light turns on when the SquareWear detects that it is in the dark? Does one light up? Does both light up? Neither?
You would have to change the > sign to a < sign and lower the value. This would make the light shine in the dark, but if both had that code, they would turn each other off due to other light.
Blog Question 3.1: In the loop method, what does the "speaker mode" code do? Describe what you expect the square wear to look like while it is in "speaker mode."
The speaker mode is essentially just a modified blink code. The speaker square wear is the one creating output for the listening squarewear to react to. I expect the speaker to flash on and off.
Blog Question 3.2: In the loop method, what does the "listener mode" code do? Describe what you expect the square wear to look like while it is in "listener mode."
The listener mode makes the squarewear react to the speaker mode, making the light flash in reaction to the other LED.
Blog Question 3.3: Cover the light sensor with your finger. What do you observe?
The light turns off. When I remove my finger it flashes white 3 times and then turns red again.
Blog Question 3.4: Hold the light sensor under a bright light. What do you observe?
When under a bright light it flashes white 3 times and then continues to turn red
Blog Question 3.5: Now see if you can facilitate communication between the two square wears. Can both call? Do both respond? You may need to adjust the threshold values in order to trigger the response.
Yes both can call and respond
Blog question 4.1: Try experimenting with the auto-calibration. Cover the light sensor with your finger and remove it repeated during auto-calibration? After the calibration is complete, does covering the sensor and removing it cause the SquareWear to react?
After the calibration is complete, covering the sensor and removing it makes the light turn off.
Blog question 4.2: Load the link program onto one of the SquareWears and calibrate the other square wear to the blink. After calibration is complete, does the blinking square wear cause the calibrated square wear to react?
It only causes the calibrated square wear to react a bit, but it calibrates somewhat similarly to how it normally does.
Blog question 4.3: Load the auto-calibration program onto both SquareWears. See if you can use the RGB LED blinking to calibrate each of the SquareWears from each other. After calibration is complete, do the square wears react to one another?
After calibration is complete the squarewears blink rapidly back and forth at one another when they face each other. When they are simply lying down they remain white.
Blog Question 5.1: Try changing the frequency of the buzzer. How does changing the frequency make the pitch sound higher or lower? Try a few values.
Making the frequency number higher lowers the pitch while increasing the number heightens the pitch
Blog Question 5.2: Sounds add another dimension to your creature. In a few sentences, discuss how you could add personality and individuality to your creature with light and sound.
You could input music notes to make your creature sing a sound. You could make a “dialog” by having high pitched sounds represent happiness while lower pitched sounds represent sadness.