Hilary’s BSE Project/ Smart Lamp with IoT

Hi, my name is Hilary, I am a rising junior from Mills High School. My project is the “Smart Lamp with IoT”, The smart lamp has serval features such as color changing, temperature and humidity sensing, intruder and light sensing, and emergency message sending.

Engineer School Area of Interest Grade
Hilary Mills High School Computer Science Incoming Junior

Project Picture

Screen Shot 2022-07-20 at 11 41 06 AM

Final Milestone

Hi, my name is Hilary, I am a rising junior from Mills High School, and my project is the “Smart Lamp with IoT”.

My third Milestone is the process of putting everything together and finishing the project. Instead of keeping the breadboard as the base, I decided to solder all the components on a circuit board. After that is done, I had to build the wooden box part. I used the application Fusion 360 for the modeling, 3d printing, and laser cutting.

My last step is to work on modifications that are my custom buttons - the rainbow light, and fire light.

Final Milestone

Second Milestone

Hi, my name is Hilary, I am a rising junior from Mills High School, and my project is the “Smart Lamp with IoT”.

My second Milestone is the custom button that allows the LED lights to show rainbow colors. I used the given rainbow code from the examples files in Arduino. The problem is that only one of the LED lights will show the rainbow color. My first step to debug it was to figure out if it is the code, the library, or the lights that didn’t work. By testing out the rainbow light’s code on its own, and comparing the combined code with the project, I was able to figure out that the library and the lights worked, so the problem was on the code. The next step was to figure out if the function of the button didn’t work or the given coded wasn’t coded correctly to fit in the project code. By testing the function in the console, it proves that the function works, the problem occurs at the process of combining the two code files. I found out the coding error is in the loop process. Instead of looping the rainbow function individually, I should loop it in an If Else statement that will run after other functions are tested false. Now my button is able to work and show rainbow colors.

My next step is to assemble the board and chip, and start on 3D printing and the outer structure.

Third Milestone

First Milestone

Hi, my name is Hilary, I am a rising junior from Mills High School.

My project is the “Smart Lamp with IoT”, The smart lamp has serval features such as color changing, temperature and humidity sensing, intruder and light sensing, and emergency message sending.

My first Milestone is the feature of temperature and humidity sensing. (Show my laptop) As you can see, the numbers are a bit unreasonable. I was able to over come this problem by figuring out what is triggering the wrong numbers: Is it the hardware? The Arduino coding? The Cayenne settings? By testing the code and switching the hardware, I was able to target the problem - the hardware. It turns out the batteries were not enough to support the chip. The solution was to connect the chip to my laptop as a battery source instead. The numbers were able to came back to a normal range.

However, following the solution of the problem is another problem, the temperature and humidity number was too low, with temperature being 40 degrees and humidity being 20 percent. I was able to figure out that the temperature is measured in Celsius, and humidity and temperature number was swapped.

Now all the numbers are working correct.

My next step is to figure out a custom button of rainbow colors.

First Milestone

Starter Project

Hi my name is Hilary, I am a rising junior from Mills High School. My project is Simon says, it is a mini game in which the player has to follow the machines’s buttons. The project includes soldering components to the front and back board, hand-screwing buttons, and placing in the battery. I enjoyed the process of soldering, and how this skill trains my hand to be steady and precise. A problem I had was this battry part. Because of the error I made in my soldering, the battery wasn’t able to connect. I was able to solve this problem by bending the connector.

My next step is to start on my intermediate project - Smart Lamp wit IoT First Milestone

Gallery

Pictures of the Smart Lamp with IOT

Screen Shot 2022-07-14 at 11 05 23 AM Screen Shot 2022-07-13 at 3 22 12 PM Screen Shot 2022-07-14 at 11 05 30 AM Screen Shot 2022-07-13 at 3 30 10 PM Screen Shot 2022-07-13 at 3 42 06 PM Screen Shot 2022-07-13 at 3 50 41 PM Screen Shot 2022-07-13 at 3 42 57 PM Screen Shot 2022-07-13 at 3 30 55 PM Screen Shot 2022-07-13 at 3 30 19 PM Screen Shot 2022-07-13 at 3 30 28 PM Screen Shot 2022-07-14 at 11 05 13 AM Screen Shot 2022-07-19 at 1 26 00 PM Screen Shot 2022-07-13 at 3 54 55 PM Screen Shot 2022-07-13 at 3 53 38 PM