Loading...
  Show Posts
Pages: 1 ... 7 8 [9] 10 11 ... 13
121  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 05, 2012, 06:27:33 am
Oh well...I'm not familiar with either.

C is C though... smiley-mr-green

122  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 05, 2012, 03:59:29 am
I've already got some code that may be useful to you. I wrote it for the CCS C compiler.

What chip are you going to use and which compiler?
123  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 04, 2012, 03:50:36 pm
This is the last time I'm going to do your thinking/research!  smiley-wink

Read this:
http://www.arduino.cc/en/Reference/Wire

Specifically:

Code:
Note

There are both 7- and 8-bit versions of I2C addresses.
7 bits identify the device, and the eighth bit determines if it's being written to or read from.
The Wire library uses 7 bit addresses throughout.
If you have a datasheet or sample code that uses 8 bit address, you'll want to drop the low bit (i.e. shift the value one bit to the right), yielding an address between 0 and 127.
124  Using Arduino / LEDs and Multiplexing / Re: MAX7219 and 51 MCU 8x8 LED matrix on: November 04, 2012, 03:23:23 pm
Hi mate.

Sounds like you are missing a library...LedControl.h is a header file which needs to be in the path of your sketch.

FYI:
     CLK = clock pulse source
     DIN = data in
     CS = chip select

you really need to post which sketch you are using and how you have everything wired up.  smiley-wink
125  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 04, 2012, 02:15:40 pm
Are you just trying to wind me up?


Read how I2C works (hint 7 or 8 bit addresses).


OR

A better idea...YOU use address 0x60 in YOUR code and then you'll KNOW why mine is as it is.
126  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 04, 2012, 01:40:26 pm
The datasheet is not as bad as some...but it IS hard to understand because it assumes quite a high level of knowledge and understanding from the reader. (quite rightly  smiley-mr-green)

If you read up on how a screen/frame/matrix of LEDs is scanned...all will become clear. smiley-wink
127  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 04, 2012, 09:29:09 am
To (almost) quote the great Bob Dylan...

"the answer my friend is blowing in the datasheet"


Have a good read.  smiley-mr-green


...and...I even gave you a link to an explanation of multiplexing...read THAT as well.



Now I don't mind answering questions for someone who makes the effort and has the abilities required for the task, but actually THINKING for someone, then answering the questions, then answering the same questions again is really starting to make me lose the will to live........
128  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 02, 2012, 07:40:15 am
Quote
hello guys, hope you still know me

How could we forget you... smiley-razz

Hello mate.  smiley-mr-green



Simple maths is what you need...for 36 frames you need 2 bytes for each current segment so :

per frame:
___________________
12 current segments                      
2 bytes each                                    12*2 = 24
___________________

36 frames                                       36*24 = 864
___________________

PLUS you may need 1 PWM set
1 byte for each LED                                   = 132

Bytes needed for each frame set   = 864+132 = 996

For 3 devices                                  3*996 = 2988

therefore you need less than 3KB for each 36 frame set.
129  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: October 30, 2012, 04:18:49 am
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.  smiley-lol


Here's the code:
130  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: October 29, 2012, 02:55:12 pm
No probs Funky...I'm doing it for the Uno as we speak....nearly done... smiley-mr-green
131  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: October 29, 2012, 02:03:33 pm
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?
132  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: October 29, 2012, 01:41:55 pm
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.  smiley-kiss  smiley-lol
133  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: October 29, 2012, 01:05:01 pm
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... smiley-lol
134  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: October 29, 2012, 11:17:39 am
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.  smiley-wink


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
135  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: October 29, 2012, 06:41:02 am
I'm pleased to have helped.  smiley

I'm a he...(hee hee) so thank-you Sir or Madam... smiley-twist
Pages: 1 ... 7 8 [9] 10 11 ... 13