Name | NetID | Section |
---|---|---|
Faye He | xh40 | ECE 120 |
Link to the Final Report
https://docs.google.com/document/d/1NxfDlednDU_E5PHHStaq14p1jpL4tGg1eYBXzBEJybo/edit?usp=sharing
Statement of Purpose
Sometimes I am scared of walking alone in the dark, so I want to make a portable flower night light that can be charged inductively and glows when a different combination of buttons are entered. The passcode is made up of a sequence of buttons and logic gates. A different passcode corresponds to a unique NeoPixel color combination. Throughout this project, I will practice my designing, soldering, CADing, molding, and Arduino skills. I will need to learn to use a laser cutter or a 3D printer.
Background Research
I mainly focused on researching what components have the best functions based on my need for the project. Then, I researched the current and voltage regulation and the specifications of the chosen components. This project is important because I believe this is the most complicated project I have designed so far. I would like to incorporate both artistic and technical aspects into this flower night light. I am sure I can learn a lot of new skills along the way.
- Inductive charging
As the distance between the coil increases, the amount of current that can be drawn decreases.
Note: If my table is too thick for the inductive charging coils to interact, I will need to make a non-conductive charging plate
as my "table". - NeoPixels
-Each LED has about 18mA constant current drive.
-Needs 4V to 7V DC.
-Adafruit NeoPixel source code: https://github.com/adafruit/Adafruit_NeoPixel/tree/master/examples
https://learn.adafruit.com/adafruit-neopixel-uberguide/best-practices:
-"When connecting NeoPixels to any LIVE power source or microcontroller, ALWAYS CONNECT GROUND (–) BEFORE ANYTHING ELSE. Conversely, disconnect ground last when separating."
-"When using a DC power supply, or an especially large battery, we recommend adding a large capacitor (100 to 1000 µF, 6.3V or higher) across the + and – terminals. This prevents the initial onrush of current from damaging the pixels. "
-"Adding a ~470-ohm resistor between your microcontroller's data pin and the data input on the NeoPixels can help prevent spikes on the data line that can damage your first pixel. Please add one between your micro and NeoPixels! Our NeoPixel rings already have this resistor on there." - Molding resin flower petals
- nonsulfur based clay - Lithium-Ion Battery
-Use a LiIon/LiPoly constant-voltage/current charger to recharge at a rate of <1A.
-Cannot use NiMH/NiCad/lead-acid charger. - Buttons and logic
- Feather
- Assembly
Block Diagram / Flow Chart
*add the light combination logic
System Overview
The system includes two large units, a charging unit, and a light unit, in which the charging unit provides power to the charging one. In the charging unit, the AC adaptor converts AC to DC which can be used to charge the LiIon rechargeable battery. Then the battery can supply The buttons include an on/off button that controls the power and a sequence of on/off buttons that controls the NeoPixel light combinations.
Parts
Provide a list of parts that you may need for your project. You should include details such as the quantity, model number, purpose, vendor, and price (excluding taxes and shipping) for each part. This list may change as you work on your project.
Name | Purpose | Quantity | Model Number | Vendor | Note | Price | Ordered | Received |
---|---|---|---|---|---|---|---|---|
Inductive Charging Set | 5V @500mA max | 1 | Product ID: 1407 | To make the light charge inductively | link | 9.95 | y | y |
AC Adaptor | Plug type: Micro USB | 1 | Product ID: 1995 | To supply voltage from the wall to the light | 8.25 | y | y | |
Brass wire | 1 | 8864K84 | The skeleton of parts of the flower | link | 9.37 | y | y | |
RGBW NeoPixel Jewel - Warm White | 1 | Product ID: 2858 | The core of the flower | link | 6.95 | yy | yy | |
| ||||||||
LED | 3 (pack of 10) | SMLEN3WBC8W1 | emit light | link | 3.85 | y | y | |
Cylindrical Battery | JST cable Dimensions: 69mm x Diameter18mm Nominal Capacity: 2200mAh ±2% Nominal Cell V: 3.7-3.9V | 1 | Product ID: 1781 | To power the light | link | 9.95 | y | y |
LiIon Charger | MicroUSB, JST Dimensions: 21mm x 19mm x 2mm Input V: 5V Charge I: 0.1A or 0.5A | 1 | Product ID: 1904 | To charge the battery with an adapter | link | 6.95 | y | y |
Feather 32u4 Basic Proto | 1 | Product ID: 2771 | Control NeoPixel | link | 19.95 | y | y | |
| ||||||||
Soft Silicone Push-buttons | 6mm | 1 (pack of 20) | 4183 | allow user input | link | 2.5 | y | y |
Rainbow Tactile Button | 6mm | 1 (160 pieces) | 4184 | allow user input | link | 9.95 | y | y |
Heat Shrink Tubing | 5.21mm to 1.52mm | 1 | VER316B-5-ND | insulate wires | link | 5.35 | y | y |
Electrical Tape | 1 | 3M156004-ND | Prevent short circuit | link | 5.40 | y | y | |
3D Filament | 1 | RM-PL0322 | to print the flower petals | digikey or mouser or or link | 19.99 | y | y | |
Balsa Wood | 1 | 5068K42 | stand of the light | link | 10.40 | y | y | |
fiber optic | 2 | FB144-1-ND | transmit light | link | 4.74 | y | y | |
|
| |||||||
metal tubing | 0.12" OD, 0.01" Wall Thickness | 1 | 8987K24 | the stem of the flower | link | 7.56 | y | y |
Total: 6.95+19.95+9.95+8.25+9.95+6.95+19.99+6.95+2.5+4.74*2+5.35+7.56+3.85*3+9.95+9.37=150
Arduino interrupt
Possible Challenges
Possible challenges include coding the color combinations of NeoPixel Jewel based on the input logic combinations. Another challenge is making sure the individual parts have optimal voltage and current that functions together with other parts.