Show Posts
Pages: 1 ... 5 6 [7] 8 9 ... 13
91  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 21, 2012, 05:44:34 am
Quote
Hello,

could you please edit your last post and call me binarygod? i don't want that anybody knows my real name...
by the way: how do you know my real name?


done


change your youtube name to something that doesn't include your real name if you want to remain incognito... smiley-roll  
92  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 21, 2012, 05:03:49 am
..still working on the code but I'll email it to you as soon as it's ready.  smiley-wink
93  Using Arduino / Sensors / Re: Why HMC5883L error? on: November 20, 2012, 03:51:43 pm
For anyone having problems compiling the example:


Open the HMC5883L.cpp - Class file and change :

Code:
void HMC5883L::Write(int address, int data)
{
  Wire.beginTransmission(HMC5883L_Address);
  Wire.send(address);
  Wire.send(data);
  Wire.endTransmission();

To

void HMC5883L::Write(int address, int data)
{
  Wire.beginTransmission(HMC5883L_Address);
  Wire.write(address);
  Wire.write(data);
  Wire.endTransmission();
}
}


Then change:

Code:
if(Wire.available() == length)
  {
 for(uint8_t i = 0; i < length; i++)
 {
 buffer[i] = Wire.receive();
 }
  }
  Wire.endTransmission();

To

 if(Wire.available() == length)
  {
 for(uint8_t i = 0; i < length; i++)
 {
 buffer[i] = Wire.read();
 }
  }
  Wire.endTransmission();


It will compile then... smiley-mr-green

I don't know if it works...but it compiles.... smiley-razz
94  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 20, 2012, 02:52:42 pm
Well...

Here's the video anyway...I've had so much trouble with the I2C on the Arduino, I've given up on it for the duration and written this for the PIC18F4550.  smiley-eek-blue

My other 500 LEDs arrived today so I'll be getting on with the soldering and finalising the 24 x 22 Matrix code on the PIC, then if I can get it reliably working I'll port it to the AVR.

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


Sorry it's the usual crappy quality but at least you get the idea.  smiley-mr-green

This is AS1130 #1 providing the clock for #2 and it works very well. IRQs are still a little strange but I've got a handle on it now I think. smiley-evil
95  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 16, 2012, 07:02:28 am
Update:

I haven't given up... smiley-mr-green

I now have a board with 2 AS1130s and a 24 x 11 Matrix up and running.
Still waiting for the rest of the LEDs from China.
Sync works fine.

Interrupts now work...I'm currently coding an example.

I'll post a video and the code as soon as I have it in good shape.  smiley-wink
96  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 12, 2012, 12:57:26 pm
Thanks for the comments guys.  smiley-grin

I've managed to get the data into another file now, so I'll stick with it I think.

Aparently the compiler goes through the files and headers in alphabetical order...so you have to make sure defines and declarations are in the right place!

http://liudr.wordpress.com/2011/02/16/using-tabs-in-arduino-ide/

Oh well...still here for the duration.... smiley-wink



PS the VS stuff looks useful.
97  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 11, 2012, 03:55:17 pm
 smiley-mr-green No...I don't have any gadgets other than a PicKit3 programmer/debugger.

I'ts mostly because I don't have to stumble every time I want to change something using the MPLAB IDE. I know how it works and am familiar with it.

Also I can set break points and step through code, look at timing cycles etc. etc.

The main thing that got to me this afternoon was I couldn't figure a way of moving the data array into another file and including it in the path of the compiler. I want to get on with programming the chips...not learning to do something that I can do without effort in the CCS C or PIC18 environment and it has frustrated me for a while now that I have to scroll past 380 lines of data to get from the defines to the main loop every minute or so. I can't even move it to the end of the file because the compiler complains... smiley-roll

Now that I have 2 chips on the go I will have a data array which is double the size and I don't want to wear out my middle mouse button or waste more of my precious time scrolling up and down like an idiot.  smiley-mr-green

I will continue to learn the Arduino way...but at the moment I want to get on with my 24x11 LED matrix....
98  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 11, 2012, 11:23:20 am
Okay

Please could you post here if you are interested in further developments with the AS1130 as I'm getting a bit frustrated with the Arduino method of development and debugging.

This is due to my lack of knowledge of the system, but I don't see any point in continuing with this if nobody is interested (I'll carry on but with a USB enabled PIC18F4550 happily on my own.)


Cheers.  smiley-wink
99  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 11, 2012, 07:10:27 am
URGENT probably for you guys anyway.  smiley-mr-green

I've just discovered that pin18 (VDD) is NOT connected to the other VDD pins.

All the others are connected together as are the GND pins (all of 'em)
100  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 10, 2012, 01:23:33 pm
It sure will... smiley-wink
101  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 10, 2012, 11:25:37 am
That's what I've done with my first test module...all the pullups are there but the RSTN and IRQ are not used.




I bet they're all using our ideas but are too shy to post.... smiley-twist smiley-twist
102  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 10, 2012, 10:05:45 am
Just noticed...3830 reads.... smiley-eek

I wonder if anyone is actually using this chip apart from us 3.... smiley-mr-green
103  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 10, 2012, 10:03:47 am
That's very true...but why connect them to a resistor if they are not being used?

The statemachine of the AS1130s at Power on pulls the IRQ line to GND so it's not really floating anyway. smiley-razz
104  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 10, 2012, 09:29:22 am
You got it.... smiley-mr-green




@Rob
Hello Mr Nomad! I don't know if you've read all this thread but I've sorted out the IRQ line problem. smiley-red  smiley-small
105  Using Arduino / LEDs and Multiplexing / Re: AS1130 First attempt - working on: November 10, 2012, 08:39:07 am
You have to connect the RSTN lines to a pullup resistor and to the switch, so the RSTN lines are pulled up not floating.

It's exactly as your schematic but not connected to the MCU pin.
Pages: 1 ... 5 6 [7] 8 9 ... 13