转载

如此炫酷多彩,只为告诉你今天几号

Ever since I created my physical android notifier, I've been thinking of a more complete dashboard; this recipe describes the initial hardware setup for a basic calendar; the internet capabilities are yet to be developed. The next iteration would have the following features: Weather [ongoing] Shuttle / bus status [ongoing] Email [ongoing] Missed Call [ongoing] Calendar Appointments using Google Calendar [ongoing]

The Circuit

Cut the LED strip into the following sizes:

  1. 15 pieces
  2. 16 pieces
  3. 12 pieces
  4. 5 pieces
  5. 5 pieces

Solder the above pieces in order -> ensure Dout is connected to Din

Connect V to +5 and G to Gnd. I used a 1 Amp cell phone charger

The circuit is very simple.

  1. Connect the Xadow Main board to the Xadow Breakout and Xadow OLED - make sure the notches are on the same side
  2. Connect A5 to Din of the first strip
  3. Connect the battery and power

Creating the Dashboard

I created the dashboard using the following pieces:

  1. Transparent Acrylic Sheet
  2. Double-sided tape
  3. Black Vinyl
  4. Magnetic Tape
  5. Foam Core Board

Use the template from the github to cut the vinyl using a Silhouette Cameo / Studio Cutter. Alternatively you can print the PDF and cut manually.

如此炫酷多彩,只为告诉你今天几号

Stick the vinyl sheet onto the acrylic sheet carefully - avoiding any bubbles. You can use a plastic squeegee to help.

Stick the decoration piece on the top right - I used a laser-cut piece from Michaels - but you can stick anything that catches your fancy.

Stick a foam core board on the back side to act as a diffuser to ensure the LEDs look good.

Stick the LED strips to the foam core using tape in the following order:

  1. Piece 1 - behind dates 1-15
  2. Piece 2 - behind dates 16-31
  3. Piece 3 - behind the months
  4. Piece 4 - behind the lower row of icons
  5. Piece 5 - behind the upper row of icons

To get the alignment correct, I used the test sketch in the github as follows:

如此炫酷多彩,只为告诉你今天几号

Stick the OLED in the window - ensure it is the right side up.

Stick down the wires and boards with cello tape to ensure there are no shorts.

Set-Up Software

The Xadow series is designed to be used in wearables projects. Different modules can be mated to make specialized solutions with very low power consumption. I used the Xadow series because of its small size and ease of use.

The on-board controller ATmega32U4 has 32K Flash and 2.5K SRAM and 1K EEPROM, it can be also used as a USB slave module, same as theSeeeduino Lite. This Board can be powered either from the on-board USB connection or a Lithium battery. Also, there is charge circuit on this module that you can charge for the Lithium battery through the USB port.

First set-up the IDE and drivers: http://www.seeedstudio.com/wiki/Xadow_-_Main_Board...

http://www.seeedstudio.com/wiki/Support_Seeed_Prod...

Pro-Tip: The Xadow series uses the Leonardo bootloader - so even if you're using Arduino 1.0.6 - just choose Arduino Leonardo in the Arduino IDE.

The Software

Download the latest arduino sketch from my github. I will be updating this code as I progress and add new features.

https://github.com/dushyantahuja/Arduino-Dashboard

The Result

如此炫酷多彩,只为告诉你今天几号

正文到此结束
Loading...