Show Posts
Pages: [1] 2
1  Forum 2005-2010 (read only) / Troubleshooting / Re: Gathering information from a webpage. on: February 23, 2009, 06:07:28 pm
Yep, I searched. Just didn't know exactly what to search for. Thanks for the point in the right direction.
2  Forum 2005-2010 (read only) / Troubleshooting / Gathering information from a webpage. on: February 23, 2009, 05:40:16 pm
Hi guys, I'm new to the forums but I've been messing around with my Arduino for a few months now - and I have hit a snag that I hope someone can help me out with.

I just received an Ethernet shield and I quickly got it up and running, however, I was wondering how exactly I would go about selecting just the information that I want returned (in client mode).

For Example: With this HTML source (from rssweather.com) -
Quote
.../weather-symbols/sunny.png" alt="Clear weather icon" class="icon"/> Clear </p><p class="temp">Temperature: 26&deg;F</p>...

I would like to have "Clear" and "26" stored as strings... How exactly would I go about doing this?

It should be a simple problem, but I have no experience with these things. Thanks in advance for any help!
3  Forum 2005-2010 (read only) / Interfacing / Re: use an ipod touch 'to control' the arduino on: March 17, 2009, 07:25:57 am
I'm not too experienced with interfacing the arduino directly with an app on the iPod - but you may want to consider using the ethernet shield to set up a simple web based app that can be accessed from the iPod.

Unless of course you HAVE to have the standalone app. Then disregard this advice.
4  Forum 2005-2010 (read only) / Interfacing / Re: SFE Nordic nRF24L01+ module - CSN trouble on: August 18, 2009, 05:07:51 pm
I'm not to familiar with the way that the FOB transmits data, but would it be possible to create a robot that moves ONLY when the corresponding button is being pressed?

Right now I have a bot made that uses this setup, however it will move in the given direction until a different key is pressed or it is actually told to stop.
5  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: May 16, 2009, 06:25:21 pm
Regarding what Richard said, I too can confirm the same experience. My family uses a 2wire brand DSL Modem with a built in wireless router (Its a HUGE piece of crap - but I don't want to get off topic) anyways, the WiShield will almost never connect to this AP, and when it does it will always disconnect very quickly.

I myself own a Linksys WRT54GL with DD-WRT installed on it (some mods too, but that's not important) and so far I am getting a VERY reliable connection with no problems at all.

I have also tried to connect with my friends WRT54GL that has Tomato firmware installed on it, with awesome results!

Hopefully my experience helps someone! :o
6  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: May 09, 2009, 04:42:29 pm
I may be wrong, but I was under the impression that the arduino environment was unable to handle concatenations like this?
7  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: May 08, 2009, 10:52:52 pm
Maybe I'm just being an idiot, but is webpage1[] supposed to be displayed in the example code? Every time I pull up the hello world example, all I get is the single line.

Again, I'm probably missing something stupid, I just want to be sure I have everything working correctly.
8  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: May 06, 2009, 02:07:45 am
I was going to hold off buying one until I saw that someone else posted with their opinion of the shield...

But I just couldn't muster up the strength to not hit the "checkout" button... I'm so ashamed.   ;D :'(
9  Forum 2005-2010 (read only) / Interfacing / Re: Feeling interest for a WiFi shield on: March 19, 2009, 06:06:47 am
Very impressive - tally another sure buy for me.
10  Forum 2005-2010 (read only) / Interfacing / New Sparkfun RGB Matrix with Serial Backpack on: July 20, 2009, 10:45:00 pm
Hi guys,

I was wondering if anyone might be able to help me with a problem I'm having with my RGB matrices. I have 4 of them in a daisy chain and they work great when displaying a static image.

However, when I attempt to display an animation there is some noise from other pixels that light up for a split second as the frame updates. I think this might have something to do with the way I have my SPI bus set up. These are the settings I am currently using:

(the clock needs to be under 125khz)

  //SPI Bus setup
  SPCR = B01010011;
  SPSR = SPSR & B11111110;    

Sorry guys, I would post this question in the sparkfun forums - but it seems that there is almost nobody looking at or posting on those forums.

Any help troubleshooting this would be greatly appreciated!
11  Forum 2005-2010 (read only) / Interfacing / Windows Login on: June 30, 2009, 04:00:38 pm
I was wondering if it would be possible to use the arduino to log in to a locked windows xp machine?

I did some searching and couldn't find any information regarding this, so sorry if I missed a post somewhere!
12  Forum 2005-2010 (read only) / Interfacing / Re: Daisychaining new Sparkfun RGB Backpack on: June 25, 2009, 11:14:11 am
However, this is the output I get.

[ch9830]
13  Forum 2005-2010 (read only) / Interfacing / Daisychaining new Sparkfun RGB Backpack on: June 25, 2009, 11:10:25 am
If there is anyone here who is experienced with daisychain-ing the new RGB Matrix Backpack from Sparkfun - I would greatly appreciate any advice you could give me. I have run the Daisychain command on every matrix that I have, however I still get the same output.

With the code that I am using, each matrix should output a heart.

Quote

#define CHIPSELECT 10//ss
#define SPICLOCK  13//sck
#define DATAOUT 11//MOSI
#define DATAIN 12//MISO

int color = 1;
int count = 1;
long randNum;

int data[] =
{
  0,0,0,0,0,0,0,0,
  0,0,64,64,0,64,64,0,
  0,64,0,0,64,0,0,64,
  0,64,0,0,0,0,0,64,
  0,0,64,0,0,0,64,0,
  0,0,0,64,0,64,0,0,
  0,0,0,0,64,0,0,0,
  0,0,0,0,0,0,0,0
};


//========================================================================================
void setup()
{
  byte clr;
  pinMode(DATAOUT,OUTPUT);
  pinMode(SPICLOCK,OUTPUT);
  pinMode(CHIPSELECT,OUTPUT);
  digitalWrite(CHIPSELECT,HIGH); //disable device

  //SPI Bus setup
  SPCR = (1<<SPE)|(1<<MSTR)|(1<<SPR1);      //Enable SPI HW, Master Mode, divide clock by 16  

  daisyChain(4); // let the backpack know that it is in a chain of "x" matrix's

}


//========================================================================================
void loop()            
{
  digitalWrite(CHIPSELECT,LOW); // enable the ChipSelect on the backpack
  delayMicroseconds(500);

  /*
 if (count > 6)
  count = 1;
 
  for (int i=0;i<8;i++) for (int j=0;j<8;j++)
  {
  if (((i==0 | i==7) | (j==0 | j==7)) & count==1)
  spi_transfer(64);
  else if ((((i==1 | i==6) & (j!=0 & j!=7 )) | ((j==1 | j==6) & (i!=0 & i!=7))) & (count==2 | count==6))
  spi_transfer(64);
  else if ((((i==2 | i==5) & (j==2 | j==3 | j==4 | j==5)) | ((j==2 | j==5) & (i==2 | i==3 | i==4 | i==5))) & (count==3 | count==5))
  spi_transfer(64);
  else if ((((i==3 | i==4) & (j==3 | j==4 )) | ((j==3 | j==4) & (i==3 & i==4))) & count==4)
  spi_transfer(64);
  else
  spi_transfer(0);
  }
 
  count++;
     
  */



for(int n=0;n<4;n++)  
{
  for (int x=0;x<64;x++) // Send pre-built array
  {
    spi_transfer(data
  • );
 }
}


  digitalWrite(CHIPSELECT,HIGH); // disable the ChipSelect on the backpack
  delayMicroseconds(500);
  delay(1000);
}

//========================================================================================
char spi_transfer(volatile char data)
{
  SPDR = data;                    // Start the transmission
  while (!(SPSR & (1<<SPIF)))     // Wait the end of the transmission
  {
  };
}


//========================================================================================
void daisyChain(int matrix)
{
  digitalWrite(CHIPSELECT,LOW); // enable the ChipSelect on the backpack
  delayMicroseconds(500);

  spi_transfer('%');
  spi_transfer(matrix);

  digitalWrite(CHIPSELECT,HIGH); // disable the ChipSelect on the backpack
  delayMicroseconds(500);
}







14  Forum 2005-2010 (read only) / Exhibition / Re: AdMoVeo: A Robotic Platform on: August 07, 2009, 01:03:37 am
That's a pretty slick looking bot there - If it was relatively inexpensive to make it might be good for doing swarm robotics.

15  Forum 2005-2010 (read only) / Exhibition / Re: Management of robot ABB IRB6640 whith Arduino. on: May 07, 2009, 01:26:15 am
Awesome indeed! My dad has some bots like this at his company... I doubt he would let me play with them though...  smiley-wink
Pages: [1] 2