Back to Parent

Outcome


Outcome

    The outcome of this lab was a successful circuit and code that operated as intended. The circuit consists of a Particle Argon board, a pushbutton, a transistor, a diode, a resistor, and a fan. The fan is configured to turn on for one second every time a new photo is added to my icloud account. 

Process

The first step in creating the device was to assemble the circuit. This circuit was a little more complex than the ones we have worked with in the past. Because this circuit use a fan, a transistor was required to satisfy the higher power consumption. The transistor is placed in between the external power supply and the fan, so that the argon can turn the fan on and off, but utilize the external power to actually run the fan. Once the circuit was assembled, the code was written to have a cloud function that would trigger the fan when called. This was then integrated with a webhook in IFTTT. This webhook is configured to trigger when a new photo is added to my icloud. This required downloading the IFTTT app to my phone to monitor my photos and trigger when a new one is added.

Reflection

This was a fun lab to work on because I got to learn how to use higher powered components than LEDs or Neopixels. It didn't occur to me that you would have to modify the circuit design to incorporate a higher powered device. I also enjoyed figuring out what cloud integration I was going to use for this lab. I hadn't browsed the entire IFTTT catalog before this, but I took the time to look through all of the services you can integrate and was surprised to see that there was one that could handle icloud photos. I would have thought this would be too complicated to integrate, but IFTTT made it simple.

F5a69090 1a29 4e52 86a2 ef66af21cffa 1 105 c.thumb
Show Advanced Options
C57ed4d1 e8ac 4132 a885 2ae3decaf0de 1 105 c.thumb
Show Advanced Options
Show Advanced Options
Screenshot 2022 12 14 at 1.51.01 pm.thumb
Show Advanced Options
Screenshot 2022 12 14 at 1.50.45 pm.thumb
Show Advanced Options
Screenshot 2022 12 14 at 1.51.25 pm.thumb
Show Advanced Options
Drop files here or click to select

You can upload files of up to 20MB using this form.