Go Down

Topic: AS1130 First attempt - working (Read 23421 times) previous topic - next topic

Hexadec

Sep 09, 2012, 09:41 pm Last Edit: Oct 30, 2012, 10:27 am by Hexadec Reason: 1
:smiley-mr-green:
For anyone interested in this chip here is some sample code.
This is an ongoing project and I'll update as I progress.

Feel free to alter and use it as you will...but please share your discoveries... :P


Edit 23/10/2012:
Please also see this post for better commented code http://arduino.cc/forum/index.php/topic,123071.0.html

Edit 30/10/2012: See post #113 for latest PWM demo.
Sponge.
I'm allowed to have it 'cos it's not sharp.

Hexadec

Latest version uploaded...with full 36 frame movie showing scrolling.

Working on picture animation next with PWM dataset.

Wish me luck  :smiley-mr-green:
Sponge.
I'm allowed to have it 'cos it's not sharp.

funkyguy4000

Hey this is great! I've only just received my breakout boards.
Could you please photograph your setup?  I'm still a little confused on the charlieplexing that it uses.
Accelerate to 88 miles per hour.

Hexadec

Hi Funky

I got the chips from AMS and soldered one onto an adaptor board that I got from China (complete with header pins  :D) I then soldered all the components as per the diagram in my upload straight onto the adaptor board. This gave me a little plug-in unit that works as a module.

At present, this is plugged into a very old RS breadboard and driven by a R2 Uno.

This is my first time programming the Atmega chips but I've been programming PICs and micros for a long time.

I'll get some pics together but meanwhile  http://www.youtube.com/watch?v=qQ3lE_iK7_s&feature=g-upl will give you an idea of the stripboard matrix and the sketch uploaded in this thread.

I have just made a Christmas tree (pretty crappy graphics) that demonstrate using 2 frames as pictures and 2 PWM sets to flash the lights.

I'll upload that soon for your perusal and I hope use.  :smiley-mr-green:

I think I've got this chip pretty well sussed out now and am just working on a simple spreadsheet to produce the graphics frames as binary data.

Have fun mate and success with your free samples.

ps I've just been shipped another 3.........what a cheek eh?  ;)
Sponge.
I'm allowed to have it 'cos it's not sharp.

Hexadec

On the subject of the cross-plexed matrix, here is how I simplified (!) the diagram to enable me to understand what was going on.
Sponge.
I'm allowed to have it 'cos it's not sharp.

Hexadec

Here's how the stripboard layout started.

Obviously all the LEDs are the same colour but in the pic they illustrate the direction of the cathodes on the board.

Green is cathode down and red is cathode up.

The reason they are soldered to one side is to enable me to solder the AS1130 and an ATMega328 on the same board and also to connect to a mirror image board to give me 24x11.

Also I've got lots of ideas for RGB matrices...but I can't face all that soldering at the moment.... :smiley-mr-green:

HTH
Sponge.
I'm allowed to have it 'cos it's not sharp.

Hexadec

#6
Sep 11, 2012, 09:10 pm Last Edit: Sep 12, 2012, 08:26 pm by Hexadec Reason: 1
Okaly Dokaly...

Here's the demo using Picture mode and PWM sets.
http://www.youtube.com/watch?v=yx3FU0CgyPw

Source code is here:
Sponge.
I'm allowed to have it 'cos it's not sharp.

Graynomad

Interesting chip. All above saved for future reference.

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Hexadec

Here's an interesting bit change that has lots of possibilities.....


http://www.youtube.com/watch?v=8BXjyxig61k
Sponge.
I'm allowed to have it 'cos it's not sharp.

funkyguy4000

I am working on a board for the AS1130, what did you do with the SYNC and IRQ pins?  Did you pull them to logic low?
Accelerate to 88 miles per hour.

Hexadec

According to the datasheet IRQ should be pulled high but the sync is left floating.

I have emailed AMS about the IRQ line as all the chips I have stay at logic low even with a pull-up resistor. Whatever I try I can't get the IRQ to respond.

I haven't had a reply yet though....
Sponge.
I'm allowed to have it 'cos it's not sharp.

funkyguy4000

Aw crap, I pulled SYNC to ground on the boards.  I guess I can just cut the trace.
Accelerate to 88 miles per hour.

Hexadec

Quote
I guess I can just cut the trace.


Unless you're using multiple chips I wouldn't bother...I pulled it low and high on different prototypes and it made no difference.

I haven't tried cascading them yet though.

Keep me informed of how you get on.  ;)
Sponge.
I'm allowed to have it 'cos it's not sharp.

funkyguy4000

Oh thank goodness.  The trace is super close to another one and I don't wanna mess it up.
Will do! 
Accelerate to 88 miles per hour.

Hexadec

#14
Sep 24, 2012, 08:40 pm Last Edit: Sep 24, 2012, 08:44 pm by Hexadec Reason: 1
If you check out the datasheet (page 28 Table 25) it shows that you have to physically set the sync_out or sync_in bits to get any response on pin 12.

In other words it's not a problem pulling it to VSS  8)


I've been working on this chip through an 18F4550 PIC for the last few days and have just added a 512Kbit EEPROM to swap out the frame data. The EEPROM holds 38 full datasets and you can flip the data on the fly.

Great fun this ain't it.... :smiley-mr-green:
Sponge.
I'm allowed to have it 'cos it's not sharp.

Go Up