Difference between revisions of "Adafruit: Bicolor LED Square Pixel Matrix"

From eLinux.org
Jump to: navigation, search
m (Updated grading comments)
(Means of Making "Something" Visible (Outdated 10/16/2012))
Line 27: Line 27:
 
== Current Status ==
 
== Current Status ==
 
The current LED Matrix is fully functional except for a minor issue with alignment of the rows. It is shifted up by one LED and puts the top row at the bottom. The former issues encountered with the device was due to a miss-wiring of the matrix to the I2C Part.
 
The current LED Matrix is fully functional except for a minor issue with alignment of the rows. It is shifted up by one LED and puts the top row at the bottom. The former issues encountered with the device was due to a miss-wiring of the matrix to the I2C Part.
 
== Means of Making "Something" Visible (Outdated 10/16/2012) ==
 
The following section is out of date but illustrates the issue encountered when the LED Matrix was miss-attached but is a good record of those events.
 
While we cannot currently turn on an individual pixel we were able to establish that the device was responding to I2C input. Directions:
 
<pre>
 
i2cset -y 3 0x70 0x21
 
i2cset -y 3 0x70 0x81
 
i2cset -y 3 0x70 0xA1
 
</pre>
 
The bottom row should be visible, barely. What you have done is turn on the devices oscillator, turn on the LED screen, and set it to INT active low control. No other combination currently makes the device do anything. Brightness control does not effect the row. We did show that we were turning the oscillator on and off by using:
 
<pre>
 
i2cset 3 0x70 0x20
 
</pre>
 
To turn off the row. Currently I have no explanation for why it does not work.
 
 
I am able to program the 0x00-0x0f memory address range with values that I can read back and that should control the LED matrix when the
 
<pre>
 
i2cset -y 3 0x70 0xA0
 
</pre>
 
Command is used. This does nothing. Brightness was checked at 0xEF and 0xE0 to make sure that brightness was not being misunderstood. This has no effect.
 
 
Setting the display to blinking (0x83, 0x85) also did nothing.
 
 
Code provided by Adafruit was for the Adrino board and using it as a guide I established that it should be possible to control the screen manually. I acquired the data sheet for the HT16k33 and that was how I was able to experiment as I did above.
 
 
{{YoderFoot}}
 

Revision as of 17:13, 7 November 2012


Overview: 2
Wiring:   0
Code:     1
git/Compiles with make: 0
Demo:     0
Total:    3
Comments: It's good you have it working.  Now you need to fix up this page.
Assume you are writing to someone who wants to know how to use the device.  Show a picture
of it. Note the importance of soldering the display on correctly. Give wiring instructions.
Be specific, where do I wire the power?  Where does the clock go, etc.  How is the voltage
level converter wired in? Show a picture of the wiring.

Clean up Greg's code an put it in your github repository. Include a Makefile
Give me a demo.

Can you have this done in a week?  24-Oct-2012?

thumb‎ Embedded Linux Class by Mark A. Yoder


Page by Alex Drane, Peter Ngo

Summary

This page details project work done while working on the 8x8 Bicolor LED Pixel Matrix from Adafruit found here: Store Link

Current Status

The current LED Matrix is fully functional except for a minor issue with alignment of the rows. It is shifted up by one LED and puts the top row at the bottom. The former issues encountered with the device was due to a miss-wiring of the matrix to the I2C Part.