Pages: [1] 2 3 ... 12   Go Down
Author Topic: AS1130 First attempt - working  (Read 18188 times)
0 Members and 1 Guest are viewing this topic.
Southport UK
Offline Offline
Full Member
***
Karma: 1
Posts: 195
Been at it a long time...still learning every day.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 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... smiley-razz


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.

* AS1130_Frames_demo.rar (3.51 KB - downloaded 57 times.)
« Last Edit: October 30, 2012, 04:27:15 am by Hexadec » Logged

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

Southport UK
Offline Offline
Full Member
***
Karma: 1
Posts: 195
Been at it a long time...still learning every day.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Working on picture animation next with PWM dataset.

Wish me luck  smiley-mr-green
Logged

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

Wisconsin
Offline Offline
Edison Member
*
Karma: 4
Posts: 1000
I LOVE THIS STUFF!!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Accelerate to 88 miles per hour.

Southport UK
Offline Offline
Full Member
***
Karma: 1
Posts: 195
Been at it a long time...still learning every day.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Funky

I got the chips from AMS and soldered one onto an adaptor board that I got from China (complete with header pins  smiley-grin) 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  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?  smiley-wink
Logged

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

Southport UK
Offline Offline
Full Member
***
Karma: 1
Posts: 195
Been at it a long time...still learning every day.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

On the subject of the cross-plexed matrix, here is how I simplified (!) the diagram to enable me to understand what was going on.


* AS1130_Connections.png (46.24 KB, 4255x1206 - viewed 71 times.)
Logged

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

Southport UK
Offline Offline
Full Member
***
Karma: 1
Posts: 195
Been at it a long time...still learning every day.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


* 132-Matrix.jpg (559.46 KB, 1500x1122 - viewed 50 times.)
Logged

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

Southport UK
Offline Offline
Full Member
***
Karma: 1
Posts: 195
Been at it a long time...still learning every day.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Okaly Dokaly...

Here's the demo using Picture mode and PWM sets.


Source code is here:

* AS1130_Frames_demo_Xmas_Tree.rar (3.76 KB - downloaded 27 times.)
« Last Edit: September 12, 2012, 01:26:23 pm by Hexadec » Logged

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

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 121
Posts: 8458
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Interesting chip. All above saved for future reference.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Southport UK
Offline Offline
Full Member
***
Karma: 1
Posts: 195
Been at it a long time...still learning every day.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


Logged

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

Wisconsin
Offline Offline
Edison Member
*
Karma: 4
Posts: 1000
I LOVE THIS STUFF!!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Accelerate to 88 miles per hour.

Southport UK
Offline Offline
Full Member
***
Karma: 1
Posts: 195
Been at it a long time...still learning every day.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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....
Logged

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

Wisconsin
Offline Offline
Edison Member
*
Karma: 4
Posts: 1000
I LOVE THIS STUFF!!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Aw crap, I pulled SYNC to ground on the boards.  I guess I can just cut the trace.
Logged

Accelerate to 88 miles per hour.

Southport UK
Offline Offline
Full Member
***
Karma: 1
Posts: 195
Been at it a long time...still learning every day.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 
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.  smiley-wink
Logged

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

Wisconsin
Offline Offline
Edison Member
*
Karma: 4
Posts: 1000
I LOVE THIS STUFF!!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Accelerate to 88 miles per hour.

Southport UK
Offline Offline
Full Member
***
Karma: 1
Posts: 195
Been at it a long time...still learning every day.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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  smiley-cool


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
« Last Edit: September 24, 2012, 01:44:52 pm by Hexadec » Logged

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

Pages: [1] 2 3 ... 12   Go Up
Jump to: