Conceptual Design
A scenario for this product is that a travelling business women might want to interact with her kid from far away. With this device, she can send button presses that the child would see and associate with her presence. The kid could also send button presses by flipping the switch to send mode.
Parts
Two Particle Argon
8 leds
6 buttons
2 switches
20 wires
Process
We initially spent most of our time figuring out how to get button presses to light up an LED and read that the button is pressed in the code. We had to experiment with different wiring solutions since we first had the button complete the circuit with the wire. We changed this to have the particle supply the led with power, and we also had to use pull down functionality to light up the led.
After this, we began to work on the networking components. We chose to use a string as our data format. After 9 button presses, the sender device will send the string over the network to the other device. Each character of the string encodes a button press. When the other device receives this string, it will iterate through the characters and light up the appropriate light.
We finally implemented the switch functionality, so that we could switch the devices on the fly from sender to receiver and vice versa.