Show Posts
Pages: [1]
1  Using Arduino / Networking, Protocols, and Devices / Re: Xbee RSSI on: January 18, 2013, 12:01:21 pm
Bro mine to shard you X-ctu setting and the code??
for my
refference??
2  Using Arduino / Networking, Protocols, and Devices / Re: how to capture Xbee Series 2 RSSI wave form with oscilloscope?? on: January 18, 2013, 11:34:14 am
Thank you for your information, btw i had d try the code but fail...but the problem the osilloscope also can not read the pin ..how can i ask the arduino read.. by therotically i should see the square wave in the oscilloscope but i can not ...mind to shard that the X-ctu cofriguration for the Tramintter and the receiver node?? is it need use the RC filter from Xbee pin6 to the arduino pwm pin??? any people mind to shard thiere full code just for the RSSI value and shown in the serial monitoring?? i had tried a week still fail to do so
so far i only can check the RSSI by typing ATDB in the X-ctu sw.
3  Using Arduino / Networking, Protocols, and Devices / how to capture Xbee Series 2 RSSI wave form with oscilloscope?? on: January 16, 2013, 01:09:36 pm
Can anyone help me in getting the Xbee Series 2 RSSI pin's wave form in oscilloscope??
how is the X-Ctu setting and how is the hardward setting??
i need to confom that the wave form is essit before let my arduino to read it....before this i have try many of arduino code that to converd the RSSI wave form to the readable value but fail
the only way i want to do is make sure the wave form is exsist , but i had also tried using oscilloscope also fail to read...any expert in Xbee shard the softwhead and hardward setting?
4  Using Arduino / Interfacing w/ Software on the Computer / Re: sending multiple values in port.write in processing on: December 08, 2012, 09:07:55 pm
Quote
but i do not know why it can not work in lcd to display out the RED value
It can. You MUST use TWO statements to print the "R :" part and the value. You can NOT use the addition operator HOPING that somehow it will magically be interpreted as a concatenation operator, just because that is what you want.

thank you very much i have change the code to

    lcd.setCursor(1,0);
    lcd.print("R :");
    lcd.print(GetFromSerial());
it work !! smiley
5  Using Arduino / Interfacing w/ Software on the Computer / Re: sending multiple values in port.write in processing on: December 08, 2012, 01:07:36 pm
No .i put + is just to let lcd continue print the variable (RED) i want my LCD to display the data from the Processing ..'which is RED,GREEN ,and BLUE...i have no idea how LCD and display 3 in same time?

port.write('R');
  port.write(RED);

  port.write('G');
  port.write(GREEN);

  port.write('B');
  port.write(BLUE);

the RED is an interger value

if work perfect in
case 'R':
    analogWrite(9, GetFromSerial());//arduino pin 9 for LED
    break;
the intensity of the light will change according to the RED value
but i do not know why it can not work in lcd to display out the RED value
i till keep give me the random char
 
6  Using Arduino / Interfacing w/ Software on the Computer / Re: sending multiple values in port.write in processing on: December 08, 2012, 12:56:23 pm
i also facing the same problem to let my LCD display the data

the part of the processing is

  port.write('R');
  port.write(RED);

  port.write('G');
  port.write(GREEN);

  port.write('B');
  port.write(BLUE);

arduino is

 // call the returned value from GetFromSerial() function
  switch(GetFromSerial())
  {
  case 'R':
  
    
    lcd.setCursor(1,0);
    lcd.print("R :"+ GetFromSerial());




    break;
case 'G'

....
....
break;
...
case 'B'
...
break
 
  }
}

// read the serial port
int GetFromSerial()
{
  while (Serial.available()<=0) {
  }
  return Serial.read();
}
the proble for me is the LCD did not display in proper ...if i remove the GetFromSerial for  lcd.print("R :"+ GetFromSerial()); not do not have any problem, can i know any solution??
i need my LCD to display the RED,GREEN,BLUE value from processing
thank you
Pages: [1]