Thursday, September 17, 2009

Assembling the "LED matrix shield" kit

Updated May 16, 2011
Fellow Arduino fan Scott graciously offered this PDF version of the assembling instructions.


Updated Feb 17/2010
The content of the "LED matrix shield" kit was slightly changed: the 40-pin female header used as socket for the LED matrix is now replaced with two 12-pin machined female headers, making a much better quality connector, suitable for the thin pins of the LED matrix.
Since these new headers are not as high, the IC sockets, if soldered, would impede on the complete insertion of the LED matrix in the headers; therefore, they have been dropped.

The LED matrix shield for Wise Clock kit includes the following components (also shown in the photo):



Like Wiseduino, the LED matrix shield kit requires some basic soldering skills.
One of the most important aspects of correctly assembling the kit is paying attention to the orientation of the ICs and the LED matrix. The ICs must be positioned to match their notches with those on the silkscreen. Pin 1 (and also Pin 13) of the LED matrix are clearly marked on the silkscreen. To eliminate any doubt I also hand-wrote the pin numbers on the back of the LED matrix.

Following are the steps for assembling the board:
  1. cut the male headers in 4 pieces (two 8 pins, two 6 pins) and solder them in their right places; the easiest way to perform the soldering is to insert the pins into the Arduino extension connectors, like you had a shield in place already;
  2. solder the two 12-pin headers;
  3. solder each 100 ohm resistor after placing it vertically (bend one terminal 180 degrees);
  4. place and solder the 2 push buttons;
  5. solder the remaining 2 resistors, R17 (10K) and R19 (100 ohms);
  6. solder the infrared receiver, then bend it 90 degrees so it becomes parallel to the board and also sticks out a bit;
  7. insert the 3 ICs, matching their notches with those on the silkscreen, then solder them (before inserting them, don't forget to bend their pins, as shown here);
  8. solder the 2 decoupling capacitors (100nF);
  9. carefully insert the LED matrix, paying attention to its orientation (the pin numbers are hand-written on the back, for easier identification).
In the end, the assembled LED matrix shield should look like this (shown plugged into Wiseduino):




The code for Wise Clock can be viewed and downloaded here.

Related posts:

Enclosures - part 3

Since my last posting on enclosures, I have found a few interesting ones that are worth mentioning.

This USB enclosure may qualify as one of the smallest. And here is an update, enclosing an actual circuit board.










Cases in different sizes, from Staples
This particular one (0.55L) fits perfectly the 8x32 LED matrix display from Sure Electronics.















A simple yet practical enclosure














The Chronulator
Not a mere enclosure, but rather a work of art. Check out lots of other Chronulator mods here.


















Wednesday, September 16, 2009

Wise Clock sketch

In essence, what the Wise Clock sketch (download from here) does is to display, by scrolling from right to left, two pieces of information:
  • the current time, retrieved from a real time clock (RTC) and
  • a quotation (a one-liner piece of text) retrieved from an external EEPROM.

Some auxiliary functionality offered by the sketch:
  • allows user interaction through a Sony TV remote control and through the "Menu" push button (useful when testing or when the remote is not at hand);
  • displays selectable menu items;
  • sleep mode (turn display off);
  • time could be set through the remote control;
  • uses different colors for display.

Troubleshooting the Wiseduino board

One of the most common problem reported when building an Arduino-clone (not necessarily Wiseduino) is the failure to communicate with the board, that is, the sketch cannot be uploaded.

Here are a few things to check in this case.

- make sure the polarity is correct: the 5V and GND pins in the power connector are indicated in silkscreen;
- measure the current taken by the board; this would give an indication if there is a short somewhere; normally, when only the Wiseduino board is powered (no shields attached), the
consumption should not be higher than 30-50 mA, at most;
- the power switch must have the "lever" towards the female headers to power the board;
- the batteries must be rechargeables (1.2V each, making about 4.8V together); 4 regular AA (new) batteries would provide at least 6V, a bit too much for the ICs;
- make sure the FTDI cable is inserted correctly: ground (black wire) closer to the female headers;
- are the ICs properly inserted into their sockets (so that the notches match, see the photos for assembly instructions)?


A lot more explanations should be provided, no doubt. Your comments, observations, issues are welcome. Also, your contribution to the development and refinement of this code is appreciated.

Related posts:

Buy LED matrix shield kit - DISCONTINUED

Updated Sep 29, 2011
Check out the newest LED matrix shield here.


Updated Sep 1, 2011
As of today, this kit is no longer offered, since I ran out of LED matrices. If you are still interested in the PCBs (because you already have a compatible LED matrix, for example, or maybe you just want to adapt a similar one), drop me a line.


Updated Feb 16/2010
The 40-pin female header, meant as a socket for the LED matrix, was replaced with two 12-pin machined female headers (see this posting), a much better solution. In the same time, since these headers are shorter, the LED matrix will be closer to the board, touching on the ICs underneath. Therefore, I eliminated the 3 IC sockets, since they do not make sense anymore.
Also, the 220 ohms resistor was replaced with a 110 ohms.


Here you can order a kit of the LED matrix shield for Arduino.
Paired with Wiseduino, which has on board RTC (real time clock) DS1307 and EEPROM 24LC256, it makes the Wise Clock.
(Please check out The Shoppe for more kits.)


The LED matrix shield kit includes the following components:
  • PCB, black;
  • 8x8 bi-color (red + green) LED matrix, medium size (47 x 47 mm);
  • 2 x 74HC595 shift registers with 2 x 16 pin sockets;
  • ULN2803A with 18 pin socket;
  • 17 x 110 ohm resistor;
  • 2 x micro push button;
  • 220 ohm resistor;
  • 10K resistor;
  • 2 x 100nF capacitor;
  • 40 pin female header; 2 x 12-pin machined round female header;
  • 40 pin male header;
  • infrared receiver.














Schematic can be downloaded here (Eagle file).














Board layout (download Eagle file here)

















Assembling instructions are here.



















See related posts:

Tuesday, September 15, 2009

Finally! PCBs galore!

After a long and anxious wait, I finally got the PCBs for Wiseduino and the LED matrix shield.
All outstanding orders will be shipped today.
Thank you all for 3+ weeks of unbelievable patience.














All future orders will be mailed the same day.