Go Down

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

J_ornothing

new account created not only to thank Hexadec but to keep on posting.... on my first go i will cascade two 1130s to run 216 single LEDs, together with a AS1108 to run a "home-made" 4-digit 7-digit LED display and a EEPROM.... i will post as soon as i get some results... for good or bad... ;)

Hexadec

#76
Oct 29, 2012, 05:17 pm Last Edit: Oct 29, 2012, 05:19 pm by Hexadec Reason: 1
Quote
on my first go i will cascade two 1130s to run 216 single LEDs


That sounds like fun... :smiley-mr-green: I'm trying to motivate myself to make up 4 boards (528 LEDs) but all that soldering really puts me off!

How are you going to arrange the 216 LEDs? I can't for the life of me see how you can do it unless you intend to switch off some Current Segments but even then you end up with the wrong number of LEDs.

I've got 3 AS1108s as well but haven't got round to 'evaluating' them yet.

It'll be great to see your results.  ;)


Quote
Oh wow, they created an account just to post that comment.


Yeah...I KNEW there were people out there with good manners... :smiley-mr-green: :smiley-mr-green: :smiley-mr-green:
Sponge.
I'm allowed to have it 'cos it's not sharp.

J_ornothing

hahaha.... you bet it is going to be great fun.... I never programmed a PIC before, but shouldn't be so difficult..  :)

already tried to activate this amount of LEDs using shift registers, but blinking was unacceptable....though it worked fine

so now i am cascading AS1130s as shown in datasheet page 1 and connect them to a Freescale MS9S08JM16 (sorry Arduino folks, next time).... and will use all of the current segments, but not all LEDs.... i will balance each segment so i have similar number of LEDs on each of them.....

hope it works!!!.... i am not willing to show characters but will use LED configuration as shown in FIG.26 page 31, dropping out some LEDs

will upload schematics as soon as i finish off some connections doubts regarding EEPROM

funkyguy4000

Wow I really wish I had my own place. I would love to solder all those leds although I can't do it in my building.  Silly apartments.  
If anybody does anything with PWM for the AS1130, lemme know! I'm still trying to figure it out when I'm not studying or chillen with the girl.  
Accelerate to 88 miles per hour.

Hexadec

#79
Oct 29, 2012, 07:05 pm Last Edit: Oct 29, 2012, 07:06 pm by Hexadec Reason: 1
Quote
will upload schematics

That'd be great..I'd love to see what you do with it.

Quote
If anybody does anything with PWM for the AS1130, lemme know!


I did a simple PWM demo in post #6 of this thread.
If you can get the frames working then PWM is really easy...just fill the eeprom with the PWM data for each frame (6 sets and 6 frames) then set the bits in the first data byte to the PWM set number for each frame and off you go...
If I get any time this week I'll put some code together to demo PWM with this chip.


I'm currently working on driving an 8x8 RGB display with the AS1130 using PWM to generate the colour mixes....should be fun... XD
Sponge.
I'm allowed to have it 'cos it's not sharp.

funkyguy4000

That would be awesome!
Where do you find time for this stuff?
Accelerate to 88 miles per hour.

Hexadec

#81
Oct 29, 2012, 07:41 pm Last Edit: Oct 29, 2012, 07:44 pm by Hexadec Reason: 1
I need to get a life.... :smiley-mr-green: :smiley-mr-green: :smiley-mr-green:

don't watch much TV...gave up booze and fags...etc.


Just realised I've got no common cathode rgb modules so I'll have to wait on that one. I'll do some PWM stuff on the 11x12 instead then.  :*  XD
Sponge.
I'm allowed to have it 'cos it's not sharp.

funkyguy4000

Ah.
I am planning on using 5050 rgb leds so doing the testing on the 11x12 is exactly what I would need.
Accelerate to 88 miles per hour.

Hexadec

Arrrrgggghhh MORE soldering....LOL  :smiley-mr-green: have fun with that.

OK I'll get started on some PWM stuff...are you using the Arduino or PIC to drive the AS1130?
Sponge.
I'm allowed to have it 'cos it's not sharp.

funkyguy4000

I'll be using an arduino, but I can parse the necessary information I need from code for a pic
Accelerate to 88 miles per hour.

Hexadec

No probs Funky...I'm doing it for the Uno as we speak....nearly done... :smiley-mr-green:
Sponge.
I'm allowed to have it 'cos it's not sharp.

funkyguy4000

Awesome!
I won't be able to test it out until tomorrow because I left my serial cable for my duemilanove at work (the printer isn't set up right so I had to use the cable -_-)
Accelerate to 88 miles per hour.

Hexadec

#87
Oct 30, 2012, 10:18 am Last Edit: Oct 30, 2012, 10:20 am by Hexadec Reason: 1
OK!

Here is the PWM demo as promised:

http://www.youtube.com/watch?v=2LYZrHvw264&feature=youtu.be

Sorry about the crap quality but you get the idea.  XD


Here's the code:
Sponge.
I'm allowed to have it 'cos it's not sharp.

J_ornothing

as mentioned before here it is my crazy project for AS1130 and AS1108.... i apologize for not drawing better... i will tidy schematics up as soon as i finish all the other chapters.... routing, soldering, plastic 3D moulding,  marketing, betatesting, etc.... it may take some time   :smiley-roll-sweat:

as this project may add a little confusion to your discussions (Hexadec & Funkyguy4000) please tell me if you want me to open a new thread

i think i may reuse some of the coding you all have shared in this thread and as soon as i get mine i will share it as well


funkyguy4000


(Hexadec & Funkyguy4000) please tell me if you want me to open a new thread


Lets just keep it all running in the same thread.  I can't wait to see that thing actually work.  (I actually followed your schematic)

As for the PWM demo, are we only allowed to use the PWM sets that are stored in the AS1130 or can we stream in PWM data?  I wanna control the frequency of "raindrops" based on a personal rain detector that can detect how hard it is raining.
Accelerate to 88 miles per hour.

Go Up