Our project utilizes two Particle Argon boards to detect if a room is in use and turn on a light. The first Argon has a motion sensor attached and when it is activated it publishes an event that the second Argon is subscribed to. When the motion is detected the data that the event publishes is a 1 and when no motion is detected it the event publishes a 0. If the second Argon reads a 1 from the subscribed event the LED turns on and if it reads a 0 the LED turns off. After the second Argon turns the light on or off it will publish an event that the first Argon is subscribed to. The first argon will then flash its own LED light to confirm that the message is received. To ensure the user of the room does not have to constantly move a 60 second is triggered every time the Argon detects movement. If no movement is detected their is a 10 second delay to ensure that data is not sent to ThingSpeak to quickly.
MEGR 3171 IOT Motion Sensor
A motion-sensing light system that has 2-way communication between 2 Particle Argons and uploads data to ThingSpeak.
IntermediateShowcase (no instructions)2 hours281