-
1Step 1
Electronics:
- A Standalone Arduino: http://dushyant.ahuja.ws/2013/10/standalone-arduin...OR Arduino mini pro: http://www.aliexpress.com/item/10Pcs-Lot-Pro-Mini-...
- RTC Module – DS1302: http://fabtolab.com/DS1302-RTC-module?search=rtc
- LM2596 Step Down Adjustable Power Supply Module 1.3V-35V:http://cgi.ebay.in/ws/eBayISAPI.dll?ViewItem&item=...
- 1m 60LEDs/M Addressable RGB LED Strip (WS2812B):http://www.aliexpress.com/item/1M-WS2812-WS2812B-6...
- HC-05 Bluetooth module: http://www.aliexpress.com/item/RS232-TTL-LC-05-Wir...
- IR Proximity Sensor: http://www.instructables.com/id/Simple-IR-proximit...4 IR LEDs; 1 IR LED detector: http://www.evelta.com/industrial-control/sensors/5...
- Touch Pad: http://www.aliexpress.com/item/Touch-Pad-Brick-Sen...
- 9V – 2A Adapter
- CP2102 USB-to-TTL (the RST pin on the CP2102 is not for resetting the arduino – you have to solder a wire to the DTR pad on the PCB – which sends a reset signal to program the arduino. This has to be connected to the DTR pin on the Arduino
-
2Step 2
System Design:
The circuit is very simple:
- LED Strip - Connect power to the LM2596 Step Down Adjustable Power Supply Module - ensure you adjust the pot so that the output is 5V; Connect the ground to the common ground; Connect data to pin D5 of the Arduino
- Touch Sensor - data to pin D2 of Arduino
- RTC Module - SDA and SCL to the A4 and A5 of the Arduino respectively
- Bluetooth Module - Connect RX to Arduino's TX and TX to Arduino's RX. You will have to break-out pin 32 on the module to the DTR pin on the Arduino (This allows you to program the Arduino over bluetooth)
- IR Proximity Sensor - create the sensor as per this instructable:http://www.instructables.com/id/Simple-IR-proximit... - connect the photo-diode to A1 (A0 on the instructable schematic) and the IR LEDs to D13 (D2 on the instructable schematic)
- Connect the Power 9V 2A Power supply to the input of the 7805 and the LM2596
To setup the bluetooth programming circuit, please follow this link:http://makezine.com/projects/diy-arduino-bluetooth...
-
3Step 3
The Code:
This clock uses the following libraries (and all thanks to the authors of these libraries):
- RTCLib Arduino Library: https://github.com/adafruit/RTClib
- FastLED Arduino Library v2.1: http://fastled.io/https://github.com/FastLED/FastLED/tree/FastLED2.1
- SerialCommand Arduino Library:https://github.com/scogswell/ArduinoSerialCommand...
- TimerOne Arduino Library:https://github.com/scogswell/ArduinoSerialCommand...
The latest version of the code can be downloaded from the project github:https://github.com/dushyantahuja/Smart-Infinity-Mi...
-
4Step 4
The clock is primarily made up of the following:
- 2 pieces of 8mm plywood (600mm x 600mm) - needs to be cut as per the schematic above
- 1 piece of 18mm block-board (600mm x 600mm) - needs to be cut as per the schematic above. Please be careful with the circle - the circumference needs to be exactly 1000mm so that the 60 LEDs fit properly. I got it cut from a carpenter and he rounded up the radius from 159.23 to 160 - so I had to use double sided foam tape to get the LEDs to fit properly
- 1 circular 6mm mirror - 400mm dia
- 1 circular 6mm glass - 400mm dia. You need to put silver sun-control film on this - you can get this either from auto-accessories vendors or from window / glazing installers. 3M has a very good film that you should be able to get from 3M dealers
- 1 small round steel plate (100mm dia)
- N45 Silicon adhesive
- Black Paint
- Black Vinyl - you can get this from auto-accessories vendors or sticker manufacturers. We used a slightly sparkling matt black - similar to this:http://www.ebay.in/itm/Brilliant-Diamond-Black-Pea...
Steps:
- Join the pieces of plywood and block-board together, keeping the block-board in the center - you should use Fevicol (or similar) as well as nail it down
- Paint the interior portion Black
- Stick the LED strip to the interior of the circular cutout in the block-board. Ensure that the first LED is at the 12 o' clock position
- Wire up the Arduino as per the circuit in the previous step and hot-glue it to the square cutout
- Mount the touch-sensor on one of the sides using hot-glue (you will have to drill the block-board slightly so that the wires fit and don't show)
- Stick the mirror on the back side (facing up) using N45 silicon glue
- Stick the steel plate at the center of the mirror
- Stick the glass on the front side (film inside) using N45 silicon glue
- Test the circuit by plugging it in
- Troubleshoot :-)
- Fix the black vinyl on the front side - you will have to cut a circle in the center (~380 mm dia) so that the joint between the glass and the wood gets hidden.
-
5Step 5
The costs were roughly as follows:
- Wood Frame - INR 1200 for the wood, INR 500 to get it cut and INR 500 to get it assembled and straightened
- LED Strip - INR 700 for 1m
- Standalone Arduino - INR 200
- Bluetooth Module - INR 500
- RTC Module - INR 155
- LM2596 Module - INR 150
- IR LEDs - INR 50
- Vinyl - INR 1000
- Shipping, Veroboard, hot glue, wires, etc - INR 400
- Touch Sensor - INR 250
All in all ~INR 5,500 (~ USD 95) - not counting my time :-)
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.