Cookie Jar Tracker

I started the exercises and ran into the same problem that Margarita did with my breadboard not having enough holes for the wire and the resister. I tried a few different solutions but they only kept my LED on permanently. After checking the miro board I decided to put this one on hold, but I think that I am very close with that. I got the Adafruit IO to work but I am still confused with the NodeMCU conversion.

As for my final project, I would like my cookie jar to send me a text every time the jar is opened. I would like to hide the board in the top of the lid with a motion sensor attached. I want to source a cookie jar from ebay or goodwill, in order to get a unique one without a cylindrical form. I also tried to make a circuit diagram on Fritzing and it didn’t let me get to the circuit page, and I dont think the Tinkercad has a wifi board. Im also thinking of putting a LED tracker on the side of the jar. Ideally I would like the inside of the jar to dispense only one cookie at a time. Not really sure how to do this at home with limited tools, but I thought that would prevent from tricking the counter by getting many cookies at once. In any case I think that I will need the following:

  1. Feather Huzzah: https://www.adafruit.com/product/2821
  2. Battery holder: https://www.adafruit.com/product/3286
  3. cookie jar https://www.amazon.com/Seven20-Harry-Potter-Ceramic-Cauldron/dp/B082ZT7FSB/ref=sxin_9_ac_d_pm?ac_md=4-2-QWJvdmUgJDI1-ac_d_pm&cv_ct_cx=cookie+jar&dchild=1&keywords=cookie+jar&pd_rd_i=B082ZT7FSB&pd_rd_r=77a9e2d3-e880-47d8-be3f-d0b67700cccc&pd_rd_w=FKSng&pd_rd_wg=gfYM9&pf_rd_p=68f25c26-6854-442e-9296-f746545e76bb&pf_rd_r=HKXWYMRAYJ061A3JFEME&psc=1&qid=1605662435&sr=1-3-22d05c05-1231-4126-b7c4-3e7a9c0027d0
  4. PIR Motion sensor: https://www.adafruit.com/product/189
  5. Solder Kit: https://www.amazon.com/Soldering-Kit-Temperature-Desoldering-Electronics/dp/B07GTGGLXN/ref=sr_1_6?dchild=1&keywords=soldering+iron&qid=1605662511&sr=8-6
  6. Zip Ties: https://www.amazon.com/Pieces-Multi-Purpose-Locking-Tensile-Strength/dp/B07SJTQWX2/ref=sr_1_1_sspa?dchild=1&keywords=zip+ties&qid=1605662548&sr=8-1-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUE3MjUwRkpIN1I5RTgmZW5jcnlwdGVkSWQ9QTA4NTYyODIyWDVaUFo5UFUwSlZQJmVuY3J5cHRlZEFkSWQ9QTA2MDI4NzAzNDJYREVMNklaOTVPJndpZGdldE5hbWU9c3BfYXRmJmFjdGlvbj1jbGlja1JlZGlyZWN0JmRvTm90TG9nQ2xpY2s9dHJ1ZQ==
  7. Foam Board: https://www.amazon.com/Board-Center-11×14-Backing-Boards/dp/B014VCOCEC/ref=sr_1_5?crid=1AH4IAGPG9235&dchild=1&keywords=foam+board&qid=1605662574&sprefix=foam%2Caps%2C169&sr=8-5
  8. LED Counter: https://www.amazon.com/ELEGOO-Project-Tutorial-Controller-Projects/dp/B01D8KOZF4/ref=sr_1_1_sspa?dchild=1&keywords=arduino+kit&qid=1605662796&sr=8-1-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEzRTdXMDk4R0JDMFdWJmVuY3J5cHRlZElkPUExMDAwOTg5MUpUWjE3SUZDUVVHNiZlbmNyeXB0ZWRBZElkPUExMDAxMzc2M1RTT1dKR0NNR05TQiZ3aWRnZXROYW1lPXNwX2F0ZiZhY3Rpb249Y2xpY2tSZWRpcmVjdCZkb05vdExvZ0NsaWNrPXRydWU=

IoT Excercises pt.2 and Final Project update – Anne

IoT is working. Connected and set up “command” at Adafruit IO and that is working fine. Set up IFTTT account and applet there.

IFTT applet set up to use “command” on Adafruit IO
Adafruit IO logging screen showing button presses on board on my desk.

Here is the exercise to have two Adafruit feather huzzah boards talk to each other via the “command” feed. Even though the boards are mounted on the same breadboard, they are not physically connected to each other.

Project: Visual Weather Station

I’ve been working on setting up, understanding and now modifying Becky’s Minimalist Weather station as the basis for my visual weather station. The first mod I tried was adding an OLED screen to show me if the board was in fact connected to my wireless. However, after fidgeting with this, I’m not sure of

a) how I could refresh the initial screen once the device is powered up to see if it still connected to the internet and

b) I’m not sure if this is a real problem — as in restarting the device should connect it to wi-fi and if it doesn’t that is a problem with the wi-fi. (I’m going to leave the prototype running for a day or two to see if it loses wifi and then reboot it on battery and see if it has any problem reaquiring wi-fi.)

There’s another possible problem with this solution in that the 7 segment display uses the SCL and SDA ports on the board. I’m not sure if these can be shared between and OLED and a 7 segment matrix display. (The 7 segment is needed to display the temperature in the finished weather station.)

Anyhow, the OLED display is on hold for now. Here is the assembled working weather station per Becky’s Instructable:

The 7 segment display is pulling temperature data from Weather Underground by way of IFTTT where it is set up as an applet and connected to an Adafruit IO feed. The neopixel stick is divided into 2 neopixel sections — Clear (Sunny), Cloudy, Raining, Snowing — each responding to Weather Underground data by way of IFTTT applets set to trigger on changes in weather conditions. These are connected to an Adafruit IO feed. The two that are lit here indicate that the conditions are Cloudy outside. (In the time it took to update this post the conditions changed as seen in the final photo in this post.)

Now that the basic visual weather station is working, the next step is to expand the weather conditions. The Applets have been created in IFTTT as well as the feeds in Adafruit IO.

The electronics and neopixels will go inside a case with cutouts showing a selection of visual icons for the weather conditions. There will also be a cutout for the temperature display.

Proposed Bill of Materials (BOM)

(1) Feather Huzzah board https://www.adafruit.com/product/2821

(1) 7 segment feather matrix https://www.adafruit.com/product/3106

(1) lipo battery https://www.adafruit.com/product/1578

(1) a/c adaptor 5.25vdc 1A https://www.adafruit.com/product/1994

(1) inline usb micro B to usb A power switch https://www.adafruit.com/product/2379

(2) neopixel RGBW sticks https://www.adafruit.com/product/2867

solid core wire https://www.adafruit.com/product/1311

(1) perma-proto board https://www.adafruit.com/product/1609

either a small 4×6 shadow box or basswood to build a box plus chipboard and diffusion materials for the neopixels.

Circuit Diagram

Running Fritzing on Mac Catalina has not been successful. It crashes trying to load Adafruit parts. This week’s circuit diagram is therefore drawn by hand until I can figure out why Fritzing is not working after repeated attempts to install the program and the Adafruit parts libraries.

However, while Fritzing was a fail this week, while I was working on this post Weather Underground updated the conditions from Cloudy to Clear (Sunny) and the weather station received the data and changed the neopixels to the first two:

More IoT and Final Project Planning – Margarita

Lesson Progress:

I’ve read through both articles and will continue working on them tonight and this afternoon but wanted to send over what I have worked on so far.

Speculative Bill of Materials

Project Proposal + Circuit Diagram

Bookend drafts / inspiration

I decided to go with the bookend with an LED display that shows how long you have until your next meeting / event. The display would sync up with your Google calendar using IFTT and connecting with the Arduino IO. The plan is to also add a neopixel jewel to turn on when the value in the display is equal to or less than 5 as an alert of you need to be ready to do your meeting.

If I can figure it out I would like to make two so there would be one for different people. I think I would need to create another circuit using a different ESP8266 board.

IoT Exercise 2 & final project update

PIR sensor
Lighting LEDs

I’ve read through all examples and tried most of them, I didn’t make the last one in lesson 5 and the one in lesson 6.

Materials for final projectLinks
16 *16 pixels LED screenhttps://m.tb.cn/h.4WtfANM?sm=ef860f
Framehttps://m.tb.cn/h.4egShMS?sm=56d141
PIR sensor HC-SR501https://m.tb.cn/h.4eg7yb3?sm=475c53
Extra battery3.7V 2000mAh

More IoT and Final Project Planning-Yiwu

this is the moniter version.

what we see on Adafruit website.

email I recived by clicking on the botton.

video for PIR motion sensor. The holding state seems to be a little bit long.

Final project:

list of components and parts:

one more ESP8266 board and PIR motion sensor.

Some female-male lines.

Two small breadboard

Two power lines with switch.

circuit diagram:

IoT class exercises + Final Project Sketches

My first idea is a cookie jar tracker. It would have a sensor inside that every time it opens it counts how many times it is opened. Pretty straightforward, I want to complicate it but not sure how.

The second idea is a vanity check. Being locked up in quarantine for almost a year, it’s natural to be overly critical of your body. This tracker would count how many times you appear and stay in front of the mirror for more than 3 seconds.

And my last idea incorporates my background photography. I know a lot of my friends have started Covid projects where they photograph people from 6 feet away. Initially, I wanted this to be linked to a crappy digital camera and rest on my window sill facing the street. And whenever anyone would come within a certain distance, the camera would automatically take a picture. Then I was thinking about how we really don’t keep 6 feet of distance anymore, despite the pandemic being worse than it ever has been in the US. So I was going to link up a GoPro and a big LED sign to one’s chest telling people to back off. Additionally, whenever anyone is closer than six feet, it would take a picture of them.

IoT exercises & Final Project Brainstorming – Isabell

Final Project Brainstorming:

Idea 1:

This is the first idea that I thought of inspired from the interactive drake pillow I saw from past students. Since I love music, I thought it would be a fun and lasting project. I am not 100% about if I can obtain all the parts I need in Korea but i would need to research how long it will take to come.

Idea 2:

Due to the time differences in class, sometimes there is a tension between family members because they may not know what time I have slept the night before. Therefore, to communicate if I have slept early, normal, or late time would be placed outside on my door so that my family members will know not to wake me up.

Idea 3:

From inspiration from the half marathon training lamp, I thought if I plan on going on a diet for my health a diet process lamp would motivate me. If i saw a lamp slowly being filled with my goals, I would feel motivated to reach my goal!

Zekun’s IoT exercises and brainstorming

All of my concepts start with one simple idea, what if products have life? I been collecting the image of this kind of fun product that accidentally looks alive. And they makes me wonder what if products are alive, how will they act? 

The first concept is a LED light made by NeoPixel LEDs, the light will show normally when there are people in the room, and the pixels will scattered or light up randomly like they are chilling and talking to each other when people are absent.

The second concept is a clock that “fall asleep” after working for 10 minutes, and you have to wake it up by shaking it.

The third concept is an angry alarm clock that goes crazy when you ignore it. (vibrating, showing random number and shaking if possible)