Id Appreciate Some Advise Mates

Hi,i'm new with arduino and still trying to understand the basics of it while googling.I'm having difficulty finding the best option to connect my raster board with the adruino uno r2 and programming it in order to get my results on screen.My circuit ends in an 8bit adc that changes its outcome every 100ms

to clarify,saying screen i mean i have to get the adc outputs on the computer screen using the usb connection

HI, maybe you can post your code, explain what you expect and tell us what you got.

(the tutorial section is full of small sketches to get familiar with Arduino)

I'm afraid you may have to be a bit more specific about what you want to do.

If you have a circuit "ending" in an 8-bit ADC, does that imply that you don't need to use the Arduino in-built ADC? If so, fine, but do your read yours by a serial or parallel connection (Arduino could read either)?

Essentially all your code needs to do is read the ADC (internal or external) and send the value to the serial monitor. Reading 10 times a second is no trouble and overall it sounds like you only need a dozen lines of code. What that should be, however, depends on what you have and what you are trying to achieve.

to clarify,saying screen i mean i have to get the adc outputs on the computer screen using the usb connection

So you need two pieces of code.
One that takes readings and passes them through the serial port. And the other on a computer that takes what is on the serial port and turns it into a graph.
What language are you going to do that second one in?

This sounds a lot like an arduino oscilloscope, google that for some examples.

Morning everyone....
robtillaart you are kinda wright but i need some guidance,some specific link something to get me on track..adruino is a jungle and i only have a few days to catch bigfoot!!!

Dr_Ugi the answer is no,i dont need the arduino adc.I'm connecting my circuit to arduino and want my results on the pc so i'm using the external 8bit adc thats stuck on my board!!!

Grumpy_Mike has approached my task nicely.That is exactly what i have to do.If i can first do the connection(find out what all my connection options are) and get the results(a number that is equal to the 8 bit output and that changes every 100ms or 8 numbers(0,1) that change every 100ms) then i can also construct a graph that will make my work alot more clear and professional

just highlighting that my gear is arduino uno R2.cheers

for the graph on the PC often processing is used, it comes with a bunch of examples including graph making and serial port reading.

const long interval = 100;  // 10 Hz
void setup ()
{
  setupExternalADC ();
  Serial.begin (9600); 
}

void loop ()
{
  static unsigned long previousMillis;
  unsigned long currentMillis = millis();
 
  if(currentMillis - previousMillis > interval) {
    previousMillis = currentMillis;   
  
    byte reading = readExternalADC ();
    Serial.print ("<");
    Serial.print (reading, HEX);
    Serial.println (">");  
  }
}

You'll have to fill in the blanks.

Hi awol thanks for the afford..
Is it necessary to use the 100ms enterval in the code and if yes why?Isn't it possible that whenever the adc output changes its values the arduino digital pins will transfer the values directly to the statement that adds up the final value. .?

I assumed 10Hz because of this:

.My circuit ends in an 8bit adc that changes its outcome every 100ms

Of course, if your ADC has an end-of-conversion signal that can be used instead, that would be even better.

Can you translate your code in english please?

It is in English.

to get started all i have to do is download all the proccecing software and connect the arduino with usb while connecting each one of 8 adc output pins to digital pins 2,3,4,5,6,7,8,9 wright??

i mean im not sure what it does yet..your code

As well as the output pins of your A/D you have at least two others. One that tells the A/D to start a conversion cycle, and another from the A/D that tells the arduino it has finished a conversion cycle.
What pins are these connected to and how is your software going to deal with them.

Can you translate your code in english please?

First remove the molt from your own eye.
The word is right not wright.
enterval should be interval
afford should be effort.

I can tell you this because I am dyslexic myself.

can someone tell me if i can graph a value taken from digital pins just using Arduino software??I have and external circuit connected to arduino that consists of a thermometer and an 8 bit adc.I attached the adc outputs to arduino digital pins 2-9 and can see i'm reading the digital inputs normally in monitoring.Now i'm trying to figure out how to graph the changes in temperature along with time.So i guess all i have to do is create two axis x for time and y for the value(for example a table 400*500) and address the points on the graph by combining the x dimension(time) with y dimension(value) in a float table[x,y].....When the time reaches the right end it should go to the beggining and continue.What i'd expect to see as an outcome is a line going up and down until the right end of the interface,then instantly vanishing and starting from the beggining.I hope there is simple way to do this with arduino 1.01...if not somebody will probably advise me to use processing!! heres what i've done so far in arduino 1,01

void setup() {
// initialize serial:
Serial.begin(9600);
pinMode(2, INPUT);
pinMode(3, INPUT);
pinMode(4, INPUT);
pinMode(5, INPUT);
pinMode(6, INPUT);
pinMode(7, INPUT);
pinMode(8, INPUT);
pinMode(9, INPUT);

}
void loop() {

int a = digitalRead(2);
int b = digitalRead(3);
int c = digitalRead(4);
int d = digitalRead(5);
int e = digitalRead(6);
int f = digitalRead(7);
int g = digitalRead(8);
int h = digitalRead(9);

int val=(a * 1 ) + (b * 2 ) + (c * 4 ) + (d * 8 ) + (e * 16 ) + (f * 32 ) + (g * 64 ) + (h * 128 );
Serial.print("Read switches : ");
Serial.println(val);
delay(1000);
}

I hope there is simple way to do this with arduino 1.01...if not somebody will probably advise me to use processing!!

I advise you use Processing.
The IDE has no graphical capabilities, beyond ASCII art.

I also advise you post code between code tags

does using processing mean i cant use the code i ve written so far?

Unless you've got a graphical LCD or display device attached to your Arduino, you've got no way of displayng your data.
So, you probably need to display the data on your PC, and yes, Processing is one of the options available to you.

If you go back to the post wth the code in n, click on "modify", highlight the code, then click on the # icon on the toolbar, you'll improve the legibility of your code.

My friend Awol i dont need anything fancy and 'grafical'
just a real time 2-dimensional point creation.It could be dots or a line...