Hello,
This will be my first venture into an engineering project, and I am posting this to track my progress and also garner some input and advice from some more experienced individuals. I am a student in computer science, so I have a basic understanding of logic and programming(I would think a sufficient level to complete this project). However, I have zero experience with the electronics side of this project. I have done a bit of research on basic concepts like voltage vs. amperage vs. resistance, as well as different types of components like resistors, transistors, microprocessors, etc. but as far as connecting all of these pieces goes, I am clueless. I would say I have a fairly weak understanding of these concepts at the moment, but I'm continuing to conduct further research.
The idea: Make an "alarm clock" that will use light to gradually wake me up instead of being jolted awake by a loud noise or bright light.
I live in Minnesota, and during the winter season I have a very difficult time getting out of bed in the morning. In the dead of winter, the sun does not rise until almost 8 am, so it is very difficult and disorienting to wake up to complete darkness.
I have tried other solutions like smart outlets and switches in the past, but the problem is that the light is either too dim to wake me up, or too bright resulting in a type of reaction similar to a "falling dream"(jolting and flailing as I'm being forced from my slumber. Not an ideal way to begin my day).
I want to use an LED Light Strip that I can mount along the perimeter of my window that will slowly increase in brightness over the course of maybe half an hour. There are a few reasons that I want to use an LED Light Strip over a single high-output led:
Here is a list of components I plan on using. I will include my reasoning for including them on some of them. I would appreciate if you could point out any issues with my understanding of what some of these components do.
I am aware of the fact that the Arduino has PWM I/O pins and it is my understanding that these pins can be used to essentially control the brightness of something like an LED by manipulating the pulse width. I am unsure of how this would work in a strip of 300 LEDs. My intuition says it would work fine, but I have no experience to base that on. Some else that I've encountered in my research is a MOSFET. I am not sure if a MOSFET would be needed, and while I am not entirely sure how they work I understand that they can be used a variable resistor which is what I think I need.
Main concerns and questions I have:
Thank you for your time.
tl;dr: Move closer to the equator.
This will be my first venture into an engineering project, and I am posting this to track my progress and also garner some input and advice from some more experienced individuals. I am a student in computer science, so I have a basic understanding of logic and programming(I would think a sufficient level to complete this project). However, I have zero experience with the electronics side of this project. I have done a bit of research on basic concepts like voltage vs. amperage vs. resistance, as well as different types of components like resistors, transistors, microprocessors, etc. but as far as connecting all of these pieces goes, I am clueless. I would say I have a fairly weak understanding of these concepts at the moment, but I'm continuing to conduct further research.
The idea: Make an "alarm clock" that will use light to gradually wake me up instead of being jolted awake by a loud noise or bright light.
I live in Minnesota, and during the winter season I have a very difficult time getting out of bed in the morning. In the dead of winter, the sun does not rise until almost 8 am, so it is very difficult and disorienting to wake up to complete darkness.
I have tried other solutions like smart outlets and switches in the past, but the problem is that the light is either too dim to wake me up, or too bright resulting in a type of reaction similar to a "falling dream"(jolting and flailing as I'm being forced from my slumber. Not an ideal way to begin my day).
I want to use an LED Light Strip that I can mount along the perimeter of my window that will slowly increase in brightness over the course of maybe half an hour. There are a few reasons that I want to use an LED Light Strip over a single high-output led:
- Light diffusion. Having the light diffused over a large area should make the source of light(my window perimeter) feel more natural.
- Pre-soldered. Most LED Strips come attached to a flexible PCB that can be subdivided at particular intervals to fit a desired length. I'm certainly not opposed to buying a soldering iron and learning how to solder, but I figured this is one less thing that I'd like to worry about.
- "Dimmability." I will discuss this in the section below.
Here is a list of components I plan on using. I will include my reasoning for including them on some of them. I would appreciate if you could point out any issues with my understanding of what some of these components do.
- Arduino Uno. I will use this as the main controller of my circuit. It will drive the display, keep track of the alarm set time, and control the voltage being passed to the LED Strip.
- LED Light Strip. I am first going to try and use something that is marketed as dimmable(maybe, not sure if necessary), but does not have individually addressable LEDs. I will be using something in the 2400-4000K color temperature spectrum to simulate the sun's color temp at sunrise. Most of these come in 16ft rolls which I will then divide into three pieces to mount to the top, left, and right side of my window's trim.
- Clock Module for the Arduino. I am not sure if this 100% necessary, as I am unsure of whether or not the Arduino is capable of keeping time on its own. This will be set to the current time and the Arduino will use this value to output the current time to the display. The Arduino will also check the alarm time against the current time to determine whether or not to begin the sunrise simulation process.
- Buttons and a switch for the display. The switch will toggle between the current time and alarm time, the buttons will be used to adjust the hour and minute of the time that is currently being displayed.
- LCD or OLED Display. I think this project could definitely be done without this, but it will make it much easier to interact with as I will not need to alter my code and interface through my PC to change the current time(DST) or alarm time.
- 12v Power Adapter. This will be used to power the system. I have questions about this....
- Some type of variable resistor, this is where the confusion begins. I know I need some type of resistor to control the current flowing through the LED Strip. I will continue below.
I am aware of the fact that the Arduino has PWM I/O pins and it is my understanding that these pins can be used to essentially control the brightness of something like an LED by manipulating the pulse width. I am unsure of how this would work in a strip of 300 LEDs. My intuition says it would work fine, but I have no experience to base that on. Some else that I've encountered in my research is a MOSFET. I am not sure if a MOSFET would be needed, and while I am not entirely sure how they work I understand that they can be used a variable resistor which is what I think I need.
Main concerns and questions I have:
- How can I use the PWM I/O pins on the Arduino to control the brightness of the LED Strip? The PWM pins on the Arduino only output 5v and the LED strip I plan to requires 12v to run. Do I need to use these to manipulate a more powerful resistor that can pass 12v or should I go a different route entirely?
- How big of an issue will heat be? I am brand new to electronics so I am unfamiliar with how heat is dissipated from a system. I would assume that a resistor that is a resisting 12v while the light is off could produce heat. Could it be a dangerous amount of heat, and how do I deal with that?
- Will a 12v power supply be enough to power the Arduino, clock, and LED Strip? The specifications for the Arduino Uno says that its operating voltage is 5v. Does that mean that 5 of the 12 volts supplied to it will be consumed by the Uno itself?
- How would you recommend I connect these parts? I would think a breadboard would be the best way to do it while testing it, but do you know of any more permanent solutions to making this a neat and compact package once the project is completed?
- Would it be helpful if I drew a circuit schematic? How would I go about this?
- Are there any resources that have helped you understand electronics that you would recommend to others?
Thank you for your time.
tl;dr: Move closer to the equator.