no I liked the idea of it mostly being a I2C system, but we dont take away the ability to just straight hook up a lightsensor. if you want 1 simple light sensor there is really no point in making a whole module for it! its just impractical

but for most of the I2C systems we want them to be more than just a "simple" design that a normalI/O pin can handle otherwise it defeats the purpose of I2C.for example... a simple motor driver will take up 2 I/O pins, add an encoder to that, that's another 1/2 pins.with I2C this "over" usage of pins can be avoided.but with the axon i don't think many people would run out of I/O but still...

It's not just about IO pins. Having the main controller send out PWM to a H-bridge would use up a timer, or some processing time. Outsourcing this job means the master has more time to ''concentrate' on the higher-level processing,

the point of this I2C system is like the master can say to the motor-comtroller, get me here. the motor controller Will figure out how to do that not the master. the master is the conductor of a I2C slave orchestra

Hi GuysAs far as i can see from reading the first 2 or 3 pages of the original thread we are trying to create a system of "modules" that interconnect with each other like a plug-and-play system on computers.

Also because i live in Australia and i don't think anyone else does i cant help with building but i would be willing to help with high-level(C/C++) programming (I think you guys are talking about assembly, sorry if i'm wrong) i also think we should concentrate on a wide range of MCUs (I have not seen one post on the forum relating to OOPic for example and thats a good MCU (I think) plus im good at programming that.

What do you think, please tell me if im wrong (Im a noob)Spykid99

Logged

"Do not worry about your difficulties in Mathematics. I can assure you mine are still greater." ~Albert Einstein

Hi GuysAs far as i can see from reading the first 2 or 3 pages of the original thread we are trying to create a system of "modules" that interconnect with each other like a plug-and-play system on computers.

Also because i live in Australia and i don't think anyone else does i cant help with building but i would be willing to help with high-level(C/C++) programming (I think you guys are talking about assembly, sorry if i'm wrong) i also think we should concentrate on a wide range of MCUs (I have not seen one post on the forum relating to OOPic for example and thats a good MCU (I think) plus im good at programming that.

What do you think, please tell me if im wrong (Im a noob)Spykid99

All the embeded programming is done in C. Assembly is used rarely, for tight functions that are time sensitive (I think, I never use it). So, if you like to help with the programming you're wellcome. Many of the electronists are not that good programmers (especially me )

About microcontrollers used, we are using AVRs and PICs. OOPic is an augumented PIC that has a firmware installed that interprets the commands stored in EEPROM at the time of execution. This slows things up pretty much, plus you don't have too much space in the EEPROM for user data. I have an OOPic-R board and I coudn't use it to read the Ping))) sensors that require a 5us trigger pulse, because the OOPic takes too much time to do things.

I sugest you take a look at Arduino, since it uses C/C++ programming, uses an AVR ATmega8/168/368 and has a bootloader that allows you to program it just like the OOPic. I am going to use this language to program my modules, at least until someone translates the programs in "real" C.

hrm... I know its off topic, but when your program asks for a product name, And I type it in, It throws me into an Infinite loop... Am I not meant to type in a string? or did you forget to add this at the top

Quote

#include string.h

Thats my Idea... remember that strings are not part of C++, they need to be initialized first before use...

could I see the code for your program?

Logged

some people are just Born smart, but some people have to work for it, and those are the people who succeed.

Regarding our choice of MCU, this wasn't really a conscious decision (sort of). We are using PICs and AVRs because that's what we and most people in robotics use. If you like OOpic then feel free to port our libraries to work on those, we'd be super-happy if anything increased the flexibility of the platform.

Of course there is no code to port yet... but i think there are a couple of guys who will get the ball rolling soon. And as soon as i finish exams (next friday) ill get to work on my module and see if we can start making real progress with this thing.

Regarding our choice of MCU, this wasn't really a conscious decision (sort of). We are using PICs and AVRs because that's what we and most people in robotics use. If you like OOpic then feel free to port our libraries to work on those, we'd be super-happy if anything increased the flexibility of the platform.

Of course there is no code to port yet... but i think there are a couple of guys who will get the ball rolling soon. And as soon as i finish exams (next friday) ill get to work on my module and see if we can start making real progress with this thing.

I agree that we should make a new thread +ask admin for a new subforum (which would be great) and that its great that we will soon have libraries so people who can understand AVR language (NOT ME) can do that porting and also where is a good website to learn about PIC programming with C

ThanksSpykid99

Logged

"Do not worry about your difficulties in Mathematics. I can assure you mine are still greater." ~Albert Einstein

If you guys want, I can make a website...maby with a blog and forum on it? along with just a general home page so onlookers can get a feel for what the project is like before they decide to take part in it?

EDIT: Nevermind, I just saw the other thread...

« Last Edit: June 05, 2009, 05:25:38 AM by kpmcgurk »

Logged

some people are just Born smart, but some people have to work for it, and those are the people who succeed.

I am working on a sourceforge page for the project. That was we have forums and news and the ability to mass contribute in an established system. Should be up and running enough to go public next week. I can start working on it again later today or tomorrow still not able to sit in a chair for long after my surgery yesterday.