North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #60 on: January 01, 2010, 05:52:28 pm » |
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!  Mowcius
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #61 on: January 06, 2010, 02:53:29 pm » |
Hehe, mine has arrived  , 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
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #62 on: January 06, 2010, 04:36:57 pm » |
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
Edison Member
Karma: 6
Posts: 1215
Arduino Ninja
|
 |
« Reply #63 on: January 06, 2010, 04:50:29 pm » |
You installed the Centipede library from here: http://macetech.com/Centipede.zipAnd ran the example code from here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1257672398/31#31And 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
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #64 on: January 06, 2010, 04:57:39 pm » |
Normal arduino code is working... I am running arduino 17 I have downloaded the library and tried your example code. If I run this: #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
Edison Member
Karma: 6
Posts: 1215
Arduino Ninja
|
 |
« Reply #65 on: January 06, 2010, 05:18:42 pm » |
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
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #66 on: January 07, 2010, 06:11:59 am » |
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
Edison Member
Karma: 6
Posts: 1215
Arduino Ninja
|
 |
« Reply #67 on: January 12, 2010, 02:56:41 pm » |
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
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #68 on: January 12, 2010, 03:02:33 pm » |
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
Edison Member
Karma: 6
Posts: 1215
Arduino Ninja
|
 |
« Reply #69 on: January 12, 2010, 04:06:59 pm » |
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
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #70 on: January 12, 2010, 04:11:10 pm » |
Ok, yes I will check all that and report back with an update when I have done that.
Thanks,
Mowcius
|
|
|
|
|
Logged
|
|
|
|
|
London, UK
Offline
Newbie
Karma: 0
Posts: 46
Arduino. Great. All I need now is a project.
|
 |
« Reply #71 on: February 20, 2010, 07:10:28 am » |
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
Faraday Member
Karma: 27
Posts: 5082
Where's the beer?
|
 |
« Reply #72 on: February 20, 2010, 05:22:59 pm » |
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... 
|
|
|
|
|
Logged
|
|
|
|
|
North Yorkshire, UK
Offline
Faraday Member
Karma: 104
Posts: 5531
|
 |
« Reply #73 on: February 21, 2010, 09:45:33 am » |
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.  Mowcius
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #74 on: March 29, 2010, 02:57:16 pm » |
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
|
|
|
|
|
|