Fab Academy 2014

Week 16: Applications and Implications

Assignment: Plan and document a final project that integrates the range of units covered...

LED NIGHTLIGHT

What Will It Do?

When the button is pressed the platform will begin to rotate while the cube emits soft ambiant light for a nightstand or child's room.

 

What Materials and Components will be required?

- PCB Board

- LEDs

- Plastic Spheres

- 1/8" thick piece of acrylic (24" x 18")

- Acrylic Glue or Double sided tape

- Arduino Uno

- Breadboard

- Dual H Bridge

- Universal Mounting Hub

- Stepper Motor

 

Where Will They Come From?

most of the materials used came from the fablab inventory, the LEDs came from digi-key, the mounting hub from sparkfun.com and the acrylic used to make the boxes were purchased at TAP Plastics in San Leandro, CA.

 

How much will it cost?

QTY PART # ITEM DESCRIPTION UNIT PRICE EXTENDED PRICE
5 311-499FRCT-ND RES 499 OHM 1-4W 1% 1206 SMD $0.01 $0.03
1 311-10.0KFRCT-ND RES 10.0K OHM 1-4W 1% 1206 SMD $0.01 $0.01
20 311-0.0ERCT-ND RES 0.0 OHM 1-4W 5% 1206 SMD $0.00 $0.10
1 445-1423-1-ND CAP CER 1UF 50V X7R 10% 1206 $0.07 $0.07
1 LM2940IMP-5.0CT-ND IC 5V 1A LDO VREG SOT223 $1.70 $1.70
10 160-1737-1-ND LED WHITE YELLOW 260MCD 1206 $0.25 $2.48
10 160-1643-1-ND LED BLUE CLEAR 1206 SMD $0.20 $1.96
1 ATTINY44A-SSU-ND 1C MCU AVR 4K FLASH 20MHZ 14OIC $1.18 $1.18
1 BH9V-W-ND HOLDER BATTERY 9V WIRE LEADS $1.27 $1.27
1 649-71600-00GLF QUICKIE IDC CONNECTORS 2X3P SNGL $0.60 $0.60
  subtotal $9.40
   
100   1/8" Inch Acrylic Spheres $0.15 $15.00
1   24" x 18" Acrylic Sheet (1/8" Thick)  $21.45 $21.45
  subtotal $36.45
   
         
1 238538 4-PHASE 12VDC 0.4A UNIPOLAR STEPPER MOTOR $21.95 $21.95
1 149948 SWITCH PUSH BUTTON  $0.35 $0.35
1 L298N  DUAL H BRIDGE DC STEPPER MOTOR CONTROLLER $9.95 $9.95
1 ROB-10006 UNIVERSAL MOUNTING HUB - 5MM $7.49 $7.49
  subtotal $64.25
   
      TOTAL $110.10

 

What parts and systems will be made?

I used Eagle to design the LED board, a Roland Modela to mill the traces and cut out the PCB boards. I used the FabISP to program the LED array board, I used a laser cutter for the acrylic boxes, and I used Fritzing for the wiring and circuit schematics for the stepper motor

LED Array PCB Interior

LED Array PCB Traces

LED Array C Code

LED Array Makefile

Stepper Motor C Code

Acrylic Box/Platform/Cube File

Wiring Schematic

Circuit Schematic

H Bridge Board

Fabduino

 

What processes will be used?

- Project Management

- Computer Aided Design

- 3D modeling

- Computer controlled cutting

- Electronics design

- Electronics production

- Output Devices

- Embedded programming

- Input Devices

- Mechanical Design

 

What tasks need to be completed?

I was able to get my final project to run successfully with a store bought Arduino Uno and a Dual H Bridge. I was also able to get the fabduino (embedded programing week) and h bridge (output device week) successfully working following the class page steps/examples. However when I tried to integrate the fabduino or the h bridge, or both with my final project it was unsuccessful. I've had several people from TIES and the Fab Foundation try and help me troubleshoot with no solution being found.

 

What questions need to be answered?

whether the brightness of the LEDs can be adjusted.