Pages: 1 ... 3 4 [5]   Go Down
Author Topic: Centipede Shield - also a contest!  (Read 7412 times)
0 Members and 1 Guest are viewing this topic.
North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Still waiting, it was after another package that I am still waiting for that you sent it. My package before that was delayed by about 2 1/2 weeks and royal mail still has a backlog in inports as far as I know. Either that or some serious issue somewhere, anyway hopefully it'll come soon!

I have learnt to be patient recently!  smiley-wink

Mowcius
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hehe, mine has arrived  smiley-wink, and it's brilliant!




More pictures here:
http://www.flickr.com/photos/mowcius/sets/72157623154190142/

As you can see from the pictures, I used a double right angle socket on the end double row of pins to make it easier for prototyping, especially if it is used in a stack. This can still be used with a cable by using the double pin row as an 'adaptor'.

Just about to try some stuff with it now!  8-)

Mowcius
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It is brilliant but I cannot get it working...

I uploaded the example sketch and nothing...

I tried just running the setup and lighting up LED 13 (on the arduino) in the loop code but it doesn't seem to get to that code...

Anyone got any ideas?

Mowcius
Logged

SF Bay Area
Offline Offline
Edison Member
*
Karma: 11
Posts: 1244
Arduino Ninja
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You installed the Centipede library from here: http://macetech.com/Centipede.zip

And ran the example code from here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1257672398/31#31

And nothing?

Do make sure you have a connection between pins 1 and 2 on the PWR jumper...

Are you saying that normal Arduino functions aren't working too?

What Arduino and IDE version are you using right now?
Logged

Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Normal arduino code is working...
I am running arduino 17
I have downloaded the library and tried your example code.

If I run this:
Code:
#include <Wire.h>
#include <Centipede.h>

Centipede CS; // create Centipede object
int ledPin = 13;

void setup()
{
  Wire.begin(); // start I2C
  pinMode(ledPin, OUTPUT);
  CS.initialize();
}


void loop()
{
  digitalWrite(ledPin, HIGH);   // set the LED on
  delay(1000);                  // wait for a second
  digitalWrite(ledPin, LOW);    // set the LED off
  delay(1000);                  // wait for a second
}
Then it stalls on the CS.initialize();

if I run it without the CS.initialize(); then I get LED flashy as would be expected...

Chip 1 looked like two or three of the bottom right pins were connected together upon closer inspection of the board. I used a very sharp knife to make sure that none of them are but still no joy to be found. Could it be that that caused some problem to start with and now the chips are bust?

Mowcius
« Last Edit: January 06, 2010, 05:01:59 pm by mowcius » Logged

SF Bay Area
Offline Offline
Edison Member
*
Karma: 11
Posts: 1244
Arduino Ninja
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nope those are address pins, they are all supposed to be tied together to ground on IC1. If you did manage to separate them, you might want to bridge them together again.

I'm mostly confused with the stalling at CS.initialize(), it really sounds like a software problem at this point. I'll do some more testing tonight.
Logged

Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Any luck? I have not had time to fiddle with the library, is there a way I can check each chip by code?

Mowcius
Logged

SF Bay Area
Offline Offline
Edison Member
*
Karma: 11
Posts: 1244
Arduino Ninja
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The only way I can get the Arduino to freeze during execution is to pull one of the I2C lines to ground. You should carefully check along the I2C lines and make sure nothing is shorted to ground, maybe use a multimeter to verify. The I2C connections are on the bottom left corner of the chip if you look at it with pin 1 on the top left.
Logged

Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The only way I can get the Arduino to freeze during execution is to pull one of the I2C lines to ground. You should carefully check along the I2C lines and make sure nothing is shorted to ground, maybe use a multimeter to verify. The I2C connections are on the bottom left corner of the chip if you look at it with pin 1 on the top left.
Which way round is the board then?
Chips on the bottom and headers above?

Mowcius
Logged

SF Bay Area
Offline Offline
Edison Member
*
Karma: 11
Posts: 1244
Arduino Ninja
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It's easier to identify pin 1 on the chips as the pin nearest the dimple. In your photos I appear to have soldered the chips in the correct orientation, though there may be a solder bridge somewhere. It couldn't hurt to run a soldering iron on the chip leads again.
Logged

Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, yes I will check all that and report back with an update when I have done that.

Thanks,

Mowcius
Logged

London, UK
Offline Offline
Newbie
*
Karma: 0
Posts: 46
Arduino. Great. All I need now is a project.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Mr Macegr-Guru,

I'm looking for something that can provide so many inputs and outputs for my next project. Have you made the Centipede shield circuit diagram available?

Paul.
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5590
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hmm - wish I knew about this contest way-back-when (I wasn't a member of the forum then, though)...

I have an i-Cybie that absolutely needs a new micro-controller; I found the robot at a local Goodwill (its amazing what you can find at Goodwill). I found that the controller that is in it was never fully reverse-engineered, and the only real way that people found to custom control it was via an interface port for special "cartridges". The problem though was that these cartridges (which were some kind of flash) only came with the "deluxe unit" that had the "walk up" charger; you needed one of these carts to have the proper fingers to interface with the slot, and you had to be running Windows for the little code/hacking that was done...

...and the i-Cybie faded from memory (it was released at xmas when the PS2 was released - that basically killed it).

Which is too bad - it was basically an "el-cheapo" version of the Aibo; sometimes you can find them on Ebay.

I just need a controller with a ton of i/o ports, for all the motors, feedback sensors, etc that are in the device. Then again, I need another project like a hole in the head...

 smiley-razz
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well unfortunately it seemed it was just the thing I needed. I then won the competition (after the issues with the first winners), but probably due to a duff chip, I have never got it working.  smiley-sad

Mowcius
Logged

Fair Oaks, CA
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is the centipede still available?  I am restoring VW Squareback and will be using an Arduino to automate the electrical system.  I need an I/O extender that can control 40+ inputs and outputs.
Logged

Pages: 1 ... 3 4 [5]   Go Up
Jump to: